Name

ForkCDR() — Creates an additional CDR from the current call

Synopsis

    ForkCDR()

Creates an additional Call Detail Record for the remainder of the current call.

This application is often used in calling-card applications to distinguish the inbound call (the original CDR) from the billable call time (the second CDR).

    exten => 123,1,Answer()
    exten => 123,2,ForkCDR()
    exten => 123,3,Playback(tt-monkeys)
    exten => 123,4,Hangup()

Get Asterisk: The Future of Telephony now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.