<style>blockquote {padding-left: 1ex; margin: 0px 0px 0px 0.8ex; border-left: #cccccc 1px solid;} p {margin: 0px;padding: 0px;} </style>
<p>I had a similiar case (no media heard), but in the IMS/MGW environment (PSTN-to-IP call). Adding a SIP header</p>
<p>P-Early-Media=sendonly</p>
<p>when sending 183 response solved the problem. Check RFC5009. Also, executing 'pre_answer' explicitly after setting the header would be nice.</p>
<p>&nbsp;</p>
<p>Regards,</p>
<p>Mariusz</p>
<p>&nbsp;</p>
<p>Dnia Piątek, 21 Czerwca 2013 19:19 Michael Collins &lt;msc@freeswitch.org&gt; napisał(a)</p>
<blockquote>
<div dir="ltr">
<div>add another application in there, like an info app.</div>
-MC</div>
<div class="gmail_extra"><br /><br />
<div class="gmail_quote">On Fri, Jun 21, 2013 at 9:22 AM, imyrvold <span dir="ltr">&lt;<a href="mailto:ivan@myrvold.org" target="_blank">ivan@myrvold.org</a>&gt;</span> wrote:<br />
<blockquote class="gmail_quote" style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;"><br /> I didn't get anything in red, but got the XML back in a tmp log file:<br /> (By the way, the "no_name" for the extension name I got from the new<br /> FreeSWITCH 1.2 book)<br /> <br /> freeswitch@xxxx.xxxx.xxxx.xxxx@default&gt; xml_curl debug on<br /> USAGE: [debug_on|debug_off]<br /> <br /> freeswitch@xxxx.xxxx.xxxx.xxxx@default&gt; xml_curl debug_on<br /> OK<br /> <br /> 
freeswitch@xxxx.xxxx.xxxx.xxxx@default&gt; 2013-06-21 16:15:17.589965 [NOTICE]<br /> switch_channel.c:978 New Channel sofia/internal/160@xxxx.xxxx.xxxx.xxxx<br /> [c3477b50-da8d-11e2-9a85-1d15db576d4a]<br /> 2013-06-21 16:15:18.289960 [CONSOLE] mod_xml_curl.c:318 XML response is in<br /> /tmp/c35700e8-da8d-11e2-9a87-1d15db576d4a.tmp.xml<br /> 2013-06-21 16:15:18.309955 [INFO] mod_dialplan_xml.c:558 Processing Linksys<br /> 160 &lt;160&gt;-&gt;111 in context default<br /> 2013-06-21 
16:15:19.029914 [CONSOLE] mod_xml_curl.c:318 XML response is in<br /> /tmp/c3b3c6d4-da8d-11e2-9a89-1d15db576d4a.tmp.xml<br /> 2013-06-21 16:15:19.029914 [INFO] switch_core_session.c:2578 Sending early<br /> media<br /> 2013-06-21 16:15:19.029914 [NOTICE] sofia_media.c:92 Pre-Answer<br /> sofia/internal/160@xxxx.xxxx.xxxx.xxxx!<br /> 2013-06-21 16:15:21.749953 [NOTICE] switch_core_state_machine.c:262<br /> sofia/internal/160@xxxx.xxxx.xxxx.xxxx has executed the last dialplan<br /> instruction, 
hanging up.<br /> 2013-06-21 16:15:21.749953 [NOTICE] switch_core_state_machine.c:264 Hangup<br /> sofia/internal/160@xxxx.xxxx.xxxx.xxxx [CS_EXECUTE] [NORMAL_CLEARING]<br /> 2013-06-21 16:15:21.749953 [NOTICE] switch_core_session.c:1566 Session 228<br /> (sofia/internal/160@xxxx.xxxx.xxxx.xxxx) Ended<br /> 2013-06-21 16:15:21.749953 [NOTICE] switch_core_session.c:1570 Close Channel<br /> sofia/internal/160@xxxx.xxxx.xxxx.xxxx [CS_DESTROY]<br /> xml_curl debug_off<br /> OK<br /> <br /> 
freeswitch@xxxx.xxxx.xxxx.xxxx@default&gt;<br /> <br /> <br /> imyrvold@li346-164:~$ sudo cat<br /> /tmp/c3b3c6d4-da8d-11e2-9a89-1d15db576d4a.tmp.xml<br /> &lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&gt;<br /> &lt;document type="freeswitch/xml"&gt;<br /> &nbsp; &lt;section name="dialplan"&gt;<br /> &nbsp; &nbsp; &lt;context name="default"&gt;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &lt;extension name="no_name"&gt;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;condition&gt;<br /> &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;action application="playback"<br /> data="/usr/local/freeswitch/sounds/en/us/callie/misc/8000/phone_not_auth.wav"/&gt;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/condition&gt;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &lt;/extension&gt;<br /> &nbsp; &nbsp; &lt;/context&gt;<br /> &nbsp; &lt;/section&gt;<br /> &lt;/document&gt;<br /> imyrvold@li346-164:~$<br /> <br /> <br /> <br /> <br /> --<br /> View this message in context: <a 
href="http://freeswitch-users.2379917.n2.nabble.com/Playback-sound-file-tp7592056p7592078.html" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/Playback-sound-file-tp7592056p7592078.html</a><br /> Sent from the freeswitch-users mailing list archive at Nabble.com.<br /> <br /> _________________________________________________________________________<br /> Professional FreeSWITCH Consulting Services:<br /> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br 
/> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br /> <br /> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br /> <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br /> <br /> Official FreeSWITCH Sites<br /> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br /> <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br /> <a 
href="http://www.cluecon.com" 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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br /> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" 
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br /> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></blockquote>
</div>
<br /><br clear="all" /><br />-- <br />Michael S Collins<br />Twitter: @mercutioviz<br /><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br /><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br /> <a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br /><br /></div>
</blockquote>
<p><br /><br /></p><br />