[asterisk-users] question about CDR command

William Piper william.piper at gmail.com
Thu Oct 19 04:54:58 MST 2006


In cdr_mysql.conf add "userfield=1" under the globals setting.

bp


On 10/18/06, unplug <maillisting at gmail.com> wrote:
>
> I want to set some custom data in the field of userfield in table CDR
> as following.
> exten => s,19,Set(CDR(userfield)=1234)
> exten => s,20,Dial(SIP/1234)
>
> However, the userfield doesn't get update after making the call.
> After that, I relocate the command as following.
>
> exten => s,19,Dial(SIP/1234)
> exten => s,20,Set(CDR(userfield)=1234)
>
> The userfield doens't get update at all.  I don't know why the field
> can't update after issuing the command.  Anyone can help?
> _______________________________________________
> --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/20061019/2a15cb17/attachment.htm


More information about the asterisk-users mailing list