sh-3.2# sh-3.2# sh-3.2# sh-3.2# cat /tmp/touchme.sh #!/bin/sh echo "; hi there!" echo "[jibble]" echo "exten => 3,1,NoOp(bibble)" sh-3.2# sh-3.2# sh-3.2# sh-3.2# tail /etc/asterisk/extensions.conf ; For more information on applications, just type "core show applications" at your ; friendly Asterisk CLI prompt. ; ; "core show application " will show details of how you ; use that particular application in this file, the dial plan. ; "core show functions" will list all dialplan functions ; "core show function " will show you more information about ; one function. Remember that function names are UPPER CASE. #exec /tmp/touchme.sh sh-3.2# sh-3.2# sh-3.2# asterisk -vvvvgcd Asterisk SVN-trunk-r178303, Copyright (C) 1999 - 2008 Digium, Inc. and others. Created by Mark Spencer Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': Parsing /etc/asterisk/asterisk.conf == Found Seeding global EID '00:16:cb:95:0c:69' from 'en0' using 'getifaddrs' == Parsing '/etc/asterisk/extconfig.conf': Parsing /etc/asterisk/extconfig.conf == Found == Parsing '/etc/asterisk/logger.conf': Parsing /etc/asterisk/logger.conf == Found Asterisk Event Logger Started /var/log/asterisk/event_log == Parsing '/etc/asterisk/asterisk.conf': == Found Asterisk Dynamic Loader Starting: == Parsing '/etc/asterisk/modules.conf': == Found == Parsing '/etc/asterisk/dnsmgr.conf': == Found == Parsing '/etc/asterisk/http.conf': == Found == Parsing '/etc/asterisk/cdr.conf': == Found [Feb 24 13:40:00] NOTICE[71375]: cdr.c:1441 do_reload: CDR simple logging enabled. == Parsing '/etc/asterisk/rtp.conf': == Found == RTP Allocating from port range 10000 -> 20000 == Parsing '/etc/asterisk/dsp.conf': == Found == Parsing '/etc/asterisk/udptl.conf': == Found == UDPTL allocating from port range 4000 -> 4999 Asterisk PBX Core Initializing Registering builtin applications: == Registered custom function 'EXCEPTION' [Answer] == Registered application 'Answer' [BackGround] == Registered application 'BackGround' [Busy] == Registered application 'Busy' [Congestion] == Registered application 'Congestion' [ExecIfTime] == Registered application 'ExecIfTime' [Goto] == Registered application 'Goto' [GotoIf] == Registered application 'GotoIf' [GotoIfTime] == Registered application 'GotoIfTime' [ImportVar] == Registered application 'ImportVar' [Hangup] == Registered application 'Hangup' [Incomplete] == Registered application 'Incomplete' [NoOp] == Registered application 'NoOp' [Proceeding] == Registered application 'Proceeding' [Progress] == Registered application 'Progress' [RaiseException] == Registered application 'RaiseException' [ResetCDR] == Registered application 'ResetCDR' [Ringing] == Registered application 'Ringing' [SayAlpha] == Registered application 'SayAlpha' [SayDigits] == Registered application 'SayDigits' [SayNumber] == Registered application 'SayNumber' [SayPhonetic] == Registered application 'SayPhonetic' [Set] == Registered application 'Set' [MSet] == Registered application 'MSet' [SetAMAFlags] == Registered application 'SetAMAFlags' [Wait] == Registered application 'Wait' [WaitExten] == Registered application 'WaitExten' == Manager registered action ShowDialPlan == Parsing '/etc/asterisk/indications.conf': == Found -- Registered indication country 'at' -- Registered indication country 'au' -- Registered indication country 'bg' -- Registered indication country 'br' -- Registered indication country 'be' -- Registered indication country 'ch' -- Registered indication country 'cl' -- Registered indication country 'cn' -- Registered indication country 'cz' -- Registered indication country 'de' -- Registered indication country 'dk' -- Registered indication country 'ee' -- Registered indication country 'es' -- Registered indication country 'fi' -- Registered indication country 'fr' -- Registered indication country 'gr' -- Registered indication country 'hu' -- Registered indication country 'il' -- Registered indication country 'in' -- Registered indication country 'it' -- Registered indication country 'lt' -- Registered indication country 'jp' -- Registered indication country 'mx' -- Registered indication country 'my' -- Registered indication country 'nl' -- Registered indication country 'no' -- Registered indication country 'nz' -- Registered indication country 'ph' -- Registered indication country 'pl' -- Registered indication country 'pt' -- Registered indication country 'ru' -- Registered indication country 'se' -- Registered indication country 'sg' -- Registered indication country 'th' -- Registered indication country 'uk' -- Registered indication country 'us' -- Registered indication country 'us-o' -- Registered indication country 'tw' -- Registered indication country 've' -- Registered indication country 'za' -- Setting default indication country to 'us' == Registered application 'Bridge' -- Registered extension context 'parkedcalls' (0x36f6b0) in table 0x36f600; registrar: features == Parsing '/etc/asterisk/features.conf': == Found -- Added extension '700' priority 1 to parkedcalls (0x36f6b0) == Registered application 'ParkedCall' == Registered application 'Park' == Manager registered action ParkedCalls == Manager registered action Park == Manager registered action Bridge == Manager registered action DBGet == Manager registered action DBPut == Manager registered action DBDel == Manager registered action DBDelTree == Parsing '/etc/asterisk/enum.conf': == Found Asterisk Dynamic Loader Starting: == Parsing '/etc/asterisk/modules.conf': == Found [Feb 24 13:40:00] NOTICE[71375]: loader.c:875 load_modules: 167 modules will be loaded. res_ael_share.so => (share-able code for AEL) == AGI Command 'answer' registered == AGI Command 'channel status' registered == AGI Command 'database del' registered == AGI Command 'database deltree' registered == AGI Command 'database get' registered == AGI Command 'database put' registered == AGI Command 'exec' registered == AGI Command 'get data' registered == AGI Command 'get full variable' registered == AGI Command 'get option' registered == AGI Command 'get variable' registered == AGI Command 'hangup' registered == AGI Command 'noop' registered == AGI Command 'receive char' registered == AGI Command 'receive text' registered == AGI Command 'record file' registered == AGI Command 'say alpha' registered == AGI Command 'say digits' registered == AGI Command 'say number' registered == AGI Command 'say phonetic' registered == AGI Command 'say date' registered == AGI Command 'say time' registered == AGI Command 'say datetime' registered == AGI Command 'send image' registered == AGI Command 'send text' registered == AGI Command 'set autohangup' registered == AGI Command 'set callerid' registered == AGI Command 'set context' registered == AGI Command 'set extension' registered == AGI Command 'set music' registered == AGI Command 'set priority' registered == AGI Command 'set variable' registered == AGI Command 'stream file' registered == AGI Command 'control stream file' registered == AGI Command 'tdd mode' registered == AGI Command 'verbose' registered == AGI Command 'wait for digit' registered == AGI Command 'speech create' registered == AGI Command 'speech set' registered == AGI Command 'speech destroy' registered == AGI Command 'speech load grammar' registered == AGI Command 'speech unload grammar' registered == AGI Command 'speech activate grammar' registered == AGI Command 'speech deactivate grammar' registered == AGI Command 'speech recognize' registered == Registered application 'DeadAGI' == Registered application 'EAGI' == Manager registered action AGI == Registered application 'AGI' res_agi.so => (Asterisk Gateway Interface (AGI)) == Parsing '/etc/asterisk/res_ldap.conf': == Found [Feb 24 13:40:00] WARNING[71375]: res_config_ldap.c:1588 parse_config: No directory user found, anonymous binding as default. [Feb 24 13:40:00] ERROR[71375]: res_config_ldap.c:1613 parse_config: No directory URL or host found. [Feb 24 13:40:00] NOTICE[71375]: res_config_ldap.c:1507 load_module: Cannot load LDAP RealTime driver. res_config_ldap.so => (LDAP realtime interface) [Feb 24 13:40:00] WARNING[71375]: loader.c:376 load_dynamic_module: Error loading module 'res_config_odbc.so': dlopen(/usr/lib/asterisk/modules/res_config_odbc.so, 5): Symbol not found: _ast_odbc_clear_cache Referenced from: /usr/lib/asterisk/modules/res_config_odbc.so Expected in: flat namespace [Feb 24 13:40:00] WARNING[71375]: loader.c:641 inspect_module: Module 'res_indications.so' was not compiled with the same compile-time options as this version of Asterisk. [Feb 24 13:40:00] WARNING[71375]: loader.c:642 inspect_module: Module 'res_indications.so' will not be initialized as it may cause instability. [Feb 24 13:40:00] WARNING[71375]: loader.c:680 load_resource: Module 'res_indications.so' could not be loaded. == Registered application 'Monitor' == Registered application 'StopMonitor' == Registered application 'ChangeMonitor' == Registered application 'PauseMonitor' == Registered application 'UnpauseMonitor' == Manager registered action Monitor == Manager registered action StopMonitor == Manager registered action ChangeMonitor == Manager registered action PauseMonitor == Manager registered action UnpauseMonitor res_monitor.so => (Call Monitoring Resource) == Parsing '/etc/asterisk/res_odbc.conf': == Found == Registered application 'ODBC_Commit' == Registered application 'ODBC_Rollback' == Registered custom function 'ODBC' [Feb 24 13:40:00] NOTICE[71375]: res_odbc.c:1686 load_module: res_odbc loaded. res_odbc.so => (ODBC resource) == Registered custom function 'PP_EACH_USER' == Registered custom function 'PP_EACH_EXTENSION' == Parsing '/etc/asterisk/sip.conf': == Found == Parsing '/etc/asterisk/users.conf': == Found == Parsing '/etc/asterisk/phoneprov.conf': == Found res_phoneprov.so => (HTTP Phone Provisioning) == Registered custom function 'SMDI_MSG_RETRIEVE' == Registered custom function 'SMDI_MSG' == Parsing '/etc/asterisk/smdi.conf': == Found [Feb 24 13:40:00] NOTICE[71375]: res_smdi.c:1330 load_module: No SMDI interfaces are available to listen on, not starting SMDI listener. == Parsing '/etc/asterisk/res_snmp.conf': == Found Loading [Sub]Agent Module res_snmp.so => (SNMP [Sub]Agent for Asterisk) res_speech.so => (Generic Speech Recognition API) == Parsing '/etc/asterisk/musiconhold.conf': == Found == Registered application 'MusicOnHold' == Registered application 'WaitMusicOnHold' == Registered application 'SetMusicOnHold' == Registered application 'StartMusicOnHold' == Registered application 'StopMusicOnHold' res_musiconhold.so => (Music On Hold Resource) == Registered application 'ADSIProg' app_adsiprog.so => (Asterisk ADSI Programming Application) == Parsing '/etc/asterisk/alarmreceiver.conf': == Found == Registered application 'AlarmReceiver' app_alarmreceiver.so => (Alarm Receiver for Asterisk) == Parsing '/etc/asterisk/amd.conf': == Found -- AMD defaults: initialSilence [2500] greeting [1500] afterGreetingSilence [800] totalAnalysisTime [5000] minimumWordLength [100] betweenWordsSilence [50] maximumNumberOfWords [3] silenceThreshold [256] maximumWordLength [5000] == Registered application 'AMD' app_amd.so => (Answering Machine Detection Application) == Registered application 'Authenticate' app_authenticate.so => (Authentication Application) == Registered application 'NoCDR' app_cdr.so => (Tell Asterisk to not maintain a CDR for the current call) == Registered application 'ChanIsAvail' app_chanisavail.so => (Check channel availability) == Registered application 'ChannelRedirect' app_channelredirect.so => (Redirects a given channel to a dialplan target) == Registered application 'ChanSpy' == Registered application 'ExtenSpy' app_chanspy.so => (Listen to the audio of an active channel) == Registered application 'ControlPlayback' app_controlplayback.so => (Control Playback Application) == Registered application 'DBdel' == Registered application 'DBdeltree' app_db.so => (Database Access Functions) -- Registered extension context 'app_dial_gosub_virtual_context' (0x39ad30) in table 0x36f600; registrar: app_dial -- Added extension 's' priority 1 to app_dial_gosub_virtual_context (0x39ad30) == Registered application 'Dial' == Registered application 'RetryDial' app_dial.so => (Dialing Application) == Registered application 'Dictate' app_dictate.so => (Virtual Dictation Machine) == Registered application 'Pickup' == Registered application 'PickupChan' app_directed_pickup.so => (Directed Call Pickup Application) == Registered application 'Directory' app_directory.so => (Extension Directory) == Registered application 'DISA' app_disa.so => (DISA (Direct Inward System Access) Application) == Registered application 'DumpChan' app_dumpchan.so => (Dump Info About The Calling Channel) == Registered application 'Echo' app_echo.so => (Simple Echo Application) == Registered application 'Exec' == Registered application 'TryExec' == Registered application 'ExecIf' app_exec.so => (Executes dialplan applications) == Registered application 'ExternalIVR' app_externalivr.so => (External IVR Interface Application) == Parsing '/etc/asterisk/festival.conf': == Found == Registered application 'Festival' app_festival.so => (Simple Festival Interface) == Parsing '/etc/asterisk/followme.conf': == Found == Registered application 'FollowMe' app_followme.so => (Find-Me/Follow-Me Application) == Registered application 'ForkCDR' app_forkcdr.so => (Fork The CDR into 2 separate entities) == Registered application 'GetCPEID' app_getcpeid.so => (Get ADSI CPE ID) == Registered application 'ICES' app_ices.so => (Encode and Stream via icecast and ices) == Registered application 'SendImage' app_image.so => (Image Transmission Application) == Registered application 'MacroExit' == Registered application 'MacroIf' == Registered application 'MacroExclusive' == Registered application 'Macro' app_macro.so => (Extension Macros) == Registered application 'Milliwatt' app_milliwatt.so => (Digital Milliwatt (mu-law) Test Application) == Registered application 'MinivmRecord' == Registered application 'MinivmGreet' == Registered application 'MinivmNotify' == Registered application 'MinivmDelete' == Registered application 'MinivmAccMess' == Registered application 'MinivmMWI' == Registered custom function 'MINIVMACCOUNT' == Registered custom function 'MINIVMCOUNTER' == Parsing '/etc/asterisk/minivm.conf': == Found app_minivm.so => (Mini VoiceMail (A minimal Voicemail e-mail System)) == Registered application 'MixMonitor' == Registered application 'StopMixMonitor' app_mixmonitor.so => (Mixed Audio Monitoring Application) == Registered application 'Morsecode' app_morsecode.so => (Morse code) == Registered application 'MP3Player' app_mp3.so => (Silly MP3 Application) == Registered application 'NBScat' app_nbscat.so => (Silly NBS Stream Application) == Registered application 'Originate' app_originate.so => (Originate call) == Registered application 'ParkAndAnnounce' app_parkandannounce.so => (Call Parking and Announce Application) == Parsing '/etc/asterisk/say.conf': == Found == Registered application 'Playback' app_playback.so => (Sound File Playback Application) == Registered application 'PlayTones' == Registered application 'StopPlayTones' app_playtones.so => (Playtones Application) == Registered application 'PrivacyManager' app_privacy.so => (Require phone number to be entered, if no CallerID sent) == Parsing '/etc/asterisk/queuerules.conf': == Found == Parsing '/etc/asterisk/queues.conf': == Found -- Registered extension context 'app_queue_gosub_virtual_context' (0x3a31c0) in table 0x36f600; registrar: app_queue -- Added extension 's' priority 1 to app_queue_gosub_virtual_context (0x3a31c0) == Registered application 'Queue' == Registered application 'AddQueueMember' == Registered application 'RemoveQueueMember' == Registered application 'PauseQueueMember' == Registered application 'UnpauseQueueMember' == Registered application 'QueueLog' == Manager registered action Queues == Manager registered action QueueStatus == Manager registered action QueueSummary == Manager registered action QueueAdd == Manager registered action QueueRemove == Manager registered action QueuePause == Manager registered action QueueLog == Manager registered action QueuePenalty == Manager registered action QueueRule == Manager registered action QueueReload == Manager registered action QueueReset == Registered custom function 'QUEUE_VARIABLES' == Registered custom function 'QUEUE_MEMBER' == Registered custom function 'QUEUE_MEMBER_COUNT' == Registered custom function 'QUEUE_MEMBER_LIST' == Registered custom function 'QUEUE_WAITING_COUNT' == Registered custom function 'QUEUE_MEMBER_PENALTY' app_queue.so => (True Call Queueing) == Registered application 'Read' app_read.so => (Read Variable Application) == Registered application 'ReadExten' == Registered custom function 'VALID_EXTEN' app_readexten.so => (Read and evaluate extension validity) == Registered application 'ReadFile' app_readfile.so => (Stores output of file into a variable) == Registered application 'Record' app_record.so => (Trivial Record Application) == Registered application 'SayUnixTime' == Registered application 'DateTime' app_sayunixtime.so => (Say time) == Manager registered action PlayDTMF == Registered application 'SendDTMF' app_senddtmf.so => (Send DTMF digits Application) == Registered application 'SendText' app_sendtext.so => (Send Text Applications) == Registered application 'SetCallerPres' app_setcallerid.so => (Set CallerID Presentation Application) == Registered application 'SMS' app_sms.so => (SMS/PSTN handler) == Registered application 'SoftHangup' app_softhangup.so => (Hangs up the requested channel) == Registered application 'SpeechCreate' == Registered application 'SpeechLoadGrammar' == Registered application 'SpeechUnloadGrammar' == Registered application 'SpeechActivateGrammar' == Registered application 'SpeechDeactivateGrammar' == Registered application 'SpeechStart' == Registered application 'SpeechBackground' == Registered application 'SpeechDestroy' == Registered application 'SpeechProcessingSound' == Registered custom function 'SPEECH' == Registered custom function 'SPEECH_SCORE' == Registered custom function 'SPEECH_TEXT' == Registered custom function 'SPEECH_GRAMMAR' == Registered custom function 'SPEECH_ENGINE' == Registered custom function 'SPEECH_RESULTS_TYPE' app_speech_utils.so => (Dialplan Speech Applications) == AGI Command 'gosub' registered == Registered application 'StackPop' == Registered application 'Return' == Registered application 'GosubIf' == Registered application 'Gosub' == Registered custom function 'LOCAL' == Registered custom function 'LOCAL_PEEK' app_stack.so => (Dialplan subroutines (Gosub, Return, etc)) == Registered application 'TrySystem' == Registered application 'System' app_system.so => (Generic System() application) == Registered application 'BackgroundDetect' app_talkdetect.so => (Playback with Talk Detection) == Registered application 'TestClient' == Registered application 'TestServer' app_test.so => (Interface Test Application) == Registered application 'Transfer' app_transfer.so => (Transfers a caller to another extension) == Registered application 'SendURL' app_url.so => (Send URL Applications) == Registered application 'UserEvent' app_userevent.so => (Custom User Event Application) == Registered application 'Log' == Registered application 'Verbose' app_verbose.so => (Send verbose output) == Parsing '/etc/asterisk/voicemail.conf': == Found == Parsing '/etc/asterisk/users.conf': == Found == Registered application 'VoiceMail' == Registered application 'VoiceMailMain' == Registered application 'MailboxExists' == Registered application 'VMAuthenticate' == Registered custom function 'MAILBOX_EXISTS' == Manager registered action VoicemailUsersList app_voicemail.so => (Comedian Mail (Voicemail System)) == Registered application 'WaitForRing' app_waitforring.so => (Waits until first ring after time) == Registered application 'WaitForSilence' == Registered application 'WaitForNoise' app_waitforsilence.so => (Wait For Silence) == Registered application 'WaitUntil' app_waituntil.so => (Wait until specified time) == Registered application 'While' == Registered application 'EndWhile' == Registered application 'ExitWhile' == Registered application 'ContinueWhile' app_while.so => (While Loops and Conditional Execution) == Registered application 'Zapateller' app_zapateller.so => (Block Telemarketers with Special Information Tone) == Parsing '/etc/asterisk/cdr_adaptive_odbc.conf': == Found cdr_adaptive_odbc.so => (Adaptive ODBC CDR backend) == Parsing '/etc/asterisk/cdr.conf': == Found cdr_csv.so => (Comma Separated Values CDR Backend) == Parsing '/etc/asterisk/cdr_custom.conf': == Found cdr_custom.so => (Customizable Comma Separated Values CDR Backend) == Parsing '/etc/asterisk/cdr_manager.conf': == Found cdr_manager.so => (Asterisk Manager Interface CDR Backend) == Parsing '/etc/asterisk/cdr_odbc.conf': == Found cdr_odbc.so => (ODBC CDR Backend) == Parsing '/etc/asterisk/cdr_sqlite3_custom.conf': == Found -- cdr_sqlite3_custom: Logging CDR records to table 'cdr' in 'master.db' cdr_sqlite3_custom.so => (SQLite3 Custom CDR Module) == Registered channel type 'Agent' (Call Agent Proxy Channel) == Parsing '/etc/asterisk/agents.conf': == Found == Parsing '/etc/asterisk/users.conf': == Found == Registered application 'AgentLogin' == Registered application 'AgentMonitorOutgoing' == Manager registered action Agents == Manager registered action AgentLogoff == Registered custom function 'AGENT' chan_agent.so => (Agent Proxy Channel) == Registered custom function 'IAXPEER' == Registered custom function 'IAXVAR' == Registered application 'IAX2Provision' == Manager registered action IAXpeers == Manager registered action IAXpeerlist == Manager registered action IAXnetstats == Manager registered action IAXregistry == Parsing '/etc/asterisk/iax.conf': == Found == Parsing '/etc/asterisk/users.conf': == Found == Binding IAX2 to default address 0.0.0.0:4569 == Registered channel type 'IAX2' (Inter Asterisk eXchange Driver (Ver 2)) == 10 helper threads started == IAX Ready and Listening == Loaded firmware 'iaxy.bin' == Parsing '/etc/asterisk/iaxprov.conf': == Found -- Loaded provisioning template 'default' chan_iax2.so => (Inter Asterisk eXchange (Ver 2)) == Registered channel type 'Local' (Local Proxy Channel Driver) chan_local.so => (Local Proxy Channel (Note: used internally by other modules)) == Parsing '/etc/asterisk/mgcp.conf': == Found == MGCP Listening on 0.0.0.0:2727 == Registered channel type 'MGCP' (Media Gateway Control Protocol (MGCP)) chan_mgcp.so => (Media Gateway Control Protocol (MGCP)) SIP channel loading... == Parsing '/etc/asterisk/sip.conf': == Found == Parsing '/etc/asterisk/users.conf': == Found == SIP Listening on 0.0.0.0:5060 == Parsing '/etc/asterisk/sip_notify.conf': == Found == Registered channel type 'SIP' (Session Initiation Protocol (SIP)) == Registered application 'SIPDtmfMode' == Registered application 'SIPAddHeader' == Registered application 'SIPRemoveHeader' == Registered custom function 'SIP_HEADER' == Registered custom function 'SIPPEER' == Registered custom function 'SIPCHANINFO' == Registered custom function 'CHECKSIPDOMAIN' == Manager registered action SIPpeers == Manager registered action SIPshowpeer == Manager registered action SIPqualifypeer == Manager registered action SIPshowregistry == Manager registered action SIPnotify chan_sip.so => (Session Initiation Protocol (SIP)) [Feb 24 13:40:01] NOTICE[71375]: chan_skinny.c:6968 config_load: Configuring skinny from skinny.conf == Parsing '/etc/asterisk/skinny.conf': == Found == Skinny listening on 0.0.0.0:2000 == Registered channel type 'Skinny' (Skinny Client Control Protocol (Skinny)) == Manager registered action SKINNYdevices == Manager registered action SKINNYshowdevice == Manager registered action SKINNYlines == Manager registered action SKINNYshowline == Parsing '/etc/asterisk/unistim.conf': == Found [Feb 24 13:40:01] WARNING[71375]: chan_unistim.c:5509 reload_config: Your OS does not support IP_PKTINFO, you must set public_ip. == Registered translator 'alawtoulaw' from format alaw to ulaw, cost 37 == Registered translator 'ulawtoalaw' from format ulaw to alaw, cost 24 codec_a_mu.so => (A-law and Mulaw direct Coder/Decoder) == Parsing '/etc/asterisk/codecs.conf': == Found -- codec_adpcm: using generic PLC == Registered translator 'adpcmtolin' from format adpcm to slin, cost 160 == Registered translator 'lintoadpcm' from format slin to adpcm, cost 201 codec_adpcm.so => (Adaptive Differential PCM Coder/Decoder) == Parsing '/etc/asterisk/codecs.conf': == Found -- codec_alaw: using generic PLC == Registered translator 'alawtolin' from format alaw to slin, cost 33 == Registered translator 'lintoalaw' from format slin to alaw, cost 27 codec_alaw.so => (A-law Coder/Decoder) == Parsing '/etc/asterisk/codecs.conf': == Found -- codec_g722: using generic PLC == Registered translator 'g722tolin' from format g722 to slin, cost 1498 == Registered translator 'lintog722' from format slin to g722, cost 934 [Feb 24 13:40:01] WARNING[71375]: translate.c:645 __ast_register_translator: plc_samples 160 format f == Registered translator 'g722tolin16' from format g722 to slin16, cost 1618 == Registered translator 'lin16tog722' from format slin16 to g722, cost 1914 codec_g722.so => (ITU G.722-64kbps G722 Transcoder) == Parsing '/etc/asterisk/codecs.conf': == Found -- codec_g726: using generic PLC == Registered translator 'g726tolin' from format g726 to slin, cost 1227 == Registered translator 'lintog726' from format slin to g726, cost 1397 == Registered translator 'g726aal2tolin' from format g726aal2 to slin, cost 1219 == Registered translator 'lintog726aal2' from format slin to g726aal2, cost 1393 == Registered translator 'g726aal2tog726' from format g726aal2 to g726, cost 18 == Registered translator 'g726tog726aal2' from format g726 to g726aal2, cost 18 codec_g726.so => (ITU G.726-32kbps G726 Transcoder) == Parsing '/etc/asterisk/codecs.conf': == Found -- codec_gsm: using generic PLC == Registered translator 'gsmtolin' from format gsm to slin, cost 816 == Registered translator 'lintogsm' from format slin to gsm, cost 1875 codec_gsm.so => (GSM Coder/Decoder) == Parsing '/etc/asterisk/codecs.conf': == Found -- codec_lpc10: using generic PLC == Registered translator 'lpc10tolin' from format lpc10 to slin, cost 1565 == Registered translator 'lintolpc10' from format slin to lpc10, cost 2825 codec_lpc10.so => (LPC10 2.4kbps Coder/Decoder) == Parsing '/etc/asterisk/codecs.conf': == Found -- codec_ulaw: using generic PLC == Registered translator 'ulawtolin' from format ulaw to slin, cost 38 == Registered translator 'lintoulaw' from format slin to ulaw, cost 29 codec_ulaw.so => (mu-Law Coder/Decoder) == Registered file format g723sf, extension(s) g723|g723sf format_g723.so => (G.723.1 Simple Timestamp File Format) == Registered file format g726-40, extension(s) g726-40 == Registered file format g726-32, extension(s) g726-32 == Registered file format g726-24, extension(s) g726-24 == Registered file format g726-16, extension(s) g726-16 format_g726.so => (Raw G.726 (16/24/32/40kbps) data) == Registered file format g729, extension(s) g729 format_g729.so => (Raw G729 data) == Registered file format gsm, extension(s) gsm format_gsm.so => (Raw GSM data) == Registered file format h263, extension(s) h263 format_h263.so => (Raw H.263 data) == Registered file format h264, extension(s) h264 format_h264.so => (Raw H.264 data) == Registered file format iLBC, extension(s) ilbc format_ilbc.so => (Raw iLBC data) == Registered format 'jpg' (JPEG (Joint Picture Experts Group)) format_jpeg.so => (JPEG (Joint Picture Experts Group) Image Format) == Registered file format pcm, extension(s) pcm|ulaw|ul|mu|ulw == Registered file format alaw, extension(s) alaw|al|alw == Registered file format au, extension(s) au == Registered file format g722, extension(s) g722 format_pcm.so => (Raw/Sun uLaw/ALaw 8KHz (PCM,PCMA,AU), G.722 16Khz) == Registered file format siren14, extension(s) siren14 format_siren14.so => (ITU G.722.1 Annex C (Siren14, licensed from Polycom)) == Registered file format siren7, extension(s) siren7 format_siren7.so => (ITU G.722.1 (Siren7, licensed from Polycom)) == Registered file format sln, extension(s) sln|raw format_sln.so => (Raw Signed Linear Audio support (SLN)) == Registered file format sln16, extension(s) sln16 format_sln16.so => (Raw Signed Linear 16KHz Audio support (SLN16)) == Registered file format vox, extension(s) vox format_vox.so => (Dialogic VOX (ADPCM) File Format) == Registered file format wav, extension(s) wav format_wav.so => (Microsoft WAV format (8000Hz Signed Linear)) == Registered file format wav49, extension(s) WAV|wav49 format_wav_gsm.so => (Microsoft WAV format (Proprietary GSM)) == Registered custom function 'AES_DECRYPT' == Registered custom function 'AES_ENCRYPT' func_aes.so => (AES dialplan functions) == Registered custom function 'AUDIOHOOK_INHERIT' func_audiohookinherit.so => (Audiohook inheritance function) == Registered custom function 'BASE64_ENCODE' == Registered custom function 'BASE64_DECODE' func_base64.so => (base64 encode/decode dialplan functions) == Registered custom function 'BLACKLIST' func_blacklist.so => (Look up Caller*ID name/number from blacklist database) == Registered custom function 'CALLERPRES' == Registered custom function 'CALLERID' func_callerid.so => (Caller ID related dialplan functions) == Registered custom function 'CDR' func_cdr.so => (Call Detail Record (CDR) dialplan function) == Registered custom function 'CHANNEL' == Registered custom function 'CHANNELS' func_channel.so => (Channel information dialplan functions) == Registered custom function 'AST_CONFIG' func_config.so => (Asterisk configuration file variable access) res_curl.so => (cURL Resource Module) == Registered custom function 'CURL' == Registered custom function 'CURLOPT' func_curl.so => (Load external URL) == Registered custom function 'CUT' == Registered custom function 'SORT' func_cut.so => (Cut out information from a string) == Registered custom function 'DB' == Registered custom function 'DB_EXISTS' == Registered custom function 'DB_DELETE' func_db.so => (Database (astdb) related dialplan functions) == Registered custom function 'DEVICE_STATE' == Registered custom function 'HINT' func_devstate.so => (Gets or sets a device state in the dialplan) == Registered custom function 'DIALGROUP' func_dialgroup.so => (Dialgroup dialplan function) == Registered custom function 'DIALPLAN_EXISTS' func_dialplan.so => (Dialplan Context/Extension/Priority Checking Functions) == Registered custom function 'ENUMRESULT' == Registered custom function 'ENUMQUERY' == Registered custom function 'ENUMLOOKUP' == Registered custom function 'TXTCIDNAME' func_enum.so => (ENUM related dialplan functions) == Registered custom function 'ENV' == Registered custom function 'STAT' == Registered custom function 'FILE' func_env.so => (Environment/filesystem dialplan functions) == Registered custom function 'EXTENSION_STATE' func_extstate.so => (Gets an extension's state in the dialplan) == Registered custom function 'GLOBAL' == Registered custom function 'SHARED' func_global.so => (Variable dialplan functions) == Registered custom function 'GROUP_COUNT' == Registered custom function 'GROUP_MATCH_COUNT' == Registered custom function 'GROUP_LIST' == Registered custom function 'GROUP' func_groupcount.so => (Channel group dialplan functions) == Registered custom function 'ICONV' func_iconv.so => (Charset conversions) == Registered custom function 'LOCK' == Registered custom function 'TRYLOCK' == Registered custom function 'UNLOCK' func_lock.so => (Dialplan mutexes) == Registered custom function 'ISNULL' == Registered custom function 'SET' == Registered custom function 'EXISTS' == Registered custom function 'IF' == Registered custom function 'IFTIME' == Registered custom function 'IMPORT' func_logic.so => (Logical dialplan functions) == Registered custom function 'MATH' func_math.so => (Mathematical dialplan function) == Registered custom function 'MD5' func_md5.so => (MD5 digest dialplan functions) == Registered custom function 'IFMODULE' func_module.so => (Checks if Asterisk module is loaded in memory) == Registered custom function 'ODBC_FETCH' == Registered application 'ODBCFinish' == Parsing '/etc/asterisk/func_odbc.conf': == Found == Registered custom function 'ODBC_SQL' == Registered custom function 'ODBC_ANTIGF' == Registered custom function 'ODBC_PRESENCE' == Registered custom function 'SQL_ESC' func_odbc.so => (ODBC lookups) == Registered custom function 'RAND' func_rand.so => (Random number dialplan function) == Registered custom function 'REALTIME' == Registered custom function 'REALTIME_STORE' == Registered custom function 'REALTIME_DESTROY' == Registered custom function 'REALTIME_FIELD' == Registered custom function 'REALTIME_HASH' func_realtime.so => (Read/Write/Store/Destroy values from a RealTime repository) == Registered custom function 'SHA1' func_sha1.so => (SHA-1 computation dialplan function) == Registered custom function 'SHELL' func_shell.so => (Returns the output of a shell command) == Registered custom function 'SPRINTF' func_sprintf.so => (SPRINTF dialplan function) == Registered custom function 'FIELDQTY' == Registered custom function 'FILTER' == Registered custom function 'LISTFILTER' == Registered custom function 'REGEX' == Registered custom function 'ARRAY' == Registered custom function 'QUOTE' == Registered custom function 'LEN' == Registered custom function 'STRFTIME' == Registered custom function 'STRPTIME' == Registered custom function 'EVAL' == Registered custom function 'KEYPADHASH' == Registered custom function 'HASHKEYS' == Registered custom function 'HASH' == Registered application 'ClearHash' == Registered custom function 'TOUPPER' == Registered custom function 'TOLOWER' func_strings.so => (String handling dialplan functions) == Registered custom function 'SYSINFO' func_sysinfo.so => (System information related functions) == Registered custom function 'TIMEOUT' func_timeout.so => (Channel timeout dialplan functions) == Registered custom function 'URIDECODE' == Registered custom function 'URIENCODE' func_uri.so => (URI encode/decode dialplan functions) == Registered custom function 'VERSION' func_version.so => (Get Asterisk Version/Build Info) == Registered custom function 'VMCOUNT' func_vmcount.so => (Indicator for whether a voice mailbox has messages in a given folder.) == Registered custom function 'VOLUME' func_volume.so => (Technology independent volume control) [Feb 24 13:40:01] NOTICE[71375]: pbx_ael.c:122 pbx_load_module: Starting AEL load process. [Feb 24 13:40:01] NOTICE[71375]: pbx_ael.c:135 pbx_load_module: AEL load process: parsed config file name '/etc/asterisk/extensions.ael'. [Feb 24 13:40:01] NOTICE[71375]: pbx_ael.c:138 pbx_load_module: AEL load process: checked config file name '/etc/asterisk/extensions.ael'. == Setting global variable 'CONSOLE' to '"Console/dsp"' == Setting global variable 'IAXINFO' to 'guest' == Setting global variable 'TRUNK' to '"DAHDI/G2"' == Setting global variable 'TRUNKMSD' to '1' -- Registered extension context 'ael-dundi-e164-canonical' (0x3dbe40) in local table 0x3d5ee0; registrar: pbx_ael -- Registered extension context 'ael-dundi-e164-customers' (0x3dbf50) in local table 0x3d5ee0; registrar: pbx_ael -- Registered extension context 'ael-dundi-e164-via-pstn' (0x3dc060) in local table 0x3d5ee0; registrar: pbx_ael -- Registered extension context 'ael-dundi-e164-local' (0x3dc180) in local table 0x3d5ee0; registrar: pbx_ael -- Including context 'ael-dundi-e164-canonical' in context 'ael-dundi-e164-local' -- Including context 'ael-dundi-e164-customers' in context 'ael-dundi-e164-local' -- Including context 'ael-dundi-e164-via-pstn' in context 'ael-dundi-e164-local' -- Registered extension context 'ael-dundi-e164-switch' (0x3dc600) in local table 0x3d5ee0; registrar: pbx_ael -- Including switch 'DUNDi/e164' in context 'ael-dundi-e164-switch' -- Registered extension context 'ael-dundi-e164-lookup' (0x3dc740) in local table 0x3d5ee0; registrar: pbx_ael -- Including context 'ael-dundi-e164-local' in context 'ael-dundi-e164-lookup' -- Including context 'ael-dundi-e164-switch' in context 'ael-dundi-e164-lookup' -- Registered extension context 'ael-dundi-e164' (0x3dcaa0) in local table 0x3d5ee0; registrar: pbx_ael -- Registered extension context 'ael-iaxtel700' (0x3dcd10) in local table 0x3d5ee0; registrar: pbx_ael -- Registered extension context 'ael-iaxprovider' (0x3dcef0) in local table 0x3d5ee0; registrar: pbx_ael -- Registered extension context 'ael-trunkint' (0x3dd070) in local table 0x3d5ee0; registrar: pbx_ael -- Including context 'ael-dundi-e164-lookup' in context 'ael-trunkint' -- Registered extension context 'ael-trunkld' (0x3dd390) in local table 0x3d5ee0; registrar: pbx_ael -- Including context 'ael-dundi-e164-lookup' in context 'ael-trunkld' -- Registered extension context 'ael-trunklocal' (0x3dd6d0) in local table 0x3d5ee0; registrar: pbx_ael -- Registered extension context 'ael-trunktollfree' (0x3dd8a0) in local table 0x3d5ee0; registrar: pbx_ael -- Registered extension context 'ael-international' (0x3ddc80) in local table 0x3d5ee0; registrar: pbx_ael -- Including context 'ael-longdistance' in context 'ael-international' -- Including context 'ael-trunkint' in context 'ael-international' -- Registered extension context 'ael-longdistance' (0x3ddfd0) in local table 0x3d5ee0; registrar: pbx_ael -- Including context 'ael-local' in context 'ael-longdistance' -- Including context 'ael-trunkld' in context 'ael-longdistance' -- Registered extension context 'ael-local' (0x3de300) in local table 0x3d5ee0; registrar: pbx_ael -- Including context 'ael-default' in context 'ael-local' -- Including context 'ael-trunklocal' in context 'ael-local' -- Including context 'ael-iaxtel700' in context 'ael-local' -- Including context 'ael-trunktollfree' in context 'ael-local' -- Including context 'ael-iaxprovider' in context 'ael-local' -- Registered extension context 'ael-std-exten-ael' (0x3de960) in local table 0x3d5ee0; registrar: pbx_ael -- Registered extension context 'ael-demo' (0x3df0b0) in local table 0x3d5ee0; registrar: pbx_ael -- Registered extension context 'ael-default' (0x3e0090) in local table 0x3d5ee0; registrar: pbx_ael -- Including context 'ael-demo' in context 'ael-default' -- Added extension 's' priority 1 to ael-dundi-e164 (0x3dcaa0) -- Added extension 's' priority 2 to ael-dundi-e164 (0x3dcaa0) -- Added extension 's' priority 3 to ael-dundi-e164 (0x3dcaa0) -- Added extension '_91700XXXXXXX' priority 1 to ael-iaxtel700 (0x3dcd10) -- Added extension '_9011.' priority 1 to ael-trunkint (0x3dd070) -- Added extension '_9011.' priority 2 to ael-trunkint (0x3dd070) -- Added extension '_91NXXNXXXXXX' priority 1 to ael-trunkld (0x3dd390) -- Added extension '_91NXXNXXXXXX' priority 2 to ael-trunkld (0x3dd390) -- Added extension '_9NXXXXXX' priority 1 to ael-trunklocal (0x3dd6d0) -- Added extension '_91800NXXXXXX' priority 1 to ael-trunktollfree (0x3dd8a0) -- Added extension '_91888NXXXXXX' priority 1 to ael-trunktollfree (0x3dd8a0) -- Added extension '_91877NXXXXXX' priority 1 to ael-trunktollfree (0x3dd8a0) -- Added extension '_91866NXXXXXX' priority 1 to ael-trunktollfree (0x3dd8a0) -- Added extension 's' priority 1 to ael-std-exten-ael (0x3de960) -- Added extension 's' priority 2 to ael-std-exten-ael (0x3de960) -- Added extension 's' priority 3 to ael-std-exten-ael (0x3de960) -- Added extension 's' priority 4 to ael-std-exten-ael (0x3de960) -- Added extension 's' priority 5 to ael-std-exten-ael (0x3de960) -- Added extension 's' priority 6 to ael-std-exten-ael (0x3de960) -- Added extension 's' priority 7 to ael-std-exten-ael (0x3de960) -- Added extension 'a' priority 1 to ael-std-exten-ael (0x3de960) -- Added extension 'a' priority 2 to ael-std-exten-ael (0x3de960) -- Added extension '_sw-1-.' priority 10 to ael-std-exten-ael (0x3de960) -- Added extension '_sw-1-.' priority 11 to ael-std-exten-ael (0x3de960) -- Added extension 'sw-1-' priority 10 to ael-std-exten-ael (0x3de960) -- Added extension 'sw-1-BUSY' priority 10 to ael-std-exten-ael (0x3de960) -- Added extension 'sw-1-BUSY' priority 11 to ael-std-exten-ael (0x3de960) -- Added extension 's' priority 1 to ael-demo (0x3df0b0) -- Added extension 's' priority 2 to ael-demo (0x3df0b0) -- Added extension 's' priority 3 to ael-demo (0x3df0b0) -- Added extension 's' priority 4 to ael-demo (0x3df0b0) -- Added extension 's' priority 5 to ael-demo (0x3df0b0) -- Added extension 's' priority 6 to ael-demo (0x3df0b0) -- Added extension 's' priority 7 to ael-demo (0x3df0b0) -- Added extension 's' priority 8 to ael-demo (0x3df0b0) -- Added extension 's' priority 9 to ael-demo (0x3df0b0) -- Added extension 's' priority 10 to ael-demo (0x3df0b0) -- Added extension 's' priority 11 to ael-demo (0x3df0b0) -- Added extension 's' priority 12 to ael-demo (0x3df0b0) -- Added extension '2' priority 1 to ael-demo (0x3df0b0) -- Added extension '2' priority 2 to ael-demo (0x3df0b0) -- Added extension '3' priority 1 to ael-demo (0x3df0b0) -- Added extension '3' priority 2 to ael-demo (0x3df0b0) -- Added extension '1000' priority 1 to ael-demo (0x3df0b0) -- Added extension '500' priority 1 to ael-demo (0x3df0b0) -- Added extension '500' priority 2 to ael-demo (0x3df0b0) -- Added extension '500' priority 3 to ael-demo (0x3df0b0) -- Added extension '500' priority 4 to ael-demo (0x3df0b0) -- Added extension '600' priority 1 to ael-demo (0x3df0b0) -- Added extension '600' priority 2 to ael-demo (0x3df0b0) -- Added extension '600' priority 3 to ael-demo (0x3df0b0) -- Added extension '600' priority 4 to ael-demo (0x3df0b0) -- Added extension '_1234' priority 1 to ael-demo (0x3df0b0) -- Added extension '8500' priority 1 to ael-demo (0x3df0b0) -- Added extension '8500' priority 2 to ael-demo (0x3df0b0) -- Added extension '#' priority 1 to ael-demo (0x3df0b0) -- Added extension '#' priority 2 to ael-demo (0x3df0b0) -- Added extension 't' priority 1 to ael-demo (0x3df0b0) -- Added extension 'i' priority 1 to ael-demo (0x3df0b0) [Feb 24 13:40:01] NOTICE[71375]: pbx_ael.c:141 pbx_load_module: AEL load process: compiled config file name '/etc/asterisk/extensions.ael'. -- Registered extension context 'app_queue_gosub_virtual_context' (0x3dd5c0) in local table 0x3d5ee0; registrar: app_queue -- merging incls/swits/igpats from old(app_queue_gosub_virtual_context) to new(app_queue_gosub_virtual_context) context, registrar = pbx_ael -- Added extension 's' priority 1 to app_queue_gosub_virtual_context (0x3dd5c0) -- Registered extension context 'app_dial_gosub_virtual_context' (0x3dbc30) in local table 0x3d5ee0; registrar: app_dial -- merging incls/swits/igpats from old(app_dial_gosub_virtual_context) to new(app_dial_gosub_virtual_context) context, registrar = pbx_ael -- Added extension 's' priority 1 to app_dial_gosub_virtual_context (0x3dbc30) -- Registered extension context 'parkedcalls' (0x3df4c0) in local table 0x3d5ee0; registrar: features -- merging incls/swits/igpats from old(parkedcalls) to new(parkedcalls) context, registrar = pbx_ael -- Added extension '700' priority 1 to parkedcalls (0x3df4c0) -- Time to scan old dialplan and merge leftovers back into the new: 0.000066 sec -- Time to restore hints and swap in new dialplan: 0.000001 sec -- Time to delete the old dialplan: 0.000015 sec -- Total time merge_contexts_delete: 0.000082 sec [Feb 24 13:40:01] NOTICE[71375]: pbx_ael.c:146 pbx_load_module: AEL load process: merged config file name '/etc/asterisk/extensions.ael'. [Feb 24 13:40:01] NOTICE[71375]: pbx_ael.c:149 pbx_load_module: AEL load process: verified config file name '/etc/asterisk/extensions.ael'. pbx_ael.so => (Asterisk Extension Language Compiler) == Parsing '/etc/asterisk/extensions.conf': == Found {Here is where I wait for about 2 minutes. Nothing happens. Now, let's hit ctrl-c and see what shakes loose...} ^C[Feb 24 13:40:43] ERROR[71375]: taskprocessor.c:302 tps_processing_function: Wtf?? 0 tasks in the queue, but we're popping blanks! ^C[Feb 24 13:40:45] ERROR[71375]: taskprocessor.c:302 tps_processing_function: Wtf?? 0 tasks in the queue, but we're popping blanks! ^Z [1]+ Stopped(SIGTSTP) asterisk -vvvvgcd sh-3.2# ps -auxww|grep asterisk root 71378 0.0 0.0 599740 384 s001 S+ 1:40PM 0:00.00 grep asterisk root 71376 0.0 0.0 94968 168 s001 S 1:40PM 0:47.09 asterisk -vvvvgcd root 71375 0.0 0.5 94968 10840 s001 S 1:40PM 0:00.40 asterisk -vvvvgcd sh-3.2# kill 71376 71375 sh-3.2# !ps ps -auxww|grep asterisk root 71380 0.0 0.0 590472 240 s001 R+ 1:41PM 0:00.00 grep asterisk root 71376 0.0 0.0 94968 168 s001 S 1:40PM 0:47.09 asterisk -vvvvgcd root 71375 0.0 0.5 94968 10840 s001 S 1:40PM 0:00.40 asterisk -vvvvgcd sh-3.2# kill -9 71376 71375 sh-3.2# !ps ps -auxww|grep asterisk root 71399 0.0 0.0 599740 384 s001 S+ 1:41PM 0:00.00 grep asterisk [1]+ Killed asterisk -vvvvgcd sh-3.2#