<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Miha,<br>
<br>
You are mixing the SIP domains with the SIP server location. The
SIP domains have nothing to do with SRV, while for SIP server
location you can use it.<br>
<br>
The idea is to set as SIP user <a class="moz-txt-link-abbreviated" href="mailto:user@sip.test.com">user@sip.test.com</a> (and
'sip.test.com' is the SIP domain all the time).<br>
<br>
If the domain does not support SRV, it will do an A lookup on </tt><tt><tt>sip.test.com,
and you can point it , as IP, to proxy1.test.com.<br>
<br>
If the domain supports SRV....you know the drill .<br>
<br>
But in both cases the SIP domain in SIP messages will be 's</tt></tt><tt><tt><tt>ip.test.com'<br>
<br>
Regards,<br>
</tt></tt></tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
</pre>
<div class="moz-cite-prefix">On 4/14/20 11:57 AM, Miha via Users
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:66e399c9-fda5-ba7a-b163-d959d5149df0@softnet.si">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<font face="Calibri Light">Hello<br>
<br>
we have dns srv record for failover. In dns srv we have two
record.<br>
So, one version of our devices does not support dns srv records.
Is it possible to register device directly to one A record which
is wirtten in DNS SRV record and then use ALIAS in opensips to
right domain?<br>
<br>
DNS SRV.<br>
<br>
sip.test.comĀ (proxy1.test.com, proxy2.test.com)<br>
Devices that do not support will register to </font><font
face="Calibri Light">proxy1.test.com (opensips will have alias
which will point to sip.test.com)?<br>
<br>
<br>
<br>
<br>
thank you<br>
miha<br>
</font> <br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>