After reading , I would like to better understand how identification with domains occurs.
More precisely, it was asked if FQDN could be used in the “ip” endpoint identifier like this:
At the moment, I can’t experiment with any ITSP implementing the above so I’m inclined to ask here.
How does the above matching works ?
I was thinking of the following steps.
Are these correct ?
A. When PJSIP reloads its configuration, DNS is queried for host1.itsp.example.com.
B. DNS replies with A record value of 18.104.22.168 and a TTL value
C. Asterisk records this 22.214.171.124 resolution and updates it according received TTL value
D. When any SIP message comes in, Asterisk reads From field and look for 126.96.36.199 (ie does not look for host1.itsp.example.com)