[Freeswitch-users] Originating calls via ESL

Francesco Facco de Lagarda francesco at delagarda.com
Wed Aug 15 16:53:44 UTC 2018


Thank you all!
My error was that I was instinctively using :
user at domain
Instead of
user%domain


Francesco Facco de Lagarda


> On 15 Aug 2018, at 16:31, Steven Ayre <steveayre at gmail.com> wrote:
> 
> 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 https://freeswitch.org/confluence/display/FREESWITCH/XML+User+Directory#XMLUserDirectory-DialString
> 
>> On Mon, 13 Aug 2018 at 17:05, Francesco Facco de Lagarda <francesco at delagarda.com> wrote:
>> 
>> 
>> 
>> I'm trying to send cmds to 8021 port Esl via php
>> 
>> api sofia status  
>> api show registrations
>> And lots of other
>> WOrk FINE!
>> 
>> But I tried 
>> api originate user/1001 &park()
>> 
>> and it says:
>> USAGE: <call url> <exten>|&<application_name>(<app_args>) [<dialplan>] [<context>] [<cid_name>] [<cid_num>] [<timeout_sec>]
>> 
>> what AM i doing wrong?
>> Francesco Facco de Lagarda
>> 
>> 
>> 
>> _________________________________________________________________________
>> Professional FreeSWITCH Services
>> sales at freeswitch.com
>> https://freeswitch.com
>> 
>> Official FreeSWITCH Sites
>> https://freeswitch.com/oss
>> https://freeswitch.org/confluence
>> https://cluecon.com
>> 
>> 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
>> https://freeswitch.com
> _________________________________________________________________________
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
> 
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
> 
> 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
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180815/c81a7569/attachment-0001.html>


More information about the FreeSWITCH-users mailing list