[Serusers] gw based of username

Iqbal Gandham igandham at ipclouds.co.uk
Fri Apr 22 17:49:35 CEST 2005


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

-- 
Regards
Iqbal Gandham, CEO
IPClouds Ltd (http://www.ipclouds.co.uk)

Baylis House ,Stoke Poges Lane
Slough,Berkshire
SL1 3PB

V: iqbal at sip.ipclouds.co.uk ( call me free !!)
M: +44 7866318220
F: +44 (0) 870 7474784
W: http://www.ipclouds.co.uk
-------------------------
b5 18 b5 07 1c cd 15 41
ba 23 ad 94 38 30 b8 df
------------------------- 






More information about the sr-users mailing list