Name

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

Synopsis

ForkCDR([options])

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).

If the v option is specified, all the CDR variables from the current record will be inherited by the new CDR record.

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

See Also

CDR function, NoCDR(), ResetCDR()