[asterisk-bugs] [Asterisk 0018055]: Outgoing custom registration length always reset to defaultexpiry

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Sep 28 11:09:33 CDT 2010


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18055 
====================================================================== 
Reported By:                nixon
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18055
Category:                   Channels/chan_sip/Registration
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.2.13 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-09-26 04:41 CDT
Last Modified:              2010-09-28 11:09 CDT
====================================================================== 
Summary:                    Outgoing custom registration length always reset to
defaultexpiry
Description: 
In two last register lines, outgoing registration expiry set in 300 sec,
but after registration progress this length reset to defaul 3600 sec...

sip.conf

defaultexpiry = 3600
register => 1561234:secret1:1561234 at sipnet_gate/1561234
register => 380441234567:secret2:newyork_1234567_1 at sirs1234567/1234567
register => 0447654321 at 44.33.222.1:secret3:0447654321 at sevgroup
register => 980:secret4:980 at nova_gate/5002
register => 90094:secret5 at 90094/5002
register =>
380892222222 at sip.xxxtel.net:secret6:380892222222 at xxxtelsip/11~300
register =>
380893333333 at sip.xxxtel.net:secret7:380893333333 at xxxtelsip/22~300

*CLI> sip reload
 Reloading SIP
  == Parsing '/etc/asterisk/sip.conf':   == Found
  == Parsing '/etc/asterisk/additional_a2billing_sip.conf':   == Found
  == Parsing '/etc/asterisk/users.conf':   == Found
  == Using SIP CoS mark 4

Before start registration process we have still set 300 sec...

*CLI> sip show registry
Host             dnsmgr Username   Refresh State       Reg.Time
xxxtelsip:5060   N      380893333333   300 Unregistered
xxxtelsip:5060   N      380892222222   300 Unregistered
90094:5060       N      90094         3600 Unregistered
nova_gate:5060   N      980           3600 Unregistered
sevgroup:5060    N      0447654321 at 4  3600 Unregistered
sirs1234567:5060 N      380441234567  3600 Unregistered
sipnet_gate:5060 N      1561234       3600 Unregistered
7 SIP registrations.

  == Parsing '/etc/asterisk/sip_notify.conf':   == Found

But after all registrations are completed, all expiry length settings
switch to 3600 sec.

*CLI> sip show registry
Host             dnsmgr Username   Refresh State       Reg.Time
xxxtelsip:5060   N      380893333333  3585 Registered  Sun, 26 Sep 2010
11:14:38
xxxtelsip:5060   N      380892222222  3585 Registered  Sun, 26 Sep 2010
11:14:38
90094:5060       N      90094         3585 Registered  Sun, 26 Sep 2010
11:14:38
nova_gate:5060   N      980           3585 Registered  Sun, 26 Sep 2010
11:14:34
sevgroup:5060    N      0447654321 at 4  3585 Registered  Sun, 26 Sep 2010
11:14:37
sirs1234567:5060 N      380441234567  3585 Registered  Sun, 26 Sep 2010
11:14:35
sipnet_gate:5060 N      1561234       3585 Registered  Sun, 26 Sep 2010
11:14:38
7 SIP registrations.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-09-28 11:09 lmadsen        Description Updated                          
======================================================================




More information about the asterisk-bugs mailing list