In my asterisk dial plan I call:
AGI:
Console:
AGI Script Executing Application: (Set(CDR(userfield)=0.014)) Options: ()
May 22 14:30:57 WARNING[31710]: res_agi.c:1101 handle_exec: Could not find application (Set(CDR(userfield)=0.014))
I also tried:
AGI:
Console:
-- AGI Script Executing Application: (SetCDRUserfield) Options: ((0.014))[/code]
But in the associated CDR record this value never appears.
I also tried from the dialplan and saw this in the console:
[code] -- Executing Set("SIP/david-work-006f0140", "CDR(userfield)=8675309") in new stack
I use cdr_odbc to send the data into the database. In the database the column is called ‘userfield’. I use the database mysql for tracking my CDR. (Since I am not sending bills to anyone, this is within the terms of use).
According to the message when I log into asterisk, I have 1.2:
Running a version from debian:
Package: asterisk
Versions:
1:1.2.13~dfsg-2(/var/lib/apt/lists/ftp.debian.org_debian_dists_etch_main_binary-amd64_Packages)(/var/lib/dpkg/status)
Reverse Depends:
siproxd,asterisk
destar,asterisk 1.2.13
asterisk-web-vmail,asterisk
asterisk-sounds-main,asterisk 0.4.0-5
asterisk-sounds-main,asterisk 0.1.12-3
asterisk-sounds-main,asterisk
asterisk-prompt-se,asterisk
asterisk-prompt-it,asterisk
asterisk-prompt-fr,asterisk
asterisk-prompt-es-co,asterisk
asterisk-prompt-de,asterisk
asterisk-oh323,asterisk 1.2
asterisk-h323,asterisk 1:1.0.2-2
asterisk-h323,asterisk
asterisk-doc,asterisk 0.1.12-3
asterisk-doc,asterisk 0.1.12-3
asterisk-doc,asterisk
asterisk-dev,asterisk 0.1.12-3
asterisk-dev,asterisk 0.1.12-3
asterisk-dev,asterisk
asterisk-config,asterisk 1:1.0.2-2
asterisk-config,asterisk
asterisk-classic,asterisk 1:1.2.13~dfsg-2
asterisk-chan-capi,asterisk
asterisk-bristuff,asterisk 1:1.2.13~dfsg-2
Dependencies:
1:1.2.13~dfsg-2 - asterisk-classic (18 1:1.2.13~dfsg-2) asterisk-bristuff (2 1:1.2.13~dfsg-2) adduser (2 3.63) gnomemeeting (0 (null)) ekiga (0 (null)) ohphone (0 (null)) kphone (0 (null)) asterisk-doc (0 (null)) asterisk-dev (0 (null)) asterisk-rate-engine (0 (null)) asterisk-oh323 (1 0.6.6pre3-3)
Provides:
1:1.2.13~dfsg-2 -
Reverse Provides:
Why is my 0.014 number not being added with the CDR record?
Thanks,
David Lublink