I've found out that I can catch "400 Bad Request" and "Bye" event, while using B2B.connectCallee.
2011/3/18 Alekzander Spiridonov <[email protected]> > New question =) > > I have no idea, why I'm not able to catch an event for any reply in > B2B.connectCallee processing. > > So I have a DSM like this and it never goes to check transition "prov > reply": > > import(mod_dlg); > > initial state START; > > transition "got session start" START - sessionStart -> DIAL; > > transition "got INVITE" START - invite / { > set($connect_session=0); > dlg.acceptInvite(183,Progress); > dlg.acceptInvite(200,OK); > set($req_uri="sip:"); > append($req_uri,@user) > append($req_uri,"@"); > append($req_uri,"sip.example.com"); > B2B.connectCallee($req_uri,$req_uri); > } -> DIAL; > > transition "bye recvd on start" START - hangup / { > stop(false); > } -> END; > > state DIAL; > > transition "bye" DIAL - hangup / { > B2B.terminateOtherLeg(); > stop(false); > } -> END; > > transition "prov reply" DIAL - B2B.otherReply;test(#code<200) / { > log(1, received provisional reply); > log(1, #code); > log(1, #reason); > } -> DIAL; > > > > -- > Best regards, > Alekzander Spiridonov > -- С уважением, Александр Спиридонов
_______________________________________________ Sems mailing list [email protected] http://lists.iptel.org/mailman/listinfo/sems
