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?

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?

In my opinion it shouldn't since the location provided by the UAC during 
REGISTER should be an IP or hostname, but I'm not sure of that.

For example, OpenSer would do the SRV resolution but Asterisk doesn't do it 
(just allows IP or hostname).

Thanks.


-- 
Iñaki Baz Castillo
[EMAIL PROTECTED]

_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to