once you are controlling both sessions individually use api to send the uuid_bridge command:<br><br>api uuid_bridge <uuid of leg a> <uuid of leg b><br> <br><br><br><div class="gmail_quote">On Tue, Oct 21, 2008 at 9:37 AM, Dennis <span dir="ltr"><<a href="mailto:odermann@googlemail.com">odermann@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">2008/10/20 Anthony Minessale <<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>>:<br>
<br>
>> A more precise question about inbound/outbound: I want to read out the<br>
>> events from freeswitch with my PHP-script and then tell freeswitch,<br>
>> what to do next. I have the feeling, that "outbound" is the way to go.<br>
>> But of course I also want to be able to start calls. Can I do this by<br>
>> using "outbound"?<br>
><br>
> yes<br>
<br>
But what is the difference between "bridge" and "originate" in<br>
handling dials? "bridge" connects two calls together, but "originate"<br>
seems to be a part of "bridge".<br>
If we make a "bridge", both legs seem to bee in the same session, when<br>
using socked outbound.<br>
<br>
We make a "bridge" as follows:<br>
$this->invokeMessage("bridge", "sofia/internal/<a href="mailto:1001@192.168.1.5">1001@192.168.1.5</a>");<br>
<br>
When we use "originate" (which we prefer, because we do not want to<br>
connect both call with each other immediately), we use the following<br>
command:<br>
$this->invokeCommand("API originate<br>
{origination_caller_id_number=123455}sofia/internal/<a href="mailto:1001@192.168.1.5">1001@192.168.1.5</a><br>
123");<br>
<br>
The problem is, that the new call is now in another call-session and<br>
we do not know how to bring the calls together.<br>
<br>
Does it have something to do with "API"? If yes, is there a way to use<br>
"originate" with "sendmsg"?<br>
<br>
Thanks<br>
Dennis<br>
<br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>