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

Re: [OpenSIPS-Users] Accounting problem

2008-11-27 Thread Iñaki Baz Castillo
El Jueves, 27 de Noviembre de 2008, Tseveendorj Ochirlantuu escribió: (Shared secret is incorrect.) -- Iñaki Baz Castillo ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

[OpenSIPS-Users] Accounting problem

2008-11-26 Thread Tseveendorj Ochirlantuu
Hello I have problem for radius accounting on opensips 1.4.2-tls. Environment: Debian Linux 2.6.18-6-amd64 Opensips 1.4.2 FreeRADIUS 1.1.3 MYSQL 5.0.32 Tue Nov 25 18:07:23 2008 : Info: rlm_sql_mysql: Starting connect to MySQL server for #21 Tue Nov 25 18:07:23 2008 : Info: rlm_sql_mysql:

[OpenSIPS-Users] Accounting Problem

2008-11-20 Thread Dilip
Hello Everybody, I am using freeradius+Openser for the accounting purpose. I explain using example. 1) This is working perfectly. A===call to= B Accounting is starting When A hangup the call then Accounting is stop and it makes the

Re: [OpenSIPS-Users] Accounting Problem

2008-11-20 Thread Bogdan-Andrei Iancu
Hi Dilip, Try not to use the same flag for accounting flag and for missed_call flag - this may lead to unpredictable behaviour . Use different flags and see if the problem still persists. Regards, Bogdan Dilip wrote: Hello Everybody, I am using freeradius+Openser for the accounting purpose.