Module: sip-router
Branch: master
Commit: 4b335f6419468d6873ce314221b2b786ae64366a
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4b335f6…
Author: Pawel Kuzak <pawel.kuzak(a)1und1.de>
Committer: lucian balanceanu <lucian.balanceanu(a)1and1.ro>
Date: Fri Jul 25 14:28:48 2014 +0300
userblacklist: added check_whitelist function
- check_whitelist(string table) finds the longest prefix that
matches the request URI for the given table and returns true
if the match is set to whitelist
---
modules/userblacklist/README | 60 +++++++++++++-------
modules/userblacklist/doc/userblacklist_admin.xml | 21 +++++++
modules/userblacklist/userblacklist.c | 47 ++++++++++++++++
3 files changed, 107 insertions(+), 21 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=4b3…
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#453 - PARAM_STR vs STR_PARAM
User who did this - Daniel-Constantin Mierla (miconda)
----------
Thanks, going to take care of them very soon!
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=453#comment1558
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: 1be7c3ebc9b29046c023290ad580bb83c3e6e44d
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1be7c3e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Jul 25 12:01:37 2014 +0200
tm: docs - added note about t_replicate() without params
---
modules/tm/README | 17 +++++++++--------
modules/tm/doc/functions.xml | 7 ++++---
2 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/modules/tm/README b/modules/tm/README
index c2a0a2e..5ca25af 100644
--- a/modules/tm/README
+++ b/modules/tm/README
@@ -115,7 +115,7 @@ Juha Heinanen
5.43. t_set_disable_6xx(0|1)
5.44. t_set_disable_failover(0|1)
5.45. t_set_disable_internal_reply(0|1)
- 5.46. t_replicate(params)
+ 5.46. t_replicate([params])
5.47. t_relay_to(proxy, flags)
5.48. t_set_no_e2e_cancel_reason(0|1)
5.49. t_is_set(target)
@@ -227,7 +227,7 @@ Juha Heinanen
1.82. t_set_disable_failover usage
1.83. t_set_disable_internal_reply usage
1.84. t_replicate usage
- 1.85. t_replicate usage
+ 1.85. t_relay_to usage
1.86. t_set_no_e2e_cancel_reason usage
1.87. t_replicate usage
1.88. t_use_uac_headers usage
@@ -335,7 +335,7 @@ Chapter 1. Admin Guide
5.43. t_set_disable_6xx(0|1)
5.44. t_set_disable_failover(0|1)
5.45. t_set_disable_internal_reply(0|1)
- 5.46. t_replicate(params)
+ 5.46. t_replicate([params])
5.47. t_relay_to(proxy, flags)
5.48. t_set_no_e2e_cancel_reason(0|1)
5.49. t_is_set(target)
@@ -1605,7 +1605,7 @@ modparam("tm", "dns_reuse_rcv_socket", 1)
5.43. t_set_disable_6xx(0|1)
5.44. t_set_disable_failover(0|1)
5.45. t_set_disable_internal_reply(0|1)
- 5.46. t_replicate(params)
+ 5.46. t_replicate([params])
5.47. t_relay_to(proxy, flags)
5.48. t_set_no_e2e_cancel_reason(0|1)
5.49. t_is_set(target)
@@ -2547,12 +2547,12 @@ if(!t_relay()) {
}
...
-5.46. t_replicate(params)
+5.46. t_replicate([params])
Replicate the SIP request to a specific address.
There are several function prototypes:
- * t_replicate(uri),
+ * t_replicate([uri]),
* t_replicate(host, port),
* t_replicate_udp(host, port)
* t_replicate_tcp(host, port)
@@ -2562,7 +2562,8 @@ if(!t_relay()) {
Meaning of the parameters is as follows:
* uri - SIP URI where the message should be sent. It can be given via
- a script variable.
+ a script variable. It is optional - when missing, the dst-uri or
+ r-uri are used as next hop address.
* host - host address where the message should be sent.
* port - port number.
* proto - transport protocol to be used.
@@ -2603,7 +2604,7 @@ t_replicate_to_udp("1.2.3.4", "5060");
+ 0x02 - do not generate reply on internal error.
+ 0x04 - disable dns failover.
- Example 1.85. t_replicate usage
+ Example 1.85. t_relay_to usage
...
# sent to 1.2.3.4:5060 over tcp
t_relay_to("tcp:1.2.3.4:5060");
diff --git a/modules/tm/doc/functions.xml b/modules/tm/doc/functions.xml
index 25d2507..84751cc 100644
--- a/modules/tm/doc/functions.xml
+++ b/modules/tm/doc/functions.xml
@@ -1490,7 +1490,7 @@ if(!t_relay()) {
<section id="tm.f.t_replicate">
<title>
- <function>t_replicate(params)</function>
+ <function>t_replicate([params])</function>
</title>
<para>
Replicate the SIP request to a specific address.
@@ -1499,7 +1499,7 @@ if(!t_relay()) {
There are several function prototypes:
<itemizedlist>
<listitem><para>
- <function>t_replicate(uri)</function>,
+ <function>t_replicate([uri])</function>,
</para></listitem>
<listitem><para>
<function>t_replicate(host, port)</function>,
@@ -1525,7 +1525,8 @@ if(!t_relay()) {
<itemizedlist>
<listitem>
<para><emphasis>uri</emphasis> - SIP URI where the message should be sent.
- It can be given via a script variable.
+ It can be given via a script variable. It is optional - when missing, the
+ dst-uri or r-uri are used as next hop address.
</para>
</listitem>
<listitem>