Displaying 1 result from an estimated 1 matches for "cfwdly".
2020 Jan 28
0
How to correctly fork a CDR for billing in a call forwarding scenario?
Hi Gang
I have not yet managed to find a solution to correctly generate CDRs
for this situation:
Alice calls Bob.
Bob has call forwarding delayed 20s to Charlie.
Charlie picks up immediately.
exten => bob,1,DBget(cfwdly=CFDLY/${exten}); $cfwdly contains charlie
same => n,Set(CDR(src)=${CALLERID(number)}) ; src 'alice'
same => n,Set(CDR(dst)=${exten})
same => n,Dial(bob,20)
same => n,ForkCDR
same => n,Set(CDR(src)=bob) ; 2nd cdr src shall contain 'bob'
same => n,Set(CDR(dst)=...