What kind of application are you building? Usually you want to use the dialplan to initiate the call and then let the js do the logical heavy lifting. <br><br>-MC<br><br><div class="gmail_quote">On Fri, Jun 26, 2009 at 11:45 PM, Dome Charoenyost <span dir="ltr"><<a href="mailto:dome@tel.co.th">dome@tel.co.th</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Dear All,<br>
<br>
I try<br>
<br>
s = new Session("sofia/external/xxx@xxx.xxx.xxx.xxx);<br>
if (s.ready()){<br>
s.setVariable("nibble_rate", "2.5");<br>
s.setVariable("nibble_account", "0838833133");<br>
s.execute("nibblebill", "heartbeat 5");<br>
bridge(session,s);<br>
};<br>
<br>
my question is<br>
1. How to cancel create s session (by dtmf ) like a * in bridge app<br>
2. when i hangup before s session ready is posible to cancel ?<br>
<br>
Best Regards.<br>
<br>
Dome C.<br>
<br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br>