From: =?utf-8?q?I=C3=B1aki_Baz_Castillo?= <[EMAIL PROTECTED]>
Hi, when a UAC sends a REGISTER, can it write a domain in "Contact"
which DNS SRV resolution point to its IP instead of writting a
common IP or hostname?
Yes.
For example, in case a UAC is located in IP 80.80.10.10 and there is a
domain "mydomain.com" with those entries:
host -t a mydomain.com --> 123.123.123.123
host -t srv _sip._udp.mydomain.com --> 80.80.10.10
Then, according to RFC3261, what should occur if the UAC sends a REGISTER
with:
Contact: <sip:[EMAIL PROTECTED]>
When the proxy wants to send an INVITE to this UAC it gets from
Registrar the location "mydomain".com". Should the proxy do a DNS
SRV query for this domain? So, would the INVITE forwarded to
80.80.10.10? or would it fails because it is forwarded to DNS A
type location 123.123.123.123?
The proxy will use the procedures of RFC 3263 to determine where to
send the message. Those procedures involve doing DNS lookups on
"mydomain.com" at the time the message is to be sent.
For example, OpenSer would do the SRV resolution but Asterisk
doesn't do it (just allows IP or hostname).
If that is true, we would say that "OpenSer supports SRV records" and
"Asterisk does not support SRV records".
Dale
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors