<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>Hello Doug,<br><br>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?<br><span><br><span name="x"></span><div><div><font style="font-weight: bold;" size="2"><span style="font-family: arial,helvetica,sans-serif;">Luiz Gustavo Chiaretto</span></font><br><img src="http://freeddom.com/images/signature/signature.jpg"><br></div></div><span name="x"></span><br></span><b>From: </b>"Doug Lytle" <support@drdos.info><br><b>To: </b>"Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com><br><b>Sent: </b>Friday, February 25, 2011 10:06:00 AM<br><b>Subject: </b>Re: [asterisk-users] Handle in dialplan user disconnection<br><br>Sidarta Aguiar de Oliveira wrote:<br>> only need identify when user's hangup in a Read/Background/Dial <br>> application.<br><br>Set a flag for those cases and then trap it in the H extension<br><br>Doug<br><br><br>-- <br><br>Ben Franklin quote:<br><br>"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."<br><br><br>--<br>_____________________________________________________________________<br>-- Bandwidth and Colocation Provided by http://www.api-digital.com --<br>New to Asterisk? Join us for a live introductory webinar every Thurs:<br> http://www.asterisk.org/hello<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> http://lists.digium.com/mailman/listinfo/asterisk-users<br></div></body></html>