[OpenSIPS-Devel] [ opensips-Bugs-3606244 ] db path field to small

SourceForge.net noreply at sourceforge.net
Thu Mar 7 14:12:42 CET 2013


Bugs item #3606244, was opened at 2013-02-27 09:19
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3606244&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
>Group: 1.9.x
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Vallimamod Abdullah (vabdulla)
>Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: db path field to small

Initial Comment:
Hello,

When trying to use opensips 1.9 with oversip path support, I got the following db error: "ERROR:db_postgres:db_postgres_submit_query: 0x7fddaad0ac18 PQsendQuery Error: ERROR:  value too long for type character varying(128)"

The Path field to be inserted in location table was larger than 128 charaters limit ('<sip:82.138.xx.xxx:5060;transport=tcp;lr;ovid=54f722f3>,<sip:_ODguMTc2LjE2LjIwNV81NTQwMQ-- at 82.138.xx.xxx:5060;transport=udp;lr;ovid=54f722f3;ob>')

I solved my issue by extending the path field to VARCHAR(255) but I am not sure if it is sufficient.



----------------------------------------------------------------------

>Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2013-03-07 05:12

Message:
Hi Vallimamod, thanks for the report - the size was increased in SVN trunk
and 1.9.

Best regards,
Bogdan

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3606244&group_id=232389



More information about the Devel mailing list