[SR-Users] is_first_hop

Nicolas Breuer Nicolas.Breuer at belcenter.biz
Wed Aug 2 17:37:19 CEST 2017


I tried to understand the concept of first hop in "replies"
In the documentation ;

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.

Here's an incoming reply received on

Via: SIP/2.0/UDP;branch=z9hG4bK723f.db3510ce15ac9bb6467e115ecc2fe2a7.0.
Via: SIP/2.0/UDP;rport=5060;branch=z9hG4bK723f.741041093fec570744afcf44f2194581.0.
Via: SIP/2.0/UDP;rport=5060;branch=z9hG4bK0eB7070489d338025ed.
Record-Route: <sip:;lr=on;ftag=7B84E4CBh3;did=4cf.c94;nat=yes>.
Record-Route: <sip:;lr=on;ftag=7B84E4CBh3;did=4cf.448>.

The Record-Route is but the first proxy is

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170802/9ac51bbe/attachment.html>

More information about the sr-users mailing list