What triggers mod_cdr_csv to log a call? I'm not sure if what I'm experiencing is due to my mistake or otherwise, but here's the situation. Incoming call (via PSTN or a VoIP provider) -> Extension 105 and answered 105 transfers to 115, 115 answers, 105 completes transfer The call progresses and is 115 finally hangs up. The Master.csv only gets one line added to it - the 105 to 115 call. Nothing about the incoming caller. If I knew what triggered the log entry, I could try to track the issue down in my dial plan. Thanks! -Troy
The way I understand it, it gets triggered by the a leg hanging up, same as xml_cdr. I would imagine the channel changes, and if you were comparing the xml_cdr of the same call, you would see the original call as well. You might also have some luck with looking at the b leg cdr, if you have that turned on. That's the extent of my guesswork. -Tod Hansmann On 3/16/2010 1:10 PM, Troy Anderson wrote:
What triggers mod_cdr_csv to log a call?
I'm not sure if what I'm experiencing is due to my mistake or otherwise, but here's the situation. Incoming call (via PSTN or a VoIP provider) -> Extension 105 and answered 105 transfers to 115, 115 answers, 105 completes transfer The call progresses and is 115 finally hangs up.
The Master.csv only gets one line added to it - the 105 to 115 call. Nothing about the incoming caller.
If I knew what triggered the log entry, I could try to track the issue down in my dial plan.
Thanks! -Troy
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
By default its only logging A legs. See config file <param name="legs" value="a"/> and change to <param name="legs" value="ab"/> /b On Mar 16, 2010, at 2:59 PM, Tod Hansmann wrote:
The way I understand it, it gets triggered by the a leg hanging up, same as xml_cdr. I would imagine the channel changes, and if you were comparing the xml_cdr of the same call, you would see the original call as well. You might also have some luck with looking at the b leg cdr, if you have that turned on.
That's the extent of my guesswork.
-Tod Hansmann
Thanks, guys! Setting the legs param to "ab" brought in lots more cdr data, including the LOSE_RACE legs. I'm still a bit confused, though - can you explain what is considered a-leg vs. b-leg in this context? I would have thought the call from outside into the system would constitute an a-leg. Thanks! Troy On Mar 16, 2010, at 1:26 PM, Brian West wrote:
By default its only logging A legs. See config file <param name="legs" value="a"/> and change to <param name="legs" value="ab"/>
/b
On Mar 16, 2010, at 2:59 PM, Tod Hansmann wrote:
The way I understand it, it gets triggered by the a leg hanging up, same as xml_cdr. I would imagine the channel changes, and if you were comparing the xml_cdr of the same call, you would see the original call as well. You might also have some luck with looking at the b leg cdr, if you have that turned on.
That's the extent of my guesswork.
-Tod Hansmann
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
A is ingress to the switch.. B is egress from the switch... remember each bridged call consists of two legs. But their are cases that can blur those lines. /b On Mar 16, 2010, at 3:59 PM, Troy Anderson wrote:
Thanks, guys! Setting the legs param to "ab" brought in lots more cdr data, including the LOSE_RACE legs. I'm still a bit confused, though - can you explain what is considered a-leg vs. b-leg in this context? I would have thought the call from outside into the system would constitute an a-leg.
Thanks! Troy
On Tue, Mar 16, 2010 at 2:10 PM, Brian West <brian@freeswitch.org> wrote:
A is ingress to the switch.. B is egress from the switch... remember each bridged call consists of two legs. But their are cases that can blur those lines.
FYI, this is a good piece of information. I added it explicitly to the call legs wiki page that we just started: http://wiki.freeswitch.org/wiki/Call_Legs
If anyone else has something to add by all means do so. -MC
participants (4)
-
Brian West
-
Michael Collins
-
Tod Hansmann
-
Troy Anderson