<div class="gmail_quote">On Sun, Jun 7, 2009 at 11:36 AM, 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="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
El Domingo, 7 de Junio de 2009, Matthias Barremaecker (ContactAS) escribió:<br>
<div class="im">> Hello,<br>
><br>
> I've installed opensips from source and everything seems to be all<br>
> right, yet when I add an user (witch works) and I try to login with that<br>
> user from a sip soft phone, I get 'too many hops'. I could guess it has<br>
> something to do with the routing, but I don't have any clue to where to<br>
> start to look.<br>
><br>
> I get the same when I login with the 'admin' user as stated in the<br>
> install document.<br>
><br>
> Could I get some help ?<br>
<br>
</div>Most probably you are using DNS domains in clients configuration, but you have<br>
not configured OpenSIPS to recognize itself as the owner of those domains.<br>
Use "alias" option or "domain" module to add domains to OpenSIPS.</blockquote><div><br></div><div>Either that or perhaps you arn't doing anything with the call. If opensips doesn't change the RURI in it's "routing" then it'll end up sending it back to itself. What <span class="Apple-style-span" style="border-collapse: collapse; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">Iñaki is refering to is when opensips doesn't think the destination is for itself (a domain it doesn't recognize) it will forward it onto that destination as a proxy. Which ends up sending it back to itself. And it repeats this over and over until opensips kills the call for having too many hops. This is a very common mistake to make when getting started. :)</span><br>
</div><div><span class="Apple-style-span" style="border-collapse: collapse; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;">-Brett</span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"><br>
</span></div></div>