<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix"><tt>By defining that alias, OpenSIPS
recognizes the "myserver.de" SIP domain as a domain that needs
to handled locally. So the pre-loaded test does not fail anymore
as OpenSIPS sees in that Route hdr its own address (alias) which
is ok from security perspective. <br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
On 13.01.2015 20:05, Karl Karpfen wrote:<br>
</div>
<blockquote
cite="mid:CAL8NYFgbwVuLORWEBG7ZyWmV2nMku=GbqrhGWy5ukD1X9q+Lhw@mail.gmail.com"
type="cite">
<div dir="ltr">Yes, that was the problem! Thanks :-)<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-01-13 10:38 GMT+01:00
Bogdan-Andrei Iancu <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:bogdan@opensips.org"
target="_blank">bogdan@opensips.org</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div><tt>Hi Karl,<br>
<br>
Assuming you use the default cfg, a wild guess
(without seeing the SIP message) - add in your cfg "<br>
alias = "<a moz-do-not-send="true"
href="http://myserver.de" target="_blank">myserver.de</a>"<br>
<br>
I guess the Route hdr of the message has the domain
part with "<a moz-do-not-send="true"
href="http://myserver.de" target="_blank">myserver.de</a>".<br>
<br>
Regards,<br>
</tt><span class="">
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
</span>
<div>
<div class="h5"> On 12.01.2015 20:54, Karl Karpfen
wrote:<br>
</div>
</div>
</div>
<div>
<div class="h5">
<blockquote type="cite">
<div dir="ltr">
<div>
<div>OK, that's really easy :-)<br>
<br>
</div>
Now when I try to connect with client to my
server, the client gives an error message "error
while registering - forbidden". OpenSIPS prints
the following logs:<br>
<br>
Attempt to route with preloaded Route's [<a
moz-do-not-send="true"
href="http://sip:user@myserver.de/sip:user@myserver.de/sip:myserver.de:5060/s7PHXzdndu0tocGII0nRVLGCNBW4Ppn3"
target="_blank">sip:user@myserver.de/sip:user@myserver.de/sip:myserver.de:5060/s7PHXzdndu0tocGII0nRVLGCNBW4Ppn3</a>]<br>
<br>
</div>
Any idea what is wrong here?<br>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-01-12 15:37
GMT+01:00 Bogdan-Andrei Iancu <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:bogdan@opensips.org"
target="_blank">bogdan@opensips.org</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div><tt>Hi Karl,<br>
<br>
In order to configure accounts/users
(with auth), you need to use the auth_db
module - it requires a DB backend. Use
the opensipsdbctl tool to create the DB
and opensipsctl to add users into it.<br>
<br>
Best regards,<br>
</tt>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<div>
<div> On 12.01.2015 13:28, Karl Karpfen
wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div>
<div dir="ltr">Hi,
<div><br>
</div>
<div>I'm new to OpenSIPS and this
may be a stupid question but I did
not find the related information
somewhere...</div>
<div><br>
</div>
<div>So I set up OpenSIPS on my
Ubuntu 12.04 LTS successfully
(without database backend) and
configuration seems to be OK, but
it tells me no aliases exist. I
don't know if an alias is the same
like an user account. What I want
to do now is to set up user names
and passwords to limit access to
my OpenSIPS server to these users.</div>
<div><br>
</div>
<div>How can this be done?</div>
<div><br>
</div>
<div>Thanks!</div>
<div><br>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>