[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
Fri Sep 4 12:51:35 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=14891
======================================================================
Reported By: albersag
Assigned To: lmadsen
======================================================================
Project: Asterisk
Issue ID: 14891
Category: Core/General
Reproducibility: always
Severity: minor
Priority: normal
Status: ready for testing
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-04-14 09:01 CDT
Last Modified: 2009-09-04 12:51 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
======================================================================
----------------------------------------------------------------------
(0110237) lmadsen (administrator) - 2009-09-04 12:51
https://issues.asterisk.org/view.php?id=14891#c110237
----------------------------------------------------------------------
albersag: think you could test this patch out? I can't seem to reproduce
the issue you're seeing on Asterisk trunk.
Issue History
Date Modified Username Field Change
======================================================================
2009-09-04 12:51 lmadsen Note Added: 0110237
======================================================================
More information about the asterisk-bugs
mailing list