[asterisk-bugs] [JIRA] (ASTERISK-30281) chan_rtp: Local address being used before being set

Friendly Automation (JIRA) noreply at issues.asterisk.org
Wed Nov 2 10:46:09 CDT 2022


     [ https://issues.asterisk.org/jira/browse/ASTERISK-30281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Friendly Automation closed ASTERISK-30281.
------------------------------------------

    Resolution: Fixed

> chan_rtp: Local address being used before being set
> ---------------------------------------------------
>
>                 Key: ASTERISK-30281
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30281
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_rtp
>    Affects Versions: 20.0.0, 18.15.0
>            Reporter: George Joseph
>            Assignee: George Joseph
>
> {code}
> pbx_builtin_setvar_helper(chan, "UNICASTRTP_LOCAL_ADDRESS",...);
> ast_rtp_instance_get_local_address(instance, &local_address);
> pbx_builtin_setvar_helper(chan, "UNICASTRTP_LOCAL_PORT",...);
> {code}
> should be
> {code}
> ast_rtp_instance_get_local_address(instance, &local_address);
> pbx_builtin_setvar_helper(chan, "UNICASTRTP_LOCAL_ADDRESS",...);
> pbx_builtin_setvar_helper(chan, "UNICASTRTP_LOCAL_PORT",...);
> {code}



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



More information about the asterisk-bugs mailing list