[OpenSIPS-Users] how to integrate on DB call barring

Jayesh Nambiar 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.

--- Jayesh

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
> 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
> 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/20130722/35c4f6f8/attachment-0001.htm>

More information about the Users mailing list