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 <[email protected]>
Till: OpenSIPS users mailling list <[email protected]>
Kopia: Christian Cambier <[email protected]>
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
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users