[Freeswitch-users] Authenticating a user through ESL script

sami sakly it.samisakly at gmail.com
Wed Aug 20 13:13:30 MSD 2014


Thank you it's working !
But I really couldn't get the difference ?



2014-08-19 19:15 GMT+02:00 Michael Collins <msc at freeswitch.org>:

> Is 1000 a locally registered user? That is, can you do this instead?
>
> $ec1 = $sock->bgapi("originate","{origination_uuid=$uuid1}user/1000
> &park()");
>
> -MC
>
>
> On Tue, Aug 19, 2014 at 1:50 AM, sami sakly <it.samisakly at gmail.com>
> wrote:
>
>> Hi,
>>
>>
>> I'm looking to issue calls from the CLI (using originate command ) the
>> same way it's done through any Dialer like SIPml5.
>> I think I need to do something about the dialplan because once I'm
>> calling using SIPml5 I'm passing "through" default dialplan and when I'm
>> only using originate from external script I'm passing "through" Public
>> dialplan. May be something about authenticated user ?
>>
>> 2014-08-18 18:20:37.712649 [INFO] mod_dialplan_xml.c:558 Processing
>> <0000000000>->1000 in context public
>>
>> for the originate command I'm using esl.php :
>> $ec1 = $sock->bgapi("originate","{origination_uuid=$uuid1}sofia/internal/
>> 1000 at 12.0.0.104 &park()");
>>
>>
>> Thanks for your help.
>>
>> Regards,
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.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
>> http://www.freeswitch.org
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.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
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140820/79f46ada/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list