[asterisk-users] host parameter equivalent in pjsip.conf
xaled
xaled at web.de
Tue Dec 8 10:29:03 CST 2015
Hi,
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.
sip.conf:
host=test.com
outboundproxy=tcp://1.2.3.4
fromuser=+12345678
fromdomain=test.com
REGISTER sip:test.com SIP/2.0
From: <sip:+12345678 at test.com>;tag=as5152122a
To: <sip:+12345678 at test.com>
Contact: <sip:+12345678 at 4.3.2.1:5071;transport=TCP>
User-Agent: Asterisk PBX 13.6.0
pjsip.conf:
client_uri = sip:+12345678 at test.com
server_uri = sip:test.com
outbound_proxy=sip:1.2.3.4\;transport=tcp
REGISTER <sip:1.2.3.4;transport=tcp> sip:1.2.3.4;transport=tcp SIP/2.0
From: <sip:+12345678 at test.com>;tag=f47f3ed2-0975-4ff0-bd3b-bd5c38e594c4
To: <sip:+12345678 at test.com>
Contact: <sip:+12345678 at 4.3.2.1:60938>
Route: <sip:test.com>
User-Agent: Asterisk PBX 13.6.0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20151208/313c2597/attachment.html>
More information about the asterisk-users
mailing list