Created
May 4, 2011 14:13
-
-
Save bklang/955283 to your computer and use it in GitHub Desktop.
Using Adhearsion and Asterisk Local channels to play sound files to a conference
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
trigger_context { | |
ami = Adhearsion::VoIP::Asterisk.manager_interface | |
ami.originate :Channel => 'Local/s@local-meetme', :Application => 'AGI', :Data => 'agi://localhost/play_announce' | |
} | |
play_announce { | |
play 'my-super-cool-announcement', 'thanks-and-goodbye' | |
} |
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
[local-meetme] | |
; Assumes MeetMe room number 1234 does not require a PIN | |
exten => s,1,Answer | |
exten => s,n,MeetMe(1234) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment