[asterisk-users] one CDR instead of multiple CDR

Dovid B asteriskusers at dovid.net
Tue Feb 26 20:38:29 CST 2008


----- Original Message ----- 
From: "Atis Lezdins" <atis at iq-labs.net>
To: "Asterisk Users Mailing List - Non-Commercial Discussion" 
<asterisk-users at lists.digium.com>
Sent: Tuesday, February 05, 2008 4:24 PM
Subject: Re: [asterisk-users] one CDR instead of multiple CDR


> On 2/5/08, Arjan Kroon | Mobillion <Arjan.Kroon at mobillion.nl> wrote:
>> This is a part of our programma.
>>
>> [begin]
>> exten => s,1, h324m_gw(s at video)
>>
>> [video]
>> exten => s,1,h324m_gw_answer()
>> exten => s,2,Wait(3)
>> exten => s,3,Goto(intro,s,1)
>>
>> [intro]
>> exten => s,1,mp4play(intro.3gp)
>> exten => #,n,Goto(einde,s,1)
>>
>> [einde]
>> exten => s,n, Hangup()
>
> Seems like a side-effect of using local channels. You could try adding
> NoCDR() in context video, and see if that helps, and you still get
> valid call durations. Or as alternative - add NoCDR in context begin,
> as it completes almost immediately. However i don't see where third
> channel is raised.. Could you provide debug logs of affected call from
> /var/log/asterisk/full (enabling "full" in logger.conf).
>
> Regards,
> Atis
>
>
>>
>>
>> When I use this dialplan and during the intro.3gp I press the #-key the
>> call will be ended.
>> But I got three different CDR's.
>>
>> Does anybody know how I can use one CDR instead of 3 different CDR's
>>
>> Kind Regards,
>>
>>
>> Arjan Kroon

If he uses NoCDR() and the person calling in hangs up when the call is at 
that context then no recard of the call will be logged ? 





More information about the asterisk-users mailing list