<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi guys, <div class="">Iam trying to use originate from event socket and get events from the number dialed in this originate.</div><div class="">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.</div><div class="">I just want to get tone detected event from that external call.</div><div class=""><br class=""></div><div class=""><div style="color: rgb(212, 212, 212); background-color: rgb(30, 30, 30); font-family: Menlo, Monaco, "Courier New", monospace; line-height: 18px; white-space: pre;" class=""><div class=""><span style="color: #569cd6;" class="">my</span> <span style="color: #9cdcfe;" class="">$mydialstr</span> = <span style="color: #ce9178;" class="">'{origination_uuid='</span> . <span style="color: #9cdcfe;" class="">$uuidLegB</span> . <span style="color: #ce9178;" class="">',absolute_codec_string=G729,<a href="mailto:originate_retries=0}sofia/external/550075378355222@64.34.75.23" class="">originate_retries=0}sofia/external/550075378355222@64.34.75.23</a> 10000'</span>;</div><div class=""><span style="color: #569cd6;" class="">my</span> <span style="color: #9cdcfe;" class="">$res</span> = <span style="color: rgb(156, 220, 254);" class="">$con</span>->api(<span style="color: rgb(206, 145, 120);" class="">"originate"</span>,<span style="color: rgb(156, 220, 254);" class="">$mydialstr</span>);</div></div></div><div class=""><br class=""></div><div class="">The extension 10000 in non-existing, and when Dialplan end it starts again and again. </div><div class="">Can I put another thing just for listen events for that outbound call?</div><div class=""><br class=""></div><div class="">Thanks</div></body></html>