Files
oddsix ceddde1006 fix: use PAI sip: identity for auto-computed Referred-By header
When referredBy is not explicitly provided, the code was using
callingNumber (user part only) combined with the SBC's internal IP
from dlg.remote.uri. This produced a Referred-By with an IP address
(e.g. sip:+number@10.x.x.x) that carriers like Verizon reject.

Instead, extract the full sip: name-addr from the P-Asserted-Identity
header, which preserves both the display name and the original FQDN
(e.g. "Cha Van" <sip:+number@ims.lte.wal.verizon.com>). Falls back
to the previous behavior when PAI is not available.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-30 13:36:03 -04:00
..
2026-03-29 16:07:08 -04:00
2026-03-29 16:07:08 -04:00