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 126.96.36.199 and a TTL value
C. Asterisk records this 188.8.131.52 resolution and updates it according received TTL value
D. When any SIP message comes in, Asterisk reads From field and look for 184.108.40.206 (ie does not look for host1.itsp.example.com)