it&#39;s against the SIP spec to re-negotiatešmedia before you have answered.<div>the transaction to negotiate the SDP from the original call has not completed so it&#39;s illegal to send a re-invite.</div><div><br></div><div>
instead you should use bypass_media_after_bridge=true so the bypass only happens when the bridge works.</div><div><br><br><div class="gmail_quote">2010/5/27 Sergey Scheglov <span dir="ltr">&lt;<a href="mailto:sid@eltc.ru">sid@eltc.ru</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">





<div>

<p>Hi, Anthony.</p>
<p><br></p>
<p>You wrote 27 may 2010 Ç., 20:34:15:</p><div class="im">
<p><br></p>
<div><table border="0" cellpadding="1" cellspacing="2" style="background-color:#ffffff">
<tbody><tr valign="top">
<td width="1" style="background-color:#0000ff"><br>
</td>
<td width="1110">
<p><span>playback executes on line 87 of your trace.</span></p>
<p><br></p>
<p><span>If you do not hear the audio, It means the re-establishment of media fails somehow based on your topology or</span></p>
<p><span>the phone you are on does not support early media, change your pre-answer before the playback to answer to verify.š</span></p>
<p><br></p>
<p><span>Try adding sofia profile internal siptrace on to see the sip traffic too.</span></p>
<p><br></p>
</td>
</tr>
</tbody></table>
</div>
<p><br></p>
<p><br></p>
<p><span>&gt; playback executes on line 87 of your trace.</span></p>
<p><br></p>
</div><div class="im"><p>yes, but executed by log after 30 seconds after line 84 and immediately hangup.</p>
<p>Note, duration wav file - 4 sec.</p>
<p><br></p>
</div><div class="im"><p><span>&gt; If you do not hear the audio, It means the re-establishment of media fails somehow based on your topology or</span></p>
<p><span>the phone you are on does not support early media,š</span></p>
<p><br></p>
</div><div class="im"><p><span>I don&#39;t hear the audio, because FS don&#39;t send RTP traffic to my phone in early media mode (checked sniffers) in my case.š</span></p>
<p><span>If dialplans is:š</span></p>
<p><span>&lt;extension name=&quot;fail_balance&quot;&gt;</span></p>
<p><span>&lt;condition field=&quot;${blabla}&quot; expression=&quot;^\-1$&quot;&gt;</span></p>
</div><p><span>&lt;action application=&quot;pre_answer&quot;/&gt;</span></p><div class="im">
<p><span>&lt;action application=&quot;sleep&quot; data=&quot;1000&quot;/&gt;</span></p>
</div><p><span>&lt;action application=&quot;playback&quot; data=&quot;elight/neg_balance.wav&quot;/&gt;</span></p><div class="im">
<p><span>&lt;action application=&quot;hangup&quot; data=&quot;BEARERCAPABILITY_NOTAUTH&quot;/&gt;</span></p>
<p><span>&lt;/condition&gt;</span></p>
<p><span>&lt;/extension&gt;</span></p>
<p><span>then work&#39;s fine, no problems (bypass_media=true not set).š</span></p>
<p><br></p>
</div><div class="im"><p><span>&gt; change your pre-answer before the playback to answer to verify.š</span></p>
<p><br></p>
</div><div class="im"><p>If setš<span>answer, problem disappears. But answer it&#39;s not for my case.š</span></p>
<p><br></p>
</div><div class="im"><p><span>&gt; Try adding sofia profile internal siptrace on to see the sip traffic too.</span></p>
<p><br></p>
</div><div class="im"><p><span>Call log with sip traceš</span><span><a href="http://pastebin.freeswitch.org/13065" target="_blank">http://pastebin.freeswitch.org/13065</a></span></p>
<p><br></p>
<p>Thanks again :)</p>
<p><br></p>
<p><br></p>
<p><span>--š</span></p>
<p><span>Regard&#39;sš</span></p>
<p><span>Sergey Scheglov</span></p>

</div></div>



<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><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
</div>