Module: kamailio Branch: master Commit: 1d1eeafc88979df41e2dcb6f2c8b41d16695fd7d URL: https://github.com/kamailio/kamailio/commit/1d1eeafc88979df41e2dcb6f2c8b41d1...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2018-03-30T17:23:29+02:00
dispatcher: fixed kemi exports param types
---
Modified: src/modules/dispatcher/dispatcher.c
---
Diff: https://github.com/kamailio/kamailio/commit/1d1eeafc88979df41e2dcb6f2c8b41d1... Patch: https://github.com/kamailio/kamailio/commit/1d1eeafc88979df41e2dcb6f2c8b41d1...
---
diff --git a/src/modules/dispatcher/dispatcher.c b/src/modules/dispatcher/dispatcher.c index 49b9396add..2c1e6fdbd0 100644 --- a/src/modules/dispatcher/dispatcher.c +++ b/src/modules/dispatcher/dispatcher.c @@ -1184,7 +1184,7 @@ static sr_kemi_t sr_kemi_dispatcher_exports[] = { }, { str_init("dispatcher"), str_init("ds_mark_dst_state"), SR_KEMIP_INT, ki_ds_mark_dst_state, - { SR_KEMIP_INT, SR_KEMIP_NONE, SR_KEMIP_NONE, + { SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE } }, { str_init("dispatcher"), str_init("ds_is_from_lists"), @@ -1224,7 +1224,7 @@ static sr_kemi_t sr_kemi_dispatcher_exports[] = { }, { str_init("dispatcher"), str_init("ds_list_exists"), SR_KEMIP_INT, ki_ds_list_exists, - { SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE, + { SR_KEMIP_INT, SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE } },