Re: [OpenSIPS-Users] accounting problem after failover

2014-02-06 Thread Bogdan-Andrei Iancu
Hi Edwin, There is no need to set DB_FLAG as missed calls - I was just investigating some possibilities of conflict ... The acc flags must be set before the t_relay(), so that acc module can install some callbacks when the transaction is created. So, everything solved at this point ? Best

Re: [OpenSIPS-Users] accounting problem after failover

2014-02-05 Thread Edwin
After more testing I found out that is I put setflag(DB_FLAG) before t_relay in route[1] CDR accounting is working. But I (of course) only want to account outgoing calls so I want to set the flag in route[2] -- View this message in context:

Re: [OpenSIPS-Users] accounting problem after failover

2014-02-05 Thread Bogdan-Andrei Iancu
Hello, Are you, by any chances, using the DB_FLAG flag for triggering missed calls too (in acc module) ?? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 05.02.2014 13:37, Edwin wrote: After more testing I found out that is I put

Re: [OpenSIPS-Users] accounting problem after failover

2014-02-05 Thread Edwin
Bogdan, I did not set the DB_FLAG for triggering missed calls (tried without any luck), should I do this? I came up with this peace of routing (simplified), strange thing is I can clear the DB_FLAG in the reply route after a t_relay, but I can not set the DB_FLAG after a t_relay. Does this

[OpenSIPS-Users] accounting problem after failover

2014-02-04 Thread Edwin
I need a little (lot of) help with an accounting problem. I try to deliver an inbound call to the ip of a client. If the transactions times out I route the call outbound to his mobile. (Of course) the outbound call should be accounted (in mysql CDR database). I tried to show routing down here in