Sorry, I am not following:<div><br></div><div><b><i>&quot;</i></b><span class="Apple-style-span" style="font-family: Verdana; border-collapse: collapse; "><b><i>read the value of var ${HANGUPCAUSE} next line to dial command.&quot;</i></b></span></div>

<div><font class="Apple-style-span" face="Verdana"><span class="Apple-style-span" style="border-collapse: collapse;"><b><i><br></i></b></span></font></div><div><font class="Apple-style-span" face="Verdana"><span class="Apple-style-span" style="border-collapse: collapse;"><b><i><span class="Apple-style-span" style="font-weight: normal; font-style: normal;">Where is that value? Next to dial you mean right when the call was placed? or check next few lines to find HANGUP cause?</span></i></b></span></font></div>

<div><font class="Apple-style-span" face="Verdana"><span class="Apple-style-span" style="border-collapse: collapse;"><b><i><span class="Apple-style-span" style="font-style: normal; font-weight: normal;"><br></span></i></b></span></font></div>

<div><font class="Apple-style-span" face="Verdana"><span class="Apple-style-span" style="border-collapse: collapse;"><b><i><span class="Apple-style-span" style="font-style: normal; font-weight: normal;">Note: This is using ZAP (analogue) and not PRI.</span></i></b></span></font></div>

<div><font class="Apple-style-span" face="Verdana"><span class="Apple-style-span" style="border-collapse: collapse;"><b><i><span class="Apple-style-span" style="font-style: normal; font-weight: normal;"><br></span></i></b></span></font></div>

<div><font class="Apple-style-span" face="Verdana"><span class="Apple-style-span" style="border-collapse: collapse;"><b><i><span class="Apple-style-span" style="font-style: normal; font-weight: normal;">Thanks,</span></i></b></span></font></div>

<div><font class="Apple-style-span" face="Verdana"><span class="Apple-style-span" style="border-collapse: collapse;"><b><i><span class="Apple-style-span" style="font-style: normal; font-weight: normal;">Bruce<br></span></i></b></span></font><br>

<div class="gmail_quote">On Wed, Aug 11, 2010 at 12:33 AM, Faisal Hanif <span dir="ltr">&lt;<a href="mailto:faisal@vopium.com">faisal@vopium.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">



  
    
  
  <div bgcolor="#ffffff" text="#000000">
    <font size="-1"><font face="Verdana">read the value of var
        ${HANGUPCAUSE} next line to dial command.</font></font><br>
    <div>
      
      
      <p style="font-family:Verdana" class="MsoNormal"><small><small><small><small><small><small><small><small><span style="font-size:10pt">Regards,</span></small></small></small></small></small></small></small></small></p>


      <p style="font-family:Verdana" class="MsoNormal"><small><small><small><small><small><small><small><small><span style="font-size:10pt">Faisal
                          Hanif<br>
                          <i>VoIP Manager<br>
                          </i><b><span style="color:rgb(0, 127, 0)"></span></b></span></small></small></small></small></small></small></small></small>Vopium
        A/S<br>
      </p>
    </div>
    On 8/10/2010 9:51 PM, bruce bruce wrote:
    <blockquote type="cite">
      <p>Hi Everyone</p>
      <p>Asterisk 1.4.33 is running with Sangoma/Dahdi for analogue
        lines to Bell Canada.</p>
      <p>User claims that call hangup without any interferance to the
        phone set.</p>
      <p>Is there ANYWAY to find out which party hang-up the call or if
        the call was cut-off due to other reasons?</p>
      <p>I checked the <strong>&quot;asteriskcdrb&quot;</strong> table and it&#39;s
        pretty much useless in this case as it only logs the duration
        and other properties but not cause of the Hangup.</p>
      <p><br>
      </p>
      <p> /var/log/asterisk/full</p>
      <p>[Jul 10 10:37:02] VERBOSE[29366] logger.c:   == Manager &#39;admin&#39;
        logged off from 127.0.0.1<br>
        [Jul 10 10:37:09] VERBOSE[29348] logger.c:     -- Executing
        [h@macro-dialout-trunk:1] Macro(&quot;SIP/1007-0000069a&quot;,
        &quot;hangupcall|&quot;) in new stack<br>
        [Jul 10 10:37:09] VERBOSE[29348] logger.c:     -- Executing
        [s@macro-hangupcall:1] GotoIf(&quot;SIP/1007-0000069a&quot;, &quot;1?skiprg&quot;)
        in new stack<br>
        [Jul 10 10:37:09] VERBOSE[29348] logger.c:     -- Goto
        (macro-hangupcall,s,4)</p>
      <p><br>
      </p>
      <p>Thanks,</p>
      <p>Bruce</p>
    </blockquote>
  </div>

<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" 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" 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" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div>