> -----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
