I’m trying to port our configuration form sip to pjsip channel and have following issue.
Sip.conf has a host parameter that sets the RURI to a given value. This functionality is needed in some of our scenarios where we need to send requests to specific IP address with specific domain in RURI.
I did not found an equivalent to the host parameter in pjsip configuration. Did I miss something?
All I could come with is to get the Route header set to the needed value, but that does not help us in our scenarios. Below are relevant config settings and resulting SIP REGISTER Request.
REGISTER sip:test.com SIP/2.0
User-Agent: Asterisk PBX 13.6.0
client_uri = sip:+firstname.lastname@example.org
server_uri = sip:test.com
REGISTER <188.8.131.52> sip:184.108.40.206;transport=tcp SIP/2.01.2.3.4>