<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-2"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi,<br>
<br>
I don't get any reply til yet, after i detailed the problem. <br>
Was my problem description not clear enough, or you agree with me.<br>
<br>
I need a confirmation that i am not wrong and this problem can't be
solved with the current multidomain implementation.<br>
Alex, Jiri please state if you agree or disagree with me. <br>
And if i am wrong, then please point out where i am wrong.<br>
<br>
Many Thanks!<br>
<br>
Misi<br>
<br>
2010-11-05 18:19 keltezéssel, MÉSZÁROS Mihály írta:
<blockquote cite="mid:4CD43CAE.8010809@niif.hu" type="cite">
<meta content="text/html; charset=ISO-8859-2"
http-equiv="Content-Type">
2010-11-05 09:31 keltezéssel, Alex Balashov írta:
<blockquote cite="mid:4CD3C0E6.8000704@evaristesys.com" type="cite">On
11/05/2010
04:10 AM, MÉSZÁROS Mihály wrote: <br>
<blockquote type="cite">Hello all! <br>
<br>
Is there any known problem to run multiple kamailio/sip-router instance
<br>
in one host. <br>
I need this to handle multidomain situation. <br>
<br>
The multidomain what is built in is not satisfactory, because the UA-s <br>
what are from varying vendors. <br>
And some has strange or a very limited SIP implementation. <br>
Some can only register ip address, some can use RFC3263, but some can <br>
use only DNS A record. :( <br>
<br>
Any answer, suggestion appreciated very well! <br>
</blockquote>
<br>
I still don't see why handling multiple domains in a single instance
would be a problem. <br>
<br>
</blockquote>
I will try to explain where i saw the problem.<br>
Of course it can be that i am wrong, so AFAIK ..<br>
<br>
<br>
If there is domain atlanta.test with with such a DNS.<br>
<tt><br>
$TTL 60<br>
$ORIGIN atlanta.test.<br>
@ IN SOA a1.atlanta.test. root.a1.atlanta.test. (<br>
2009071301 ; Serial<br>
604800 ; Refresh<br>
86400 ; Retry<br>
2419200 ; Expire<br>
604800 ) ; Negative Cache TTL<br>
;<br>
@ IN NS a1<br>
@ IN NS a2<br>
a1 IN A 192.168.0.1<br>
a2 IN A 192.168.0.2<br>
;; order pref flags service
regexp replacement<br>
@ IN NAPTR 10 10 "s" "SIPS+D2T"
"" _sips._tcp<br>
@ IN NAPTR 20 10 "s" "SIP+D2T"
"" _sip._tcp<br>
@ IN NAPTR 30 10 "s" "SIP+D2U"
"" _sip._udp<br>
;; Priority Weight Port Target<br>
_sips._tcp IN SRV 10 0 5061 a1<br>
_sips._tcp IN SRV 20 0 5061 a2<br>
_sip._tcp IN SRV 10 0 5060 a1<br>
_sip._tcp IN SRV 20 0 5060 a2<br>
_sip._udp IN SRV 10 0 5060 a1<br>
_sip._udp IN SRV 20 0 5060 a2</tt><br>
<br>
<ul>
<li>UA type1 <br>
It is implementing RFC3263 correctly. (Very rare such a good
implementation.)<br>
so it will send a register <br>
REGISTER atlanta.test<br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:To:alice@atalnta.test">To:alice@atalnta.test</a></li>
<ul>
<li>Correctly this client will use the proxy preference and in
best
case use tcp + tls.<br>
</li>
</ul>
<li>UA2 <br>
It is implementing only dns A record support.<br>
so it will send a register <br>
REGISTER a1.atlanta.test<br>
To: <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:alice@a1.atlanta.test">alice@a1.atlanta.test</a></li>
<li>UA3<br>
It is a strange UA resolves everything to ip address.<br>
so it will send the register <br>
REGISTER 192.168.0.1<br>
To: <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:alice@192.168.0.1">alice@192.168.0.1</a><br>
</li>
<li>UA4<br>
Maybe there are more case, and can be continued. But till now i faced
only to the above three cases.<br>
</li>
</ul>
<br>
Where i saw the problem with kamailio multidomain setup (AFAIK): <br>
I want to use the three as one "sip routing domain" or i don't know how
to name it correctly.<br>
When it saves the AoR <=> Contact bindings to location database
(mysql), the registrar will create and save the contacts to three
separated domain according to the above three UA behavior: <br>
<ul>
<li>atlanta.test</li>
<li>a1.atlanta.test</li>
<li>192.168.0.1</li>
</ul>
So i must add three times the user in subscriber table for the three
domain, to allow the user alice to authenticate from any UA.<br>
And i will have three domain in location database for only one "sip
routing domain".<br>
<br>
So if i want to have a second domain, called biloxi.test with similar
setup, on the same host where atlanta.test is, <br>
then i get bigger mess. And i have six domain...<br>
I hope you see where i have a problem.<br>
And AFAIK i can't set to registrar function save() the domain, if i use
database backend.<br>
<br>
Highly appreciated if You can suggest a solution for this.<br>
It will be nice if you, or anyone can suggest some solution to this
problem.<br>
<br>
Many Thanks!<br>
<br>
Cheers,<br>
Misi<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
</body>
</html>