Module: kamailio
Branch: master
Commit: c3ed3d9a531c403fc850d229252eb4bcd4cc473e
URL:
https://github.com/kamailio/kamailio/commit/c3ed3d9a531c403fc850d229252eb4b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-02-27T09:27:03+01:00
registrar: use kemi wrapper to execute routing functions
---
Modified: src/modules/registrar/regpv.c
---
Diff:
https://github.com/kamailio/kamailio/commit/c3ed3d9a531c403fc850d229252eb4b…
Patch:
https://github.com/kamailio/kamailio/commit/c3ed3d9a531c403fc850d229252eb4b…
---
diff --git a/src/modules/registrar/regpv.c b/src/modules/registrar/regpv.c
index fdb5fa40fb..d04f129d47 100644
--- a/src/modules/registrar/regpv.c
+++ b/src/modules/registrar/regpv.c
@@ -744,7 +744,7 @@ void reg_ul_expired_contact(ucontact_t* ptr, int type, void* param)
keng = sr_kemi_eng_get();
if (keng!=NULL) {
str evname = str_init("usrloc:contact-expired");
- if(keng->froute(fmsg, EVENT_ROUTE,
+ if(sr_kemi_route(keng, fmsg, EVENT_ROUTE,
®_event_callback, &evname)<0) {
LM_ERR("error running event route kemi callback\n");
}