Module: kamailio Branch: master Commit: a1acd62128c7c1e1d7e3c6ce55a9b78a3e32c0b2 URL: https://github.com/kamailio/kamailio/commit/a1acd62128c7c1e1d7e3c6ce55a9b78a...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2019-12-09T12:47:22+01:00
dialog: export dlg_reset_property() to kemi
---
Modified: src/modules/dialog/dialog.c
---
Diff: https://github.com/kamailio/kamailio/commit/a1acd62128c7c1e1d7e3c6ce55a9b78a... Patch: https://github.com/kamailio/kamailio/commit/a1acd62128c7c1e1d7e3c6ce55a9b78a...
---
diff --git a/src/modules/dialog/dialog.c b/src/modules/dialog/dialog.c index 381017032e..48bf0b1f44 100644 --- a/src/modules/dialog/dialog.c +++ b/src/modules/dialog/dialog.c @@ -246,7 +246,7 @@ static cmd_export_t cmds[]={ {"dlg_set_property", (cmd_function)w_dlg_set_property,1,fixup_spve_null, 0, ANY_ROUTE }, {"dlg_reset_property", (cmd_function)w_dlg_reset_property,1,fixup_spve_null, - 0, ANY_ROUTE }, + 0, ANY_ROUTE }, {"dlg_remote_profile", (cmd_function)w_dlg_remote_profile, 5, fixup_dlg_remote_profile, 0, ANY_ROUTE }, {"dlg_set_ruri", (cmd_function)w_dlg_set_ruri, 0, NULL, @@ -2071,6 +2071,11 @@ static sr_kemi_t sr_kemi_dialog_exports[] = { { SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE } }, + { str_init("dialog"), str_init("dlg_reset_property"), + SR_KEMIP_INT, ki_dlg_reset_property, + { SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE, + SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE } + }, { str_init("dialog"), str_init("dlg_get"), SR_KEMIP_INT, ki_dlg_get, { SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_STR,