Module: kamailio Branch: master Commit: e9dd041ce6af9ee4b9cc2e29b4417787a8056776 URL: https://github.com/kamailio/kamailio/commit/e9dd041ce6af9ee4b9cc2e29b4417787a8056776
Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2024-08-13T21:01:51+02:00 phonenum: export match_cn() to kemi --- Modified: src/modules/phonenum/phonenum_mod.c --- Diff: https://github.com/kamailio/kamailio/commit/e9dd041ce6af9ee4b9cc2e29b4417787a8056776.diff Patch: https://github.com/kamailio/kamailio/commit/e9dd041ce6af9ee4b9cc2e29b4417787a8056776.patch --- diff --git a/src/modules/phonenum/phonenum_mod.c b/src/modules/phonenum/phonenum_mod.c index 5f07635099c..665fa9b2772 100644 --- a/src/modules/phonenum/phonenum_mod.c +++ b/src/modules/phonenum/phonenum_mod.c @@ -196,6 +196,11 @@ static sr_kemi_t sr_kemi_phonenum_exports[] = { { SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE } }, + { str_init("phonenum"), str_init("match_cn"), + SR_KEMIP_INT, phonenum_match_cn, + { SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_STR, + SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE } + }, { {0, 0}, {0, 0}, 0, NULL, { 0, 0, 0, 0, 0, 0 } } }; _______________________________________________ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org