Browse code

registrar: use kemi wrapper to execute routing functions

Daniel-Constantin Mierla authored on 27/02/2019 08:25:25
Showing 1 changed files
... ...
@@ -744,7 +744,7 @@ void reg_ul_expired_contact(ucontact_t* ptr, int type, void* param)
744 744
 		keng = sr_kemi_eng_get();
745 745
 		if (keng!=NULL) {
746 746
 			str evname = str_init("usrloc:contact-expired");
747
-			if(keng->froute(fmsg, EVENT_ROUTE,
747
+			if(sr_kemi_route(keng, fmsg, EVENT_ROUTE,
748 748
 					&reg_event_callback, &evname)<0) {
749 749
 				LM_ERR("error running event route kemi callback\n");
750 750
 			}