<p dir="ltr">I also use alias=&quot;<a href="http://domain.com">domain.com</a>&quot; in my config file.   Without it my SIP client did not connect to the server with domain in SIP URI.</p>
<div class="gmail_quote">On 2 Nov 2015 08:10, &quot;surya&quot; &lt;<a href="mailto:chauhan.suryaveer@gmail.com">chauhan.suryaveer@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,<br>
<br>
<br>
I am trying to use a domain name instead of IP address but not sure of the<br>
proper way.<br>
<br>
1st I changed the SIP_DOMAIN in the opensipctlrc file, but it doesn&#39;t seem<br>
to have any effect.<br>
<br>
Then, in opensips.cfg I replaced all IPs with <a href="http://domain.com" rel="noreferrer" target="_blank">domain.com</a> and added an entry<br>
in etc hosts. This seems to be working, but somehow I feel this is not the<br>
proper way.<br>
<br>
*sample:<br>
/listen=udp:<a href="http://opensipstest.org:5060" rel="noreferrer" target="_blank">opensipstest.org:5060</a>   # CUSTOMIZE ME/*<br>
<br>
I&#39;ll appreciate if someone can tell the proper way to use a domain name in<br>
the presence server.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://opensips-open-sip-server.1449251.n2.nabble.com/Presence-server-Using-domain-name-instead-of-IP-address-tp7599676.html" rel="noreferrer" target="_blank">http://opensips-open-sip-server.1449251.n2.nabble.com/Presence-server-Using-domain-name-instead-of-IP-address-tp7599676.html</a><br>
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>