<div dir="ltr">Hello Sirs,<div>The RLS module is eating my life. I just managed to make it work 2 months ago and now is not working anymore after I tried to put the kamailio under domain (until now it was simple ip).</div>
<div>I don't understand why is not working but I saw a big difference that I don't understand:</div><div>My environment:</div><div>- the domain "<a href="http://domain.com">domain.com</a>" is pointing to the web server</div>
<div>- kamailio is hosted under <a href="http://sip.domain.com">sip.domain.com</a></div><div>- DNS has <a href="http://domain.com">domain.com</a> A record for web server's ip, <a href="http://sip.domain.com">sip.domain.com</a> A record for kamailio's ip and SRV record for _sip._<a href="http://tcp.domain.com">tcp.domain.com</a> poting to sip.domain.dom</div>
<div>Problem:</div><div>kamailio presence is not working anymore and I think, the error is:</div><div>grep_sock_info - checking if host==us: 11==14 && [<a href="http://domain.com">domain.com</a>] == [xx.xx.xx.xx witch is the <a href="http://sip.domain.com">sip.domain.com</a> IP]</div>
<div><br></div><div>If, I change <a href="http://domain.com">domain.com</a> in DNS to point on the same ip as <a href="http://sip.domain.com">sip.domain.com</a> RLS is working. This, I can't understand. Can anyone explain me why is not working using this configuration? Also, the RLS is working if i change my domain to be <a href="http://sip.domain.com">sip.domain.com</a> (ex: <a href="mailto:sip%3Auser@sip.domain.com">sip:user@sip.domain.com</a>).</div>
<div><br></div><div><br></div><div>Thank you.</div><div><br></div><div><br></div><div>Best regards,</div><div>Mihai M</div></div>