[Freeswitch-users] Take uuid out of conference and bridge
anthony.minessale at gmail.com
Wed Oct 22 10:54:17 PDT 2008
try skipping the kick
if you call uuid_bridge on a session who is busy doing something he will be
warped to your bridge anyway.
On Wed, Oct 22, 2008 at 12:37 PM, Birgit Arkesteijn
<birgit at westhawk.co.uk>wrote:
> bridge this person to a customer services number.
> I no longer have the session object of memberA, so I find the uuid via
> an apiExecute() on conference list.
> I then create a new session object with the customer services endpoint,
> and try to uuid_bridge the uuid of memberA with the uuid of the new
> session object.
> The customer service endpoint ring successfully, but when I try to
> bridge both endpoints hangup with cause DESTINATION_OUT_OF_ORDER.
> Does anyone know how to do this successfully?
> Here is the function involved:
> function bridge_to_customer_services(conf_name, member_id, uuid,
> if (member_id && uuid)
> var sSession = new
> + customer_service_url);
> var ready = sSession.ready();
> if (ready == true)
> // The customer services call has been answered
> var argument = conf_name + " kick " + member_id;
> var res = apiExecute("conference", argument);
> log("after apiExecute conference: " + res);
> argument = uuid + " " + sSession.uuid;
> res = apiExecute("uuid_bridge", argument);
> log("after apiExecute uuid_bridge: " + res);
> BTW, log() is just a helper function that wraps around console_log().
> Thanks, Birgit
> -- Birgit Arkesteijn, birgit at westhawk.co.uk,
> -- Westhawk Ltd, Albion Wharf, 19 Albion Street, Manchester M1 5LN, UK
> -- Company no: 1769350
> -- Registered Office:
> -- 15 London Road, Stockton Heath, Warrington WA4 6SJ. UK.
> -- tel.: +44 (0)161 237 0660
> -- <URL: http://www.westhawk.co.uk>
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
Anthony Minessale II
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FreeSWITCH-users