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 <[email protected]>
Committer: Carsten Bock <[email protected]>
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
                
                


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to