do not bother about to-tag for anything else but 2xx replies.

sayer/1.4-spce2.6
Raphael Coeffic 15 years ago
parent aee28dac23
commit 7c6cf9a4d5

@ -1269,7 +1269,9 @@ int _trans_layer::update_uac_reply(trans_bucket* bucket, sip_trans* t, sip_msg*
}
to_tag = ((sip_from_to*)msg->to->p)->tag;
if((t->msg->u.request->method != sip_request::CANCEL) && !to_tag.len){
if((t->msg->u.request->method != sip_request::CANCEL) &&
(reply_code < 300) &&
!to_tag.len){
if (!trans_layer::accept_fr_without_totag) {
DBG("To-tag missing in final reply (see sems.conf?)\n");
return -1;

Loading…
Cancel
Save