Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Built In Asterisk Sound Files & Adding Custom Sound Files

jsgoecke edited this page · 1 revision

Built In Asterisk Sound Files

We have made all of the standard Asterisk Core Sound files available to the Tropo-AGI application in the script. These are the English, French and Spanish files you already love that are from Asterisk Downloads.

To use them, simply adjust these settings at the top of the 'tropo-agi.rb' script you put in your Tropo account:

# Setting on whether or not to use the available Asterisk sound files from:
# http://downloads.asterisk.org/pub/telephony/sounds/
#
# Possilbe settings for :language are:
# en - English
# es - Spanish
# fr - French
ASTERISK_SOUNDS = { :enabled  => true, 
                    :language => 'en', 
                    :base_uri => 'http://hosting.tropo.com/49767/www/audio/asterisk_sounds' }

Files Available

You may customize 'asterisk_sounds.json' to add your own custom audio files as well. Simply add your file details to the file and then change your 'tropo_agi_config.yml' (line 28 / available_files) to point to the location of your custom 'asterisk_sounds.json' file.

{
   "vm-invalid-password":"vm-invalid-password.gsm",
   "vm-opts-full":"vm-opts-full.gsm",
   "vm-pls-try-again":"vm-pls-try-again.gsm",
   "spy-local":"spy-local.gsm",
   "dir-nomatch":"dir-nomatch.gsm",
   "conf-invalidpin":"conf-invalidpin.gsm",
   "tt-somethingwrong":"tt-somethingwrong.gsm",
   "vm-whichbox":"vm-whichbox.gsm",
   "vm-from-extension":"vm-from-extension.gsm",
   "core-sounds-en":"core-sounds-en.txt",
   "conf-userwilljoin":"conf-userwilljoin.gsm",
   "vm-helpexit":"vm-helpexit.gsm",
   "spy-usbradio":"spy-usbradio.gsm",
   "spy-mgcp":"spy-mgcp.gsm",
   "vm-forwardoptions":"vm-forwardoptions.gsm",
   "vm-rec-unv":"vm-rec-unv.gsm",
   "demo-nomatch":"demo-nomatch.gsm",
   "vm-Urgent":"vm-Urgent.gsm",
   "hello-world":"hello-world.gsm",
   "spy-skinny":"spy-skinny.gsm",
   "spy-nbs":"spy-nbs.gsm",
   "conf-adminmenu-162":"conf-adminmenu-162.gsm",
   "vm-tempgreeting":"vm-tempgreeting.gsm",
   "vm-from-phonenumber":"vm-from-phonenumber.gsm",
   "demo-thanks":"demo-thanks.gsm",
   "dir-firstlast":"dir-firstlast.gsm",
   "vm-toreply":"vm-toreply.gsm",
   "vm-onefor":"vm-onefor.gsm",
   "spy-agent":"spy-agent.gsm",
   "beep":"beep.gsm",
   "vm-nonumber":"vm-nonumber.gsm",
   "vm-tocancelmsg":"vm-tocancelmsg.gsm",
   "vm-dialout":"vm-dialout.gsm",
   "conf-unlockednow":"conf-unlockednow.gsm",
   "transfer":"transfer.gsm",
   "spy-iax2":"spy-iax2.gsm",
   "dir-welcome":"dir-welcome.gsm",
   "ss-noservice":"ss-noservice.gsm",
   "vm-toenternumber":"vm-toenternumber.gsm",
   "vm-tempremoved":"vm-tempremoved.gsm",
   "vm-star-cancel":"vm-star-cancel.gsm",
   "vm-Friends":"vm-Friends.gsm",
   "queue-seconds":"queue-seconds.gsm",
   "tt-monkeys":"tt-monkeys.gsm",
   "vm-Old":"vm-Old.gsm",
   "CHANGES-asterisk-core-en-1":"CHANGES-asterisk-core-en-1.4.19",
   "queue-callswaiting":"queue-callswaiting.gsm",
   "vm-mismatch":"vm-mismatch.gsm",
   "dir-intro-fn":"dir-intro-fn.gsm",
   "conf-hasjoin":"conf-hasjoin.gsm",
   "queue-thankyou":"queue-thankyou.gsm",
   "vm-review":"vm-review.gsm",
   "queue-periodic-announce":"queue-periodic-announce.gsm",
   "vm-nobox":"vm-nobox.gsm",
   "queue-quantity1":"queue-quantity1.gsm",
   "vm-deleted":"vm-deleted.gsm",
   "queue-quantity2":"queue-quantity2.gsm",
   "conf-onlyone":"conf-onlyone.gsm",
   "spy-unistim":"spy-unistim.gsm",
   "vm-changeto":"vm-changeto.gsm",
   "vm-prev":"vm-prev.gsm",
   "agent-loggedoff":"agent-loggedoff.gsm",
   "conf-unmuted":"conf-unmuted.gsm",
   "vm-tempgreeting2":"vm-tempgreeting2.gsm",
   "followme":"followme",
   "vm-newpassword":"vm-newpassword.gsm",
   "tt-allbusy":"tt-allbusy.gsm",
   "vm-Family":"vm-Family.gsm",
   "minutes":"minutes.gsm",
   "dir-first":"dir-first.gsm",
   "vm-review-nonurgent":"vm-review-nonurgent.gsm",
   "vm-starmain":"vm-starmain.gsm",
   "vm-rec-temp":"vm-rec-temp.gsm",
   "conf-waitforleader":"conf-waitforleader.gsm",
   "queue-less-than":"queue-less-than.gsm",
   "vm-reachoper":"vm-reachoper.gsm",
   "descending-2tone":"descending-2tone.gsm",
   "vm-passchanged":"vm-passchanged.gsm",
   "auth-thankyou":"auth-thankyou.gsm",
   "vm-marked-nonurgent":"vm-marked-nonurgent.gsm",
   "conf-errormenu":"conf-errormenu.gsm",
   "vm-login":"vm-login.gsm",
   "spy-dahdi":"spy-dahdi.gsm",
   "conf-usermenu":"conf-usermenu.gsm",
   "vm-tmpexists":"vm-tmpexists.gsm",
   "priv-recordintro":"priv-recordintro.gsm",
   "silence":"silence",
   "vm-and":"vm-and.gsm",
   "vm-isunavail":"vm-isunavail.gsm",
   "LICENSE-asterisk-core-en-1":"LICENSE-asterisk-core-en-1.4.19",
   "conf-leaderhasleft":"conf-leaderhasleft.gsm",
   "vm-opts":"vm-opts.gsm",
   "vm-nomore":"vm-nomore.gsm",
   "vm-last":"vm-last.gsm",
   "conf-getpin":"conf-getpin.gsm",
   "tt-monkeysintro":"tt-monkeysintro.gsm",
   "vm-password":"vm-password.gsm",
   "vm-Cust1":"vm-Cust1.gsm",
   "priv-callee-options":"priv-callee-options.gsm",
   "tt-weasels":"tt-weasels.gsm",
   "letters":"letters",
   "vm-Cust2":"vm-Cust2.gsm",
   "invalid":"invalid.gsm",
   "vm-reenterpassword":"vm-reenterpassword.gsm",
   "vm-tohearenv":"vm-tohearenv.gsm",
   "vm-Cust3":"vm-Cust3.gsm",
   "agent-loginok":"agent-loginok.gsm",
   "vm-from":"vm-from.gsm",
   "vm-Cust4":"vm-Cust4.gsm",
   "vm-sorry":"vm-sorry.gsm",
   "digits":"digits",
   "conf-kicked":"conf-kicked.gsm",
   "vm-Cust5":"vm-Cust5.gsm",
   "vm-mailboxfull":"vm-mailboxfull.gsm",
   "dir-nomore":"dir-nomore.gsm",
   "spy-mobile":"spy-mobile.gsm",
   "vm-INBOX":"vm-INBOX.gsm",
   "demo-moreinfo":"demo-moreinfo.gsm",
   "vm-num-i-have":"vm-num-i-have.gsm",
   "vm-msgsaved":"vm-msgsaved.gsm",
   "conf-invalid":"conf-invalid.gsm",
   "dir-last":"dir-last.gsm",
   "agent-alreadyon":"agent-alreadyon.gsm",
   "vm-Work":"vm-Work.gsm",
   "vm-message":"vm-message.gsm",
   "vm-leavemsg":"vm-leavemsg.gsm",
   "vm-for":"vm-for.gsm",
   "vm-record-prepend":"vm-record-prepend.gsm",
   "vm-savefolder":"vm-savefolder.gsm",
   "ascending-2tone":"ascending-2tone.gsm",
   "screen-callee-options":"screen-callee-options.gsm",
   "demo-enterkeywords":"demo-enterkeywords.gsm",
   "agent-pass":"agent-pass.gsm",
   "conf-roll-callcomplete":"conf-roll-callcomplete.gsm",
   "vm-unknown-caller":"vm-unknown-caller.gsm",
   "vm-tocallback":"vm-tocallback.gsm",
   "vm-then-pound":"vm-then-pound.gsm",
   "conf-getchannel":"conf-getchannel.gsm",
   "conf-thereare":"conf-thereare.gsm",
   "vm-undelete":"vm-undelete.gsm",
   "conf-getconfno":"conf-getconfno.gsm",
   "conf-lockednow":"conf-lockednow.gsm",
   "privacy-unident":"privacy-unident.gsm",
   "pbx-parkingfailed":"pbx-parkingfailed.gsm",
   "conf-nonextended":"conf-nonextended.gsm",
   "queue-minutes":"queue-minutes.gsm",
   "vm-forward-multiple":"vm-forward-multiple.gsm",
   "conf-muted":"conf-muted.gsm",
   "queue-holdtime":"queue-holdtime.gsm",
   "vm-received":"vm-received.gsm",
   "vm-invalidpassword":"vm-invalidpassword.gsm",
   "agent-newlocation":"agent-newlocation.gsm",
   "vm-tomakecall":"vm-tomakecall.gsm",
   "vm-saveoper":"vm-saveoper.gsm",
   "vm-nobodyavail":"vm-nobodyavail.gsm",
   "vm-next":"vm-next.gsm",
   "spy-sip":"spy-sip.gsm",
   "vm-options":"vm-options.gsm",
   "conf-noempty":"conf-noempty.gsm",
   "spy-zap":"spy-zap.gsm",
   "vm-toforward":"vm-toforward.gsm",
   "queue-reporthold":"queue-reporthold.gsm",
   "vm-first":"vm-first.gsm",
   "vm-marked-urgent":"vm-marked-urgent.gsm",
   "conf-extended":"conf-extended.gsm",
   "hours":"hours.gsm",
   "vm-youhave":"vm-youhave.gsm",
   "spy-console":"spy-console.gsm",
   "spy-iax":"spy-iax.gsm",
   "conf-now-recording":"conf-now-recording.gsm",
   "conf-locked":"conf-locked.gsm",
   "dir-intro":"dir-intro.gsm",
   "spy-h323":"spy-h323.gsm",
   "priv-introsaved":"priv-introsaved.gsm",
   "vm-savemessage":"vm-savemessage.gsm",
   "conf-onlyperson":"conf-onlyperson.gsm",
   "vm-tempgreetactive":"vm-tempgreetactive.gsm",
   "vm-delete":"vm-delete.gsm",
   "pbx-invalid":"pbx-invalid.gsm",
   "vm-rec-name":"vm-rec-name.gsm",
   "dir-multi1":"dir-multi1.gsm",
   "demo-instruct":"demo-instruct.gsm",
   "vm-theperson":"vm-theperson.gsm",
   "dir-multi2":"dir-multi2.gsm",
   "demo-congrats":"demo-congrats.gsm",
   "conf-usermenu-162":"conf-usermenu-162.gsm",
   "dir-instr":"dir-instr.gsm",
   "dir-multi3":"dir-multi3.gsm",
   "vm-calldiffnum":"vm-calldiffnum.gsm",
   "vm-repeat":"vm-repeat.gsm",
   "vm-no":"vm-no.gsm",
   "vm-press":"vm-press.gsm",
   "queue-thereare":"queue-thereare.gsm",
   "conf-enteringno":"conf-enteringno.gsm",
   "auth-incorrect":"auth-incorrect.gsm",
   "demo-echotest":"demo-echotest.gsm",
   "vm-duration":"vm-duration.gsm",
   "vm-torerecord":"vm-torerecord.gsm",
   "queue-minute":"queue-minute.gsm",
   "vm-tooshort":"vm-tooshort.gsm",
   "privacy-thankyou":"privacy-thankyou.gsm",
   "privacy-incorrect":"privacy-incorrect.gsm",
   "vm-incorrect-mailbox":"vm-incorrect-mailbox.gsm",
   "vm-tocancel":"vm-tocancel.gsm",
   "vm-advopts":"vm-advopts.gsm",
   "pbx-transfer":"pbx-transfer.gsm",
   "agent-incorrect":"agent-incorrect.gsm",
   "dir-usingkeypad":"dir-usingkeypad.gsm",
   "vm-forward":"vm-forward.gsm",
   "vm-newuser":"vm-newuser.gsm",
   "vm-incorrect":"vm-incorrect.gsm",
   "dir-multi9":"dir-multi9.gsm",
   "queue-youarenext":"queue-youarenext.gsm",
   "conf-placeintoconf":"conf-placeintoconf.gsm",
   "privacy-prompt":"privacy-prompt.gsm",
   "vm-minutes":"vm-minutes.gsm",
   "vm-undeleted":"vm-undeleted.gsm",
   "priv-callpending":"priv-callpending.gsm",
   "conf-adminmenu":"conf-adminmenu.gsm",
   "conf-now-unmuted":"conf-now-unmuted.gsm",
   "vm-saved":"vm-saved.gsm",
   "vm-isonphone":"vm-isonphone.gsm",
   "vm-msginstruct":"vm-msginstruct.gsm",
   "conf-now-muted":"conf-now-muted.gsm",
   "spy-misdn":"spy-misdn.gsm",
   "vm-enter-num-to-call":"vm-enter-num-to-call.gsm",
   "seconds":"seconds.gsm",
   "vm-savedto":"vm-savedto.gsm",
   "beeperr":"beeperr.gsm",
   "vm-rec-busy":"vm-rec-busy.gsm",
   "pbx-invalidpark":"pbx-invalidpark.gsm",
   "demo-nogo":"demo-nogo.gsm",
   "dir-pls-enter":"dir-pls-enter.gsm",
   "vm-messages":"vm-messages.gsm",
   "CREDITS-asterisk-core-en-1":"CREDITS-asterisk-core-en-1.4.19",
   "vm-goodbye":"vm-goodbye.gsm",
   "dictate":"dictate",
   "conf-otherinparty":"conf-otherinparty.gsm",
   "conf-userswilljoin":"conf-userswilljoin.gsm",
   "conf-hasleft":"conf-hasleft.gsm",
   "phonetic":"phonetic",
   "vm-extension":"vm-extension.gsm",
   "vm-tocallnum":"vm-tocallnum.gsm",
   "vm-instructions":"vm-instructions.gsm",
   "demo-echodone":"demo-echodone.gsm",
   "spy-jingle":"spy-jingle.gsm",
   "demo-abouttotry":"demo-abouttotry.gsm",
   "vm-intro":"vm-intro.gsm",
   "agent-user":"agent-user.gsm",
   "vm-onefor-full":"vm-onefor-full.gsm",
   "vm-review-urgent":"vm-review-urgent.gsm"
}
Something went wrong with that request. Please try again.