[asterisk-bugs] [Asterisk 0014891]: [patch] Using regcontext=something and reload from Asterisk CLI with realtime peers , Asterisk destroys content on sipregistrati

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Aug 27 17:44:44 CDT 2009


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14891 
====================================================================== 
Reported By:                albersag
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14891
Category:                   Core/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.20.1 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-04-14 09:01 CDT
Last Modified:              2009-08-27 17:44 CDT
====================================================================== 
Summary:                    [patch] Using regcontext=something and reload from
Asterisk CLI with realtime peers , Asterisk destroys content on sipregistrati
Description: 
We have realtime peers, with this sip.conf

[general]
bindport=5060
context=extensiones
bindaddr=0.0.0.0
srvlookup=no
pedantic=no
;tos=
minexpirey=10
maxexpirey=60
defaultexpirey=30
;realm=
;notifymimetype=
videosupport=no
disallow=all
allow=all
;allow=
;allow=
;allow=
;externip=
;localnet=
;localnet=
;localnet=
language=en
rtcachefriends=yes
regcontext=sipregistration2
rtptimeout=600
rtpholdtimeout=300
limitonpeers=yes
;nat=
rtupdate=yes
rtautoclear=yes
ignoreregexpire=no
qualify=yes

Registration on devices is set to 30 s. When asterisk is lunched or
restart now or similar is done, all works fine, extensions are added to
sipregistration context and mantained, and all works fine, as dundi is
used, and sipregistration2 is used to propagate sip  peers location
information.

gw35*CLI> dialplan show sipregistration2
[ Context 'sipregistration2' created by 'SIP' ]
  'emp01' =>    1. Noop(emp01)                            [SIP]
  'emp02' =>    1. Noop(emp02)                            [SIP]


But if we make a reload, for example as something in dialplan was
modified, some time later, extensions are deleted from sipregistration2
context. It could be emp02 first, or emp01 , or both.

gw35*CLI> dialplan show sipregistration2
[ Context 'sipregistration2' created by 'SIP' ][ Context
'sipregistration2' created by 'SIP' ]

-= 0 extensions (0 priorities) in 1 context. =-

Devices continues beeing registered, but no Added extension 'emp01'
priority 1 to sipregistration2 appears. 

It seems to do not considerer future REGISTER from devices to be added to
sipregistration2 context.


Thanks


====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-27 17:44 tilghman       Summary                  Using
regcontext=something and reload from Asterisk CLI with realtime peers , Asterisk
destroys content on sipregistration time => [patch] Using regcontext=something
and reload from Asterisk CLI with realtime peers , Asterisk destroys content on
sipregistration time
======================================================================




More information about the asterisk-bugs mailing list