Hi
 
     I have a field called "phone_number" in subscriber,and would append to rewriteuser().
But rewriteuser() type is string. So have a problem.
 
problem:
      I used AVpops.
 
      modparam("avpops","avp_aliases","phone=i:660")
      modparam("avpops","db_scheme","phone_scheme:table=subscriber;value_col=phone_number;value_type=string")
 
      avp_db_load("$ruri","$phone/$phone_scheme");
      rewriteuser("$phone");
     
      result is error. because rewriteuser(string).
 
      and i want if value of "$phone" is 4761
 
      the result is 4761@domain
 
How should I use rewriteuser()
 
Thank you!!
 
Chungyu
2006/12/13