Module: kamailio
Branch: 5.1
Commit: 38379247e653bd17711f980aa977080b004ad272
URL:
https://github.com/kamailio/kamailio/commit/38379247e653bd17711f980aa977080…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-10-04T09:38:04+02:00
siputils: note that is_first_hop() works only for IP addresses in record route
- this is done for reply handling
(cherry picked from commit 840d8edc3cae5a921aaa14e62f170613bc8da844)
---
Modified: src/modules/siputils/doc/siputils_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/38379247e653bd17711f980aa977080…
Patch:
https://github.com/kamailio/kamailio/commit/38379247e653bd17711f980aa977080…
---
diff --git a/src/modules/siputils/doc/siputils_admin.xml
b/src/modules/siputils/doc/siputils_admin.xml
index 4b37d8109e..a6263a628f 100644
--- a/src/modules/siputils/doc/siputils_admin.xml
+++ b/src/modules/siputils/doc/siputils_admin.xml
@@ -1093,9 +1093,13 @@ if (is_supported("outbound")) { ... }
original sender. For incoming SIP requests, it means there is only
one Via header. For incoming SIP replies, it means that top
Record-Route URI is 'myself' and source address is not matching it
- (to avoid detecting in case of local loops). Note that it does not
- detect spirals, which can have the condition for replies true also
- in the case of additional SIP reply receival.
+ (to avoid detecting in case of local loops). The detection is done
+ only when Record-Route has an IP address in its URI (for a domain,
+ it returns -1/false).
+ </para>
+ <para>
+ Note that it does not detect spirals, which can have the condition
+ for replies true also in the case of additional SIP reply reception.
</para>
<para>
This function can be used from ANY_ROUTE.