[Freeswitch-users] How to cancel session in Javascript

Dome Charoenyost dome at tel.co.th
Fri Jun 26 23:45:36 PDT 2009


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