Created
July 27, 2009 03:41
-
-
Save marks/156012 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| [agents] | |
| exten => _XXXXXXX,2,Dial(${PSTN_TRUNKS}/1512${EXTEN}||iM(ackcall)) | |
| [macro-ackcall] | |
| exten=>s,1,Wait(.8) | |
| exten=>s,2,Set(TIMEOUT(absolute)=12) | |
| exten=>s,3,Read(ACCEPT|mcc-agent-ackcall|1) ; "...Press zero to be connected with caller, or any number to leave the caller in queue..." | |
| exten=>s,4,Gotoif($[${ACCEPT}=0]?50:30) | |
| exten=>s,30,Set(MACRO_RESULT=CONTINUE) ;hangup! | |
| exten=>s,50,Set(TIMEOUT(absolute)=0) ;connect! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment