Hi again,

uh, this won't work:
o Saúl Ibarra [06/11/09 17:55]:
Here is a part of the DSM file:

import(mod_dlg);
initial state START
        enter {
                set(reply_request="0");
                set(connect_session="0");
        };
transition "Received BYE in START" START - hangup / stop(false) -> END;
this would never happen...

transition "on INVITE" START - invite -> runinvite;
 transition "on session start" START - sessionStart -> runsession;

state runinvite
        enter {
                dlg.reply(100, "Trying");
                B2B.connectCallee("sip:[email protected]",
"sip:[email protected]");
this would not work in your case, it needs to set relayed_invite here if calling connectCallee().

realizing that this is missing from connectCallee, I just have added an action dlg.connectCalleeRelayed() which works here. with r1433 you can also see how simple it is to add actions and conditions to modules.

        };
transition "Let's wait" runinvite - -> waitconnect;

state waitconnect;
state runsession;

BR
Stefan

--
Stefan Sayer
VoIP Services

[email protected]
www.iptego.com

IPTEGO GmbH
Wittenbergplatz 1
10789 Berlin
Germany

Amtsgericht Charlottenburg, HRB 101010
Geschaeftsfuehrer: Alexander Hoffmann
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

Reply via email to