[sr-dev] git:master: b/f: Examples/Proxy-CSCF: Need to set_contact_alias() also for UPDATE

Carsten Bock carsten at ng-voice.com
Thu Oct 16 20:58:47 CEST 2014


Module: sip-router
Branch: master
Commit: 495bf0f0bf5260fb7f99a9acf9201fd6b2fa4ec1
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=495bf0f0bf5260fb7f99a9acf9201fd6b2fa4ec1

Author: Carsten Bock <carsten at ng-voice.com>
Committer: Carsten Bock <carsten at ng-voice.com>
Date:   Thu Oct 16 20:55:57 2014 +0200

b/f: Examples/Proxy-CSCF: Need to set_contact_alias() also for UPDATE

---

 examples/pcscf/kamailio.cfg |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/examples/pcscf/kamailio.cfg b/examples/pcscf/kamailio.cfg
index 877d7bd..21a0146 100644
--- a/examples/pcscf/kamailio.cfg
+++ b/examples/pcscf/kamailio.cfg
@@ -655,7 +655,7 @@ route[NAT] {
 #!ifdef WITH_NAT
 	force_rport();
 	if (nat_uac_test("19") && !ds_is_from_list()) {
-		if(is_method("INVITE|SUBSCRIBE")) {
+		if(is_method("INVITE|SUBSCRIBE|UPDATE")) {
 			set_contact_alias();
 		}
 		setflag(FLT_NAT);




More information about the sr-dev mailing list