<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=big5">
<META content="MSHTML 6.00.2900.2995" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>&nbsp;&nbsp;&nbsp;&nbsp; I have a field called "phone_number" 
in subscriber,and would append to rewriteuser().<BR>But rewriteuser() type is 
string. So have a problem.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>problem:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I used 
AVpops.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
modparam("avpops","avp_aliases","phone=i:660")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
modparam("avpops","db_scheme","phone_scheme:table=subscriber;value_col=phone_number;value_type=string")</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
avp_db_load("$ruri","$phone/$phone_scheme");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
rewriteuser("$phone");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; result is error. because 
rewriteuser(string).</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; and i want if value of "$phone" 
is 4761<BR>&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the result is <A 
href="mailto:4761@domain">4761@domain</A></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>How should I use rewriteuser()</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>Thank you!!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>Chungyu<BR>2006/12/13<BR></FONT></DIV></BODY></HTML>