[OpenSIPS-Users] Truncated Branch in Via
Rahul.Gupta at ipc.com
Tue Jul 5 19:57:58 CEST 2016
We are using opensips 1.11.5 as a stateless proxy and seeing a truncated Branch in Via for my REGISTER message. After some code digging, the MAX length is calculated using the following formula and seems like its truncating the branch after 55 characters. This is causing the REGISTER to fail in our case. Is there a config level solution to this ?
#define MAX_BRANCH_PARAM_LEN (MCOOKIE_LEN+8 /*!<int2hex*/ + 1 /*sep*/ + \
MD5_LEN + 1 /*!<sep*/ + 8 /*int2hex*/ + \
1 /*extra space, needed by t_calc_branch*/)
truncated from opensips --> Via: SIP/2.0/UDP XX.XX.XX.XX:5060;branch=z9hG4bK0fddbbc9-1487-4755-a0b3-0c319155b8c3_0efbfc5e_11160
Via from EndPoint --> Via: SIP/2.0/UDP XX.XX.XX.XX:5060;branch=z9hG4bK0fddbbc9-1487-4755-a0b3-0c319155b8c3_0efbfc5e_1116078308924346_MTAuMTIuMy4xMQ
DISCLAIMER: This e-mail may contain information that is confidential, privileged or otherwise protected from disclosure. If you are not an intended recipient of this e-mail, do not duplicate or redistribute it by any means. Please delete it and any attachments and notify the sender that you have received it in error. Unintended recipients are prohibited from taking action on the basis of information in this e-mail. E-mail messages may contain computer viruses or other defects, may not be accurately replicated on other systems, or may be intercepted, deleted or interfered with without the knowledge of the sender or the intended recipient. If you are not comfortable with the risks associated with e-mail messages, you may decide not to use e-mail to communicate with IPC. IPC reserves the right, to the extent and under circumstances permitted by applicable law, to retain, monitor and intercept e-mail messages to and from its systems.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users