Re: [SR-Users] acc Module missing BYE in database

2015-08-07 Thread Daniel-Constantin Mierla
Hello, catching up after traveling -- do you have the flag for accounting failed transactions set for BYE? Maybe the BYE doesn't get 200ok and therefore is not accounted just with acc flag set. Cheers, Daniel On 21/07/15 14:16, Dirk Teurlings - SIGNET B.V. wrote: > Hi Daniel, > > As far as I can

Re: [SR-Users] acc Module missing BYE in database

2015-07-21 Thread Dirk Teurlings - SIGNET B.V.
Hi Daniel, As far as I can tell these BYE messages weren't originated locally. These are all terminated with a BYE from the mediaserver (asterisk). CNXCC doesn't overflow, nor does any timeout occur. Should your suggested changes still make any difference knowing this? Cheers, Dirk On 21-0

Re: [SR-Users] acc Module missing BYE in database

2015-07-21 Thread Daniel-Constantin Mierla
Hello, to catch the local generated BYEs, you have to add event_route[tm:local-request] and there test if it is a BYE and if yes, use acc_db_request(...) to get the record in acc table. For sake of completion, request_route {} is executed only for requests received from the network, not for those

[SR-Users] acc Module missing BYE in database

2015-07-21 Thread Dirk Teurlings - SIGNET B.V.
Hi again, Running kamailio 4.2.5 with the acc module to do accounting in a MySQL database. We are now running into the issue that sometimes there is no BYE line when there is an INVITE. Digging into this I noticed that the dialog:end event does get triggered, and that CNXCC consumes the call