THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#307 - modules/debugger: add dbg_pv_dump config function. It dumps on json format the content of pv_cache
User who did this - Daniel-Constantin Mierla (miconda)
----------
Should be ok to commit.
----------
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=307#comment982
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#309 - ims_registrar_scscf: unexpected 200 OK response after calling assign_server_unreg()
User who did this - Daniel-Constantin Mierla (miconda)
----------
Was this approached/fixed already?
----------
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=309#comment981
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#311 - Patch to Add s.urlencode.param
User who did this - Daniel-Constantin Mierla (miconda)
----------
I am going to apply the patch with following changes:
- all the code goes in pv module, because makes no sense to add functions to a lib if only one module is using them
- there is a chunk in patch to dispatcher module, unrelated to this topic. It will be skipped. What is it doing? If is a fix or something useful, then will be applied separately
----------
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=311#comment980
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#321 - Nathelper: modparam natping_processes max value
User who did this - Víctor Seva (linuxmaniac)
----------
Good enough?
----------
One or more files have been attached.
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=321#comment979
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task is now closed:
FS#322 - modules/sdpops: add new functions sdp_remove_transport sdp_with_transport
User who did this - Víctor Seva (linuxmaniac)
Reason for closing: Implemented
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=322
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
Module: sip-router
Branch: master
Commit: faf2f6b9897c3b9acf69a1bbe22b827f386a863e
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=faf2f6b…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: Sat Jul 6 15:13:00 2013 +0200
modules/sdpops: refresh README
---
modules/sdpops/README | 111 +++++++++++++++++++++++++++++++++----------------
1 files changed, 75 insertions(+), 36 deletions(-)
diff --git a/modules/sdpops/README b/modules/sdpops/README
index f070500..7c9f9f8 100644
--- a/modules/sdpops/README
+++ b/modules/sdpops/README
@@ -33,12 +33,14 @@ Daniel-Constantin Mierla
4.5. sdp_keep_codecs_by_name(list [, mtype])
4.6. sdp_with_media(type)
4.7. sdp_remove_media(type)
- 4.8. sdp_with_codecs_by_id(list)
- 4.9. sdp_with_codecs_by_name(list)
- 4.10. sdp_print(level)
- 4.11. sdp_get(avpvar)
- 4.12. sdp_content()
- 4.13. sdp_get_line_startswith(avpvar, string)
+ 4.8. sdp_with_transport(type)
+ 4.9. sdp_remove_transport(type)
+ 4.10. sdp_with_codecs_by_id(list)
+ 4.11. sdp_with_codecs_by_name(list)
+ 4.12. sdp_print(level)
+ 4.13. sdp_get(avpvar)
+ 4.14. sdp_content()
+ 4.15. sdp_get_line_startswith(avpvar, string)
List of Examples
@@ -49,12 +51,14 @@ Daniel-Constantin Mierla
1.5. sdp_keep_codecs_by_name usage
1.6. sdp_with_media usage
1.7. sdp_remove_media usage
- 1.8. sdp_with_codecs_by_id usage
- 1.9. sdp_with_codecs_by_name usage
- 1.10. sdp_print usage
- 1.11. sdp_get usage
- 1.12. sdp_content usage
- 1.13. sdp_get_line_startswith usage
+ 1.8. sdp_with_transport usage
+ 1.9. sdp_remove_transport usage
+ 1.10. sdp_with_codecs_by_id usage
+ 1.11. sdp_with_codecs_by_name usage
+ 1.12. sdp_print usage
+ 1.13. sdp_get usage
+ 1.14. sdp_content usage
+ 1.15. sdp_get_line_startswith usage
Chapter 1. Admin Guide
@@ -76,12 +80,14 @@ Chapter 1. Admin Guide
4.5. sdp_keep_codecs_by_name(list [, mtype])
4.6. sdp_with_media(type)
4.7. sdp_remove_media(type)
- 4.8. sdp_with_codecs_by_id(list)
- 4.9. sdp_with_codecs_by_name(list)
- 4.10. sdp_print(level)
- 4.11. sdp_get(avpvar)
- 4.12. sdp_content()
- 4.13. sdp_get_line_startswith(avpvar, string)
+ 4.8. sdp_with_transport(type)
+ 4.9. sdp_remove_transport(type)
+ 4.10. sdp_with_codecs_by_id(list)
+ 4.11. sdp_with_codecs_by_name(list)
+ 4.12. sdp_print(level)
+ 4.13. sdp_get(avpvar)
+ 4.14. sdp_content()
+ 4.15. sdp_get_line_startswith(avpvar, string)
1. Overview
@@ -122,12 +128,14 @@ Chapter 1. Admin Guide
4.5. sdp_keep_codecs_by_name(list [, mtype])
4.6. sdp_with_media(type)
4.7. sdp_remove_media(type)
- 4.8. sdp_with_codecs_by_id(list)
- 4.9. sdp_with_codecs_by_name(list)
- 4.10. sdp_print(level)
- 4.11. sdp_get(avpvar)
- 4.12. sdp_content()
- 4.13. sdp_get_line_startswith(avpvar, string)
+ 4.8. sdp_with_transport(type)
+ 4.9. sdp_remove_transport(type)
+ 4.10. sdp_with_codecs_by_id(list)
+ 4.11. sdp_with_codecs_by_name(list)
+ 4.12. sdp_print(level)
+ 4.13. sdp_get(avpvar)
+ 4.14. sdp_content()
+ 4.15. sdp_get_line_startswith(avpvar, string)
4.1. sdp_remove_codecs_by_id(list)
@@ -252,7 +260,38 @@ if(sdp_with_media("video"))
sdp_remove_media("video");
...
-4.8. sdp_with_codecs_by_id(list)
+4.8. 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.
+
+ This function can be used from ANY_ROUTE.
+
+ Example 1.8. sdp_with_transport usage
+...
+# check for RTP/SAVP stream
+if(sdp_with_transport("RTP/SAVP"))
+{
+ # the session has a SRTP/SAVP stream
+}
+...
+
+4.9. sdp_remove_transport(type)
+
+ Remove the streams that match on 'm=media port type ...' line. The
+ parameter can be static string or variable holding the transport type.
+
+ This function can be used from ANY_ROUTE.
+
+ Example 1.9. sdp_remove_transport usage
+...
+# remove stream with transport RTP/AVP
+sdp_remove_transport("RTP/AVP");
+...
+
+4.10. sdp_with_codecs_by_id(list)
Returns true if any of the codecs provided in the parameter 'list' from
all media streams is found in SDP payload. The parameter 'list' must be
@@ -261,7 +300,7 @@ sdp_remove_media("video");
This function can be used from ANY_ROUTE.
- Example 1.8. sdp_with_codecs_by_id usage
+ Example 1.10. sdp_with_codecs_by_id usage
...
# test for PCMU
if(sdp_with_codecs_by_id("0")) { ... }
@@ -269,7 +308,7 @@ if(sdp_with_codecs_by_id("0")) { ... }
if(sdp_with_codecs_by_id("0,8,3")) { ... }
...
-4.9. sdp_with_codecs_by_name(list)
+4.11. sdp_with_codecs_by_name(list)
Returns true if any of the codecs provided in the parameter 'list' from
all media streams is found in SDP payload. The parameter 'list' must be
@@ -278,7 +317,7 @@ if(sdp_with_codecs_by_id("0,8,3")) { ... }
This function can be used from ANY_ROUTE.
- Example 1.9. sdp_with_codecs_by_name usage
+ Example 1.11. sdp_with_codecs_by_name usage
...
# test for PCMU
if(sdp_with_codecs_by_name("PCMU")) { ... }
@@ -286,45 +325,45 @@ if(sdp_with_codecs_by_name("PCMU")) { ... }
if(sdp_with_codecs_by_name("PCMU,PCMA,GSM")) { ... }
...
-4.10. sdp_print(level)
+4.12. sdp_print(level)
Print the SDP internal structure to log 'level'. The parameter can be
static integer or variable holding the integer value of the log level.
This function can be used from ANY_ROUTE.
- Example 1.10. sdp_print usage
+ Example 1.12. sdp_print usage
...
# print the SDP
sdp_print("1");
...
-4.11. sdp_get(avpvar)
+4.13. sdp_get(avpvar)
Store the SDP part of message body in an AVP. Return 1 if SDP is found,
-1 on error and -2 if there is no SDP part in the message body.
This function can be used from ANY_ROUTE.
- Example 1.11. sdp_get usage
+ Example 1.13. sdp_get usage
...
sdp_get("$avp(sdp)");
...
-4.12. sdp_content()
+4.14. sdp_content()
Return true if the SIP message has SDP body or a SDP part in body.
This function can be used from ANY_ROUTE.
- Example 1.12. sdp_content usage
+ Example 1.14. sdp_content usage
...
if(sdp_content()) {
...
}
...
-4.13. sdp_get_line_startswith(avpvar, string)
+4.15. sdp_get_line_startswith(avpvar, string)
Store the search part of SDP body message with line beginning with
'string' in an AVP. Return 1 if 'string' is found in SDP, -1 on error
@@ -332,7 +371,7 @@ if(sdp_content()) {
This function can be used from ANY_ROUTE.
- Example 1.13. sdp_get_line_startswith usage
+ Example 1.15. sdp_get_line_startswith usage
...
if(sdp_get_line_startswith("$avp(mline)", "m=")) {
xlog("m-line: $avp(mline)\n");
Module: sip-router
Branch: master
Commit: 2a855d384d37b5a83c879663780441b2f533fced
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2a855d3…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: Sat Jul 6 15:09:47 2013 +0200
modules/sdpops: update documentation sdp_[with|remove]_transport
---
modules/sdpops/doc/sdpops_admin.xml | 46 +++++++++++++++++++++++++++++++++++
1 files changed, 46 insertions(+), 0 deletions(-)
diff --git a/modules/sdpops/doc/sdpops_admin.xml b/modules/sdpops/doc/sdpops_admin.xml
index 2dd3e11..dfa7fd1 100644
--- a/modules/sdpops/doc/sdpops_admin.xml
+++ b/modules/sdpops/doc/sdpops_admin.xml
@@ -253,6 +253,52 @@ sdp_remove_media("video");
</section>
<section>
<title>
+ <function moreinfo="none">sdp_with_transport(type)</function>
+ </title>
+ <para>
+ 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.
+ </para>
+ <para>
+ This function can be used from ANY_ROUTE.
+ </para>
+ <example>
+ <title><function>sdp_with_transport</function> usage</title>
+ <programlisting format="linespecific">
+...
+# check for RTP/SAVP stream
+if(sdp_with_transport("RTP/SAVP"))
+{
+ # the session has a SRTP/SAVP stream
+}
+...
+</programlisting>
+ </example>
+ </section>
+ <section>
+ <title>
+ <function moreinfo="none">sdp_remove_transport(type)</function>
+ </title>
+ <para>
+ Remove the streams that match on 'm=media port type ...' line. The
+ parameter can be static string or variable holding the transport type.
+ </para>
+ <para>
+ This function can be used from ANY_ROUTE.
+ </para>
+ <example>
+ <title><function>sdp_remove_transport</function> usage</title>
+ <programlisting format="linespecific">
+...
+# remove stream with transport RTP/AVP
+sdp_remove_transport("RTP/AVP");
+...
+</programlisting>
+ </example>
+ </section>
+ <section>
+ <title>
<function moreinfo="none">sdp_with_codecs_by_id(list)</function>
</title>
<para>