[OpenSER-Users] The best way to allow just a few destinations based on prefix?

Henning Westerholt henning.westerholt at 1und1.de
Tue Feb 19 13:29:05 CET 2008


On Tuesday 19 February 2008, Iñaki Baz Castillo wrote:
> Hi, which would be the more ellegant way to allow users to call just a few
> destinations (based on prefix)?
> [..]
>
> and latter extract the international prefix from the E164 converted RURI
> and do a SQL query. But I'd like to avoid using avp_db_query() function.
>
> I've reading about PDT, LCR and CarrierRoute modules but they seems to be
> supposed to other aims. The most similar could be PDT but it needs to strip
> my prefix XD
>
> What do you suggest? should I implement my custom method for this?

Hi Iñaki,

we've written a custom module for this to handle black (and white) lists on a 
global and per-user basis. I'm also interested if there are another means to 
achieve a functionality like this. If this is not possible, then perhaps i'll 
be able to contribute this module to 1.4.

But of course it would be better to use existing code to achieve this.

Cheers,

Henning


-- 
I'm going to FOSDEM - www.fosdem.org




More information about the Users mailing list