<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(32,18,77)">Don-</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(32,18,77)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(32,18,77)">maybe try:</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(32,18,77)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(32,18,77)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(32,18,77)">1:</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(32,18,77)"><br></div><div class="gmail_default" style="color:rgb(32,18,77)"><div class="gmail_default" style="font-family:verdana,sans-serif">&lt;document type=&#39;xml/freeswitch-httapi&#39;&gt;</div><div class="gmail_default" style="font-family:verdana,sans-serif">&lt;params/&gt;</div><div class="gmail_default" style="font-family:verdana,sans-serif">&lt;variables/&gt;</div><div class="gmail_default" style="font-family:verdana,sans-serif">&lt;work&gt;<br></div><div class="gmail_default"><span style="color:rgb(34,34,34);font-size:12.8px"><font face="verdana, sans-serif">&lt;execute application=&quot;answer&quot;/&gt;</font></span><br></div><div class="gmail_default" style="color:rgb(34,34,34)"><div class="gmail_default"><font face="verdana, sans-serif">&lt;speak action=&quot;<a href="http://blabla.com/API/callflow/?customer_next_action_url=http%3A%2F%2Fblabla.com%2Fcustomertest.php%3Fdo%3DDial&amp;customer_method=POST&amp;API_USER_ID=898958">http://blabla.com/API/callflow/?customer_next_action_url=http%3A%2F%2Fblabla.com%2Fcustomertest.php%3Fdo%3DDial&amp;customer_method=POST&amp;API_USER_ID=898958</a>&quot; name=&quot;speak&quot; loop=&quot;0&quot; engine=&quot;flite&quot; voice=&quot;slt&quot; text=&quot;We will now begin to dial a number. This is just a test.&quot; language=&quot;en&quot;&gt;</font></div><div class="gmail_default"><font face="verdana, sans-serif">&lt;/speak&gt;</font></div></div><div class="gmail_default" style="font-family:arial,sans-serif;color:rgb(34,34,34)"><span style="color:rgb(32,18,77);font-family:verdana,sans-serif">&lt;/work&gt;</span></div><div class="gmail_default" style="font-family:arial,sans-serif;color:rgb(34,34,34)"><span style="color:rgb(32,18,77);font-family:verdana,sans-serif">&lt;/document&gt;</span></div><div class="gmail_default" style="font-family:arial,sans-serif;color:rgb(34,34,34)"><span style="color:rgb(32,18,77);font-family:verdana,sans-serif"><br></span></div><div class="gmail_default" style="font-family:arial,sans-serif;color:rgb(34,34,34)"><span style="color:rgb(32,18,77);font-family:verdana,sans-serif"><br></span></div></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(32,18,77)">2:</div><div class="gmail_default"><div class="gmail_default" style="color:rgb(32,18,77);font-family:verdana,sans-serif">&lt;document type=&#39;xml/freeswitch-httapi&#39;&gt;</div><div class="gmail_default" style="color:rgb(32,18,77);font-family:verdana,sans-serif">&lt;params/&gt;</div><div class="gmail_default" style="color:rgb(32,18,77);font-family:verdana,sans-serif">&lt;variables&gt;</div><div class="gmail_default" style="color:rgb(32,18,77);font-family:verdana,sans-serif">&lt;ringback&gt;<a href="http://blabla.com/beat.wav">http://blabla.com/beat.wav</a>&lt;/ringback&gt;</div><div class="gmail_default" style="color:rgb(32,18,77);font-family:verdana,sans-serif">&lt;effective_caller_id_name&gt;<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px">My Name</span>&lt;/effective_caller_id_name&gt;<br></div><div class="gmail_default"><font color="#20124d" face="verdana, sans-serif">&lt;effective_caller_id_number&gt;</font><span style="font-size:12.8px">2144635555</span><font color="#20124d" face="verdana, sans-serif">&lt;/effective_caller_id_number&gt;</font><br></div><div class="gmail_default" style="color:rgb(32,18,77);font-family:verdana,sans-serif">&lt;ringback&gt;<a href="http://blabla.com/beat.wav">http://blabla.com/beat.wav</a>&lt;/ringback&gt;<br></div><div class="gmail_default" style="color:rgb(32,18,77);font-family:verdana,sans-serif">&lt;/variables&gt;<br></div><div class="gmail_default" style="color:rgb(32,18,77);font-family:verdana,sans-serif">&lt;work&gt;</div><div class="gmail_default"><font face="verdana, sans-serif">&lt;execute action=&quot;<a href="http://blabla.com/API/callflow/?customer_next_action_url=http%3A%2F%2Fblabla.com%2Fcustomertest.php%3Fdo%3Dspeak&amp;customer_method=POST&amp;API_USER_ID=898958">http://blabla.com/API/callflow/?customer_next_action_url=http%3A%2F%2Fblabla.com%2Fcustomertest.php%3Fdo%3Dspeak&amp;customer_method=POST&amp;API_USER_ID=898958</a>&quot;</font></div><div class="gmail_default"><font face="verdana, sans-serif">application=&quot;bridge&quot; </font><span style="font-family:verdana,sans-serif">data=&quot;sofia/gatewayAlcazar/12144635555&quot;&gt;</span></div><div class="gmail_default" style=""><span style="color:rgb(32,18,77);font-family:verdana,sans-serif">&lt;/work&gt;</span><br></div><div class="gmail_default" style=""><span style="color:rgb(32,18,77);font-family:verdana,sans-serif">&lt;/document&gt;</span><br></div><div class="gmail_default" style="color:rgb(32,18,77);font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="color:rgb(32,18,77);font-family:verdana,sans-serif"><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 28, 2016 at 11:38 AM, Don Hawkins <span dir="ltr">&lt;<a href="mailto:hawkins@hawkinsegroup.com" target="_blank">hawkins@hawkinsegroup.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Anyone?</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 27, 2016 at 7:54 PM, Don Hawkins <span dir="ltr">&lt;<a href="mailto:hawkins@hawkinsegroup.com" target="_blank">hawkins@hawkinsegroup.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I&#39;m using httapi and everything is working well for the most part. The one thing I noticed is that whenever I do anything before trying to &quot;Dial&quot; or bridge a call to the gateway:<div><br></div><div>1. The first thing never happens, even though the console says it did.</div><div>2. The outbound call &quot;Dial&quot; won&#39;t work, it hangs for about 60 seconds and then returns a NORMAL_TEMPORARY_FAILURE every time.</div><div><br></div><div>Things to note: </div><div>   </div><div>      - If I start with the dial request (B below) then it connects the call fine, it just can&#39;t come after anything else.</div><div>      - If I never return a request to dial (pretend B below starts a conference instead) then everything works fine, the TTS works before and the conference works after.</div><div><br></div><div><br></div><div>Here is an example: </div><div><br></div><div><br></div><div>A. When FS makes it&#39;s first request to my URL I return this:</div><div><br></div><div><div>&lt;document type=&quot;text/freeswitch-httapi&quot;&gt;</div><div>  &lt;work&gt;</div><div>    &lt;speak action=&quot;<a href="http://blabla.com/API/callflow/?customer_next_action_url=http%3A%2F%2Fblabla.com%2Fcustomertest.php%3Fdo%3DDial&amp;customer_method=POST&amp;API_USER_ID=898958" target="_blank">http://blabla.com/API/callflow/?customer_next_action_url=http%3A%2F%2Fblabla.com%2Fcustomertest.php%3Fdo%3DDial&amp;customer_method=POST&amp;API_USER_ID=898958</a>&quot; name=&quot;speak&quot; loop=&quot;0&quot; engine=&quot;flite&quot; voice=&quot;slt&quot; text=&quot;We will now begin to dial a number. This is just a test.&quot; language=&quot;en&quot;&gt;</div><div>    &lt;/speak&gt;</div><div>  &lt;/work&gt;</div><div>&lt;/document&gt;</div></div><div><br></div><div><br></div><div>B: When FS makes it&#39;s next request to my action URL (same URL with different parameters) I return the dial command and attempt to connect to the outbound gateway.</div><div><br></div><div><br></div><div><div>&lt;document type=&quot;text/freeswitch-httapi&quot;&gt;</div><div>&lt;work&gt;</div><div>&lt;!-- Hold music URL --&gt;</div><div>&lt;execute application=&quot;set&quot; data=&quot;ringback=<a href="http://blabla.com/beat.wav" target="_blank">http://blabla.com/beat.wav</a>&quot;&gt;&lt;/execute&gt;</div><div>&lt;!-- Set the caller ID information --&gt;</div><div>&lt;execute application=&quot;set&quot; data=&quot;effective_caller_id_name=My Name&quot;&gt;&lt;/execute&gt;</div><div>&lt;execute application=&quot;set&quot; data=&quot;effective_caller_id_number=<a href="tel:12144635555" value="+12144635555" target="_blank">12144635555</a>&quot;&gt;&lt;/execute&gt;</div><div><br></div><div>&lt;!-- The actual call or calls, entrie string separated by commas --&gt;</div><div>&lt;execute application=&quot;export&quot; data=&quot;nolocal:codec_string=G711&quot;&gt;&lt;/execute&gt;</div><div>&lt;execute action=&quot;<a href="http://blabla.com/API/callflow/?customer_next_action_url=http%3A%2F%2Fblabla.com%2Fcustomertest.php%3Fdo%3Dspeak&amp;customer_method=POST&amp;API_USER_ID=898958" target="_blank">http://blabla.com/API/callflow/?customer_next_action_url=http%3A%2F%2Fblabla.com%2Fcustomertest.php%3Fdo%3Dspeak&amp;customer_method=POST&amp;API_USER_ID=898958</a>&quot;</div><div>application=&quot;bridge&quot;</div><div>data=&quot;sofia/gatewayAlcazar/<a href="tel:12144635555" value="+12144635555" target="_blank">12144635555</a>&quot;&gt;</div><div>&lt;execute application=&quot;answer&quot;/&gt;</div><div>&lt;/execute&gt;</div><div>&lt;/work&gt;</div><div>&lt;/document&gt;</div></div><div><br></div><div><br></div><div>What happens? It never speaks the text (although the console says it did) and when dialing out I get &quot;NORMAL_TEMPORARY_FAILURE&quot; and the call never connects. Keep in mind, if the second thing I return (B above) is NOT dial then everything works fine, it will speak the text, play a file, start a conference, or any other application. </div><div><br></div><div>This is the weirdest thing  to me and of course almost everything is useless if you can&#39;t connect a call at some point, if anyone has any advice I&#39;d be highly appreciative.</div></div><span class="HOEnZb"><font color="#888888">
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span style="color:rgb(102,102,102)"><span>Sincerely,<br>Don Hawkins<br>CEO<br>Hawkins Enterprise Group LLC<br><a href="http://hawkinsegroup.com" target="_blank">http://hawkinsegroup.com</a><br><a href="http://zello.com" target="_blank">Zello PTT</a>: push2don<br></span></span></div><div><span style="color:rgb(102,102,102)"><span>P: <a href="tel:469-214-5044" value="+14692145044" target="_blank">469-214-5044</a><br></span></span></div><div dir="ltr"><span style="color:rgb(102,102,102)"><span><a value="+12146991224"></a></span></span></div></div></div></div></div></div>
</font></span></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">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">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><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><font size="3" face="Times New Roman">

</font><p style="margin:0in 0in 0pt"><a name="UNIQUE_ID_SafeHtmlFilter__MailAutoSig"><span><font size="3" face="verdana, sans-serif">Tony
Bourdeaux</font></span></a></p><p style="margin:0in 0in 0pt"><a name="UNIQUE_ID_SafeHtmlFilter__MailAutoSig"><span><font face="verdana, sans-serif" size="1" color="#0000ff"><b>Intelecenter, LLC</b></font></span></a></p><font size="3" face="verdana, sans-serif">

</font><p style="margin:0in 0in 0pt"><span><span><font face="verdana, sans-serif" size="1">ph: 805-428-3031<span></span><span></span></font></span></span></p><font face="verdana, sans-serif" size="1">

</font><p style="margin:0in 0in 0pt"><span><span><font face="verdana, sans-serif" size="1">Skype: tony.bourdeaux</font></span></span></p><font size="3" face="Times New Roman">

</font><p style="margin:0in 0in 0pt"><span><span><font size="3" face="Calibri"> </font></span></span></p><font size="3" face="Times New Roman">

</font><p style="margin:0in 0in 0pt"><span><span><font size="3"><font face="Calibri">
 
 
  
  
  
  
  
  
  
  
  
  
  
  
 
 
 
</font></font><font size="3"><font face="Calibri">
 
</font></font></span></span></p><font size="3" face="Times New Roman">

</font><p style="margin:0in 0in 0pt"><span><span><font size="3" face="Calibri"> </font></span></span></p><font size="3" face="Times New Roman">

</font><p style="margin:0in 0in 0pt"><span><span><font size="3"><font face="Calibri">&quot;This message and any attachments are solely for the
intended recipient and may contain confidential or privileged information. If
you are not the intended recipient, any disclosure, copying, use, or
distribution of the information included in this message and any attachments is
prohibited. If you have received this communication in error, please notify me
by reply e-mail and immediately and permanently delete this message and any
attachments.&quot;</font></font></span></span></p><font size="3" face="Times New Roman">

</font><p style="margin:0in 0in 0pt"><span><span><font size="3" face="Calibri"> </font></span></span></p><font size="3" face="Times New Roman">

</font></div></div>
</div>