N
N
nllm2016-03-05 13:48:50
Asterisk
nllm, 2016-03-05 13:48:50

Why does an incorrect DIALSTATUS come to the asterisk?

I collect statistics from extensions for outgoing calls.
I registered various calls to external scripts (agi) depending on ${DIALSTATUS}, I pass the status, duration, if any, and service parameters.
There was a problem: if the subscriber does not pick up the phone or drops or resets during a conversation, then DIALSTATUS=CONGESTION (I look through the console)
Calls go through the zadarma service. Is this a problem in the incorrect configuration of asterisk, or does it come from zadarma?
I don't have much experience with asterisk, so I may use the symbols incorrectly.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikolai, 2016-03-10
@KolyaniuS

the CONGESTION status cannot come if the channel was initiated and then closed at the initiative of one of the parties. Judging by your dialplan, the AGI script will never be executed because it comes after the Dial application without any parameters. After the Dial application has completed the context, it goes to the h extension, and not to the next step, as you expected

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question