Quantcast
Channel: IP АТС Asterisk
Viewing all articles
Browse latest Browse all 1135

ForkCDR

$
0
0

ForkCDR

[Synopsis]

Forks the current Call Data Record for this channel.

[Description]

Causes the Call Data Record engine to fork a new CDR starting from the time the application is executed. The forked CDR will be linked to the end of the CDRs associated with the channel.

[Syntax]

ForkCDR([options])

[Arguments]

options

 options
* a - Update the answer time on the NEW CDR just after it's been inited. The new CDR may have been answered already. The reset that forkcdr does will erase the answer time. This will bring it back, but the answer time will be a copy of the fork/start time. It will only do this if the initial cdr was indeed already answered.
* A - Lock the original CDR against the answer time being updated. This will allow the disposition on the original CDR to remain the same.
* d - Copy the disposition forward from the old cdr, after the init.
* D - Clear the dstchannel on the new CDR after reset.
* e - End the original CDR. Do this after all the necessary data is copied from the original CDR to the new forked CDR.
* r - Do NOT reset the new cdr.
* s(name=val) - Set the CDR var name in the original CDR, with value val.
* T - Mark the original CDR with a DONT_TOUCH flag. setvar, answer, and end cdr funcs will obey this flag; normally they don't honor the LOCKED flag set on the original CDR record.
* v - When the new CDR is forked, it gets a copy of the vars attached to the current CDR. The vars attached to the original CDR are removed unless this option is specified.

[See Also]

function 'CDR', NoCDR(), ResetCDR()

cdr_*.conf

Команды диалплана Asterisk12 в алфавитном порядке


Viewing all articles
Browse latest Browse all 1135

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>