Hi All,<br><br>Am using kamailio's domain module.<br><br>My domain table has one row as follows:<br>id domain last_modified<br>1 <a href="http://testing.mydev.net">testing.mydev.net</a> timestamp<br>
<br>And my subscriber table has users as follows:<br>+----+----------+---------------------------+----------+---------------+-----+------+------+<br>| id | username | domain | password | email_address | ha1 | ha1b | rpid |<br>
+----+----------+---------------------------+----------+---------------+-----+------+------+<br>| 1 | 2000 | <a href="http://testing.mydev.net">testing.mydev.net</a> | 2000 | | | | NULL |<br>
<br>Am using X-Lite phone to register with Kamailio and got AOR in location table<br>AOR:: <a href="mailto:2000@testing.mydev.net">2000@testing.mydev.net</a><br><br>The problem here is how can I do a lookup("location")?<br>
<br>If I simply do a lookup("location") kamailio is not finding because User extension comes from other SIP server as INVITE sip:2000@kamailio_ip.<br><br>My setup as follows<br>Users registers with Kamailio<br>Kamailio sends INVITE to Asterisk for NAT handling<br>
Asterisk sends back user extension to Kamailio<br>Kamailio has to lookup and call user.<br><br><br><div class="gmail_quote">On Mon, Feb 23, 2009 at 10:23 PM, Iņaki Baz Castillo <span dir="ltr"><<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">2009/2/23 ram <<a href="mailto:talk2ram@gmail.com">talk2ram@gmail.com</a>>:<br>
<div class="Ih2E3d">>> You can use DNS SRV records to direct the sip traffic to kamailio.<br>
>> <a href="http://mydomain.org" target="_blank">mydomain.org</a> can point to something else (e.g., web server). However,<br>
>> you phone must support DNS SRV queries.<br>
><br>
><br>
> Can i map multiple Domain to same IP address<br>
> and use multi domain setup .<br>
><br>
> example<br>
><br>
> 10.1.1.1 <a href="http://testdomain.com" target="_blank">testdomain.com</a><br>
> 10.1.1.1. <a href="http://xyz.com" target="_blank">xyz.com</a><br>
<br>
</div>Why not? haven't you seen web servers handling multiple virtual<br>
domains pointing to same IP? here is the same.<br>
<font color="#888888"><br>
--<br>
Iņaki Baz Castillo<br>
<<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>><br>
</font><div><div></div><div class="Wj3C7c"><br>
_______________________________________________<br>
Kamailio (OpenSER) - Users mailing list<br>
<a href="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</a><br>
<a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
<a href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a></div></div></blockquote></div><br><br clear="all"><br>-- <br>Ramu<br>