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

Michael Collins mcollins at fcnetwork.com
Tue Jan 2 23:27:03 MST 2007



> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
> bounces at lists.digium.com] 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


More information about the asterisk-users mailing list