Hi Terrance,

1) take a look at the Dynamic Routing module - it does prefix based routing and much more:
http://www.opensips.org/html/docs/modules/1.11.x/drouting.html

2) use dialog profiles to do that:
http://www.opensips.org/Documentation/Tutorials-ConcurrentCallsLimitation

Best regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 05.01.2015 05:33, Terrance Devor wrote:
Hello Everyone,

We are currently using OpenSIPS 1.8.9 and would like to add the ability to:

- Maintain different route grades via prefixes (ie, standard, premium, direct). The prefixes could be something like (1001, 1002, 1003) for example. The different grades will have different /min pricing. Routing will be executed as per sent prefix.
- Limit concurrent calls using IP address.

A little about our system. We do not accept REGISTER, and thus do not use the subscriber table. All calls are handled via IPs, the address table, and ACL. The best case scenario for concurrent call limitation would be to add a `channels` field to the `address` table, and query the dialog table for the number (ie, count) of active calls, and maintain the limit in script.

Kind Regards,

Terrance



_______________________________________________
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

Reply via email to