diff options
author | Richard Mudgett <rmudgett@digium.com> | 2013-09-16 16:50:02 +0000 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2013-09-16 16:50:02 +0000 |
commit | 819359dcfd204caf6614c2f96b0219789049ed3e (patch) | |
tree | de538527204e9099732b5cb0ea2473db4d2168c6 /apps/app_channelredirect.c | |
parent | 376d277b02a9bd648c9226a4227a7e949bab68ce (diff) |
chan_iax2: Fix saving the wrong expiry time in astdb.
When a new IAX2 client registers, the astdb database is updated with the
value of minregexpire defined in iax.conf instead of using the expiry time
that is provided by the client. The provided expiry time of the client is
updated after inserting the astdb entry. As a consequence, restarting or
reloading asterisk creates clients whose registration may expire before
they reregister. The clients are therefore unavailable after minregexpire
seconds until they reregister.
* Move updating of the expiry time to before inserting into the astdb.
(closes issue ASTERISK-22504)
Reported by: Stefan Wachtler
Patches:
chan_iax2.c.patch (license #6533) patch uploaded by Stefan Wachtler
........
Merged revisions 399158 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 399159 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 399160 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@399161 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_channelredirect.c')
0 files changed, 0 insertions, 0 deletions