How to access all branches in the failure_route

13715209697--- via sr-users <[email protected]>
Newsgroups gmane.comp.voip.ser
Message-ID <[email protected]>
Hi team

How to access all branches in the failure_route?

···
SIP/2.0 480 Temporarily Unavailable
Via: SIP/2.0/UDP 220.231.180.131:12290;branch=z9hG4bK7699.12bab93a2131301bddba965165d7b8a4.0
Via: SIP/2.0/UDP 192.168.99.203:5090;received=192.168.99.203;rport=5090;branch=z9hG4bKeS4Hy8evHZa4N
To: <sip:[email protected]:12290>;tag=a8016513
From: <sip:[email protected]:12290>;tag=rQSg2p11ptytp
Call-ID: d25b05e3-3fb6-123f-0ba6-000c29943390
···

failure_route[MANAGE_FAILURE] {
    xlog("$sel(via[1].branch) + $T_branch_idx\n");  
}

The obtained value is z9hG4bKeS4Hy8evHZa4N, which is the branch generated by UAC. 

But I also want to obtain the branch automatically generated by Kamailio. 

How can I do this?

Thanks!
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the sender!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.