Browse code

doc:dsm example: stop local media when connecting

Stefan Sayer authored on 02/04/2014 11:34:17
Showing 1 changed files
... ...
@@ -101,6 +101,7 @@ transition "positive reply" CONNECTING - B2B.otherReply(#code < 300)  / {
101 101
    log(3, received positive reply)
102 102
    log(3, #code)
103 103
    log(3, #reason)
104
+   disconnectMedia();
104 105
 } -> CONNECTED;
105 106
 
106 107
 -- negative reply in callee leg, try again