Module: sip-router
Branch: master
Commit: 80e8407dedb06d386167924a40fbf47119708336
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=80e8407…
Author: Giacomo Vacca <giacomo.vacca(a)truphone.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Feb 5 17:16:18 2013 +0000
registrar: Fixed typo in event_route name, 'usrloc:expired-contact'
- (Instead of changing all the related documentation that refers to
usrloc:contact-expired)
---
modules/registrar/reg_mod.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/registrar/reg_mod.c b/modules/registrar/reg_mod.c
index a5c427d..d3fd4f2 100644
--- a/modules/registrar/reg_mod.c
+++ b/modules/registrar/reg_mod.c
@@ -363,7 +363,7 @@ static int mod_init(void)
if(ul.register_ulcb != NULL)
{
- reg_expire_event_rt = route_lookup(&event_rt, "usrloc:expired-contact");
+ reg_expire_event_rt = route_lookup(&event_rt, "usrloc:contact-expired");
if (reg_expire_event_rt>=0 && event_rt.rlist[reg_expire_event_rt]==0)
reg_expire_event_rt=-1; /* disable */
if (reg_expire_event_rt>=0) {