thanks..... i already did. no bye is inserted to the DB. 2 invites for the 183 and 200, 1 ack, and that is it...
another idea? :-)
 
"
Hi,

set acc flag in local_route,

On Sat, Jan 21, 2012 at 1:08 PM, Uri Shacked <ushacked at gmail.com> wrote:
"
> Hi,
>
> i wonder, anyone has a good idea of how to set a flag, that will insert
> the bye kamailio created to end the dialog into the acc table?
> i am checking "early media", "cancel", "ack" etc.... but when kamaiilo
> creates the bye with the dlg_bye command, there is no acc raw for that....
> i can create a sqlops and insert with the call's params... but there must
> be a nicer way, no?
>
> BR,
> Uri
>