Module: sip-router Branch: master Commit: 13c2616d6b8a9f9f82979a531bac664832043597 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=13c2616d...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com 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 },