Its null because the device on the other side didn't send one. We pass it as is... fix the broken device or don't use proxy media. /b On Dec 29, 2009, at 9:37 AM, Lei Tang 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.