Re: [asterisk-users] log caller hangup events

2014-08-20 Thread Gopalakrishnan N
Logically yes, once the call hangup, the hangup handler will execute.

Regards,


On Mon, Aug 18, 2014 at 7:04 PM, Paul Greenberg p...@greenberg.pro wrote:

  Hi,


  I am mostly concerned with inbound calls.

 Would it work the same?


  Regards,

 Paul
  --
 *From:* asterisk-users-boun...@lists.digium.com 
 asterisk-users-boun...@lists.digium.com on behalf of Gopalakrishnan N 
 gopalakrishnan...@gmail.com
 *Sent:* Monday, August 18, 2014 4:13 AM
 *To:* Asterisk Users Mailing List - Non-Commercial Discussion
 *Subject:* Re: [asterisk-users] log caller hangup events

  Hi,

  You can use Hangup handler. May be this post can you help you,
 http://gblades.blogspot.in/2013/07/how-to-get-sip-response-code-in.html

  Regards


 On Mon, Aug 18, 2014 at 9:45 AM, Paul Greenberg p...@greenberg.pro
 wrote:

  All,


  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.


  Theoretically, I could set up a channel variable and then ...


  Any advice would be most welcome!


  Regards,

 Paul

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

 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 --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

 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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] log caller hangup events

2014-08-18 Thread Gopalakrishnan N
Hi,

You can use Hangup handler. May be this post can you help you,
http://gblades.blogspot.in/2013/07/how-to-get-sip-response-code-in.html

Regards


On Mon, Aug 18, 2014 at 9:45 AM, Paul Greenberg p...@greenberg.pro wrote:

  All,


  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.


  Theoretically, I could set up a channel variable and then ...


  Any advice would be most welcome!


  Regards,

 Paul

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

 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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] log caller hangup events

2014-08-18 Thread Paul Greenberg
Hi,


I am mostly concerned with inbound calls.

Would it work the same?


Regards,

Paul


From: asterisk-users-boun...@lists.digium.com 
asterisk-users-boun...@lists.digium.com on behalf of Gopalakrishnan N 
gopalakrishnan...@gmail.com
Sent: Monday, August 18, 2014 4:13 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] log caller hangup events

Hi,

You can use Hangup handler. May be this post can you help you,
http://gblades.blogspot.in/2013/07/how-to-get-sip-response-code-in.html

Regards


On Mon, Aug 18, 2014 at 9:45 AM, Paul Greenberg 
p...@greenberg.promailto:p...@greenberg.pro wrote:

All,


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.


Theoretically, I could set up a channel variable and then ...


Any advice would be most welcome!


Regards,

Paul

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users