[OpenSIPS-Users] how to store a : in db_text value

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Jul 10 12:10:42 CEST 2012


Hi Jeff,

According to docs, \: should do it:
     http://www.opensips.org/html/docs/modules/1.8.x/db_text.html#id249040

Also checking the code, in file "dbt_file.c", line 425 + line 442, the 
\: case is handles - if still not working for you, could you post your 
file ?

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 07/07/2012 01:20 AM, Jeff Pyle wrote:
> Hello,
>
> I am attempting to use db_text as a backend for uac_registrant.  I 
> need to store a complete SIP URI, such as sip:hostname.net 
> <http://hostname.net>.  How can I store the : value?  I've tried 
> escaping it with \:, but it doesn't seem to work, and in looking at 
> dbt_file.c it doesn't seem set up to handle it anyway.
>
>   DBG:db_text:dbt_load_file: error at row=1 col=10 c=u
>
> I'm on an embedded platform, so a real database isn't an option.  In 
> fact the only reason I'm looking at any database at all is because its 
> seems the CSV modparam option for uac_registrant is gone in 1.8.
>
>
>
> - Jeff
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120710/5450bc56/attachment.htm>


More information about the Users mailing list