1

I have configured Asterisk CDR system to log cdr records in the database (using Elastix 2.5). Now I want to determine which call was cancelled by the caller and which one was not answered by the callee. I have seen in the Asterisk CDR Wiki page that CDR system is considering both 'Cancel' and 'NoAnswer' calls as 'NoAnswer'. Is there any solution to change this setting?

I have also tried to use DIALSTATUS channel variable to solve this problem and import the value of this variable to the database using CDR function, but unfortunately the result wasn't desirable! Is there any way to do this?

Best regards.

T.Sh
  • 390
  • 2
  • 16

1 Answers1

0

If A call B then A is CALLER, B is CALLED.

CANCELED call are calls which hanguped by CALLER before CALLED party answer.

NOANSWER call are calls which ended by Dial command timeout or other timeout(like provider's max call time at their end).

If call hanguped by CALLER or CALLED AFTER answer, state will be ANSWERED.

No, you have no way change this.

arheops
  • 15,544
  • 1
  • 21
  • 27
  • Thank you @arheops. I know the difference between them and I want to distinguish between CANCELED and NOANSWER calls. Is there any solution for this? – T.Sh May 14 '18 at 03:30