I am trying to get an extension that when called does a hunt ring group until someone answers the phone and acknowledges the call by pressing 1. If I have the GotoIF line in my extensions.conf the Read command doesnt get my dtmf key presses. If i remove the GotoIF line I can see the dtmf key presses but there is no logic on what to do with them. Below is my extensions.conf
[globals]
findme1=5555555
findme2=6666666
findme3=7777777
[default]
exten => 5555,1,Dial(SIP/voipms/${findme1},25,rgM(screen))
exten => 5555,n,Dial(SIP/voipms/${findme2},25,rgM(screen))
exten => 5555,n,Dial(SIP/voipms/${findme3},25,rgM(screen))
exten => 5555,n,Goto(5555,1)
[macro-screen]
exten => s,1,Wait(1)
exten => s,n,Read(DIGIT,1)
exten => s,n,GotoIF($["${DIGIT}" = “1”] ?30:40)
exten => s,30,Hangup
exten => s,40,Set(MACRO_RESULT=CONTINUE)