Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Brilliant! Your site is great...and saving me hours of time at work and making my boss think I am brilliant too! I also picked up on a thread that will potentially save us a lot of money in the future..."

Geography

Where in the world do Tek-Tips members come from?
sedsedsedsed (Programmer)
11 Mar 10 8:35
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?
busster (TechnicalUser)
11 Mar 10 10:30
This looks correct to me.
itea (IS/IT--Management)
10 Apr 10 0:25
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
www.ocitea.com

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close