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

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date:   Fri May 27 22:29:11 2011 +0200

rtpproxy: changed the list of allowed route blocks with ANY_ROUTE

- functions could be used in all routes, updated the bitmask to
  ANY_ROUTE

---

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

diff --git a/modules/rtpproxy/rtpproxy.c b/modules/rtpproxy/rtpproxy.c
index d0979fc..23a8a2d 100644
--- a/modules/rtpproxy/rtpproxy.c
+++ b/modules/rtpproxy/rtpproxy.c
@@ -342,43 +342,43 @@ static str timeout_socket_str = {0, 0};
 static cmd_export_t cmds[] = {
        {"set_rtp_proxy_set",  (cmd_function)set_rtp_proxy_set_f,    1,
                fixup_set_id, 0,
-               
REQUEST_ROUTE|ONREPLY_ROUTE|FAILURE_ROUTE|BRANCH_ROUTE|LOCAL_ROUTE},
+               ANY_ROUTE},
        {"unforce_rtp_proxy",  (cmd_function)unforce_rtp_proxy_f,    0,
                0, 0,
-               
REQUEST_ROUTE|ONREPLY_ROUTE|FAILURE_ROUTE|BRANCH_ROUTE|LOCAL_ROUTE},
+               ANY_ROUTE},
        {"start_recording",    (cmd_function)start_recording_f,      0,
                0, 0,
-               REQUEST_ROUTE | ONREPLY_ROUTE },
+               ANY_ROUTE },
        {"rtpproxy_offer",      (cmd_function)rtpproxy_offer1_f,     0,
                0, 0,
-               
REQUEST_ROUTE|ONREPLY_ROUTE|FAILURE_ROUTE|BRANCH_ROUTE|LOCAL_ROUTE},
+               ANY_ROUTE},
        {"rtpproxy_offer",      (cmd_function)rtpproxy_offer1_f,     1,
                0, 0,
-               
REQUEST_ROUTE|ONREPLY_ROUTE|FAILURE_ROUTE|BRANCH_ROUTE|LOCAL_ROUTE},
+               ANY_ROUTE},
        {"rtpproxy_offer",      (cmd_function)rtpproxy_offer2_f,     2,
                0, 0,
-               
REQUEST_ROUTE|ONREPLY_ROUTE|FAILURE_ROUTE|BRANCH_ROUTE|LOCAL_ROUTE},
+               ANY_ROUTE},
        {"rtpproxy_answer",     (cmd_function)rtpproxy_answer1_f,    0,
                0, 0,
-               
REQUEST_ROUTE|ONREPLY_ROUTE|FAILURE_ROUTE|BRANCH_ROUTE|LOCAL_ROUTE},
+               ANY_ROUTE},
        {"rtpproxy_answer",     (cmd_function)rtpproxy_answer1_f,    1,
                0, 0,
-               
REQUEST_ROUTE|ONREPLY_ROUTE|FAILURE_ROUTE|BRANCH_ROUTE|LOCAL_ROUTE},
+               ANY_ROUTE},
        {"rtpproxy_answer",     (cmd_function)rtpproxy_answer2_f,    2,
                0, 0,
-               
REQUEST_ROUTE|ONREPLY_ROUTE|FAILURE_ROUTE|BRANCH_ROUTE|LOCAL_ROUTE},
+               ANY_ROUTE},
        {"rtpproxy_stream2uac",(cmd_function)rtpproxy_stream2uac2_f, 2,
                fixup_var_str_int, 0,
-               REQUEST_ROUTE | ONREPLY_ROUTE },
+               ANY_ROUTE },
        {"rtpproxy_stream2uas",(cmd_function)rtpproxy_stream2uas2_f, 2,
                fixup_var_str_int, 0,
-               REQUEST_ROUTE | ONREPLY_ROUTE },
+               ANY_ROUTE },
        {"rtpproxy_stop_stream2uac",(cmd_function)rtpproxy_stop_stream2uac2_f,0,
                NULL, 0,
-               REQUEST_ROUTE | ONREPLY_ROUTE },
+               ANY_ROUTE },
        {"rtpproxy_stop_stream2uas",(cmd_function)rtpproxy_stop_stream2uas2_f,0,
                NULL, 0,
-               REQUEST_ROUTE | ONREPLY_ROUTE },
+               ANY_ROUTE },
        {0, 0, 0, 0, 0, 0}
 };
 


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

Reply via email to