<!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><FONT size=2>
<DIV><BR>Hi all,<BR>I am trying to use avp_db_store() stores my table "contact"
with caller uri</DIV>
<DIV> </DIV>
<DIV>ex:<BR> table name: contact<BR>
-----------------------------<BR> | username |
domain |<BR>
-----------------------------<BR>
|
|
|<BR> ----------------------------- <BR>
|
|
|<BR> -----------------------------</DIV>
<DIV> </DIV>
<DIV> If (method=="INVITE"){<BR>
avp_write("$ruri/username", "s:name");<BR>
avp_db_store("$ruri", "s:name/contact");<BR> };</DIV>
<DIV> </DIV>
<DIV>if the incoming call then save username and domain of caller in
contact<BR>caller: <A href="mailto:bob@iptel.org">bob@iptel.org</A>
<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</DIV>
<DIV> </DIV>
<DIV>Please help me in the problem<BR>Thanks a lot in
advance<BR>chungyu</FONT></DIV></BODY></HTML>