Yaron wrote:
Thanks for the quick response. I have already played with the sqlops -
this is an obvious way to do it. I will further investigate cr and sqlops
and decide which is best for my purposes.
Hello Yaron,
I liked the idea of having several instances of
SIP-ROUTERs which are
independent of each other- I understand that cr answers it.
Indeed, this is one advantage of using an in-memory cache. But you probably
need some more DB access on the servers for things like authentication.
I have another question - I was trying to add
alpha-numeric character
into the cr prefix and it seems it is not supported. We are using 'D' prefixes
in our network in order to route between different elements in the network.
Is there a way to support it? Maybe another routing module?
The cr module support also a extended matching mode, but it will be probably
not really feasible with millions of routes:
http://kamailio.org/docs/modules/stable/modules/carrierroute.html#id2651893
Another thing you could do is use another "domain" for the D prefix, e.g. one
for the default routing, and then another one for the D case. The module support
matching for the domain as well. You could maybe also use flags for matching.
Other possible modules for PSTN routing are lcr and mtree.
Regards,
Henning