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">&lt;<a href="mailto:dome@tel.co.th">dome@tel.co.th</a>&gt;</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(&quot;sofia/external/xxx@xxx.xxx.xxx.xxx);<br>
if (s.ready()){<br>
   s.setVariable(&quot;nibble_rate&quot;, &quot;2.5&quot;);<br>
   s.setVariable(&quot;nibble_account&quot;, &quot;0838833133&quot;);<br>
   s.execute(&quot;nibblebill&quot;, &quot;heartbeat 5&quot;);<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>