Asterisk 11 -> 16 ForkCDR
hi,
after upgrade from asterisk 11 to 16 i have problem with ForkCDR app
(probably)
snippet of dialplan
EXTEN=800800800 backup_number=666777888
exten => _X.,n(forward800),noop(forward800)
exten => _X.,n,Gosub(routing800,s,1(${EXTEN}))
exten => _X.,n,goto(pstn,${backup_number},1)
[routing800]
exten => s,1,noop(sub:routing800)
same => n,forkcdr()
same => n,set(CDR(accountcode)=${ARG1})
same => n,set(CALLERID(rdnis)=${ARG1})
same => n,SIPAddHeader(Diversion:
same => n,Return
Asterisk 11 CDR
src | dst | billsec | accountcode
+———+———–+———+————-
111222333 | 800800800 | 159 |
111222333 | 666777888 | 159 | 800800800
Asterisk 16 CDR
src | dst | billsec | accountcode
+———+———–+———+————-
111222333 | 666777888 | 159 | 800800800
111222333 | 666777888 | 159 | 800800800
Tried “e” and “v” ForkCDR options. no change
any ideas why CDR records changed after update and what to change?
Thanks
Marek
—