A
A
Aborigen10202020-03-30 11:41:40
Asterisk
Aborigen1020, 2020-03-30 11:41:40

Asterisk: setting DIALSTATUS to CDR, via SET?

Hello!

Is it possible to specify a custom termination status for a call, for example:

some calls go to the required context according to a certain condition, and then the asterisk plays an audio file, and in the CDR, such a call is assigned the ANSWERED status.
I tried to do it like this:

exten => _X.,n,Playback(audiofile)
exten => _X.,n,Set(DIALSTATUS="NOT ANSWER")
exten => _X.,n,Hangup


However, in the CDR, this call still has the status ANSWERED.
Is there any other way to transfer the call status I need to cdr?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question