Hello,
I am using Asterisk 13.22 + FreePBX 14. The issue I’ve encountered is that my test SIP client is registering as sip:name @siptest.gould.co.uk, but it receives responses from sip:name @188.39.103.164 and doesn’t therefore work well.
How could I setup the domain name for outgoing SIP messages in FreePBX GUI?
Here’s my traffic. You can see that all outgoing SIP messages contain @188.39.103.164 instead of @siptest.gould.co.uk.
Client -> Server
REGISTER sip:siptest.gould.co.uk SIP/2.0
Via: SIP/2.0/UDP 192.168.1.103:46725;rport;branch=z9hG4bK51372
Max-Forwards: 70
To: <sip:[email protected]>
From: <sip:[email protected]>;tag=z9hG4bK08488578
Call-ID: [email protected]
CSeq: 2 REGISTER
Expires: 3600
User-Agent: Lumicall/1.13.1/JAT-LX1
Contact: <sip:[email protected]:46725;transport=udp>;reg-id=1;+sip.instance="<urn:uuid:62de21bd-f892-4441-b823-a0f94044e4d5>"
Supported: path, outbound
Authorization: Digest username="231", realm="asterisk", nonce="********", uri="sip:siptest.gould.co.uk", algorithm=MD5, response="**********************"
Content-Length: 0
Server -> Client
OPTIONS sip:[email protected]:46725;transport=udp SIP/2.0
Via: SIP/2.0/UDP 188.39.103.164:5060;branch=z9hG4bK0788ec4e;rport
Max-Forwards: 70
From: "Unknown" <sip:[email protected]>;tag=as6814076c
To: <sip:[email protected]:46725;transport=udp>
Contact: <sip:[email protected]:5060>
Call-ID: [email protected]:5060
CSeq: 102 OPTIONS
User-Agent: FPBX-14.0.13.4(13.22.0)
Date: Thu, 05 Sep 2019 09:52:27 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.103:46725;branch=z9hG4bK51372;received=109.172.15.35;rport=48278
From: <sip:[email protected]>;tag=z9hG4bK08488578
To: <sip:[email protected]>;tag=as2f985a4e
Call-ID: [email protected]
CSeq: 2 REGISTER
Server: FPBX-14.0.13.4(13.22.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Expires: 3600
Contact: <sip:[email protected]:46725;transport=udp>;expires=3600
Date: Thu, 05 Sep 2019 09:52:27 GMT
Content-Length: 0