Hi,
I am not sure whether this is possible or not, below is my question:
I have working asterisk pbx connected to PSTN
I want to dial a DID number on asterisk and enter a password, then i should hear a DIAL Tone, where i can key-in a abbreviated number or an international number to dial out.
Simple approach will be as follows:
1- tune your zapata.conf to land your call , for examplae , in “in-2-out” context
[in-2-out]
exten => s,1,Answer()
exten => s,2,Background(Please-Enter-Number)
exten =>_1970X.,1,Dial(SIP/${EXTEN:4}) ; or whatever tech. you want to use.
in the above , 1970 will act as your password , trim it from the ${EXTEN} and go with the pure number , so no need for coding additional password verificaton .
if you want dial tone try "ignorepattern"
Regards
I configured DISA and it is working fine. Now i want to add more features like, by matching a caller-id, it should not ask any password and directly provide DIAL tone. searching for more info. Please help if you know how to do this.