[SR-Users] next via branch value

Alex Balashov abalashov at evaristesys.com
Thu May 28 11:43:56 CEST 2015


‎That you can get. :-)


http://www.kamailio.org/wiki/cookbooks/4.2.x/pseudovariables#t_branch_idx

--
Alex Balashov | Principal | Evariste Systems LLC
303 Perimeter Center North, Suite 300
Atlanta, GA 30346
United States

Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/

Sent from my BlackBerry.
  Original Message  
From: Juha Heinanen
Sent: Thursday, May 28, 2015 11:41
To: Kamailio (SER) - Users Mailing List
Reply To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] next via branch value

Alex Balashov writes:

> ‎As far as I know, there is not a way to do this. It's a limitation
> we've run into before as well, and it probably arises from the fact
> that the branch GUID generator isn't run until t_relay() is called.

Thanks for your reply.

How about the index of the next new via branch, i.e., the digit after
the . at the end of branch value (1 in the example below):

SIP/2.0/TCP
192.98.102.10;branch=z9hG4bK27b9.597e97c43da7ddd6be8520b662d616b9.1;i=5

-- Juha

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users at lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



More information about the sr-users mailing list