Module: kamailio
Branch: 5.3
Commit: 386669407ec3a04c00ca43ddcce256c61b86a867
URL: 
https://github.com/kamailio/kamailio/commit/386669407ec3a04c00ca43ddcce256c61b86a867

Author: Henning Westerholt <[email protected]>
Committer: Henning Westerholt <[email protected]>
Date: 2020-06-10T15:39:16Z

ims_charging: initialize ro_forced_peer variable

(cherry picked from commit 7cae3e5e0df27bf3481cbf0680bf86902359a97c)

---

Modified: src/modules/ims_charging/ims_charging_mod.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/386669407ec3a04c00ca43ddcce256c61b86a867.diff
Patch: 
https://github.com/kamailio/kamailio/commit/386669407ec3a04c00ca43ddcce256c61b86a867.patch

---

diff --git a/src/modules/ims_charging/ims_charging_mod.c 
b/src/modules/ims_charging/ims_charging_mod.c
index fd65f98683..150a525884 100644
--- a/src/modules/ims_charging/ims_charging_mod.c
+++ b/src/modules/ims_charging/ims_charging_mod.c
@@ -76,7 +76,7 @@ struct tm_binds tmb;
 
 /* Only used if we want to force the Ro peer usually this is configured at a 
stack level and the first request uses realm routing */
 //char* rx_forced_peer_s = "";
-str ro_forced_peer;
+str ro_forced_peer = str_init("");
 int ro_auth_expiry = 7200;
 int cdp_event_latency = 1; /*flag: report slow processing of CDP callback 
events or not - default enabled */
 int cdp_event_threshold = 500; /*time in ms above which we should report slow 
processing of CDP callback event - default 500ms*/


_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to