once you are controlling both sessions individually use api to send the uuid_bridge command:<br><br>api uuid_bridge &lt;uuid of leg a&gt; &lt;uuid of leg b&gt;<br>&nbsp;<br><br><br><div class="gmail_quote">On Tue, Oct 21, 2008 at 9:37 AM, Dennis <span dir="ltr">&lt;<a href="mailto:odermann@googlemail.com">odermann@googlemail.com</a>&gt;</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 &lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt;:<br>

<br>
&gt;&gt; A more precise question about inbound/outbound: I want to read out the<br>
&gt;&gt; events from freeswitch with my PHP-script and then tell freeswitch,<br>
&gt;&gt; what to do next. I have the feeling, that &quot;outbound&quot; is the way to go.<br>
&gt;&gt; But of course I also want to be able to start calls. Can I do this by<br>
&gt;&gt; using &quot;outbound&quot;?<br>
&gt;<br>
&gt; yes<br>
<br>
But what is the difference between &quot;bridge&quot; and &quot;originate&quot; in<br>
handling dials? &quot;bridge&quot; connects two calls together, but &quot;originate&quot;<br>
seems to be a part of &quot;bridge&quot;.<br>
If we make a &quot;bridge&quot;, both legs seem to bee in the same session, when<br>
using socked outbound.<br>
<br>
We make a &quot;bridge&quot; as follows:<br>
$this-&gt;invokeMessage(&quot;bridge&quot;, &quot;sofia/internal/<a href="mailto:1001@192.168.1.5">1001@192.168.1.5</a>&quot;);<br>
<br>
When we use &quot;originate&quot; (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-&gt;invokeCommand(&quot;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&quot;);<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 &quot;API&quot;? If yes, is there a way to use<br>
&quot;originate&quot; with &quot;sendmsg&quot;?<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>