Date created: Wednesday, May 29, 2013 10:07:56 PM. Last modified: Monday, January 25, 2016 8:41:37 PM
PlayTones() - Sorcerer's Apprentice
A rough "Sorcerer's Apprentice" using PlayTones() in the Asterisk dialplan (extensions.conf);
exten => 592,1,Answer() exten => 592,n,PlayTones(294/250,0/250,440/250,0/250,220/250,247/250,262/250,294/250,0/250,440/250,0/250,220/250,247/250,262/250,294/250,0/250,349/250,294/250,0/250,349/250,330/250,294/250,277/250,294/250,0/250,349/250,294/250,0/250,349/250,330/250,294/250,277/250,294/250,0/250,349/250,294/250,349/250,330/250,294/250,330/250,349/250,0/500,294/250,0/250,440/250,0/250,220/250,247/250,262/250,294/250,0/250,440/250,0/250,220/250,247/250,262/250,294/250,0/250,349/250,294/250,0/250,349/250,330/250,294/250,277/250,294/250,0/250,349/250,294/250,0/250,349/250,330/250,294/250,277/250,294/250,0/250,349/250,294/250,349/250,330/250,294/250,330/250,349/250,0/5000) exten => 592,n,Wait(21) exten => 592,n,StopPlayTones() exten => 592,n,Hangup()
Previous page: Hold Music From Ogg Stream
Next page: Extracting RTP Payload from PCAP