[asterisk-users] Dialed Number missing from the CDR when using callfiles.

Michael Collins mcollins at fcnetwork.com
Fri Dec 29 12:45:30 MST 2006


> The CDR, both the csv file and in MySQL does not contain the dialed
> number (src) in case of a call placed using .call files.
> 
> Is this is Bug ? The cdr should have complete info, what ever the
source
> or method of the call.
> 

I have found this same problem and have not found a solution within
Asterisk.  AFAIK, the CDR subsystem simply does not put the 'dialed
number' in the record.  Not a 'bug' so much as an unfortunate design
choice.  Another issue is that when an auto dial call (i.e. at .call
file or manager interface 'originate' action) fails, the CDR record is
cut BEFORE any dialplan entries are executed, so you can't put this
information into the CDR UserField via the dialplan.

The wiki implies that you can use the local channel to bypass this
limitation.  I've tried it, but I cannot get it to work.  (I always end
up with two channels bridged together when all I want is one channel
dialing out to deliver a message to the called party.)  The wiki stuff
is here:
http://www.voip-info.org/wiki/index.php?page=Asterisk+local+channels

If anyone has figured out how to use the local channel to initiate an
autodial out call, please respond.  I'd love to see how it works.  

-MC


More information about the asterisk-users mailing list