[Freeswitch-users] Socket outbound: How to bridge two calls?

Anthony Minessale anthony.minessale at gmail.com
Thu Nov 6 06:12:17 PST 2008


If that doesn't work one of your uuids are wrong or contains a superfluous
space or some other character
You have to understand that the inbound call that uses "socket" is the same
thing as &park()
They are both in a park state at that point and there is no functional
difference.

once both channels are answered and in the park state,
you have 2 choices and they both work, so watch the console log on debug
level to find your mistake.

api uuid_bridge <uuid> <other_uuid>
sendmsg to <uuid> with call-command: execute to execute intercept on
<other_uuid>

to prove it, just set your script to accept and answer the inbound call then
make the outbound call and do nothing more.
Then at the CLI type:
>console loglevel debug
>show channels

get the 2 uuid from the output
and type:
>uuid_bridge <uuid> <other_uuid>

if this does not work, send me a complete copy of the console output



On Wed, Nov 5, 2008 at 9:05 AM, Dennis <odermann at googlemail.com> 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
>
> _______________________________________________
> 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
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
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>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081106/e7f4cfca/attachment-0002.html 


More information about the FreeSWITCH-users mailing list