<!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">
Shame on me, that was my trouble, seems like I didn't read enough...<br>
<br>
Thanks a lot !<br>
<br>
Lewis Agosta a écrit :
<blockquote
cite="midcff627d40606070937j2c8b273cg511118d0ef2c2f9@mail.gmail.com"
type="cite">
<div>Hello,</div>
<div> </div>
<div>I ran into something similar and found the following in the
wiki...</div>
<div> </div>
<div><strong>Note</strong> : If using <a title=""
href="http://www.voip-info.org/wiki/index.php?page=Asterisk+cdr+mysql">cdr_mysql</a>
addon make sure to set userfield=1 to in <a title=""
href="http://www.voip-info.org/wiki/index.php?page=Asterisk+config+cdr_mysql.conf">
cdr_mysql.conf</a>. If using <a title=""
href="http://www.voip-info.org/wiki/index.php?page=Asterisk+cdr+csv">cdr_csv</a>,
edit <b>cdr_csv.c</b> and (re)compile to enable the user field. This
command has no effect if the user field is not enabled. <br>
</div>
<div>See: <a
href="http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+SetCDRUserField">http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+SetCDRUserField</a></div>
<div> </div>
<div>This actually was not my problem, but it was good information.
I was actually setting it and then overwriting it later on in the
dialplan.</div>
<div> </div>
<div>Hope the information is helpfull.<br>
</div>
<div><span class="gmail_quote">On 6/7/06, <b class="gmail_sendername">Tristan</b>
<<a href="mailto:tristan@telemaque.fr">tristan@telemaque.fr</a>>
wrote:</span>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
I have troubles setting the userfield in mysql ( using asterisk 1.2.8 /<br>
addons 1.2.3 )<br>
I use this in my dialplan:
<br>
exten => s,n,SetCDRUserField(SOMEVALUE)<br>
<br>
I tried also:<br>
exten => s,n,Set(CDR(userfield)=SOMEVALUE)<br>
<br>
But everytime i look at the cdr database the userfield is still empty<br>
<br>
Does anyone has a clue on how to get things working ?
<br>
<br>
Thanks in advance !<br>
_______________________________________________<br>
--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a>
--<br>
<br>
Asterisk-Users mailing list<br>
To UNSUBSCRIBE or update options visit:
<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Origination that includes real support!
<br>
<a href="http://www.VoIPStreet.com">http://www.VoIPStreet.com</a>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
</pre>
</blockquote>
</body>
</html>