<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><span style="font-family: courier,monaco,monospace,sans-serif;">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?</span><span style="font-family: courier,monaco,monospace,sans-serif;"> <br>How I do it?</span><br style="font-family: courier,monaco,monospace,sans-serif;"><br>CallFile:<br><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">Channel: SIP/username</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">CallerID: callback <100></span><br
style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">MaxRetries: 3</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">RetryTime: 10</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">WaitTime: 40</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">Context: bridgecall</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">Extension: 12129339037</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">Set:NoCDR</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span
style="font-family: courier,monaco,monospace,sans-serif;">Priority: 1</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">Account: 123;</span><br style="font-family: courier,monaco,monospace,sans-serif;"><br style="font-family: courier,monaco,monospace,sans-serif;">Thanks<br style="font-family: courier,monaco,monospace,sans-serif;"><div style="font-family: courier,monaco,monospace,sans-serif;"><div>M. Faheem</div></div><br><br>--- On <b>Thu, 9/3/09, Danny Nicholas <i><danny@debsinc.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Danny Nicholas <danny@debsinc.com><br>Subject: Re: [asterisk-users] How to Disable CDR for callfile?<br>To: "'Asterisk Users Mailing List - Non-Commercial Discussion'" <asterisk-users@lists.digium.com><br>Date: Thursday, September 3, 2009, 6:01
PM<br><br><div id="yiv1050023983">
<style>
<!--
#yiv1050023983
_filtered #yiv1050023983 {font-family:Courier;panose-1:2 7 4 9 2 2 5 2 4 4;}
_filtered #yiv1050023983 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
#yiv1050023983
#yiv1050023983 p.MsoNormal, #yiv1050023983 li.MsoNormal, #yiv1050023983 div.MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman";}
#yiv1050023983 a:link, #yiv1050023983 span.MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv1050023983 a:visited, #yiv1050023983 span.MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
#yiv1050023983 span.EmailStyle17
        {font-family:Arial;color:navy;}
_filtered #yiv1050023983 {margin:1.0in 1.25in 1.0in 1.25in;}
#yiv1050023983 div.Section1
        {}
-->
</style>
<div class="Section1">
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Have your callfile work through a context
instead of dialing. The context can disable CDR.</span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<div>
<div class="MsoNormal" style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">
<hr tabindex="-1" align="center" size="2" width="100%">
</span></font></div>
<p class="MsoNormal"><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;"> asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <b><span style="font-weight: bold;">On Behalf Of </span></b>Faheem<br>
<b><span style="font-weight: bold;">Sent:</span></b> Thursday, September 03, 2009
7:57 AM<br>
<b><span style="font-weight: bold;">To:</span></b>
asterisk-users@lists.digium.com<br>
<b><span style="font-weight: bold;">Subject:</span></b> [asterisk-users] How to
Disable CDR for callfile?</span></font></p>
</div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<table class="MsoNormalTable" border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td style="padding: 0in;" valign="top">
<p class="MsoNormal"><font face="Courier" size="3"><span style="font-size: 12pt; font-family: Courier;">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.<br>
Here the default CDR logging is enabled.<br>
If a dial attempt is failed then a CDR is generated.</span></font> <font face="Courier"><span style="font-family: Courier;">How I do a trick to stop CDR
logging for all callfiles, without changing the default behaviour of CDR
logging.<br>
<br>
I know its NoCDR() function that will disable CDR() logging, But how it will<br>
be done in callfiles ?????<br>
<br>
Thanks,</span></font></p>
<div>
<div>
<p class="MsoNormal"><font face="Courier" size="3"><span style="font-size: 12pt; font-family: Courier;">M. Faheem</span></font></p>
</div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
</div>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
</div>
</div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_______________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br><br>AstriCon 2009 - October 13 - 15 Phoenix, Arizona<br>Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></div></blockquote></td></tr></table><br>