Skip to content

Commit

Permalink
modules: readme files regenerated - nathelper ... [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
kamailio-dev committed Feb 22, 2018
1 parent c5317e8 commit d240950
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion modules/nathelper/README
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ Chapter 1. Admin Guide

Example 1.1. Set force_socket parameter
...
modparam("nathelper", "force_socket", "localhost:33333")
modparam("nathelper", "force_socket", "127.0.0.1:5060")
...

4.2. natping_interval (integer)
Expand Down
23 changes: 12 additions & 11 deletions modules/sdpops/README
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Daniel-Constantin Mierla
4.7. sdp_with_active_media(type)
4.8. sdp_remove_media(type)
4.9. sdp_with_transport(type)
4.10. sdp_with_transport_like(string)
4.10. sdp_with_transport_like(type)
4.11. sdp_transport(pv)
4.12. sdp_remove_transport(type)
4.13. sdp_with_codecs_by_id(list)
Expand Down Expand Up @@ -90,7 +90,7 @@ Chapter 1. Admin Guide
4.7. sdp_with_active_media(type)
4.8. sdp_remove_media(type)
4.9. sdp_with_transport(type)
4.10. sdp_with_transport_like(string)
4.10. sdp_with_transport_like(type)
4.11. sdp_transport(pv)
4.12. sdp_remove_transport(type)
4.13. sdp_with_codecs_by_id(list)
Expand Down Expand Up @@ -142,7 +142,7 @@ Chapter 1. Admin Guide
4.7. sdp_with_active_media(type)
4.8. sdp_remove_media(type)
4.9. sdp_with_transport(type)
4.10. sdp_with_transport_like(string)
4.10. sdp_with_transport_like(type)
4.11. sdp_transport(pv)
4.12. sdp_remove_transport(type)
4.13. sdp_with_codecs_by_id(list)
Expand Down Expand Up @@ -321,26 +321,27 @@ sdp_remove_media("video");
4.9. sdp_with_transport(type)

Return true of the SDP has 'media=media port type ...' line. Useful to
check the transport of the RTP sessions, such as 'RTP/AVP', 'RTP/SAVP'
or 'RTP/SAVPF'. The parameter can be static string or variable holding
the transport type.
check the transport of the RTP sessions, such as 'RTP/AVP', 'RTP/SAVP',
'RTP/SAVPF' or 'UDP/TLS/RTP/SAVPF'. The parameter can be static string
or variable holding the transport type. The function does an exact
match of the strings.

This function can be used from ANY_ROUTE.

Example 1.9. sdp_with_transport usage
...
# check for RTP/SAVP stream
if(sdp_with_transport("RTP/SAVP"))
if(sdp_with_transport("UDP/TLS/RTP/SAVPF"))
{
# the session has a SRTP/SAVP stream
# the session has a UDP/TLS/RTP/SAVPF stream
}
...

4.10. sdp_with_transport_like(string)
4.10. sdp_with_transport_like(type)

Returns true if the SDP has 'media=media port type ...' line, where
type contains string. The parameter can be static string or variable
holding a string.
type contains the string in the parameter. The parameter can be static
string or variable holding a string.

This function can be used from ANY_ROUTE.

Expand Down
2 changes: 1 addition & 1 deletion modules/textops/README
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,7 @@ if (starts_with("$rU", "+358"))
The core will take care of the last boundary ending "--". Detecting
wich one is the last and fixing the others if needed.

Note: it may be required that msg_apply_changes() from textops module
Note: it may be required that msg_apply_changes() from textopsx module
has to be executed if there are other operations over the new body.

Example 1.37. set_body_multipart usage
Expand Down

0 comments on commit d240950

Please sign in to comment.