Module: sems Branch: master Commit: e1e8aa2e6b56880d2db6bddf4eeef723f6b0649a URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=e1e8aa2e6b56880d2db6bddf4eeef723f6b0649a
Author: Stefan Sayer <[email protected]> Committer: Stefan Sayer <[email protected]> Date: Fri Oct 22 13:34:32 2010 +0200 warning about missing to-tag only if unhandled --- core/sip/trans_layer.cpp | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/core/sip/trans_layer.cpp b/core/sip/trans_layer.cpp index 07fcc80..7c1441b 100644 --- a/core/sip/trans_layer.cpp +++ b/core/sip/trans_layer.cpp @@ -1230,9 +1230,10 @@ 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){ - DBG("To-tag missing in final reply (see sipctrl.conf?)\n"); - if (!trans_layer::accept_fr_without_totag) + if (!trans_layer::accept_fr_without_totag) { + DBG("To-tag missing in final reply (see sems.conf?)\n"); return -1; + } } if(t->msg->u.request->method == sip_request::INVITE){ _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
