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

Friendly Automation (JIRA) noreply at issues.asterisk.org
Tue Aug 18 10:52:43 CDT 2020


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

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

Change 14766 merged by Friendly Automation:
chan_sip: Clear ToHost property on peer when changing to dynamic host

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

> 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