Re: [asterisk-users] Custom header when busy

2015-07-02 Thread Rusty Newton
On Wed, Jul 1, 2015 at 4:46 AM, r...@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.

-- 

Rusty Newton
Digium, Inc. | Community Support Manager445 Jan Davis Drive NW -
Huntsville, AL 35806 - USdirect: +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 list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Custom header when busy

2015-07-02 Thread royj
Is there any chance to create feature request for that useful functionality? 02.07.2015, 14:03, "Rusty Newton" rnew...@digium.com:On Wed, Jul 1, 2015 at 4:46 AM, r...@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.  -- 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/helloasterisk-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 list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Custom header when busy

2015-07-02 Thread jg


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 webaccounts...@jgoettgens.de:

Is there any chance to create feature request for that useful functionality?
02.07.2015, 14:03, Rusty Newton rnew...@digium.com 
mailto:rnew...@digium.com:

On Wed, Jul 1, 2015 at 4:46 AM, r...@yandex.ru mailto:r...@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
-- 
_
-- 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

Re: [asterisk-users] Custom header when busy

2015-07-02 Thread royj
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" webaccounts...@jgoettgens.de: Is there any chance to create feature request for that useful functionality? 02.07.2015, 14:03, "Rusty Newton" rnew...@digium.com:On Wed, Jul 1, 2015 at 4:46 AM, r...@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.  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/helloasterisk-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 list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Custom header when busy

2015-07-02 Thread jg



Is there any chance to create feature request for that useful functionality?
02.07.2015, 14:03, Rusty Newton rnew...@digium.com:

On Wed, Jul 1, 2015 at 4:46 AM, r...@yandex.ru mailto:r...@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.


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

Re: [asterisk-users] Custom header when busy

2015-07-02 Thread royj
* call-limit on PBX is triggered 02.07.2015, 15:49, "r...@yandex.ru" r...@yandex.ru: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" webaccounts...@jgoettgens.de: Is there any chance to create feature request for that useful functionality? 02.07.2015, 14:03, "Rusty Newton" rnew...@digium.com:On Wed, Jul 1, 2015 at 4:46 AM, r...@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.  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/helloasterisk-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/helloasterisk-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 list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Custom header when busy$

2015-07-02 Thread Duc Giap Van
  SentfrommyBlackBerry10smartphone.From: r...@yandex.ru‎Sent: Thursday, July 2, 2015 7:53 PMTo: Asterisk Users Mailing List - Non-Commercial DiscussionReply To: Asterisk Users Mailing List - Non-Commercial DiscussionSubject: Re: [asterisk-users] Custom header when busy* call-limit on PBX is triggered02.07.2015, 15:49, "r...@yandex.ru" r...@yandex.ru: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 affectperformance.02.07.2015, 15:31, "jg" webaccounts...@jgoettgens.de:Is there any chance to create feature request for that useful functionality?02.07.2015, 14:03, "Rusty Newton" rnew...@digium.com:On Wed, Jul 1, 2015 at 4:46 AM, r...@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.  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/helloasterisk-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/helloasterisk-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 list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Custom header when busy

2015-07-01 Thread royj
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