[asterisk-bugs] [Asterisk 0012544]: Congestion feature request

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Apr 30 01:36:58 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12544 
====================================================================== 
Reported By:                kactus
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12544
Category:                   Channels/NewFeature
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.0-beta7.1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             04-28-2008 21:45 CDT
Last Modified:              04-30-2008 01:36 CDT
====================================================================== 
Summary:                    Congestion feature request
Description: 
Hi

I've been looking at a few different ways to provide failover for clients
and was hoping that there was a way to set auto_congest timeout values for
non registered peers.

This would allow for dial plans such as

1,Answer()
2,Dial(Exten at peer1)
3,Dial(Exten at peer2)
etc

Autocongestion currently works if the peer returns an error but if the
remote host is down it waits the full 32 seconds before progressing to the
next priority. I'd like to set this so that if there is no response after 5
seconds that it goes to the next priority. (that way the cheaper but less
reliable trunks are used first)

It appears asterisk 1.6 no longer uses the qualify column to determine
maximum time before failover, and the timerb in sip.conf for example only
works on registered peers. Passing time in the dial only seems to work once
the other side receives it and setting timeout absolute = 5 redials the
same priority every 5 seconds.

If this configuration has been moved somewhere else already can you please
let me know as I was unable to find it in the documentation, online or
after greping the source code.

Thanks
====================================================================== 

---------------------------------------------------------------------- 
 kactus - 04-30-08 01:36  
---------------------------------------------------------------------- 
Hi Corydon76

Unfortunately some of the things we are doing do not allow us to run
rtcachefriends=yes as we need to be able to programatically manage end
users sip connections (such as password and context) on the fly without
requiring a reload.

Ideally it would be nice for timerb to work as described in sip.conf for
non registered peers or to have a variable that could be set to specify the
maximum response time before auto congestion kicks in. The qualify
information was mainly there because of the historical behavior of auto
congest.

Cheers 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-30-08 01:36  kactus         Note Added: 0086178                          
======================================================================




More information about the asterisk-bugs mailing list