add line to set port right with sip calls with no sdp in the invite
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5813 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
7bf2a6ca5d
commit
2d8e58fede
|
@ -1200,6 +1200,7 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status,
|
||||||
} else {
|
} else {
|
||||||
switch_channel_set_variable(channel, SWITCH_ENDPOINT_DISPOSITION_VARIABLE, "RECEIVED_NOSDP");
|
switch_channel_set_variable(channel, SWITCH_ENDPOINT_DISPOSITION_VARIABLE, "RECEIVED_NOSDP");
|
||||||
switch_set_flag(tech_pvt, TFLAG_LATE_NEGOTIATION);
|
switch_set_flag(tech_pvt, TFLAG_LATE_NEGOTIATION);
|
||||||
|
sofia_glue_tech_choose_port(tech_pvt);
|
||||||
sofia_glue_set_local_sdp(tech_pvt, NULL, 0, NULL, 0);
|
sofia_glue_set_local_sdp(tech_pvt, NULL, 0, NULL, 0);
|
||||||
|
|
||||||
nua_respond(tech_pvt->nh, SIP_200_OK,
|
nua_respond(tech_pvt->nh, SIP_200_OK,
|
||||||
|
|
Loading…
Reference in New Issue