On 02/27/2012 12:58 PM, Yufei Tao wrote:
Hi
I've got a mediaproxy that detects no media, and sends dlg_end_dlg to
Kamailio via mi_datagram socket. Then Kamailio sends BYE to both calling
parties. It all works fine. But my question is, how to do accounting for
these Kamailio-generated BYEs? They don't appear in the acc table.
In the loose_route() section of the config script, set the accounting
flag for BYEs, e.g.
if(is_method("BYE"))
setflag(xx);
--
Alex Balashov - Principal
Evariste Systems LLC
260 Peachtree Street NW
Suite 2200
Atlanta, GA 30303
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web:
http://www.evaristesys.com/,
http://www.alexbalashov.com/