[asterisk-users] multiple CDRs for one call (multiple dial attempts during one call)

Sherwood McGowan sherwood.mcgowan at gmail.com
Thu Jun 12 14:51:07 CDT 2008


Atis Lezdins wrote:
> On Thu, Jun 12, 2008 at 9:14 PM, Sherwood McGowan
> <sherwood.mcgowan at gmail.com> wrote:
>   
>> Atis Lezdins wrote:
>>     
>>> On Thu, Jun 12, 2008 at 3:36 PM, Rizwan Hisham <rizwanhasham at gmail.com> wrote:
>>>
>>>       
>>>> Hi all,
>>>> I have setup an asterisk system which:
>>>>
>>>> recieves incoming sip calls
>>>> ask the caller the number they want to dial, and then dial that number
>>>> after the caller is done talking and callee hangsup or even if the callee
>>>> does not answer the phone, the caller is asked for another number to dial.
>>>> And so on....untill the caller hangsup
>>>>
>>>> Everthing above is working fine. But i dont know how to manipulate the cdr
>>>> so that every outgoing call for he caller should be logged. I have looked
>>>> into ForkCDR but it seems like it can only be used for transfers.
>>>>
>>>> Any ideas how i can solve my multiple cdr problem?
>>>>
>>>>         
>>> ResetCDR(w)
>>>
>>> Regards,
>>> Atis
>>>
>>>
>>>       
>> I'm not sure that would be a viable solution, the ResetCDR(w) app+option
>> is only going to write the cdr and then zero it out, but the next time
>> the write occurs wouldn't it just overwrite the existing record?
>>     
>
> No, next time it will write new record from the point when ResetCDR was called.
>
> I use it extensively for call event logging, for example:
> * Call received to DID A, business hours detected.
> * Call sent to IVR 1 for 15 seconds
> * Call waited in queue 2 for 20 seconds
>
> etc
>
> Regards,
> Atis
>
>   
Ah thanks Atis! I hadn't played with it before since the documentation 
gave info that lead me to believe it wouldn't work for me :)

Very helpful information :)

-- 
Sherwood McGowan
VoIP / Telecom Solutions
sherwood.mcgowan at gmail.com




More information about the asterisk-users mailing list