[OpenSIPS-Users] Missed INVITE record in acc table
bogdan at opensips.org
Wed Sep 3 09:59:34 CEST 2014
At INVITE time be sure both flags (ACC_DO - accounting is required - and
CDR_FLAG - do it as CDR) are set before you do create_dialog().
OpenSIPS Founder and Developer
On 03.09.2014 10:52, Alexander Mustafin wrote:
> Hi, Bogdan.
> Sure, I’m use dialog module and create dialog. In modules section I’m
> load acc module before dialog(because, I’ve read about problem with it).
> I’ve tried to set CDR_FLAG before create_dialog and after - with the
> same result. Also, I’ve disabled CDR_FLAG and used ACC_DO only, but
> INVITE record still absent).
> I thought the problem with MySQL, but I’ve sniffed traffic to MySQL
> and OpenSIPS not send anything for INVITE - only for dialog and BYE.
> How can I detect what’s happened when flags is sets?
> Best regards,
> Alexander Mustafin
> mustafin.aleksandr at gmail.com <mailto:mustafin.aleksandr at gmail.com>
> 03 сент. 2014 г., в 13:42, Bogdan-Andrei Iancu <bogdan at opensips.org
> <mailto:bogdan at opensips.org>> написал(а):
>> Hi Alexander,
>> If you use the CDR_FLAG, you really must use dialog module and create
>> the dialogs during the initial INVITE - do you do that ?
>> Bogdan-Andrei Iancu
>> OpenSIPS Founder and Developer
>> On 03.09.2014 10:21, Alexander Mustafin wrote:
>>> I’ve the problem with acc - now, only BYE records presents in acc
>>> I’ve set the flags ACC_DO and others for initial INVITE, tried to
>>> use CDR_FALG, but without success.
>>> If I use CDR_FLAG with ACC_DO for INVITE and disable it for BYE -
>>> all records for call absent.
>>> Maybe, other parts of my script does broke ACC behavior, but I can’t
>>> see an error in debug log.
>>> version: opensips 1.11.2-tls (x86_64/linux)
>>> flags: STATS: On, USE_IPV6, USE_TCP, USE_TLS, DISABLE_NAGLE,
>>> USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC,
>>> ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN
>>> 16, MAX_URI_SIZE 1024, BUF_SIZE 65535
>>> poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
>>> main.c compiled on 00:09:03 Jul 3 2014 with gcc 4.4.7
>>> Best regards,
>>> Alexander Mustafin
>>> mustafin.aleksandr at gmail.com <mailto:mustafin.aleksandr at gmail.com>
>>> Users mailing list
>>> Users at lists.opensips.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users