[asterisk-bugs] [JIRA] (ASTERISK-27627) SDP payload sets ‘127.0.0.1’ instead of ‘media_address’-Parameter

Philipp (JIRA) noreply at issues.asterisk.org
Fri Jan 26 05:04:49 CST 2018


Philipp created ASTERISK-27627:
----------------------------------

             Summary: SDP payload sets ‘127.0.0.1’ instead of ‘media_address’-Parameter
                 Key: ASTERISK-27627
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27627
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_pjsip
    Affects Versions: 13.19.0
            Reporter: Philipp


Hello everybody,
i have a problem setting the ‘media_address’-Parameter in ‘chan_pjsip’ endpoint object. Trying to assign the eth0-address to ‘media_address’ fails. Everytime in SDP payload i see ‘127.0.0.1’ in SDP parameters ‘o’ and ‘c’ (only if eth0-address and ‘media_address’ are equal). In case they differ, SDP parameters are modified. When i watch the endpoint in cmd, then the set ‘media_address’ is shown.

The outgoing endpoint is connected local to a kamailio instance.

It figured out, that when i change column ‘ps_aors.contact’ from value ‘sip:127.0.0.1:63605’ to ‘sip:10.1.1.100:63605’ or something else, which is not the loopback address, it accepts ‘10.1.1.100’ in SDP.



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



More information about the asterisk-bugs mailing list