Ah ok. So you are saying that i can configure the exported variables to read
another table that contains eg. "gateway"(or srcIP) and correspondent
"preferred_carrier".
With that my problem it's solved i think.
Sorry for the dumb questions :P
Thank you and Ovidiu Sas too
you did a great job there with carrierroute!!
Henning Westerholt-2 wrote:
On Monday 05 January 2009, victorpy wrote:
I know you can create several routing trees, but
how you load a next
carrier in case of failure o how can you load the carrier without
hardcoding in the script?
you can load the next domain with cr_next_domain in a $avp. in this case
the script it's dynamic
but how can you load a carrier in the same way?
there is no function like load next carrier or load preferred carrier.
Can you give me an idea how to make the map between scrIP and tree based
on
that map?
Hi victorpy,
you can load the preferred carrier from a database with cr_user_carrier.
It
default to the subscriber table, thus the 'user' in the name, but you can
configure any table you like.
Cheers,
Henning
_______________________________________________
Users mailing list
Users(a)lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users