[Home]

Summary:ASTERISK-07713: Can't set CDR userfiled
Reporter:Badalian Vyacheslav (slavon)Labels:
Date Opened:2006-09-10 14:22:40Date Closed:2011-06-07 14:08:01
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:http://www.voip-info.org/wiki-Asterisk+cdr+mysql
http://www.voip-info.org/wiki/index.php?page=Asterisk+func+cdr

extern => _X.,1,Set(CDR(userfield)=+7495${EXTEN})
...

Bug:
I try to set userfield and asterisk not say any errors, but in mysql table userfield is clean.

Feature request:
I also try set dst - but it readonly. I need to correct cdr value in fly.

And when i create "call file" i can billing only context side, but first call go to Channel side. But if i need to call system to mobile first and only then to extension? And how billing that? I use _X. in callback extension, but i think need Direction variable.

Channel: SIP/00007495${cid}@gldn-trunk
MaxRetries: 100
RetryTime: 15
WaitTime: 60
Context: callback
Extension: $cid
Priority: 1
Account: callback
Comments:By: Matt Riddell (zx81) 2006-09-11 03:11:28

I'd say that this is a configuration issue.

Do you have userfield=1 in cdr_mysql.conf?

For your other problem use the local channel.

Ask in Asterisk-Users mailing list.

This is for bugs, not for support.

By: Serge Vecher (serge-v) 2006-09-13 09:40:41

Slavon: you have been asked in 7457 not to use the bug-tracker as a support forum. This is your second warning ...