Thanks for the tip. Our goal is to know that call-limit is triggered. And later analyze this
info, maybe do some action.
Yes, we can parse CDRs or execute AGI script but we do not want inmplement this logic on
Asterisk because it can affect performance.
02.07.2015, 15:31, "jg" <[email protected]>:
Is there any chance to create feature request for that useful functionality?
02.07.2015, 14:03, "Rusty Newton" <[email protected]>
<mailto:[email protected]>:
On Wed, Jul 1, 2015 at 4:46 AM, <[email protected] <mailto:[email protected]>> wrote:
Hi, all
Is there someway ability to insert custom Header to "SIP 486" message, when
HANGUP
application is invoked?
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.
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.
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.
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.
jg
--
_____________________________________________________________________
-- 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