[OpenSIPS-Users] Trncated SIP header .

Ben Newlin Ben.Newlin at genesys.com
Tue Apr 2 15:01:56 UTC 2024


We use PostgreSQL and we ran into this as well. We altered all of our tables to use type “TEXT” for these columns, which has no length limit, instead of the default VARCHAR(255). We have not had any issues with this; OpenSIPS doesn’t seem to care about the length.

Ben Newlin

From: Users <users-bounces at lists.opensips.org> on behalf of Sasmita Panda <spanda at 3clogic.com>
Date: Tuesday, April 2, 2024 at 7:20 AM
To: OpenSIPS users mailling list <users at lists.opensips.org>
Subject: [OpenSIPS-Users] Trncated SIP header .
 EXTERNAL EMAIL - Please use caution with links and attachments

________________________________
I am using opensips 3.2  . I have added a custom header in the sip requests like REGISTER and INVITE called X-Tag .

This tag (X-Tag header) has a large number of key value pairs that get printed in the logs . Around 50 key value pair strings . I am not able to port the data here as that makes my message very large and that gets rejected before posting in the group .

In the wireshark trace in the server the header value gets truncated and also in the DB attr column shows the truncated value . Is this because the attr column size is ( string of 255 ) . If so then can I increase this value or is there any restriction by opensips ?

Even if the data is not showing in the DB , is opensips able to save the entire data and process that during the call ?

Thanks & Regards
Sasmita Panda
Senior Network Testing and Software Engineer
3CLogic , ph:07827611765
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20240402/1d9a2abd/attachment-0001.html>


More information about the Users mailing list