01-17-2019, 04:55 PM
Hello,
Lately, I wondered if I could configure a Yealink phone to use a domain name instead of an IP address, in the domain part of a SIP URI.
I picked a v84-enabled T42S phone and successively set :
account.1.sip_server.1.address = ipbx1.foobar.lan
account.1.sip_server.1.address = ipbx1
account.1.sip_server.1.address =192.168.1.1
Each time my server (an Asterisk instance) receives INVITEs or REGISTERs built with:
REGISTER sip:192.168.1.1:5060 SIP/2.0
I would expect the above line to be respectively:
REGISTER sip:ipbx1.foobar.lan:5060 SIP/2.0
REGISTER sip:ipbx1:5060 SIP/2.0
REGISTER sip:192.168.1.1:5060 SIP/2.0
Am I misunderstanding how SIP must work or is it something that can be configured ?
Best regards
Lately, I wondered if I could configure a Yealink phone to use a domain name instead of an IP address, in the domain part of a SIP URI.
I picked a v84-enabled T42S phone and successively set :
account.1.sip_server.1.address = ipbx1.foobar.lan
account.1.sip_server.1.address = ipbx1
account.1.sip_server.1.address =192.168.1.1
Each time my server (an Asterisk instance) receives INVITEs or REGISTERs built with:
REGISTER sip:192.168.1.1:5060 SIP/2.0
I would expect the above line to be respectively:
REGISTER sip:ipbx1.foobar.lan:5060 SIP/2.0
REGISTER sip:ipbx1:5060 SIP/2.0
REGISTER sip:192.168.1.1:5060 SIP/2.0
Am I misunderstanding how SIP must work or is it something that can be configured ?
Best regards