[asterisk-users] How to Disable CDR for callfile?

Danny Nicholas danny at debsinc.com
Fri Sep 4 08:17:33 CDT 2009


Can you post the [bridgecall] context so we can see what it is trying to do?

 

  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Faheem
Sent: Friday, September 04, 2009 12:32 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] How to Disable CDR for callfile?

 


yes, callfile work through context. When control is in the dialplan
context/extension/priority, I can enable/disable CDR's. Problem comes when
asterisk dial a call and user is busy or did not answered the call. In this
case a CDR is generated. No CDR should be generated on busy or failed call
attemps? 
How I do it?

CallFile:

Channel: SIP/username
CallerID: callback <100>
MaxRetries: 3
RetryTime: 10
WaitTime: 40
Context: bridgecall
Extension: 12129339037
Set:NoCDR
Priority: 1
Account: 123;

Thanks

M. Faheem



--- On Thu, 9/3/09, Danny Nicholas <danny at debsinc.com> wrote:


From: Danny Nicholas <danny at debsinc.com>
Subject: Re: [asterisk-users] How to Disable CDR for callfile?
To: "'Asterisk Users Mailing List - Non-Commercial Discussion'"
<asterisk-users at lists.digium.com>
Date: Thursday, September 3, 2009, 6:01 PM

Have your callfile work through a context instead of dialing.  The context
can disable CDR.

 

  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Faheem
Sent: Thursday, September 03, 2009 7:57 AM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] How to Disable CDR for callfile?

 


I want to do a callback scenario. Each time asterisk receive a call, it
creates a callfile, sends back the hangup signal and dial back the
extension.
Here the default CDR logging is enabled.
If a dial attempt is failed then a CDR is generated. How I do a trick to
stop CDR logging for all callfiles, without changing the default behaviour
of CDR logging.

I know its NoCDR() function that will disable CDR() logging, But how it will
be done in callfiles ?????

Thanks,

M. Faheem

 

 


-----Inline Attachment Follows-----

_______________________________________________
-- Bandwidth and Colocation Provided by  <http://www.api-digital.com>
http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now:  <http://www.astricon.net> http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
    <http://lists.digium.com/mailman/listinfo/asterisk-users>
http://lists.digium.com/mailman/listinfo/asterisk-users

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090904/0618a278/attachment.htm 


More information about the asterisk-users mailing list