Module: kamailio Branch: master Commit: 32db0297d27093181ff4eb0530cc1a67d680e99f URL: https://github.com/kamailio/kamailio/commit/32db0297d27093181ff4eb0530cc1a67...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2025-06-27T09:09:53+02:00
rtpengine: aliased rtpengine_destroy() to rtpengine_delete()
- make it easier to migrate from rtp proxy by replacing the module name inside routing blocks
---
Modified: src/modules/rtpengine/rtpengine.c
---
Diff: https://github.com/kamailio/kamailio/commit/32db0297d27093181ff4eb0530cc1a67... Patch: https://github.com/kamailio/kamailio/commit/32db0297d27093181ff4eb0530cc1a67...
---
diff --git a/src/modules/rtpengine/rtpengine.c b/src/modules/rtpengine/rtpengine.c index 59ab17e6062..78c9e13ebda 100644 --- a/src/modules/rtpengine/rtpengine.c +++ b/src/modules/rtpengine/rtpengine.c @@ -514,6 +514,11 @@ static cmd_export_t cmds[] = { fixup_spve_null, fixup_free_spve_null, ANY_ROUTE}, {"rtpengine_delete", (cmd_function)rtpengine_delete1_f, 2, fixup_spve_spve, fixup_free_spve_spve, ANY_ROUTE}, + {"rtpengine_destroy", (cmd_function)rtpengine_delete1_f, 0, 0, 0, ANY_ROUTE}, + {"rtpengine_destroy", (cmd_function)rtpengine_delete1_f, 1, + fixup_spve_null, fixup_free_spve_null, ANY_ROUTE}, + {"rtpengine_destroy", (cmd_function)rtpengine_delete1_f, 2, + fixup_spve_spve, fixup_free_spve_spve, ANY_ROUTE}, {"rtpengine_query", (cmd_function)rtpengine_query1_f, 0, 0, 0, ANY_ROUTE}, {"rtpengine_query", (cmd_function)rtpengine_query1_f, 1, fixup_spve_null, fixup_free_spve_null, ANY_ROUTE},