Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Custom header when busy


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
royj at yandex.ru
Guest





PostPosted: Wed Jul 01, 2015 4:49 am    Post subject: [asterisk-users] Custom header when busy Reply with quote

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.

--
_____________________________________________________________________
-- 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
Back to top
rnewton at digium.com
Guest





PostPosted: Thu Jul 02, 2015 6:03 am    Post subject: [asterisk-users] Custom header when busy Reply with quote

On Wed, Jul 1, 2015 at 4:46 AM, <royj@yandex.ru (royj@yandex.ru)> wrote:
Quote:
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. 



--
Quote:
Rusty Newton
Digium, Inc. | Community Support Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
direct: +1 256 428 6200

Check us out at: http://digium.com & http://asterisk.org
Back to top
royj at yandex.ru
Guest





PostPosted: Thu Jul 02, 2015 7:06 am    Post subject: [asterisk-users] Custom header when busy Reply with quote

Is there any chance to create feature request for that useful functionality?
š
02.07.2015, 14:03, "Rusty Newton" <rnewton@digium.com>:
Quote:
On Wed, Jul 1, 2015 at 4:46 AM, <royj@yandex.ru (royj@yandex.ru)> wrote:
Quote:
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.š

š
--
Quote:
Rusty Newton
Digium, Inc. | Community Support Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
direct: +1 256 428 6200

Check us out at: http://digium.com & http://asterisk.org




,-- _____________________________________________________________________-- 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 listTo UNSUBSCRIBE or update options visit:šššhttp://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
webaccounts173 at jgoe...
Guest





PostPosted: Thu Jul 02, 2015 7:32 am    Post subject: [asterisk-users] Custom header when busy Reply with quote

Quote:
Is there any chance to create feature request for that useful functionality?
 
02.07.2015, 14:03, "Rusty Newton" <rnewton@digium.com> (rnewton@digium.com):
Quote:
On Wed, Jul 1, 2015 at 4:46 AM, <royj@yandex.ru (royj@yandex.ru)> wrote:
Quote:
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.

jg
Back to top
royj at yandex.ru
Guest





PostPosted: Thu Jul 02, 2015 7:50 am    Post subject: [asterisk-users] Custom header when busy Reply with quote

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@jgoettgens.de>:
Quote:
š
Quote:
Is there any chance to create feature request for that useful functionality?
š
02.07.2015, 14:03, "Rusty Newton" <rnewton@digium.com> (rnewton@digium.com):
Quote:
On Wed, Jul 1, 2015 at 4:46 AM, <royj@yandex.ru (royj@yandex.ru)> wrote:
Quote:
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. 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 listTo UNSUBSCRIBE or update options visit:šššhttp://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
royj at yandex.ru
Guest





PostPosted: Thu Jul 02, 2015 7:53 am    Post subject: [asterisk-users] Custom header when busy Reply with quote

* call-limit on PBX is triggered
š
02.07.2015, 15:49, "royj@yandex.ru" <royj@yandex.ru>:
Quote:
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@jgoettgens.de (webaccounts173@jgoettgens.de)>:
Quote:
š
Quote:
Is there any chance to create feature request for that useful functionality?
š
02.07.2015, 14:03, "Rusty Newton" <rnewton@digium.com> (rnewton@digium.com):
Quote:
On Wed, Jul 1, 2015 at 4:46 AM, <royj@yandex.ru (royj@yandex.ru)> wrote:
Quote:
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. 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 listTo UNSUBSCRIBE or update options visit:šššhttp://lists.digium.com/mailman/listinfo/asterisk-users
,-- _____________________________________________________________________-- 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 listTo UNSUBSCRIBE or update options visit:šššhttp://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
webaccounts173 at jgoe...
Guest





PostPosted: Thu Jul 02, 2015 7:56 am    Post subject: [asterisk-users] Custom header when busy Reply with quote

Quote:
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@jgoettgens.de> (webaccounts173@jgoettgens.de):
Quote:
 
Quote:
Is there any chance to create feature request for that useful functionality?
 
02.07.2015, 14:03, "Rusty Newton" <rnewton@digium.com> (rnewton@digium.com):
Quote:
On Wed, Jul 1, 2015 at 4:46 AM, <royj@yandex.ru (royj@yandex.ru)> wrote:
Quote:
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services