Administrator
2020-Jul-10 13:58 UTC
[asterisk-users] Way to start CDR when call is bridged ?
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
Administrator
2020-Jul-10 14:08 UTC
[asterisk-users] Way to start CDR when call is bridged ?
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
Administrator
2020-Jul-13 22:21 UTC
[asterisk-users] Way to start CDR when call is bridged ?
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