[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:58:09 CDT 2022
[ https://issues.asterisk.org/jira/browse/ASTERISK-30281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=260576#comment-260576 ]
Friendly Automation commented on ASTERISK-30281:
------------------------------------------------
Change 19465 merged by Joshua Colp:
chan_rtp: Make usage of ast_rtp_instance_get_local_address clearer
[https://gerrit.asterisk.org/c/asterisk/+/19465|https://gerrit.asterisk.org/c/asterisk/+/19465]
> 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