Re: [asterisk-users] How to Disable CDR for callfile?
Can you post the [bridgecall] context so we can see what it is trying to do? _ From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@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 da...@debsinc.com wrote: From: Danny Nicholas da...@debsinc.com Subject: Re: [asterisk-users] How to Disable CDR for callfile? To: 'Asterisk Users Mailing List - Non-Commercial Discussion' asterisk-users@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-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Faheem Sent: Thursday, September 03, 2009 7:57 AM To: asterisk-users@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 ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to Disable CDR for callfile?
You can do this through your dial plan by using the failed extension within your context. Add this to your dial plan: Exten = failed,1,NoCDR() When using a call file and the call fails, the call will jump to the failed extension within your dial plan. Any post-processing that you want to do can be done through that extension. Dave ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to Disable CDR for callfile?
4 sep 2009 kl. 16.05 skrev David Budny: You can do this through your dial plan by using the “failed” extension within your context. Add this to your dial plan: Exten = failed,1,NoCDR() When using a call file and the call fails, the call will jump to the failed extension within your dial plan. Any post-processing that you want to do can be done through that extension. Thanks. I wasn't aware of that extension and can't find it documented in either sample.call or any of the doc/ files. Sloppy documentation team ;-) I guess we need to document all of this pre-defined extensions, the one-character extens like s, h, t, i and words like fax, talk and failed. There's few of them around now, some depending upon build-in functionality and some used by apps, like the voicemail admin exits. /O ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[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 ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to Disable CDR for callfile?
Have your callfile work through a context instead of dialing. The context can disable CDR. _ From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Faheem Sent: Thursday, September 03, 2009 7:57 AM To: asterisk-users@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 ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
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 da...@debsinc.com wrote: From: Danny Nicholas da...@debsinc.com Subject: Re: [asterisk-users] How to Disable CDR for callfile? To: 'Asterisk Users Mailing List - Non-Commercial Discussion' asterisk-users@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-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Faheem Sent: Thursday, September 03, 2009 7:57 AM To: asterisk-users@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 -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users