[Freeswitch-users] Authenticating a user through ESL script

Michael Collins msc at freeswitch.org
Tue Aug 19 21:15:59 MSD 2014


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140819/36892fb8/attachment.html 


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