[asterisk-bugs] [Asterisk 0015701]: [patch] Not possible to specify expiry for peer callback

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Sep 3 14:33:16 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15701 
====================================================================== 
Reported By:                Nick_Lewis
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15701
Category:                   Channels/chan_sip/Registration
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-08-12 04:57 CDT
Last Modified:              2009-09-03 14:33 CDT
====================================================================== 
Summary:                    [patch] Not possible to specify expiry for peer
callback
Description: 
It is possible in sip.conf to specify a callback extension for a peer.
(This automatically causes a registration to be generated.) However it is
not currently possible to control how long the callback extension is active
for before it expires and is refreshed. This is a problem particularly when
working behind a nat firewall because the nat binding tends to expire
before the callback is refreshed causing the callback to fail to work.

I propose the addition of the callbackexpiry parameter to sip.conf to
provide this functionality
====================================================================== 

---------------------------------------------------------------------- 
 (0110172) oej (manager) - 2009-09-03 14:33
 https://issues.asterisk.org/view.php?id=15701#c110172 
---------------------------------------------------------------------- 
I am resetting the DEFAULT_CALLBACKEXPIRY to use the default_expiry setting
like all outbound registrations. Also I see no point in using the s
extension if there's no callback setting in the peer. If they set regexpiry
without setting callback, then there's no registration.

Renamed the setting to "regexpiry".

Please test uploaded patch. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-03 14:33 oej            Note Added: 0110172                          
======================================================================




More information about the asterisk-bugs mailing list