[Freeswitch-users] Socket outbound: How to bridge two calls?
Birgit Arkesteijn
birgit at westhawk.co.uk
Wed Nov 5 07:51:15 PST 2008
Hi Dennis,
I had a similar problem, but we're using javascript, not sockets.
Is there any reason why your first original and then bridge instead of
bridging your inbound call immediately to the (what will be your)
outbound call?
If that doesn't work, I had to take a channel out of a conference call
and bridge that channel to a new person. I used 'intercept' in the end:
var sSession = new
Session("{ignore_early_media=true,originate_timeout=10}" +
customer_service_url);
sSession.setAutoHangup(false);
sSession.execute("intercept", uuid);
where sSession is the newly (latest) originated call
and uuid the identifier of the channel in the conference call.
As far as I know, 'unbridge' as command doesn't exist.
I wouldn't know how to achieve that.
Hope the above helps.
Cheers, Birgit
On 05/11/08 15:05, Dennis wrote:
> hi,
>
> i am using socket outbound and want to bridge two calls with each other.
>
> i do the following:
>
> a call comes in and it gets answered (inbound call). after i send the
> answer to the inbound, i do an originate to &park (outbound).
> after i answered the outbound, i want both sides to be able to talk to
> each other. but when i try uuid_bridge <inbound-uuid> <outbound-uuid>
> it does not work. i do not even get a channel_bridge or something.
>
> when i do 2 originates and send them to &park(), i can bridge them
> with each other with uuid_bridge.
>
> what am i doing wrong?
>
> the other question is, how to unbridge two calls, if they are bridged?
> i can't find anything like an unbridge command.
>
>
> thanks
> dennis93
--
-- 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>
More information about the FreeSWITCH-users
mailing list