[OpenSIPS-Users] replicate to HEP using the advertised address - OPENSIPS 3.3.9

Liviu Chircu liviu at opensips.org
Mon Jan 8 10:11:10 UTC 2024


On 26.12.2023 22:54, James Seer wrote:
> Aaaa the good old days before commit 4bd50335a (2023-12-12 by Vlad 
> Paiu), life was simpler when my vip network interface and VIP itself 
> were just one happy entity in HOMER's eyes :P
>
> This recent commit with its replication to HEP using the advertised 
> address has complicated things in homer heplify by treating them as 
> two different entities in the sip sequence (precisely during ACKs 
> CANCEL and BYEs). Any chance we could make this an optional feature?

Hi James,

First of all, VIP issue aside, there seems to be a bug in that patch 
where the /sourceIP/ and /sourcePort/ are changed to /destinationIP /and 
/destinationPort/ without a good reason (currently started a discussion 
with Vlad - we'll get to the bottom of it).  Maybe if this were tweaked, 
your SIP flows would return back to looking normal?!

Nonetheless, if you have a 3.3 source tree to work with, try the 
following patch onto your root sources directory and see if the behavior 
improves by just fixing the bug instead of reverting the patch:

git apply <(base64 -d <<EOF | gzip -dc
H4sIAAAAAAAAA91Ry26DMBA8w1fsqUoCJpCSZ9U0HxD11lMUWcYPZBUwsk3US/+9hiQNOQT13Is9
Hs/ujsdMCgEI5dICmZaKNQU3U6sJ5fqyRRSyRze+rBj/goTN6ex5nq2iKF2ss3XGkiUkcbxIUx8h
9LizHwTBQPfdDtAsSVdhEkNwBY40llhJQVYWjKxxpx8Zqxt6JkqTw8QtIXRXWFZC4RraLeyqCp5j
UZB87IP37YNbDbfYKPqJqSqasjIjYBk+kcIc0mP4i+c9vHBYaFW6eVkjROgjz3Mz0VbTU5S5YDBh
THNj0Jaw07m58xgVvHq7mnW1rQgm46eB0sthc9MwY7GsQ4C/DhzQ1UrbzV3nlglvrWutrBq/+IHn
3RwYTTsHd8SDwuF8l71MVz28dtiqfrpD7x/2/a//pY33GloSHyMHIitL3jLwCi0cvX/s9530B7QY
9NXwAwAA
EOF
)

Best regards,

-- 
Liviu Chircu
www.twitter.com/liviuchircu  |www.opensips-solutions.com
OpenSIPS Summit 2024 Valencia, May 14-17 |www.opensips.org/events
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20240108/6de35b22/attachment.html>


More information about the Users mailing list