Hi all
 
I am tying to restrict certain callers to call in with a designated PIN and then have asterisk record the PIN and the ANI number onto the CDRs. I created a .txt file with all the PINs and * let us call in and then dial the desired number without a problem. But refuse to insert the PINs in the CDRs, what asterisk did was only record the ANI/CID of the incoming line.
 
my config as follows
 
[default]
exten => 9501,1,goto(pins,s,1)
[pins]                        
exten => s,1,Answer                   
exten => s,2,wait(1)                  
exten => s,3,Authenticate(/etc/asterisk/password.txt)
exten => s,4,goto(verified-calls,s,1)
 
[verified-calls]
exten => s,1,SendDTMF(A)
exten => s,2,Read(DIALTO)
exten => s,3,Goto(outdial,${DIALTO},1)
any advice/help is highly appreciated
 
thanking in advance
 
 
 


Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to