[Asterisk-Users] Set(CDR(userfield)) Trouble

Lewis Agosta voipstreet at gmail.com
Wed Jun 7 09:37:53 MST 2006


Hello,

I ran into something similar and found the following in the wiki...

*Note* : If using
cdr_mysql<http://www.voip-info.org/wiki/index.php?page=Asterisk+cdr+mysql>addon
make sure to set userfield=1 to in
cdr_mysql.conf<http://www.voip-info.org/wiki/index.php?page=Asterisk+config+cdr_mysql.conf>.
If using cdr_csv<http://www.voip-info.org/wiki/index.php?page=Asterisk+cdr+csv>,
edit *cdr_csv.c* and (re)compile to enable the user field. This command has
no effect if the user field is not enabled.

See:
http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+SetCDRUserField

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.

Hope the information is helpfull.

On 6/7/06, Tristan <tristan at telemaque.fr> wrote:
>
> Hi,
>
> I have troubles setting the userfield in mysql ( using asterisk 1.2.8 /
> addons 1.2.3 )
> I use this in my dialplan:
> exten => s,n,SetCDRUserField(SOMEVALUE)
>
> I tried also:
> exten => s,n,Set(CDR(userfield)=SOMEVALUE)
>
> But everytime i look at the cdr database the userfield is still empty
>
> Does anyone has a clue on how to  get things working ?
>
> Thanks in advance !
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
Origination that includes real support!
http://www.VoIPStreet.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060607/ead3663f/attachment.htm


More information about the asterisk-users mailing list