<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><br>
</div>
<blockquote cite="mid:1729361435841375@web29j.yandex.ru" type="cite">
<div>Thanks for the tip. Our goal is to know that call-limit is
triggered. And later analyze this info, maybe do some action.</div>
<div>Yes, we can parse CDRs or execute AGI script but we do not
want inmplement this logic on Asterisk because it can affect <span>performance.</span></div>
<div> </div>
<div>02.07.2015, 15:31, "jg" <a class="moz-txt-link-rfc2396E" href="mailto:webaccounts173@jgoettgens.de"><webaccounts173@jgoettgens.de></a>:</div>
<blockquote type="cite">
<div bgcolor="#FFFFFF">
<div> </div>
<blockquote cite="mid:2024241435838705@web8m.yandex.ru"
type="cite">
<div>Is there any chance to create feature request for that
useful functionality?</div>
<div> </div>
<div>02.07.2015, 14:03, "Rusty Newton" <a
moz-do-not-send="true" href="mailto:rnewton@digium.com"><rnewton@digium.com></a>:</div>
<blockquote type="cite">
<div>
<div>
<div>On Wed, Jul 1, 2015 at 4:46 AM, <span><<a
moz-do-not-send="true"
href="mailto:royj@yandex.ru" target="_blank">royj@yandex.ru</a>></span>
wrote:<br>
<blockquote style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:#cccccc;border-left-style:solid;padding-left:1ex;">Hi,
all<br>
<br>
Is there someway ability to insert custom Header
to "SIP 486" message, when HANGUP application is
invoked?<br>
<br>
Our use case is to set that Header, when
call-limit is reached, to analyze elsewhere, but
we do not want to set some custom causecode in
HANGUP application because this can confuse a
calling equipment.</blockquote>
<div> </div>
<div>I only know of the SIPAddHeader application
which lets you add headers when used before Dial,
so I don't think you can do this currently. </div>
</div>
<div> </div>
</div>
</div>
</blockquote>
</blockquote>
I think that Asterisk cannot handle this in general. There
might be further call-limit restrictions coming from the
individual settings of your phones. I think the easiest way
for inhouse calls is to use Action URLs (if supported by the
phone) and setup a a finite state machine externally to handle
your needs.<br>
</div>
</blockquote>
</blockquote>
CDRs also work, but you have to do a lot more because you need to
evaluate the time information for ringing, talking, simultaneous
calls, etc. A small state machine is easier to handle. I do this
kind of stuff when I have to install new boxes to get an overview of
various statistics.<br>
<br>
jg<br>
</body>
</html>