[asterisk-users] Custom header when busy
jg
webaccounts173 at jgoettgens.de
Thu Jul 2 07:55:50 CDT 2015
> 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" <webaccounts173 at jgoettgens.de>:
>>> Is there any chance to create feature request for that useful functionality?
>>> 02.07.2015, 14:03, "Rusty Newton" <rnewton at digium.com> <mailto:rnewton at digium.com>:
>>>> On Wed, Jul 1, 2015 at 4:46 AM, <royj at yandex.ru <mailto:royj at yandex.ru>> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150702/166fe832/attachment.html>
More information about the asterisk-users
mailing list