<div dir="ltr">Logically yes, once the call hangup, the hangup handler will execute. <div><br></div><div>Regards,</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 18, 2014 at 7:04 PM, Paul Greenberg <span dir="ltr"><<a href="mailto:paul@greenberg.pro" target="_blank">paul@greenberg.pro</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr" style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi,</p>
<p><br>
</p>
<p>I am mostly concerned with inbound calls.</p>
<p>Would it work the same?</p>
<p><br>
</p>
<p>Regards,</p>
<p>Paul<br>
</p>
<div style="color:rgb(33,33,33)">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> <a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a> <<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>> on behalf of Gopalakrishnan N <<a href="mailto:gopalakrishnan.an@gmail.com" target="_blank">gopalakrishnan.an@gmail.com</a>><br>
<b>Sent:</b> Monday, August 18, 2014 4:13 AM<br>
<b>To:</b> Asterisk Users Mailing List - Non-Commercial Discussion<br>
<b>Subject:</b> Re: [asterisk-users] log caller hangup events</font>
<div> </div>
</div><div><div class="h5">
<div>
<div dir="ltr">Hi,
<div><br>
</div>
<div>You can use Hangup handler. May be this post can you help you,</div>
<div><a href="http://gblades.blogspot.in/2013/07/how-to-get-sip-response-code-in.html" target="_blank">http://gblades.blogspot.in/2013/07/how-to-get-sip-response-code-in.html</a><br>
</div>
<div><br>
</div>
<div>Regards</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Mon, Aug 18, 2014 at 9:45 AM, Paul Greenberg <span dir="ltr">
<<a href="mailto:paul@greenberg.pro" target="_blank">paul@greenberg.pro</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr" style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>All,</p>
<p><br>
</p>
<p>I would like to log a message whenever a party hangs up a call or session, i.e. no Dial(), user drops off a menu. The message should include the length of the user's session, the session's start time, and called ID.</p>
<p><br>
</p>
<p>Theoretically, I could set up a channel variable and then ... </p>
<p><br>
</p>
<p></p>
Any advice would be most welcome!
<p><br>
</p>
<p>Regards,</p>
<p>Paul<br>
</p>
</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>
</div>
</div></div></div>
</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>