Module: sip-router
Branch: master
Commit: 5f1b144a7e63b464af3e5e0e7b74cf7e7e1e8668
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=5f1b144…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Sat Jun 15 19:30:59 2013 +0200
tm: documented dn_reuse_rcv_socket parameter
---
modules/tm/doc/params.xml | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/modules/tm/doc/params.xml b/modules/tm/doc/params.xml
index 767a5fc..4d3bf26 100644
--- a/modules/tm/doc/params.xml
+++ b/modules/tm/doc/params.xml
@@ -1378,4 +1378,34 @@ modparam("tm", "failure_exec_mode", 1)
</example>
</section>
+
+ <section id="tm.p.dns_reuse_rcv_socket">
+ <title><varname>dns_reuse_rcv_socket</varname> (boolean)</title>
+ <para>
+ Control reuse of the receive socket for additional branches added
+ by dns failover. If set to 1, the receive socket is used for
+ sending out the new branches, unless the socket is forced
+ explicitely in configuration file. If set to 0, selected socket
+ is done depending on value of global parameter mhomed (if mhomed=0,
+ then the first listen socket is used, otherwise the socket is
+ selected based on routing rules).
+ </para>
+ <para>
+ Do enable it with caution, it might create troubles on dns results
+ with different transport layer. Better let it disabled and enable
+ mhomed.
+ </para>
+ <para>
+ Default value is 0 (disabled).
+ </para>
+ <example>
+ <title>Set <varname>dns_reuse_rcv_socket</varname> parameter</title>
+ <programlisting>
+...
+modparam("tm", "dns_reuse_rcv_socket", 1)
+...
+ </programlisting>
+ </example>
+ </section>
+
</section>
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 - Víctor Seva (linuxmaniac)
----------
Refreshed patch:
- added more checks.
- fixed xavp dump output.
- changed some messages from ERR to WARN
----------
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=307#comment957
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.
Hi,
I am thinking about whether it makes sense to send a CANCEL Request to a
branch, that did not reply within the fr_timer when using DNS-Failover.
It is possible, that the first gateway (because of various reasons)
takes too long to reply, but nevertheless processes the call.
This can lead to the result, that the callee receives 2 calls (from both
gateways), which is in fact one call from the caller.
It should be possible to prevent that in most cases, if DNS failover
sends a CANCEL to a timed out branch and then forgets about it (stateless).
Are there any comments or feedback/experiences on that idea?
Cheers
Jasmin
Hello,
I need to run a text find-and-replace on the body of my requests and
responses. The texops functions 'replace_body_all' and 'subst_body' work
for fixed regular expressions, but mine need to be configurable i.e.
loaded from a database.
Trying to accept PVs in the regex parameter could intefere with regex's
that contain $ characters, so this isn't as simple as inserting the spve
fixup into these functions.
What do you think is the best way to implement this and remain
compatible with existing versions? New functions with different names?
For example:
route(FETCH_REGEX_FROM_DB);
if ($var(regex) != $null) {
replace_body_pv("$var(regex)", "$var(repl)");
}
Regards,
Hugh
--
Hugh Waite
Principal Design Engineer
Crocodile RCS Ltd.