Thanks for that. That seems to successfully re-invite and re-route the the B leg - but does not reinvite the A leg and then immediately issues a "bye" on both legs.
Do I have to do something to reinvite that A leg? On Wed, Jul 1, 2009 at 7:06 PM, Anthony Minessale < [email protected]> wrote: > try > apiExecute("uuid_media", "off " + session.uuid); > > > > On Wed, Jul 1, 2009 at 3:22 PM, Phillip Jones <[email protected]>wrote: > >> Hi there, >> >> I was wondering whether it is possible to have FreeSwitch go into >> bypass_media mode on demand? >> >> For instance, leg a bridges to leg b - leg b is invited to accept the call >> by pressing 1. I want to go to bypass_media (do a SIP reinvite to reroute >> the media) after the one is pressed. >> >> Currently I am issuing the following from my js script that prompts for >> the 1: >> >> session.apiExecute("uuid_media",session.uuid); >> >> Not working however. >> >> Any help to get me going would be appreciated. >> >> Thanks >> >> Phillip Jones. >> >> _______________________________________________ >> Freeswitch-users mailing list >> [email protected] >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > > AIM: anthm > MSN:[email protected] <msn%[email protected]> > GTALK/JABBER/PAYPAL:[email protected]<paypal%[email protected]> > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:[email protected] <sip%[email protected]> > iax:[email protected]/888 > googletalk:[email protected]<googletalk%3aconf%[email protected]> > pstn:213-799-1400 > > _______________________________________________ > Freeswitch-users mailing list > [email protected] > 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 [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
