Created
July 30, 2010 14:24
-
-
Save shamun/500593 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
Q. How do i onFly make the changes? | |
programming: asterisk -rx "extentions reload" | |
shell: dialplan reload | |
Q. File path for playback? | |
; it looks for /usr/share/asterisk/sounds/asterisk.wav or .gsm | |
exten => 30,1,Playback(asterisk) | |
exten => 30,2,Background(asterisk) | |
Q. Return functions? | |
; go to [mycontext] and repeat | |
exten => i,1,Goto(mycontext,30,2) | |
Q. Waiting functions? | |
exten => 1,1,Wait(2) ; wait for 2 seconds | |
/opt/swift/bin/swift -o /tmp/test.wav -p audio/sampling-rate=8000,audio/channels=1 "This is a test." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment