[asterisk-users] Way to start CDR when call is bridged ?

Administrator admin at tootai.net
Fri Jul 10 08:58:40 CDT 2020


Hi,

in dialplan -Asterisk 16.2 from Debian Buster- we have

  same = n,Dial(PJSIP/101&PJSIP/102&PJSIP/103,15,tT)

If thew call is not answered after 20 seconds, we launch a new dial with 
same and/or other extensions

  same = n,Dial(PJSIP/101&PJSIP/104&PJSIP/110,20,tT)

Looking in CDR we have at the end of the call (here we called 3 
extensions which where ringing, let say 110 answered the call)

"2020-07-10 14:18:29","","2020-07-10 14:18:29","2020-07-10 
14:22:47","258",""+blabla" <CID>","NO ANSWER","Callee 
DID","","DOCUMENTATION"
"2020-07-10 14:18:29","","2020-07-10 14:18:29","2020-07-10 
14:22:47","258",""+blabla" <CID>","ANSWERED","Callee 
DID","","DOCUMENTATION"
"2020-07-10 14:18:29","","2020-07-10 14:18:29","2020-07-10 
14:18:31","2",""+blabla" <CID>","NO ANSWER","Callee DID","","DOCUMENTATION"
"2020-07-10 14:18:29","","2020-07-10 14:18:29","2020-07-10 
14:18:31","2",""+blabla" <CID>","NO ANSWER","Callee DID","","DOCUMENTATION"

1. How it's possible tha CDR billsec appears in NO ANSWER for an 
answered call ?

2. How to set NOCDR for the phones who didn't answer the call ? In the h 
extension we set NOCDR for all DIALSTATUS except ANSWER but we still get 
those CDRs

Is it possible to start CDR when a call is bridged ? Other solutions ?

Thanks for any hint

-- 
Daniel



More information about the asterisk-users mailing list