Skip to content

Commit

Permalink
siputils: note that is_first_hop() works only for IP addresses in rec…
Browse files Browse the repository at this point in the history
…ord route

- this is done for reply handling

(cherry picked from commit 840d8ed)
  • Loading branch information
miconda committed Oct 4, 2018
1 parent 36b695b commit 3837924
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/modules/siputils/doc/siputils_admin.xml
Expand Up @@ -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.
Expand Down

0 comments on commit 3837924

Please sign in to comment.