Module: sems Branch: master Commit: 2cb81b8388a42481e4062501593c867315731574 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=2cb81b8388a42481e4062501593c867315731574
Author: Stefan Sayer <[email protected]> Committer: Stefan Sayer <[email protected]> Date: Tue May 3 13:16:44 2011 +0200 accept_fr_without_totag default to yes, DBG message more clear --- core/etc/sems.conf.sample | 2 +- core/sip/trans_layer.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/core/etc/sems.conf.sample b/core/etc/sems.conf.sample index 9e16df4..e194e5c 100644 --- a/core/etc/sems.conf.sample +++ b/core/etc/sems.conf.sample @@ -457,7 +457,7 @@ use_default_signature=yes # # Accept final replies without To-tag? [yes|no] # -#accept_fr_without_totag=yes +accept_fr_without_totag=yes # # Log raw messages? [no|debug|info|warn|error] diff --git a/core/sip/trans_layer.cpp b/core/sip/trans_layer.cpp index 4209e74..d5323ae 100644 --- a/core/sip/trans_layer.cpp +++ b/core/sip/trans_layer.cpp @@ -1271,7 +1271,8 @@ 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 (!trans_layer::accept_fr_without_totag) { - DBG("To-tag missing in final reply (see sems.conf?)\n"); + DBG("To-tag missing in final reply (see " + "sems.conf: accept_fr_without_totag?)\n"); return -1; } } _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
