Hi
Currently I am using lcr to choose my gateway based upon prefix, now I
wanted to choose a gateway based on username. I was thinking that if a
user made a call to say 001xyz I could detect its username, see if in
usr_prefences (using avp) it had a variable set eg:add_prefix, if so add
a prefix of 2 to the number.
Then in lcr add a false prefix of 2001 to the table with the new
gateway, and at the gateway remove the prefix, before making the call,
this way I dont have to ask users to dial any special prefixes.
Any better ideas
Iqbal
Show replies by date