Module: sip-router Branch: master Commit: aa15067b8a1f44d57551f646acd5058c08abe41f URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=aa15067b...
Author: Mikko Lehto mslehto@iki.fi Committer: Ovidiu Sas osas@voipembedded.com Date: Sun Sep 15 16:55:04 2013 -0400
rtpproxy(-ng): patch: has_sdp() does not exist
---
modules/rtpproxy-ng/README | 8 ++++---- modules/rtpproxy-ng/doc/rtpproxy_admin.xml | 8 ++++---- modules/rtpproxy/README | 8 ++++---- modules/rtpproxy/doc/rtpproxy_admin.xml | 8 ++++---- 4 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/modules/rtpproxy-ng/README b/modules/rtpproxy-ng/README index 3155db6..6e14ecf 100644 --- a/modules/rtpproxy-ng/README +++ b/modules/rtpproxy-ng/README @@ -427,14 +427,14 @@ rtpproxy_offer(); route { ... if (is_method("INVITE")) { - if (has_sdp()) { + if (has_body("application/sdp")) { if (rtpproxy_offer()) t_on_reply("1"); } else { t_on_reply("2"); } } - if (is_method("ACK") && has_sdp()) + if (is_method("ACK") && has_body("application/sdp")) rtpproxy_answer(); ... } @@ -442,7 +442,7 @@ route { onreply_route[1] { ... - if (has_sdp()) + if (has_body("application/sdp")) rtpproxy_answer(); ... } @@ -450,7 +450,7 @@ onreply_route[1] onreply_route[2] { ... - if (has_sdp()) + if (has_body("application/sdp")) rtpproxy_offer(); ... } diff --git a/modules/rtpproxy-ng/doc/rtpproxy_admin.xml b/modules/rtpproxy-ng/doc/rtpproxy_admin.xml index 9ad60c3..18c389b 100644 --- a/modules/rtpproxy-ng/doc/rtpproxy_admin.xml +++ b/modules/rtpproxy-ng/doc/rtpproxy_admin.xml @@ -438,14 +438,14 @@ rtpproxy_offer(); route { ... if (is_method("INVITE")) { - if (has_sdp()) { + if (has_body("application/sdp")) { if (rtpproxy_offer()) t_on_reply("1"); } else { t_on_reply("2"); } } - if (is_method("ACK") && has_sdp()) + if (is_method("ACK") && has_body("application/sdp")) rtpproxy_answer(); ... } @@ -453,7 +453,7 @@ route { onreply_route[1] { ... - if (has_sdp()) + if (has_body("application/sdp")) rtpproxy_answer(); ... } @@ -461,7 +461,7 @@ onreply_route[1] onreply_route[2] { ... - if (has_sdp()) + if (has_body("application/sdp")) rtpproxy_offer(); ... } diff --git a/modules/rtpproxy/README b/modules/rtpproxy/README index da2c9a1..43b57df 100644 --- a/modules/rtpproxy/README +++ b/modules/rtpproxy/README @@ -511,14 +511,14 @@ rtpproxy_offer(); route { ... if (is_method("INVITE")) { - if (has_sdp()) { + if (has_body("application/sdp")) { if (rtpproxy_offer()) t_on_reply("1"); } else { t_on_reply("2"); } } - if (is_method("ACK") && has_sdp()) + if (is_method("ACK") && has_body("application/sdp")) rtpproxy_answer(); ... } @@ -526,7 +526,7 @@ route { onreply_route[1] { ... - if (has_sdp()) + if (has_body("application/sdp")) rtpproxy_answer(); ... } @@ -534,7 +534,7 @@ onreply_route[1] onreply_route[2] { ... - if (has_sdp()) + if (has_body("application/sdp")) rtpproxy_offer(); ... } diff --git a/modules/rtpproxy/doc/rtpproxy_admin.xml b/modules/rtpproxy/doc/rtpproxy_admin.xml index 8f968ea..7a60c17 100644 --- a/modules/rtpproxy/doc/rtpproxy_admin.xml +++ b/modules/rtpproxy/doc/rtpproxy_admin.xml @@ -494,14 +494,14 @@ rtpproxy_offer(); route { ... if (is_method("INVITE")) { - if (has_sdp()) { + if (has_body("application/sdp")) { if (rtpproxy_offer()) t_on_reply("1"); } else { t_on_reply("2"); } } - if (is_method("ACK") && has_sdp()) + if (is_method("ACK") && has_body("application/sdp")) rtpproxy_answer(); ... } @@ -509,7 +509,7 @@ route { onreply_route[1] { ... - if (has_sdp()) + if (has_body("application/sdp")) rtpproxy_answer(); ... } @@ -517,7 +517,7 @@ onreply_route[1] onreply_route[2] { ... - if (has_sdp()) + if (has_body("application/sdp")) rtpproxy_offer(); ... }