[SR-Users] acc Module missing BYE in database
Dirk Teurlings - SIGNET B.V.
dteurlings at signet.nl
Tue Jul 21 14:16:02 CEST 2015
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-07-15 13:45, Daniel-Constantin Mierla wrote:
> 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 generated locally.
>
> Cheers,
> Daniel
>
> On 21/07/15 10:05, Dirk Teurlings - SIGNET B.V. wrote:
>> 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 properly. So the BYE
>> message does get sent, but acc doesn't seem to pick it up some of the
>> times. It occurs around maybe once every 100 calls.
>>
>> Anybody got any ideas about this?
>
More information about the sr-users
mailing list