Alex, Just create a DB table with some sort of status column for each customer with destinations in it. Before processing every call use avp_db_query to query the status column corresponding to the destination and take appropriate action. Destination can be matched using country code, area code and so on. Its all about your business logic and nothing related to the opensips configuration. opensips allows you to query the tables and do some good comparison in the script to achieve such functionalities.
--- Jayesh On Fri, Jul 19, 2013 at 4:11 PM, alex <[email protected]> wrote: > hi all, > i explain my situation: i want create a user mask on open sip that allow > the > user to select the type of call thet he wants allow or dany, for example > implementing a checkbox whit the choiches to allow or deny international > call, special number (hot line etc), etc. > my question is: where can i write this information on the DB (the relative > table)?? > > can anyone help me? > thx for your support. > > > > -- > View this message in context: > http://opensips-open-sip-server.1449251.n2.nabble.com/how-to-integrate-on-DB-call-barring-tp7587223.html > Sent from the OpenSIPS - Users mailing list archive at Nabble.com. > > _______________________________________________ > 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
