<div dir="ltr">Hello,<br>I am attempting to generate a message to convert to speech and send it out to my users. I am a newbie but I am just not getting it after reading through the documentation. In testing it works fine when sending to my voip connected users using the following:<br>
<br>bgapi originate {ignore_early_media=true,originate_timeout=60}sofia/internal/1001 &amp;playback(/usr/local/freeswitch/sounds/warning.wav)<br><br>however, when I dial a cell phone as below it rings the phone but immediately hangs up before playing the message. Is there something obvious I am doing wrong?<br>
<br>bgapi originate
{ignore_early_media=true,originate_timeout=60}sofia/gateway/<a href="http://sip.startec.com/14431112222&amp;playback(/usr/local/freeswitch/sounds/warning.wav)">sip.startec.com/14431112222
&amp;playback(/usr/local/freeswitch/sounds/warning.wav)</a><br><br>and then the follow up question is do I need bridge the call in the dialplan like so?<br><br>&nbsp;&lt;!-- Dial 11 digit number via startec --&gt;<br>&nbsp;&nbsp;&nbsp; &lt;extension name=&quot;outbound&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field=&quot;destination_number&quot; expression=&quot;^(\d{11})$&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!--&lt;action application=&quot;set&quot; data=&quot;effective_caller_id_number=4439951026&quot;/&gt;--&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- &lt;action application=&quot;answer&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;playback&quot; data=&quot;/usr/local/freeswitch/sounds/warning.wav&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!--&lt;action application=&quot;speak&quot; data=&quot;cepstral|david|Please hold this is a test&quot;/&gt; --&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/<a href="http://sip.startec.com/$1@xx.xx.xx.xx:5061">sip.startec.com/$1@xx.xx.xx.xx:5061</a>&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/extension&gt;<br>
<br><br></div>