17 Jan
2018
17 Jan
'18
2:17 p.m.
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@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