[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 10 18:36:21 CST 2008
The following issue has been ASSIGNED.
======================================================================
http://bugs.digium.com/view.php?id=11597
======================================================================
Reported By: wilder
Assigned To: russell
======================================================================
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-10-2008 18:36 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 :-)
======================================================================
----------------------------------------------------------------------
svnbot - 01-10-08 18:36
----------------------------------------------------------------------
Repository: asterisk
Revision: 98027
U trunk/CHANGES
U trunk/channels/chan_sip.c
U trunk/configs/sip.conf.sample
------------------------------------------------------------------------
r98027 | russell | 2008-01-10 18:36:18 -0600 (Thu, 10 Jan 2008) | 9 lines
Add a new global and per-peer option to chan_sip, qualifyfreq, which
allows you
to set the qualify frequency.
(closes issue http://bugs.digium.com/view.php?id=11597)
Reported by: wilder
Patches:
qualifyfreq5.patch uploaded by wilder (license 362)
-- with some mods by me
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=98027
Issue History
Date Modified Username Field Change
======================================================================
01-10-08 18:36 svnbot Note Added: 0076692
01-10-08 18:36 svnbot Assigned To oej => russell
======================================================================
More information about the asterisk-bugs
mailing list