Hi Anthony and Brian, I have grep some sip trace log, Could you please take a look at the attachments? lega.pcap is the log of a leg, legb.pcap is the log of b leg. It seems fs never sent the reinvite request to b, and sent 200ok response without sdp content to a immediately. <br>
My scenario is as follow, and I'm using proxy media mode.<br><br> invite <bridge> invite<br>a <------------> FS<---------------> b<br><br><div class="gmail_quote">2009/12/30 Anthony Minessale <span dir="ltr"><<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">We now disable sofia SOA mode during proxy calls.<br>This means that sofia will not try to get involved in the media negotiation at all which is the optimal behavior.<br>
Previous versions would butt in and try to fix the error but now it just stays out of the way.<br>
<br>You can see in your trace that the device sends a packet with no SDP therefore so does sofia.<br><br>You can either turn off proxy-media or post a bounty for me to go hack a workaround into the patch I spent many hours on getting things to work right. Whatever you experienced with 1.0.4 was a happy coincidence where sofia was fixing a bug in your phone for you.<div>
<div></div><div class="h5"><br>
<br><br><br><div class="gmail_quote">On Tue, Dec 29, 2009 at 10:08 AM, Michael Jerris <span dir="ltr"><<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#FFFFFF"><div>This means there was no sdp sent. Did you confirm this with siptrace?</div><div><div></div><div><div><br>On Dec 29, 2009, at 10:37 AM, Lei Tang <<a href="mailto:lei.tlfly@gmail.com" target="_blank">lei.tlfly@gmail.com</a>> wrote:<br>
<br></div><div></div><blockquote type="cite"><div>Hi Brian, I don't think so, I have debuged fs, If I'm not wrong, following code in sofia.c send the 200ok response<br>sofia.c<br>function sofia_handle_sip_i_state ....<br>
.........<br> switch(ss_state)<br> ................<br>
case nua_callstate_received:<br> ..................... <br> else if (tech_pvt && sofia_test_flag(tech_pvt, TFLAG_SDP) && !r_sdp) {<br> nua_respond(tech_pvt->nh, SIP_200_OK, TAG_END());<br>
sofia_set_flag_locked(tech_pvt, TFLAG_NOSDP_REINVITE);<br> goto done;<br> }<br><br>The cause is r_sdp is null, but I don't known why tl_gets don't return remote sdp tag, it's quite strange. <br>
<br><div class="gmail_quote">2009/12/29 Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org" target="_blank"></a><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
the 200ok is not from FS.. its from the end point... so its not us thats not putting the SDP into the 200ok but the device you're talking to because in proxy media they are passed as is.<br>
<font color="#888888"><br>
/b<br>
</font><div><br>
On Dec 29, 2009, at 8:53 AM, Lei Tang wrote:<br>
<br>
> Hi Brian, thanks for your help, I am using FS in proxy media mode. the sip agent I'm using is x-lite and wxCommunicator.<br>
> I will test if trunk 16055 work when I set proxy media mode to false tomorrow.<br>
<br>
<br>
</div><div><div></div><div>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank"></a><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"></a><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"></a><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"></a><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Lei.Tang<br><a href="mailto:lei.tlfly@gmail.com" target="_blank"></a><a href="mailto:lei.tlfly@gmail.com" target="_blank">lei.tlfly@gmail.com</a><br>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a></span><br>
<span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br>
<span><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></span><br></div></blockquote></div></div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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></div></div><div><div></div><div class="h5">Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:+19193869900<br>
</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>Lei.Tang<br><a href="mailto:lei.tlfly@gmail.com">lei.tlfly@gmail.com</a><br>