<div dir="ltr">The user/ prefix uses theĀ dial-string from the user directory. At a guess that's not configured correctly. They usually invoke sofia_contact to return the SIP registration address. See <a href="https://freeswitch.org/confluence/display/FREESWITCH/XML+User+Directory#XMLUserDirectory-DialString">https://freeswitch.org/confluence/display/FREESWITCH/XML+User+Directory#XMLUserDirectory-DialString</a></div><br><div class="gmail_quote"><div dir="ltr">On Mon, 13 Aug 2018 at 17:05, Francesco Facco de Lagarda <<a href="mailto:francesco@delagarda.com">francesco@delagarda.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
<br>
I'm trying to send cmds to 8021 port Esl via php<br>
<br>
api sofia statusĀ  <br>
api show registrations<br>
And lots of other<br>
WOrk FINE!<br>
<br>
But I tried <br>
api originate user/1001 &park()<br>
<br>
and it says:<br>
USAGE: <call url> <exten>|&<application_name>(<app_args>) [<dialplan>] [<context>] [<cid_name>] [<cid_num>] [<timeout_sec>]<br>
<br>
what AM i doing wrong?<br>
Francesco Facco de Lagarda<br>
<br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div>