[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 Dec 27 16:25:07 CST 2007
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: 12-27-2007 16:25 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 - 12-27-07 16:25
----------------------------------------------------------------------
No problem - I will write the patch that will include DEFAULT_FREQ_OK
constant, updated sip.conf.sample and also "global setting" possibility as
soon as I come back home (currently I am at CCC in Berlin).
Issue History
Date Modified Username Field Change
======================================================================
12-27-07 16:25 wilder Note Added: 0076071
======================================================================
More information about the asterisk-bugs
mailing list