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. My scenario is as follow, and I'm using proxy media mode. invite <bridge> invite a <------------> FS<---------------> b 2009/12/30 Anthony Minessale <anthony.minessale@gmail.com>
We now disable sofia SOA mode during proxy calls. This means that sofia will not try to get involved in the media negotiation at all which is the optimal behavior. Previous versions would butt in and try to fix the error but now it just stays out of the way.
You can see in your trace that the device sends a packet with no SDP therefore so does sofia.
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.
On Tue, Dec 29, 2009 at 10:08 AM, Michael Jerris <mike@jerris.com> wrote:
This means there was no sdp sent. Did you confirm this with siptrace?
On Dec 29, 2009, at 10:37 AM, Lei Tang <lei.tlfly@gmail.com> wrote:
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 sofia.c function sofia_handle_sip_i_state .... ......... switch(ss_state) ................ case nua_callstate_received: ..................... else if (tech_pvt && sofia_test_flag(tech_pvt, TFLAG_SDP) && !r_sdp) { nua_respond(tech_pvt->nh, SIP_200_OK, TAG_END()); sofia_set_flag_locked(tech_pvt, TFLAG_NOSDP_REINVITE); goto done; }
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.
2009/12/29 Brian West < <brian@freeswitch.org>brian@freeswitch.org>
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.
/b
On Dec 29, 2009, at 8:53 AM, Lei Tang wrote:
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. I will test if trunk 16055 work when I set proxy media mode to false tomorrow.
_______________________________________________ FreeSWITCH-users mailing list <FreeSWITCH-users@lists.freeswitch.org> FreeSWITCH-users@lists.freeswitch.org <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:<http://lists.freeswitch.org/mailman/options/freeswitch-users> http://lists.freeswitch.org/mailman/options/freeswitch-users <http://www.freeswitch.org>http://www.freeswitch.org
-- Lei.Tang <lei.tlfly@gmail.com>lei.tlfly@gmail.com
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Lei.Tang lei.tlfly@gmail.com