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

Friendly Automation (JIRA) noreply at issues.asterisk.org
Wed Aug 19 07:30:43 CDT 2020


    [ https://issues.asterisk.org/jira/browse/ASTERISK-29011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=251701#comment-251701 ] 

Friendly Automation commented on ASTERISK-29011:
------------------------------------------------

Change 14765 merged by George Joseph:
chan_sip: Clear ToHost property on peer when changing to dynamic host

[https://gerrit.asterisk.org/c/asterisk/+/14765|https://gerrit.asterisk.org/c/asterisk/+/14765]

> 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
>            Assignee: 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