[Freeswitch-users] Originate loops Dialplan

Raimundo PĂ©rez Nieves raimundo.perez.cuba at gmail.com
Wed Jan 17 14:17:19 UTC 2018


Hi guys, 
Iam trying to use originate from event socket and get events from the number dialed in this originate.
The problem I am having is that when I use internal phone in my server works great, but when I am trying to originate an outbound call to other server it loops in Dialplan.
I just want to get tone detected event from that external call.

my $mydialstr = '{origination_uuid=' . $uuidLegB . ',absolute_codec_string=G729,originate_retries=0}sofia/external/550075378355222 at 64.34.75.23 10000';
my $res = $con->api("originate",$mydialstr);

The extension 10000 in non-existing, and when Dialplan end it starts again and again. 
Can I put another thing just for listen events for that outbound call?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180117/061c841f/attachment.html>


More information about the FreeSWITCH-users mailing list