can you post your script and dialplan? Let&#39;s take a look.<br>-MC<br><br><div class="gmail_quote">On Mon, Jun 29, 2009 at 11:07 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;">2009/6/30 Michael Collins &lt;<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt;:<br>

<div class="im">&gt; What kind of application are you building? Usually you want to use the<br>
&gt; dialplan to initiate the call and then let the js do the logical heavy<br>
&gt; lifting.<br>
</div>I&#39;m use js for callback solution.<br>
<br>
Dome C.<br>
<div><div></div><div class="h5"><br>
&gt;<br>
&gt; -MC<br>
&gt;<br>
&gt; On Fri, Jun 26, 2009 at 11:45 PM, Dome Charoenyost &lt;<a href="mailto:dome@tel.co.th">dome@tel.co.th</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Dear All,<br>
&gt;&gt;<br>
&gt;&gt; I try<br>
&gt;&gt;<br>
&gt;&gt; s = new Session(&quot;sofia/external/xxx@xxx.xxx.xxx.xxx);<br>
&gt;&gt; if (s.ready()){<br>
&gt;&gt;   s.setVariable(&quot;nibble_rate&quot;, &quot;2.5&quot;);<br>
&gt;&gt;   s.setVariable(&quot;nibble_account&quot;, &quot;0838833133&quot;);<br>
&gt;&gt;   s.execute(&quot;nibblebill&quot;, &quot;heartbeat 5&quot;);<br>
&gt;&gt;   bridge(session,s);<br>
&gt;&gt; };<br>
&gt;&gt;<br>
&gt;&gt; my question is<br>
&gt;&gt; 1. How to cancel create s session (by dtmf ) like a * in bridge app<br>
&gt;&gt; 2. when i hangup before s session ready is posible to cancel ?<br>
&gt;&gt;<br>
&gt;&gt; Best Regards.<br>
&gt;&gt;<br>
&gt;&gt; Dome C.<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Freeswitch-users mailing list<br>
&gt;&gt; <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Freeswitch-users mailing list<br>
&gt; <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<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>
</div></div></blockquote></div><br>