[asterisk-bugs] [JIRA] (ASTERISK-24411) [patch] Status of outbound registration is not changed upon unregistering.

John Bigelow (JIRA) noreply at issues.asterisk.org
Sat Oct 11 22:53:29 CDT 2014


John Bigelow created ASTERISK-24411:
---------------------------------------

             Summary: [patch] Status of outbound registration is not changed upon unregistering.
                 Key: ASTERISK-24411
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24411
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Resources/res_pjsip_outbound_registration
    Affects Versions: 13.0.0-beta2, 12.6.0, SVN
         Environment: Asterisk 13 branch @ r424940, PJSIP
            Reporter: John Bigelow


Executing the AMI action {{PJSIPUnregister}} or CLI command {{pjsip send unregister}} on a registered outbound registration does properly send a REGISTER message with an expiration of 0 and unregisters. However the status of the outbound registration is *not* changed to {{Unregistered}}. Upon receiving any 200 OK response whether for registering or unregistering, the outbound registration status is always set to {{Registered}}.

The attached patch sets the status of the outbound registration to reflect when it has been unregistered. Since the registration is unregistered rather than stopped, the registration schedule remains active as before. The patch also updates the documentation of both the AMI and CLI commands.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list