Hello Doug, 

I've tried to use the 'hangupcause' variable like flag but in the both of cases 
(when asterisk hangs up and the called party hangs up) the variable have the 
value 16 (normal clearing). Theres another variable that can i use for this 
purpose? 



Luiz Gustavo Chiaretto 


From: "Doug Lytle" <[email protected]> 
To: "Asterisk Users Mailing List - Non-Commercial Discussion" 
<[email protected]> 
Sent: Friday, February 25, 2011 10:06:00 AM 
Subject: Re: [asterisk-users] Handle in dialplan user disconnection 

Sidarta Aguiar de Oliveira wrote: 
> only need identify when user's hangup in a Read/Background/Dial 
> application. 

Set a flag for those cases and then trap it in the H extension 

Doug 


-- 

Ben Franklin quote: 

"Those who would give up Essential Liberty to purchase a little Temporary 
Safety, deserve neither Liberty nor Safety." 


-- 
_____________________________________________________________________ 
-- 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

Reply via email to