tone stream example

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7056 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2008-01-02 04:30:30 +00:00
parent 44b4078148
commit f7d96fd5b6
2 changed files with 76 additions and 0 deletions

View File

@ -209,6 +209,13 @@
</condition>
</extension>
<extension name="tone_stream">
<condition field="destination_number" expression="^9998$">
<action application="answer"/>
<action application="playback" data="tone_stream://path=${base_dir}/conf/tetris.ttml;loops=10"/>
</condition>
</extension>
<extension name="hold_music">
<condition field="destination_number" expression="^9999$">
<action application="answer"/>

69
conf/tetris.ttml Normal file
View File

@ -0,0 +1,69 @@
%(428,0,659,494)
%(214,0,494,415)
%(214,0,523,440)
%(214,0,587,494)
%(107,0,659,494)
%(107,0,587,494)
%(214,0,523,440)
%(214,0,494,415)
%(428,0,330,440)
%(214,0,330,440)
%(214,0,523,440)
%(428,0,659,523)
%(214,0,587,494)
%(214,0,523,440)
%(214,0,494,415)
%(214,0,494,440)
%(214,0,494,415)
%(214,0,523,440)
%(428,0,587,494)
%(428,0,659,523)
%(428,0,523,440)
%(428,0,330,440)
%(857,0,330,440)
%(214,0,0,0)
%(428,0,587,349)
%(214,0,698,440)
%(214,0,880,523)
%(107,0,880,523)
%(107,0,880,523)
%(214,0,784,494)
%(214,0,698,440)
%(642,0,659,392)
%(214,0,523,330)
%(214,0,659,392)
%(107,0,659,440)
%(107,0,659,392)
%(214,0,587,349)
%(214,0,523,330)
%(214,0,494,415)
%(214,0,494,330)
%(214,0,494,415)
%(214,0,523,440)
%(214,0,587,494)
%(214,0,587,415)
%(214,0,659,523)
%(214,0,659,415)
%(214,0,523,440)
%(214,0,523,330)
%(428,0,440,330)
%(428,0,440,330)
%(428,0,0,0)
%(857,0,330,262)
%(857,0,262,220)
%(857,0,294,247)
%(857,0,247,208)
%(857,0,262,220)
%(857,0,220,165)
%(857,0,208,165)
%(428,0,247,208)
%(428,0,0,0)
%(857,0,330,262)
%(857,0,262,220)
%(857,0,294,247)
%(857,0,208,165)
%(428,0,262,220)
%(428,0,330,262)
%(857,0,440,330)
%(857,0,415,294)
%(857,0,0,0)