I think you can replace append_branch() with:

$ru = $ru;


Kaufman
Senior Voice Engineer



E: bkaufman@bcmone.com




 

SIP.US Client Support: 800.566.9810  |  SIPTRUNK Client Support: 800.250.6510  |  Flowroute Client Support: 855.356.9768

img
img
img
 


From: Alexis Fidalgo via sr-users <sr-users@lists.kamailio.org>
Sent: Tuesday, December 24, 2024 5:29 AM
To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
Cc: Alexis Fidalgo <alzrck@gmail.com>
Subject: [SR-Users] append_branch
 

CAUTION: This email originated from outside the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.


Hello all, how can avoid to append_branch do this call to call

SIP/2.0 302 Redirect
Via: SIP/2.0/UDP 192.168.86.250:5060;branch=z9hG4bK-65665-5-0
From: sipp <sip:sipp@192.168.86.250:5060>;tag=65665SIPpTag005
To: 123456 <sip:123456@192.168.86.128:5060>;tag=a6a1c5f60faecf035a1ae5b6e96e979a-deb8da2e
Call-ID: 5-65665@192.168.86.250
CSeq: 1 INVITE
Contact: <sip:4093823670@otherdomain.com>, <sip:8888576523@otherdomain.com>, <sip:9719533197@otherdomain.com>, <sip:5302579529@otherdomain.com>, <sip:4972010218@otherdomain.com>
Server: kamailio (5.8.4 (x86_64/linux))
Content-Length: 0

What i mean with “avoid”, call to call, contact should have only 1 branch, no a stack of previous.

thanks