Module: sip-router
Branch: master
Commit: 66ed11c90e38d948fd75f908b3edd409bca74134
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=66ed11c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Mon Dec 2 22:01:34 2013 +0100
kamailio.cfg: use set_contact_alias() instead of add_contact_alias()
---
etc/kamailio.cfg | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/etc/kamailio.cfg b/etc/kamailio.cfg
index d0f0ef3..dacda81 100644
--- a/etc/kamailio.cfg
+++ b/etc/kamailio.cfg
@@ -758,7 +758,7 @@ route[NATDETECT] {
fix_nated_register();
} else {
if(is_first_hop())
- add_contact_alias();
+ set_contact_alias();
}
setflag(FLT_NATS);
}
@@ -791,7 +791,7 @@ route[NATMANAGE] {
if (is_reply()) {
if(isbflagset(FLB_NATB)) {
if(is_first_hop())
- add_contact_alias();
+ set_contact_alias();
}
}
#!endif