<html><body bgcolor="#FFFFFF"><div>This means there was no sdp sent. &nbsp;Did you confirm this with siptrace?</div><div><br>On Dec 29, 2009, at 10:37 AM, Lei Tang &lt;<a href="mailto:lei.tlfly@gmail.com">lei.tlfly@gmail.com</a>&gt; 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>&nbsp;&nbsp; .........<br>&nbsp;&nbsp;&nbsp; switch(ss_state)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ................<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; case nua_callstate_received:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ..................... <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else if (tech_pvt &amp;&amp; sofia_test_flag(tech_pvt, TFLAG_SDP) &amp;&amp; !r_sdp) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nua_respond(tech_pvt-&gt;nh, SIP_200_OK, TAG_END());<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sofia_set_flag_locked(tech_pvt, TFLAG_NOSDP_REINVITE);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; goto done;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<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. &nbsp; <br>
<br><div class="gmail_quote">2009/12/29 Brian West <span dir="ltr">&lt;<a href="mailto:brian@freeswitch.org"><a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a></a>&gt;</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 class="im"><br>
On Dec 29, 2009, at 8:53 AM, Lei Tang wrote:<br>
<br>
&gt; 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>
&gt; I will test if trunk 16055 work when I set proxy media mode to false tomorrow.<br>
<br>
<br>
</div><div><div></div><div class="h5">_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a><br>
<a href="http://www.freeswitch.org" target="_blank"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Lei.Tang<br><a href="mailto:lei.tlfly@gmail.com"><a href="mailto:lei.tlfly@gmail.com">lei.tlfly@gmail.com</a></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">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br></div></blockquote></body></html>