when kamailio forwards invite request, it adds to it a new via header.
for example, incoming invite:
SIP/2.0/TCP 192.168.43.192:48089;branch=z9hG4bK4e1ab219cbde6190;rport
outgoing invite:
SIP/2.0/TCP 192.98.102.10;branch=z9hG4bK27b9.597e97c43da7ddd6be8520b662d616b9.0;i=5
SIP/2.0/TCP
192.168.43.192:48089;received=192.98.102.10;branch=z9hG4bK4e1ab219cbde6190;rport=49582
is it somehow possible to find out in the config script, what will the
branch value of the new via header be?
if that value would be known, it could be assigned to rtpengine
extra_id_pv pseudo variable before making the offer and could then be
used in rtpengine_delete to delete the right branch.
if the new via branch value cannot be known, any suggestions on how to
uniquely identify the outgoing branched of the invite?
-- juha