[OpenSIPS-Users] How to set up user accounts?

Karl Karpfen karlkarpfen79 at gmail.com
Tue Jan 13 19:05:06 CET 2015


Yes, that was the problem! Thanks :-)

2015-01-13 10:38 GMT+01:00 Bogdan-Andrei Iancu <bogdan at opensips.org>:

>  Hi Karl,
>
> Assuming you use the default cfg, a wild guess (without seeing the SIP
> message) - add in your cfg "
>     alias = "myserver.de"
>
> I guess the Route hdr of the message has the domain part with "myserver.de
> ".
>
> Regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
>
> On 12.01.2015 20:54, Karl Karpfen wrote:
>
>  OK, that's really easy :-)
>
>  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:
>
>  Attempt to route with preloaded Route's [
> sip:user at myserver.de/sip:user at myserver.de/sip:myserver.de:5060/s7PHXzdndu0tocGII0nRVLGCNBW4Ppn3
> ]
>
>  Any idea what is wrong here?
>
>
> 2015-01-12 15:37 GMT+01:00 Bogdan-Andrei Iancu <bogdan at opensips.org>:
>
>>  Hi Karl,
>>
>> 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.
>>
>> Best regards,
>>
>> Bogdan-Andrei Iancu
>> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
>>
>>  On 12.01.2015 13:28, Karl Karpfen wrote:
>>
>>  Hi,
>>
>>  I'm new to OpenSIPS and this may be a stupid question but I did not
>> find the related information somewhere...
>>
>>  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.
>>
>>  How can this be done?
>>
>>  Thanks!
>>
>>
>>
>>  _______________________________________________
>> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150113/54ac2155/attachment.htm>


More information about the Users mailing list