Answer the question
In order to leave comments, you need to log in
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
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 questionAsk a Question
731 491 924 answers to any question