<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
From the hangup handler specification:<br>
<br>
<span style="color: rgb(51, 51, 51); font-family: "Helvetica
Neue", Helvetica, Arial, sans-serif; font-size: 14px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: 400; letter-spacing:
normal; orphans: 2; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial; display: inline
!important; float: none;">Hangup handlers are an alternative to
the h extension. They can be used in addition to the h extension.
The idea is to attach a Gosub routine to a channel that will
execute when the call hangs up. Whereas which h extension gets
executed depends on the location of dialplan execution when the
call hangs up, hangup handlers are attached to the call channel.
You can attach multiple handlers that will execute in the order of
most recently added first.</span><br>
<br>
<div class="moz-cite-prefix">On 12/26/2017 04:43 PM, Steve Edwards
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:alpine.DEB.2.20.1712261343400.14912@ws.sedwards.com">On
Tue, 26 Dec 2017, Eric Wieling wrote:
<br>
<br>
<blockquote type="cite">Don't use an 'h' extension, use a hangup
handler.
<br>
</blockquote>
<br>
Why?
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</body>
</html>