[Home]

Summary:ASTERISK-27627: SDP payload sets ‘127.0.0.1’ instead of ‘media_address’-Parameter
Reporter:Philipp (philipp4711)Labels:pjsip
Date Opened:2018-01-26 05:04:47.000-0600Date Closed:
Priority:MajorRegression?
Status:Open/NewComponents:Channels/chan_pjsip
Versions:13.19.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Attachments:
Description: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.
Comments:By: Asterisk Team (asteriskteam) 2018-01-26 05:04:48.316-0600

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].