Sorry for the noise, ${ANSWEREDTIME} do the job, CDR's can be forgetted.

Le 10/07/2020 à 16:08, Administrator a écrit :
I forgot to mention that I need billsec and in all those cases I have 2 seconds and not 258 as it should

Le 10/07/2020 à 15:58, Administrator a écrit :
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

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
     https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to