[OpenSIPS-Users] how to integrate on DB call barring
jayesh1017 at gmail.com
Mon Jul 22 17:30:59 CEST 2013
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.
On Fri, Jul 19, 2013 at 4:11 PM, alex <alexsnake1986 at gmail.com> wrote:
> hi all,
> i explain my situation: i want create a user mask on open sip that allow
> 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
> can anyone help me?
> thx for your support.
> View this message in context:
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
> Users mailing list
> Users at lists.opensips.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users