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:1001@192.168.99.203:12290>;tag=a8016513
From: <sip:9196@192.168.99.203: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!