I’m quite new with this and I’m stuck. (’:oops:’)
I have the following DISA configuration:
exten => 2,1,Set(TIMEOUT(digit)=5)
exten => 2,n,Set(TIMEOUT(response)=10)
exten => 2,n,Authenticate(/etc/asterisk/passwords|a)
exten => 2,n,Goto(ext-local,812,1)
exten => 2,n(end),Hangup
This works OK, and after validating the password, it will transfer the incoming call to extension 812.
Here is my question:
How can I send the call to an IVR instead of sending it to extension 812?
I’ve tried defaulting the extension to an IVR, but it won’t work. The call will just terminate.
Hi p_lindheimer, and thank you for your interest!
Here is what I want to do:
Call comes in.
Asterisk answers and ask caller for a PIN.
PIN gets validated (or not) against list stored in etc/asterisk/passwords file.
If PIN is valid, the call goes to an already configured IVR for more options and further processing (this part works OK).
The code I posted here will answer the call, ask for the PIN and validate it (or not).
I can’t send the call to the IVR after that…
I might be doing this in the wrong way.
I’ve just copied part of an already configured DISA and modified it…
Any help will be much appreciated!
don’t really understand what you are trying to do and why. You say you have the following DISA cofig but what you have doesn’t seem to have anything to do with DISA. What are you really trying to accomplish? With that info, we may be able to provide better help.