[SR-Users] Path module adds either received or outbound

Rick Barenthin dunst0 at gmail.com
Tue Oct 3 00:46:29 CEST 2017


Hey,

Maybe someone from the list can share some information about the path
module. Why can the path module only add either the received parameter to
path or the flow token with the ob parameter, but not both.

Does the RFC mandates it? I didn't find anything like that and was
wondering because the source calculates max length of the parameters with
following:

>> /* maximum possible length of suffix */
>> suffix_len =
strlen(";lr;received=sip::12345%3Btransport%3Dsctp;ob;>\r\n") +
IP_ADDR_MAX_STR_SIZE + 2 + (add_params ? add_params->len : 0) + 1;

This looks like it can be possible to have both.

Best regards
Rick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20171003/4f0890ac/attachment.html>


More information about the sr-users mailing list