<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>Hi Jeff,<br>
<br>
According to docs, \: should do it:<br>
<a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/1.8.x/db_text.html#id249040">http://www.opensips.org/html/docs/modules/1.8.x/db_text.html#id249040</a><br>
<br>
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 ?<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<br>
On 07/07/2012 01:20 AM, Jeff Pyle wrote:
<blockquote
cite="mid:CACYJG3J_NTW-bx3O-28pG=tq6fiOG+4iR+gGGV1Phm4pW2UYHw@mail.gmail.com"
type="cite">Hello,
<div><br>
</div>
<div>I am attempting to use db_text as a backend for
uac_registrant. I need to store a complete SIP URI, such as
sip:<a moz-do-not-send="true" href="http://hostname.net">hostname.net</a>.
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.</div>
<div><br>
</div>
<div> DBG:db_text:dbt_load_file: error at row=1 col=10 c=u</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>- Jeff</div>
<div><br>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</body>
</html>