<div dir="ltr">I dont have this info in my cdr.conf.sample<div><br></div><div>Nor do I think this is what I need.</div><div><br></div><div>I believe that will log unanswered calls inside a dialplan. Meaning, if I call directly from my extension to another extension/number, if they do not pick up, it will log; as it currently does now.</div><div><br></div><div>With call files, it is not logging. There is no execution of a dialplan inside my assigned context.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 31, 2015 at 9:29 AM, Tech Support <span dir="ltr"><<a href="mailto:asterisk@voipbusiness.us" target="_blank">asterisk@voipbusiness.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Here you go… Found this in cdr.conf.sample.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">; Define whether or not to log unanswered calls. Setting this to "yes" will<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">; report every attempt to ring a phone in dialing attempts, when it was not<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">; answered. For example, if you try to dial 3 extensions, and this option is "yes",<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">; you will get 3 CDR's, one for each phone that was rung. Default is "no". Some<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">; find this information horribly useless. Others find it very valuable. Note, in "yes"<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">; mode, you will see one CDR, with one of the call targets on one side, and the originating<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">; channel on the other, and then one CDR for each channel attempted. This may seem<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">; redundant, but cannot be helped.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">; In brief, this option controls the reporting of unanswered calls which only have an A<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">; party. Calls which get offered to an outgoing line, but are unanswered, are still<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">; logged, and that is the intended behaviour. (It also results in some B side CDRs being<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">; output, as they have the B side channel as their source channel, and no destination<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">; channel.)<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">;unanswered = no<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Regards;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">John<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] <b>On Behalf Of </b>er ic<br><b>Sent:</b> Thursday, December 31, 2015 7:05 AM<br><b>To:</b> Asterisk Users Mailing List - Non-Commercial Discussion<br><b>Subject:</b> [asterisk-users] Logging to CDR after call file Not Answered<u></u><u></u></span></p></div><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal" style="text-align:justify">If the end user does not pick up the phone, is there a way to log to the CDR about the call file failing?<u></u><u></u></p><div><p class="MsoNormal" style="text-align:justify"><u></u> <u></u></p></div><div><p class="MsoNormal" style="text-align:justify"><u></u> <u></u></p></div><div><p class="MsoNormal" style="text-align:justify">/var/log/asterisk/messages does show a NOTICE message<u></u><u></u></p></div><div><div><p class="MsoNormal" style="text-align:justify">[2015-12-31 06:58:46] NOTICE[28059] pbx_spool.c: Call failed to go through, reason (3) Remote end Ringing<u></u><u></u></p></div><div><p class="MsoNormal" style="text-align:justify">[2015-12-31 06:58:46] NOTICE[28059] pbx_spool.c: Queued call to SIP/102 expired without completion after 0 attempts<u></u><u></u></p></div></div><div><p class="MsoNormal" style="text-align:justify"><u></u> <u></u></p></div><div><p class="MsoNormal" style="text-align:justify">but I would rather not have to run a script and search the call log for those two strings, extrapolate the reason code and then compare it to my custom php/database driven scheduler. <u></u><u></u></p></div><div><p class="MsoNormal" style="text-align:justify"><u></u> <u></u></p></div><div><p class="MsoNormal" style="text-align:justify">Is there a way to have it logged to the server?<u></u><u></u></p></div><div><p class="MsoNormal" style="text-align:justify"><u></u> <u></u></p></div><div><p class="MsoNormal" style="text-align:justify">Also, both chanunavail attempts and NA attempts both register the status as expried. Is this correct or should one of them be failed? I am trying to be able to distinguish the two conditions by looking at the archived message.<u></u><u></u></p></div><div><p class="MsoNormal" style="text-align:justify"><u></u> <u></u></p></div><div><p class="MsoNormal" style="text-align:justify">Thanks,<u></u><u></u></p></div><div><p class="MsoNormal" style="text-align:justify">--E<u></u><u></u></p></div></div></div></div></div></div><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" rel="noreferrer" target="_blank">http://www.asterisk.org/hello</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" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div>