<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] Originate call from one ext to another from php?</TITLE>
</HEAD>
<BODY>
<FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>The % gives the same error. Here is the sofia status output:<BR>
<BR>
API CALL [sofia(status)] output:<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Name &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Type &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Data &nbsp;&nbsp;&nbsp;State<BR>
=================================================================================================<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;external &nbsp;&nbsp;&nbsp;profile &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sip:mod_sofia@myoutsideip:5080 &nbsp;&nbsp;&nbsp;RUNNING (0)<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;example.com &nbsp;&nbsp;&nbsp;gateway &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sip:joeuser@example.com &nbsp;&nbsp;&nbsp;NOREG<BR>
&nbsp;&nbsp;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nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal &nbsp;&nbsp;&nbsp;ALIASED<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nat &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;alias &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;external &nbsp;&nbsp;&nbsp;ALIASED<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;outbound &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;alias &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;external &nbsp;&nbsp;&nbsp;ALIASED<BR>
=================================================================================================<BR>
3 profiles 4 aliases<BR>
<BR>
<BR>
<BR>
On 2/11/09 3:48 PM, &quot;Brian West&quot; &lt;brian@freeswitch.org&gt; wrote:<BR>
<BR>
</SPAN></FONT></FONT><BLOCKQUOTE><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>show me &quot;sofia status&quot;, &nbsp;Try changing the @ to a % but I really need to see the sofia status output.<BR>
<BR>
/b<BR>
<BR>
On Feb 11, 2009, at 2:32 PM, Chris Elam wrote:<BR>
<BR>
</SPAN></FONT></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><FONT SIZE="5"><SPAN STYLE='font-size:11.5pt'> $cmd = &quot;api originate sofia/mydomain.com/1000@192.168.15.50 &amp;bridge(sofia/mydomain.com/1001@192.168.15.50)&quot;; <BR>
<BR>
The result I get is : -ERR DESTINATION_OUT_OF_ORDER <BR>
</SPAN></FONT><FONT SIZE="4"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><FONT SIZE="4"><SPAN STYLE='font-size:11pt'><BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT></FONT><FONT SIZE="5"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:12pt'>_______________________________________________<BR>
Freeswitch-users mailing list<BR>
Freeswitch-users@lists.freeswitch.org<BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE>

<BR>
This email may contain confidential information and is solely for the use of the intended recipient. Any review, distribution, disclosure or other use of this information by anyone other than the intended recipient is prohibited. If you have received this communication in error, please notify the sender immediately and delete this message from your system.<BR>
</BODY>
</HTML>