<div>Which is the actual domain name that the server is supposed to be responsible for? <strong><a href="http://sipserver.mobilia.it">sipserver.mobilia.it</a></strong> or just <strong><a href="http://mobilia.it">mobilia.it
</a></strong> or both?</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><a href="http://sipserver.mobilia.it">sipserver.mobilia.it</a> seems to be fine:</div>
<div>&nbsp;</div>
<div>
<table border="1">
<tbody>
<tr>
<th>Domain</th>
<th>Type</th>
<th>Class</th>
<th>TTL</th>
<th>Answer</th></tr>
<tr>
<td><a href="http://sipserver.mobilia.it">sipserver.mobilia.it</a>.</td>
<td>A</td>
<td>IN</td>
<td>86400</td>
<td><a href="http://www.dnsstuff.com/tools/whois.ch?ip=89.202.252.16">89.202.252.16</a></td></tr>
<tr bgcolor="#cccccc">
<td><a href="http://mobilia.it">mobilia.it</a>.</td>
<td>NS</td>
<td>IN</td>
<td>86400</td>
<td><a href="http://dns2.nic.it">dns2.nic.it</a>.</td></tr>
<tr bgcolor="#cccccc">
<td><a href="http://mobilia.it">mobilia.it</a>.</td>
<td>NS</td>
<td>IN</td>
<td>86400</td>
<td><a href="http://sipserver.mobilia.it">sipserver.mobilia.it</a>.</td></tr>
<tr bgcolor="#cccccc">
<td><a href="http://mobilia.it">mobilia.it</a>.</td>
<td>NS</td>
<td>IN</td>
<td>86400</td>
<td><a href="http://ns.mobilia.it">ns.mobilia.it</a>.</td></tr>
<tr bgcolor="#eeeeee">
<td><a href="http://ns.mobilia.it">ns.mobilia.it</a>.</td>
<td>A</td>
<td>IN</td>
<td>86400</td>
<td><a href="http://151.17.2.2">151.17.2.2</a></td></tr></tbody></table></div>
<div><br>&nbsp;</div>
<div>Are you after a <em>multi-domain</em> setup? As I understand it the domain module (if that is what your are using) is meant to be good for multi-domain setups, but have you considered keeping it simple and testing with a simple setup initially? 
</div>
<div>&nbsp;</div>
<div>Just do:</div>
<div>&nbsp;</div>
<div><strong>listen=udp:<a href="http://89.202.252.16:5060">89.202.252.16:5060</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # IP address of Server #<br>listen=udp:<a href="http://sipserver.mobilia.it:5060">sipserver.mobilia.it:5060</a>&nbsp;# Domain of server #
<br></strong></div>
<div>I think you will need these, regardless of whether you are using the domain module or not. And then I just use:</div>
<div>&nbsp;</div>
<div><strong>if (!uri==myself) {</strong></div>
<div><strong>}</strong></div>
<div>&nbsp;</div>
<div>It certainly works for me, even in a multi-domain setup with multiple public IPs, if not a little unwieldy.</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><span class="gmail_quote">On 11/3/06, <b class="gmail_sendername">nick</b> &lt;<a href="mailto:nick@mobilia.it">nick@mobilia.it</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I'm trying to get my machine ready to work externally, with public Ip<br>addresses.<br><br>I believe I've got all the pieces ready for the domain.
<br><br>I have the PTR records published for my server's public IP address. I<br>have the .sip_.udp.mobilia.it. 0 0 5060 <a href="http://sipserver.mobilia.it">sipserver.mobilia.it</a>. record (I<br>tried it with and without the .mobilia.it added to the udp) published, I
<br>tell the server to listen on the IP addresses which maps it's name in<br>DNS, I have a line after listen :<br>alias=&quot;<a href="http://mobilia.it">mobilia.it</a>&quot; (I've tried both FQDN and this)<br><br>I've exported the domain both as the command export
<br>SIP_DOMAIN=&quot;<a href="http://mobilia.it">mobilia.it</a>&quot; and in the openserctlrc (does it need to be the<br>FQDN or just the domain, again, neither seem to make a difference..)<br><br>however, I still can't get the machine to believe that it is actually
<br>responsible for this domain.<br><br>When I register I have errors along this line: (it registers, obviously,<br>but the logic is wrong, since he thinks the user is coming from another<br>domain).<br><br>grep_sock_info - checking if host==us: 10==13 &amp;&amp;&nbsp;&nbsp;[
<a href="http://mobilia.it">mobilia.it</a>] ==<br>[<a href="http://89.202.252.16">89.202.252.16</a>]<br>Nov&nbsp;&nbsp;3 10:13:34 sipserver /usr/local/sbin/openser[3193]: grep_sock_info<br>- checking if port 5060 matches port 5060<br>
Nov&nbsp;&nbsp;3 10:13:34 sipserver /usr/local/sbin/openser[3193]: grep_sock_info<br>- checking if host==us: 10==13 &amp;&amp;&nbsp;&nbsp;[<a href="http://mobilia.it">mobilia.it</a>] == [<a href="http://89.202.252.16">89.202.252.16</a>]<br>Nov&nbsp;&nbsp;3 10:13:34 sipserver /usr/local/sbin/openser[3193]: grep_sock_info
<br>- checking if port 5060 matches port 5060<br><br>Can anyone venture a guess as to what I might be missing???<br><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@openser.org">
Users@openser.org</a><br><a href="http://openser.org/cgi-bin/mailman/listinfo/users">http://openser.org/cgi-bin/mailman/listinfo/users</a><br></blockquote></div><br>