Commit 1b1f20b7 authored by Guillaume Beraudo's avatar Guillaume Beraudo
Browse files

Handle 180 without to tag.

parent efc06611
......@@ -736,7 +736,9 @@ int _belle_sip_dialog_match(belle_sip_dialog_t *obj, const char *call_id, const
const char *dcid;
if (obj->state==BELLE_SIP_DIALOG_NULL) belle_sip_fatal("_belle_sip_dialog_match() must not be used for dialog in null state.");
dcid=belle_sip_header_call_id_get_call_id(obj->call_id);
return strcmp(dcid,call_id)==0 && strcmp(obj->local_tag,local_tag)==0 && strcmp(obj->remote_tag,remote_tag)==0;
return strcmp(dcid,call_id)==0
&& strcmp(obj->local_tag,local_tag)==0
&& obj->remote_tag /* handle 180 without to tag */ && strcmp(obj->remote_tag,remote_tag)==0;
}
void belle_sip_dialog_check_ack_sent(belle_sip_dialog_t*obj){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment