[asterisk-bugs] [JIRA] (ASTERISK-22504) incorrect registry

Stefan Wächtler (JIRA) noreply at issues.asterisk.org
Wed Sep 11 05:05:03 CDT 2013


Stefan Wächtler created ASTERISK-22504:
------------------------------------------

             Summary: incorrect registry 
                 Key: ASTERISK-22504
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22504
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_iax2
    Affects Versions: 11.5.0
            Reporter: Stefan Wächtler
            Severity: Minor


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.

The correct reregistration time in astdb is only set up, when asterisk detects a change of ip:port of an already registered client that does reregister (astdb is updated in this case).

Bugfix:
Use the expiry time provided by the client to update astdb.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list