Module: kamailio
Branch: master
Commit: 71bc55240a144dbad9d9d8afc942b81237c806d2
URL: 
https://github.com/kamailio/kamailio/commit/71bc55240a144dbad9d9d8afc942b81237c806d2

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2020-07-02T10:44:03+02:00

ims_charging: db_url param type set to PARAM_STR

- the variable pointer is str* not char*
- GH #2385

---

Modified: src/modules/ims_charging/ims_charging_mod.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/71bc55240a144dbad9d9d8afc942b81237c806d2.diff
Patch: 
https://github.com/kamailio/kamailio/commit/71bc55240a144dbad9d9d8afc942b81237c806d2.patch

---

diff --git a/src/modules/ims_charging/ims_charging_mod.c 
b/src/modules/ims_charging/ims_charging_mod.c
index 41871d5f47..a9a2dd0fb8 100644
--- a/src/modules/ims_charging/ims_charging_mod.c
+++ b/src/modules/ims_charging/ims_charging_mod.c
@@ -135,7 +135,7 @@ static param_export_t params[] = {
                { "video_service_identifier",   INT_PARAM,                      
&video_service_identifier },/*service id for voice*/
                { "video_rating_group",         INT_PARAM,                      
&video_rating_group },/*rating group for voice*/
                { "db_mode",                    INT_PARAM,                      
&ro_db_mode_param               },
-               { "db_url",                     PARAM_STRING,                   
&db_url                         },
+               { "db_url",                     PARAM_STR,                      
&db_url                         },
                { "db_update_period",           INT_PARAM,                      
&db_update_period               },
                { "vendor_specific_chargeinfo",         INT_PARAM,      
&vendor_specific_chargeinfo             }, /* VSI for extra charing info in Ro 
*/
                { "vendor_specific_id",         INT_PARAM,                      
&vendor_specific_id             }, /* VSI for extra charing info in Ro */


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

Reply via email to