asterisk-java icon indicating copy to clipboard operation
asterisk-java copied to clipboard

getVariable("DIALSTATUS") always returns null

Open KowalskiThomas opened this issue 6 years ago • 0 comments

In my my AGI script, I use the following line:

System.out.println("DIALSTATUS: " + channel.getVariable("DIALSTATUS"));

I want to use the DIALSTATUS to wait for the callee's answer to answer on the AGI side.

Though, it always returns null, wherever I put it in the script.

Is this a bug or me getting something wrong?

KowalskiThomas avatar Jun 22 '18 06:06 KowalskiThomas