Name
ForkCDR() — Creates an additional CDR from the current call
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()
Get Asterisk: The Future of Telephony, 2nd Edition 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.