[Asterisk-Users] Set(CDR(userfield)) Trouble
Tristan
tristan at telemaque.fr
Wed Jun 7 10:06:42 MST 2006
Shame on me, that was my trouble, seems like I didn't read enough...
Thanks a lot !
Lewis Agosta a écrit :
> 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
> <mailto: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
> <http://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
> ------------------------------------------------------------------------
>
> _______________________________________________
> --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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060607/c666cdc6/attachment.htm
More information about the asterisk-users
mailing list