Module: sip-router
Branch: master
Commit: 13c2616d6b8a9f9f82979a531bac664832043597
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=13c2616d6b8a9f9f82979a531bac664832043597

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date:   Fri Oct 19 11:53:17 2012 +0200

rtpproxy: allow flags parameter to rtpproxy_destroy()

- it is optional parameter, but was not allowed by c code
- reported by Juha Heinanen

---

 modules/rtpproxy/rtpproxy.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/modules/rtpproxy/rtpproxy.c b/modules/rtpproxy/rtpproxy.c
index 055998e..72d1f00 100644
--- a/modules/rtpproxy/rtpproxy.c
+++ b/modules/rtpproxy/rtpproxy.c
@@ -360,6 +360,12 @@ static cmd_export_t cmds[] = {
        {"rtpproxy_destroy",   (cmd_function)unforce_rtp_proxy_f,    0,
                0, 0,
                ANY_ROUTE},
+       {"unforce_rtp_proxy",  (cmd_function)unforce_rtp_proxy_f,    1,
+               0, 0,
+               ANY_ROUTE},
+       {"rtpproxy_destroy",   (cmd_function)unforce_rtp_proxy_f,    1,
+               0, 0,
+               ANY_ROUTE},
        {"start_recording",    (cmd_function)start_recording_f,      0,
                0, 0,
                ANY_ROUTE },


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to