[asterisk-bugs] [Asterisk 0011597]: Parametrized DEFAULT_FREQ_OK (Qualification: How often to check for the host to be up)

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Dec 19 01:00:17 CST 2007


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=11597 
====================================================================== 
Reported By:                wilder
Assigned To:                oej
====================================================================== 
Project:                    Asterisk
Issue ID:                   11597
Category:                   Channels/chan_sip/General
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     assigned
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 93464 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             12-18-2007 18:03 CST
Last Modified:              12-19-2007 01:00 CST
====================================================================== 
Summary:                    Parametrized DEFAULT_FREQ_OK (Qualification: How
often to check for the host to be up)
Description: 
I have made the simple patch that allows dynamically change DEFAULT_FREQ_OK
parameter in sip.conf that is currently static constant in chan_sip.c.
I really needed this option for my 3G Internet connection and it was quite
annoying to recompile all Asterisk sources still again and again.

The new parameter in sip.conf is called "qualifyfreq". The value of this
parameter is in seconds. Each peer can have different value "qualifyfreq" -
the default value is 60 seconds. The current value of "qualifyfreq" can be
shown using "sip show peer XYZ".

The patch (for the latest Asterisk Trunk) can be found here:
http://hq.sk/~wilder/qualifyfreq3.patch

I tested it with my colleague and it works without problem (it's too
simple to have bugs :-)

====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-19-07 01:00  oej            Status                   new => assigned     
12-19-07 01:00  oej            Assigned To               => oej             
======================================================================




More information about the asterisk-bugs mailing list