[Freeswitch-users] How to cancel session in Javascript
Michael Collins
msc at freeswitch.org
Mon Jun 29 23:19:31 PDT 2009
can you post your script and dialplan? Let's take a look.
-MC
On Mon, Jun 29, 2009 at 11:07 PM, Dome Charoenyost <dome at tel.co.th> wrote:
> 2009/6/30 Michael Collins <msc at freeswitch.org>:
> > 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.
> I'm use js for callback solution.
>
> Dome C.
>
> >
> > -MC
> >
> > On Fri, Jun 26, 2009 at 11:45 PM, Dome Charoenyost <dome at tel.co.th>
> 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.
> >>
> >> _______________________________________________
> >> Freeswitch-users mailing list
> >> Freeswitch-users at lists.freeswitch.org
> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >> UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >> http://www.freeswitch.org
> >
> >
> > _______________________________________________
> > Freeswitch-users mailing list
> > Freeswitch-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> >
> >
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090629/0e3f2e46/attachment-0002.html
More information about the FreeSWITCH-users
mailing list