<p dir="ltr">No, it works because he was passing $uuid on a double-quoted, expecting it to be resolved before getting sent to fs, but that's a perl variable, and it was messing up the dialstr. Best is to pass the dialstr clean.</p>
<br><div class="gmail_quote"><div dir="ltr">On Tue, Jan 16, 2018, 16:35 Madovsky <<a href="mailto:infos@madovsky.org">infos@madovsky.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <p>sure it works, like this examle you don't need to expand
      originate..<br>
    </p></div><div text="#000000" bgcolor="#FFFFFF">
    <div class="m_-1581782602298422533moz-cite-prefix">On 1/16/2018 5:52 AM, Raimundo Pérez
      Nieves wrote:<br>
    </div>
    </div><div text="#000000" bgcolor="#FFFFFF"><blockquote type="cite">
      
      This work sensational!!!!
      <div>Thanks</div>
      <div><br>
      </div>
      <div>
        <div class="gmail_extra" style="font-size:12.8px">$mydialstr =
          '{origination_uuid=' . $uuid . '}sofia/external/<a href="mailto:55007537203517@64.34.75.23" target="_blank">55007537203517@64.34.75.23</a> 5004';</div>
        <div class="gmail_extra" style="font-size:12.8px"><br>
        </div>
        <div class="gmail_extra" style="font-size:12.8px">and then </div>
        <div class="gmail_extra" style="font-size:12.8px"><br>
        </div>
        <div class="gmail_extra" style="font-size:12.8px">$con->bgapi('originate',$mydialstr);</div>
      </div>
      <br>
      <fieldset class="m_-1581782602298422533mimeAttachmentHeader"></fieldset>
      <br>
      <pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="m_-1581782602298422533moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a class="m_-1581782602298422533moz-txt-link-freetext" href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

Official FreeSWITCH Sites
<a class="m_-1581782602298422533moz-txt-link-freetext" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a class="m_-1581782602298422533moz-txt-link-freetext" href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a>
<a class="m_-1581782602298422533moz-txt-link-freetext" href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="m_-1581782602298422533moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="m_-1581782602298422533moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="m_-1581782602298422533moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="m_-1581782602298422533moz-txt-link-freetext" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></pre>
    </blockquote></div>

_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a></blockquote></div>