Skip to content

Commit

Permalink
rtpproxy(-ng): patch: has_sdp() does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
mslehto authored and lemenkov committed Dec 16, 2013
1 parent 79813eb commit cd2fd4c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions modules/rtpproxy-ng/README
Expand Up @@ -427,30 +427,30 @@ 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();
...
}

onreply_route[1]
{
...
if (has_sdp())
if (has_body("application/sdp"))
rtpproxy_answer();
...
}

onreply_route[2]
{
...
if (has_sdp())
if (has_body("application/sdp"))
rtpproxy_offer();
...
}
Expand Down
8 changes: 4 additions & 4 deletions modules/rtpproxy-ng/doc/rtpproxy_admin.xml
Expand Up @@ -438,30 +438,30 @@ 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();
...
}

onreply_route[1]
{
...
if (has_sdp())
if (has_body("application/sdp"))
rtpproxy_answer();
...
}

onreply_route[2]
{
...
if (has_sdp())
if (has_body("application/sdp"))
rtpproxy_offer();
...
}
Expand Down

0 comments on commit cd2fd4c

Please sign in to comment.