Hi, I am trying to implement follow-me functionality that requires person answering the call to press a button on the keypad to tell asterisk that the call has been answered by a person rather than voicemail, I have input the following lines in my config files and incoming calls are distributed as per the follow me numbers programmed but the need to input confirmation when answering does not work, the call is simply put through with full both way audio.
Any help on this would be much appreciated.
[default]
exten => _9999XXXXXXXXXX,1,Dial(IAX2/“identifier”/${EXTEN:4},40,M(screen))
exten => _9999XXXXXXXXXX,2,Hangup
[macro-screen]
exten => s,1,Wait(1)
exten => s,n,Background(press-1-to-be-connected-to-the-caller)
exten => s,n,Set(TIMEOUT(response=5))
exten => 1,1,NoOp(Caller accepted) ; Do not set MACRO_RESULT to anything to connect the caller
exten => i,1,Set(MACRO_RESULT=CONTINUE)
exten => t,1,Set(MACRO_RESULT=CONTINUE)
[findme]
exten => s,1,Playback(please-hold-while-we-connect-you)
exten => s,n,Dial(LOCAL/9999${findme1}&LOCAL/9999${findme2}&LOCAL/9999${findme3},40,m)