Hello Daniel. The BYE is generated by kamctl/xmlrpc (dlg_terminate_dlg).
Alexandre De: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Enviada em: quarta-feira, 23 de março de 2011 04:55 Para: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List Cc: Alexandre Abreu Assunto: Re: [SR-Users] event_route and acc_db_request(). Hello, On 3/17/11 5:45 PM, Alexandre Abreu wrote: Hello. Why acc_db_request() doesnt work on event_route? I will take a look. Is the BYE generated by dialog timeout or you trigger it by kamctl/xmlrpc? Cheers, Daniel Mar 17 13:15:44 devel kamailio[25209]: INFO: <script>: Routing locally generated BYE to <sip:2000000@192.168.200.114:9297> Mar 17 13:15:44 devel kamailio[25209]: ERROR: <core> [db.c:421]: invalid parameter value Mar 17 13:15:44 devel kamailio[25209]: ERROR: acc [acc.c:391]: error in use_table Mar 17 13:15:44 devel kamailio[25209]: INFO: <script>: Routing locally generated BYE to <sip:2000001@192.168.200.149:7335> Mar 17 13:15:44 devel kamailio[25209]: ERROR: <core> [db.c:421]: invalid parameter value Mar 17 13:15:44 devel kamailio[25209]: ERROR: acc [acc.c:391]: error in use_table event_route[tm:local-request] { xlog("L_INFO", "Routing locally generated $rm to <$ru>\n"); if (is_method("BYE")) acc_db_request("rtp-timeout", acc); } If I change acc_db_request() to acc_log_request() everything works fine, but this BYE should go to database for accounting purposes. I am using GIT version from Kamailio branch 3.1. >From 2008 there is a thread that also demonstrate this problem: http://www.mail-archive.com/users@lists.kamailio.org/msg01411.html Unfortunately, in the archives, theres no solution for that. Regards, Alexandre _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users -- Daniel-Constantin Mierla http://www.asipto.com _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users