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@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@12.0.0.104 &park()");


Thanks for your help.

Regards,

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org