No subject
Thu Feb 3 19:02:41 CET 2011
http://www.mail-archive.com/users@lists.kamailio.org/msg01411.html
Unfortunately, in the archives, there's no solution for that.
Regards,
Alexandre
------=_NextPart_000_0145_01CBE4A9.888D5200
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EstiloDeEmail17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DPT-BR link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
lang=3DEN-US>Hello.<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>Why acc_db_request() doesn’t work on =
event_route?<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>Mar 17 13:15:44 devel kamailio[25209]: INFO: =
<script>: Routing locally generated BYE to =
<sip:2000000 at 192.168.200.114:9297><o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US>Mar 17 13:15:44 devel =
kamailio[25209]: ERROR: <core> [db.c:421]: invalid parameter =
value<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US>Mar =
17 13:15:44 devel kamailio[25209]: ERROR: acc [acc.c:391]: error in =
use_table<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>Mar 17 13:15:44 devel kamailio[25209]: INFO: =
<script>: Routing locally generated BYE to =
<sip:2000001 at 192.168.200.149:7335><o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US>Mar 17 13:15:44 devel =
kamailio[25209]: ERROR: <core> [db.c:421]: invalid parameter =
value<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US>Mar =
17 13:15:44 devel kamailio[25209]: ERROR: acc [acc.c:391]: error in =
use_table<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>event_route[tm:local-request] {<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US><o:p> </o:p></span></p><p =
class=3DMsoNormal><span =
lang=3DEN-US> =
xlog("L_INFO", "Routing locally generated $rm to =
<$ru>\n");<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US> if =
(is_method("BYE"))<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
lang=3DEN-US> =
acc_db_request("rtp-timeout", =
“acc”);<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>}<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>If I change acc_db_request() to acc_log_request() =
everything works fine, but this BYE should go to database for accounting =
purposes.<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>I am using GIT version from Kamailio branch =
3.1.<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>From 2008 there is a thread that also demonstrate this =
problem: <o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>http://www.mail-archive.com/users@lists.kamailio.org/msg0141=
1.html<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>Unfortunately, in the archives, there’s no solution =
for that.<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>Regards,<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>Alexandre<o:p></o:p></span></p></div></body></html>
------=_NextPart_000_0145_01CBE4A9.888D5200--
More information about the sr-users
mailing list