Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CDR Problem In Asterisk

Status
Not open for further replies.

sedsedsedsed

Programmer
Mar 11, 2010
1
TR
Hi, I have a problem on setting the CDR(userfield) it is always empty what ever i did, not work.

Sample usage is :

[something]
exten => s,1,AGI(dial.php|someparameter,someotherparameter)
exten => s,n,Set(CDR(userfield)=Value)
exten => s,n,Hangup

Also in cdr_mysql.conf userfield has been set to '1'

Besides this i think the duration and billsec values in the cdr table is not correct.

Any ideas?
 
yes, it looks correct, but obviously it doesn't work for him... so let's try to find out what is going on..

sed, give us more information to troubleshoot:

* which version of asterisk do you use ? (older version use SetCDRUserField)

* which value(s) are you trying to set the userfield to ? did you try several variations (characters only, small text, no special characters, ...)

* are all the other fields of the CDR working fine ?

--------------------
Pierre Martin
Information Technology Experts Alliance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top