[Freeswitch-users] How to cancel session in Javascript

Michael Jerris mike at jerris.com
Tue Jun 30 09:03:49 PDT 2009


the bridge app already does all this for you doesn't it (along with  
bind_meta) ?

Mike

On Jun 27, 2009, at 2:45 AM, Dome Charoenyost wrote:

> Dear All,
>
> I try
>
> s = new Session("sofia/external/xxx at xxx.xxx.xxx.xxx);
> if (s.ready()){
>   s.setVariable("nibble_rate", "2.5");
>   s.setVariable("nibble_account", "0838833133");
>   s.execute("nibblebill", "heartbeat 5");
>   bridge(session,s);
> };
>
> my question is
> 1. How to cancel create s session (by dtmf ) like a * in bridge app
> 2. when i hangup before s session ready is posible to cancel ?
>
> Best Regards.
>
> Dome C.





More information about the FreeSWITCH-users mailing list