[OpenSIPS-Users] OpenSIPS not using mysql DB??

Binan AL Halabi binanalhalabi at yahoo.com
Mon Nov 19 20:19:45 CET 2012


Hi Christian, 

load and configure "auth_db" and "auth" modules. Then use these function:  proxy_authorize() and www_authorize()
see these:
http://www.opensips.org/html/docs/modules/devel/auth_db.html#id250229

And chapter 5 of book "Building Telephony Systems with OpenSIPS 1.6"


// Binan.



________________________________
 Från: Christian Cambier <cca at voxtron.com>
Till: OpenSIPS users mailling list <users at lists.opensips.org> 
Kopia: Christian Cambier <cca at voxtron.com> 
Skickat: måndag, 19 november 2012 19:52
Ämne: [OpenSIPS-Users] OpenSIPS not using mysql DB??
 

 
Hi.

Using 2 soft-SipPhones I specify the IP-address of my OpenSIPS proxy and manage
to register 2 users that I created using the OpenSIPS control panel
The users can call each other and everything, logging/traces on the proxy clearly
show the traffic between the 2 users 

Now the strange thing is that if I change the extension number to a number that
doesn't correspond to any user in the DB, not only does the registration
process succeed, but that user can make successful calls as well.

It is as if my proxy is not using the opensips DB?

How to make sure that the mysql db is used?

thx
_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20121119/5a1f6cd4/attachment.htm>


More information about the Users mailing list