Module: kamailio
Branch: master
Commit: c975878648b7c34f6631a941555eb62f0506d638
URL: https://github.com/kamailio/kamailio/commit/c975878648b7c34f6631a941555eb62…
Author: Henning Westerholt <hw(a)skalatan.de>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2019-08-09T16:25:56+02:00
uac: extend docs for default_socket with a note about tcp_reuse_port
---
Modified: src/modules/uac/doc/uac_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/c975878648b7c34f6631a941555eb62…
Patch: https://github.com/kamailio/kamailio/commit/c975878648b7c34f6631a941555eb62…
---
diff --git a/src/modules/uac/doc/uac_admin.xml b/src/modules/uac/doc/uac_admin.xml
index 91b8787870..c4f5d82126 100644
--- a/src/modules/uac/doc/uac_admin.xml
+++ b/src/modules/uac/doc/uac_admin.xml
@@ -567,16 +567,18 @@ modparam("uac", "reg_gc_interval", 60)
<para>
Default socket to be used for generating registration requests and sending
requests with the function uac_req_send(). Useful e.g. when several public
- interfaces are available.
+ interfaces are available. A send socket in the $uac_reg variable used
+ together with the uac_req_send() function will override this parameter.
</para>
<para>
<emphasis>
By default no default socket is defined, the send socket is choosen from the
- <emphasis>tm</emphasis> module when the requests is send out. A send socket
- in the $uac_reg variable used together with the uac_req_send() function will
- override this parameter.
+ <quote>tm</quote> module when the requests is send out.
</emphasis>
</para>
+ <para>If you want to force a certain TCP port (e.g. 5060), you will need to set
+ the <emphasis>tcp_reuse_port=yes</emphasis> core parameter as well.
+ </para>
<example>
<title>Set the <quote>default_socket</quote> parameter</title>
<programlisting format="linespecific">
Greetings,
I'm doing VoiceMail detection using $sipt(redirection_number) from SIPT
module and i've been having some false positives on the detection.
I inspected further and noticed that in some cases
$sipt(redirection_number) returns old values from previous messages, which
makes me think that it's value is not being correctly refreshed. I'm using
this variable on a on_reply_route.
As far as i know, $sipt(redirection_number) is read only and can't be
refreshed by me in the code.
Here is an example :
Aug 7 16:51:49 dev_sbc_a_vts01
/usr/local/kamailio-5.2/sbin/kamailio[4746]: ERROR: <script>: VMD2 : Reply
Code : 180 ; Sipt Redir = 9610050000 and Call ID =
00158FED-98B7-E911-8B3B-4DA50AE2ED72 at 192.168.24.86 and Cseq = 83
Here is the JSON from the 180 message : https://pastebin.com/zFHKxyav
As you can see, there isn't any 9610050000 in the message. What can be
causing this issue ?
Best Regards,
Duarte Rocha
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2030