Re: [SR-Users] No CDR is written when dialog timeouts

2015-04-15 Thread Daniel-Constantin Mierla
I pushed two patches, as it required a small adjustment to acc module for this case -- they are now in master, affecting acc and dialog modules. Testing and feedback whether it works or not is very appreciated. I went a different path, considering the case when the bye is coming from the wire, two

Re: [SR-Users] No CDR is written when dialog timeouts

2015-04-15 Thread Daniel-Constantin Mierla
dnesday, April 15, 2015 10:59 > *To: *Kamailio (SER) - Users Mailing List > *Reply To: *mico...@gmail.com > *Subject: *Re: [SR-Users] No CDR is written when dialog timeouts > > > Looks like the topic diverged in side discussion, irrelevant to the issue. > > The report was

Re: [SR-Users] No CDR is written when dialog timeouts

2015-04-15 Thread Alex Balashov
.From: Daniel-Constantin MierlaSent: Wednesday, April 15, 2015 10:59To: Kamailio (SER) - Users Mailing ListReply To: mico...@gmail.comSubject: Re: [SR-Users] No CDR is written when dialog timeouts

Re: [SR-Users] No CDR is written when dialog timeouts

2015-04-15 Thread Daniel-Constantin Mierla
On 15/04/15 16:27, Mickael Marrache wrote: > > I'm looking at the dlg_ontimeout function [dlg_handlers.c:1369] and I > understand the code, the DLGCB_EXPIRED callbacks are not called when > the send_bye parameter is set to 1. > > > > I'm looking at the block 1399-1408. > Indeed, looking quickly

Re: [SR-Users] No CDR is written when dialog timeouts

2015-04-15 Thread Daniel-Constantin Mierla
Looks like the topic diverged in side discussion, irrelevant to the issue. The report was related to the fact that the dialog+acc is not recording the CDRs when sending the BYE on timeout. That is obviously an issue because there is dedicated functionality for this case. I am not the original deve

Re: [SR-Users] No CDR is written when dialog timeouts

2015-04-15 Thread Alex Balashov
Hook, route, whatever you want to call it. The bottom line is that you cannot rely on the proxy's dialog layer, already a tenuous concept inasmuch as it's implemented strictly on top of transaction state specifica

Re: [SR-Users] No CDR is written when dialog timeouts

2015-04-15 Thread Alex Balashov
‎Why are you using the dialog start/end hooks? They work well for standard scenarios clearly understood by the dialog module. For nonstandard scenarios, use the TM local-request route to catch and log endogenous

Re: [SR-Users] No CDR is written when dialog timeouts

2015-04-15 Thread Mickael Marrache
s.sip-router.org Subject: Re: [SR-Users] No CDR is written when dialog timeouts ‎Why are you using the dialog start/end hooks? They work well for standard scenarios clearly understood by the dialog module. For nonstandard scenarios, use the TM local-request route to catch and log endogen

Re: [SR-Users] No CDR is written when dialog timeouts

2015-04-15 Thread Mickael Marrache
I'm looking at the dlg_ontimeout function [dlg_handlers.c:1369] and I understand the code, the DLGCB_EXPIRED callbacks are not called when the send_bye parameter is set to 1. I'm looking at the block 1399-1408. From: Mickael Marrache [mailto:mickaelmarra...@gmail.com] Sent: Wednesday, Apri

Re: [SR-Users] No CDR is written when dialog timeouts

2015-04-15 Thread Mickael Marrache
I also confirm the cdr_on_create() [acc_cdr.c:718] function is called since I can see the debug statement "dialog '%p' created!". From: Mickael Marrache [mailto:mickaelmarra...@gmail.com] Sent: Wednesday, April 15, 2015 3:48 PM To: sr-users@lists.sip-router.org Subject: No CDR is written when