[sr-dev] git:carstenbock/ims: - Made another method from the pcscf-module obsolete

Carsten Bock carsten at bock.info
Thu Jan 13 23:43:46 CET 2011


Module: sip-router
Branch: carstenbock/ims
Commit: c70e5c8247b429d81f6650b68167dcc156c23c03
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c70e5c8247b429d81f6650b68167dcc156c23c03

Author: Carsten Bock <carsten at bock.info>
Committer: Carsten Bock <carsten at bock.info>
Date:   Thu Jan 13 23:43:09 2011 +0100

- Made another method from the pcscf-module obsolete

---

 modules/pcscf/pcscf.cfg |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/modules/pcscf/pcscf.cfg b/modules/pcscf/pcscf.cfg
index 668f420..0b76e71 100644
--- a/modules/pcscf/pcscf.cfg
+++ b/modules/pcscf/pcscf.cfg
@@ -40,6 +40,11 @@
 #!define WITH_NAT
 #!define WITH_ANTIFLOOD
 
+#!define HOSTNAME "pcscf"
+#!define HOSTNAME_ESC "pcscf"
+#!define NETWORKNAME "ng-voice.com"
+#!define NETWORKNAME_ESC "ng-voice\.com"
+
 ####### Defined Values #########
 
 #!ifdef WITH_RX
@@ -282,11 +287,8 @@ route {
 		route(NOTIFY);
 		break;
 	}
-
-	xlog("L_ERR", "Record-Route-URI: $route_uri\n");
-		
-	if (!P_mobile_terminating()){
 		
+	if !($route_uri =~ "sip:term@"+HOSTNAME_ESC+"."+NETWORKNAME_ESC+".*") {
 		# Request Initiated by the UE
 		
 		




More information about the sr-dev mailing list