[asterisk-bugs] [JIRA] (ASTERISK-29011) chan_sip: ToHost property not cleared on reload

Dennis (JIRA) noreply at issues.asterisk.org
Mon Jul 27 04:06:25 CDT 2020


Dennis created ASTERISK-29011:
---------------------------------

             Summary: chan_sip: ToHost property not cleared on reload
                 Key: ASTERISK-29011
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29011
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_sip/General
    Affects Versions: 13.34.0
            Reporter: Dennis
            Severity: Minor


Setting the {{host}} parameter for a peer and subsequently removing this parameter in {{sip.conf}}, followed by a core reload will not clear the ToHost property of that peer. This results in Asterisk sending invites with old value.

Reproduce:
# Configure SIP peer with {{host = cnn.com}} in {{sip.conf}}.
# Perform core reload, peer will now have ToHost set to cnn.com.
# Reconfigure same SIP peer with {{host = dynamic}} in {{sip.conf}}.
# Register peer to this trunk.
# Asterisk will continue to use ToHost with cnn.com and send invites with sip:12345 at cnn.com



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



More information about the asterisk-bugs mailing list