Glenn Dalgliesh writes:
Well I would becarefull using # since some UA's use # to terminate digit input and dial..... Not positive but I think * would be a better choice.
I came up with something like this: lookup("aliases"); if (uri=~"^sip:#[0-9]*@"){
note that # is not a valid character in user part of uri unless it is escaped. note also, that openser does not currently support escaped characters.
-- juha