; This file contains example extensions_custom.conf entries. ; extensions_custom.conf should be used to include customizations ; to AMP's Asterisk dialplan. ; All custom context should contain the string 'custom' in it's name ; Extensions in AMP have access to the 'from-internal' context. ; The context 'from-internal-custom' is included in 'from-internal' by default [from-internal-custom] exten => *61,1,Answer exten => *61,2,Wait(1) exten => *61,3,DigitTimeout(7) exten => *61,4,ResponseTimeout(10) exten => *61,5,Flite("This will provide you with the latest weather forecast for Evans Georgia") exten => *61,6,Flite("Please hold a moment while we contact the National Weather Service for your report.") exten => *61,7,AGI(nv-weather-zip.php|30809) exten => *61,8,NoOp(Wave file: ${TMPWAVE}) exten => *61,9,Playback(${TMPWAVE}) exten => *61,10,Hangup exten => *62,1,Answer exten => *62,2,AGI(wakeup.php) exten => *62,3,Hangup exten => 611,1,Answer exten => 611,2,Wait(1) exten => 611,3,DigitTimeout(7) exten => 611,4,ResponseTimeout(10) exten => 611,5,Flite("At the beep enter the five digit zip code for the weather report you wish to retrieve.") exten => 611,6,Read(ZIPCODE,beep,5) exten => 611,7,Flite("Please hold a moment while we contact the National Weather Service for your report.") exten => 611,8,AGI(nv-weather-zip.php|${ZIPCODE}) exten => 611,9,NoOp(Wave file: ${TMPWAVE}) exten => 611,10,Playback(${TMPWAVE}) exten => 611,11,Hangup ;1234,1,Playback(demo-congrats) ; extensions can dial 1234 ;1234,2,Hangup() ;h,1,Hangup() ;include => custom-recordme ; extensions can also dial 5678 ; custom-count2four,s,1 can be used as a custom target for ; a Digital Receptionist menu or a Call Group ;[custom-count2four] ;s,1,SayDigits(1234) ;s,2,Hangup ; custom-recordme,5678,1 can be used as a custom target for ; a Digital Receptionist menu or a Call Group ;[custom-recordme] ;exten => 5678,1,Wait(2) ;exten => 5678,2,Record(/tmp/asterisk-recording:gsm) ;exten => 5678,3,Wait(2) ;exten => 5678,4,Playback(/tmp/asterisk-recording) ;exten => 5678,5,Wait(2) ;exten => 5678,6,Hangup