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

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Jun 16 16:00:55 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:                     new
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:              06-16-2008 16:00 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
====================================================================== 

---------------------------------------------------------------------- 
 Corydon76 - 06-16-08 16:00  
---------------------------------------------------------------------- 
You don't actually need to do that in 1.6.  Simply set "timerb" in the peer
definition to whatever number of ms you like.  However, I do agree with you
that the timer should be settable globally. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-16-08 16:00  Corydon76      Note Added: 0088775                          
======================================================================




More information about the asterisk-bugs mailing list