[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
Thu Jan 3 04:41:06 CST 2008
A NOTE has been added to this issue.
======================================================================
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: 01-03-2008 04:41 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 :-)
======================================================================
----------------------------------------------------------------------
wilder - 01-03-08 04:41
----------------------------------------------------------------------
Look for uploaded qualifyfreq5.patch
(http://hq.sk/~wilder/qualifyfreq5.patch), md5sum is
"94676916244c2175bea2ebbdd91be2ba" that fixes all above-mentioned issues:
- global setting is possible (if not set, it is derived from
DEFAULT_FREQ_OK constant)
- local setting per each peer is possible (if not set, it is derived from
global setting)
- sip.conf.sample is updated for the new option
- the patch has been thoroughly tested
Issue History
Date Modified Username Field Change
======================================================================
01-03-08 04:41 wilder Note Added: 0076243
======================================================================
More information about the asterisk-bugs
mailing list