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

George Joseph (JIRA) noreply at issues.asterisk.org
Wed Nov 2 07:21:08 CDT 2022


George Joseph created ASTERISK-30281:
----------------------------------------

             Summary: 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: 18.15.0, 20.0.0
            Reporter: 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