<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Oct 10, 2008, at 10:54 AM, Alfred Richmond wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><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 &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&playback(/usr/local/freeswitch/sounds/warning.wav)">sip.startec.com/14431112222 &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> <!-- Dial 11 digit number via startec --><br> <extension name="outbound"><br> <condition field="destination_number" expression="^(\d{11})$"><br> <!--<action application="set" data="effective_caller_id_number=4439951026"/>--><br> <!-- <action application="answer"/><br> <action application="playback" data="/usr/local/freeswitch/sounds/warning.wav"/><br> --><br> <!--<action application="speak" data="cepstral|david|Please hold this is a test"/> --><br> <action application="bridge" data="sofia/gateway/<a href="http://sip.startec.com/$1@xx.xx.xx.xx:5061">sip.startec.com/$1@xx.xx.xx.xx:5061</a>"/><br> </condition><br> </extension><br></div></blockquote></div><br><div><br></div><div>With just this information, my guess is your call is not hitting the same dialplan context. Turn the log output up to debug and see what it is saying, my guess is its falling off the end of the public context with no matching extension.</div><div><br></div><div>Mike</div><div><br></div></body></html>