Module: sip-router
Branch: kamailio_3.0
Commit: ff748db23dfdbf022d37071181628ddf5591b58b
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ff748db…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Mon Jan 4 20:15:12 2010 +0100
topoh: new mod param mask_ip
- allow to set the value of IP address used in masked URIs
- reported by Klaus Darilion
---
modules/topoh/topoh_mod.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules/topoh/topoh_mod.c b/modules/topoh/topoh_mod.c
index 6cbd213..1d95c27 100644
--- a/modules/topoh/topoh_mod.c
+++ b/modules/topoh/topoh_mod.c
@@ -41,7 +41,7 @@ MODULE_VERSION
str _th_key = { "aL9.n8~Hm]Z", 0 };
str th_cookie_name = {"TH", 0};
str th_cookie_value = {0, 0};
-str th_ip = {"10.1.1.2", 0};
+str th_ip = {"10.1.1.10", 0};
str th_uparam_name = {"line", 0};
str th_uparam_prefix = {"sr-", 0};
str th_vparam_name = {"branch", 0};
@@ -61,6 +61,7 @@ static int mod_init(void);
static param_export_t params[]={
{"mask_key", STR_PARAM, &_th_key.s},
+ {"mask_ip", STR_PARAM, &th_ip.s},
{"mask_callid", INT_PARAM, &th_param_mask_callid},
{"uparam_name", STR_PARAM, &th_uparam_name.s},
{"uparam_prefix", STR_PARAM, &th_uparam_prefix.s},