Created
January 10, 2013 22:52
-
-
Save rodrigolang/4506511 to your computer and use it in GitHub Desktop.
Saída de ligações com senha para Asterisk, escrita em AEL.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
context saida-de-ligacoes { | |
_X. => { | |
Answer(); | |
Wait(1); | |
Set(Pass=${DB(Senha/${CALLERID(num)})}); | |
Authenticate(${Pass},d); | |
Set(CDR(userfield)=${Pass}); | |
Dial(...); | |
Hangup(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment