1

I'm using Asterisk-Java to work with my Asterisk server. In my AGI script, I'd like to wait for the call to be answered to answer on the AGI side. To do this, I'd like to use the DIALSTATUS channel variable. Though

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

Doing this always prints null, wherever in the AGI script I put it.

Please suggest I you have an idea.

Thomas Kowalski
  • 1,995
  • 4
  • 20
  • 42

1 Answers1

0

DIALSTATUS variable active only after Dial call.

arheops
  • 15,544
  • 1
  • 21
  • 27