RE: [asterisk-users] Dialed Number missing from the CDR when using callfiles.
-Original Message- From: [EMAIL PROTECTED] [mailto:asterisk-users- [EMAIL PROTECTED] On Behalf Of Richard Lyman Sent: Saturday, December 30, 2006 3:53 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Dialed Number missing from the CDR when usingcallfiles. *snipped Second, when using a .call file (or the manager interface's Originate action) the 'Dial' action is executed BEFORE entry into the dialplan, so if it fails, nothing in your dialplan is executed and you get a somewhat *snipped not *exactly* true. you need to add ;this extension MUST be here for OriginateFailure triggers exten = failed,1,Hangup to your context used for *send too after connect* The one caveat here is that * actually cuts two CDR's for the call. This isn't normally a problem unless half the data you want is in CDR one and half is in the other! :) I have done some scripting to extract the relevant data from each record and condense it back down to one - a small price to pay to have the functionality that I really need. -MC ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [asterisk-users] Dialed Number missing from the CDR when using callfiles.
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 ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users