<!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.3059" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi all,<BR>I am trying to use avp_db_store() stores my table
"contact" with caller uri</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>ex:<BR> table name: contact<BR>
-----------------------------<BR> | username | domain
| |<BR>
-----------------------------<BR>
|
|
| |<BR>
----------------------------- <BR>
|
|
| |<BR>
-----------------------------</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2> If (method=="INVITE"){<BR>
avp_write("$ruri/username", "s:name");<BR>
avp_write("$ruri/domain", "s:domain");<BR>
avo_db_store("s:name", "s:username/contact")<BR>
avp_db_store("s:domain", "s:domain/contact");<BR>
};</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>if the call bob then save username and domain of callee in
contact<BR>callee: bob at iptel.org <BR>=><BR>
-----------------------------<BR> | username |
domain | |<BR>
-----------------------------<BR> |
bob | iptel.org | |<BR>
----------------------------- <BR>
|
|
| |<BR> -----------------------------<BR> but not
success, system reply <BR>ERROR:avpops:db_store: insert faild</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Am I setting wrong param for avo_db_store()?<BR>Thanks a lot
in advance</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>chungyu<BR></FONT></DIV></BODY></HTML>