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 lookup the endpoint in cmd, then the set ‘media_address’ is shown.
The outgoing endpoint is connected local to a kamailio instance. Used asterisk version is 13.19.0.