Sandy Thomson
2005-Jun-15 03:08 UTC
[Asterisk-Users] app_dial.c:977 dial_exec_full: Unable to create channel of type 'Zap' (cause 0)
Hi, Ive been struggling with asterisk for a few days now. I understand pretty much how it works and how to tie things together (SIP -> SIP internally works fine etc), but just cannot get asterisk to work with an X100P clone (its a Ambient MD3200, if that means anything to you guys). I have tried (initially) asterisk 1.07 with zaptel 1.07, and now Asterisk CVS-HEAD with zaptel cvs. Both give me the same error. /etc/zaptel.conf -- fxsks=1 loadzone=uk defaultzone=uk /etc/asterisk/zapata.conf -- [channels] language=en context=incoming signalling=fxs_ks channel => 1 /etc/asterisk/extensions.conf -- [general] static=yes writeprotect=no [local] exten => _11.,1,Dial(Zap/1,9w${EXTEN}:2) [incoming] exten => s,1,Answer() exten => s,2,BackGround(demo-congrats) ; Play a congratulatory message [outgoing] exten => _9.,1,Ringing exten => _9.,2,Wait,2 exten => _9.,3,Answer() exten => _9.,4,Dial(ZAP/1/9w${EXTEN}:1) [default] include => outgoing Loading zaptel modules: -- asterisk zaptel # modprobe zaptel asterisk zaptel # modprobe wcfxo asterisk zaptel # lsmod Module Size Used by wcfxo 12576 0 zaptel 222916 1 wcfxo crc_ccitt 1952 1 zaptel asterisk zaptel # ztcfg -vv Zaptel Configuration =====================Channel map: Channel 01: FXS Kewlstart (Default) (Slaves: 01) 1 channels configured. Running asterisk -- asterisk zaptel # asterisk -vvvvgc Registering builtin applications: [AbsoluteTimeout] == Registered application 'AbsoluteTimeout' [Answer] == Registered application 'Answer' [BackGround] == Registered application 'BackGround' [Busy] == Registered application 'Busy' [Congestion] == Registered application 'Congestion' [DigitTimeout] == Registered application 'DigitTimeout' [Goto] == Registered application 'Goto' [GotoIf] == Registered application 'GotoIf' [GotoIfTime] == Registered application 'GotoIfTime' [ExecIfTime] == Registered application 'ExecIfTime' [Hangup] == Registered application 'Hangup' [NoOp] == Registered application 'NoOp' [Prefix] == Registered application 'Prefix' [Progress] == Registered application 'Progress' [ResetCDR] == Registered application 'ResetCDR' [ResponseTimeout] == Registered application 'ResponseTimeout' [Ringing] == Registered application 'Ringing' [SayNumber] == Registered application 'SayNumber' [SayDigits] == Registered application 'SayDigits' [SayAlpha] == Registered application 'SayAlpha' [SayPhonetic] == Registered application 'SayPhonetic' [SetAccount] == Registered application 'SetAccount' [SetAMAFlags] == Registered application 'SetAMAFlags' [SetGlobalVar] == Registered application 'SetGlobalVar' [SetLanguage] == Registered application 'SetLanguage' [Set] == Registered application 'Set' [SetVar] == Registered application 'SetVar' [ImportVar] == Registered application 'ImportVar' [StripMSD] == Registered application 'StripMSD' [Suffix] == Registered application 'Suffix' [Wait] == Registered application 'Wait' [WaitExten] == Registered application 'WaitExten' Asterisk Dynamic Loader Starting: == Parsing '/etc/asterisk/modules.conf': Found [res_features.so] => (Call Parking Resource) == Parsing '/etc/asterisk/features.conf': Found -- Registered extension context 'parkedcalls' -- Added extension '700' priority 1 to parkedcalls == Registered application 'ParkedCall' == Registered application 'Park' == Manager registered action ParkedCalls [res_musiconhold.so] => (Music On Hold Resource) == Registered application 'MusicOnHold' == Registered application 'WaitMusicOnHold' == Registered application 'SetMusicOnHold' == Registered application 'StartMusicOnHold' == Registered application 'StopMusicOnHold' == Parsing '/etc/asterisk/musiconhold.conf': Found [chan_zap.so] => (Zapata Telephony) == Parsing '/etc/asterisk/zapata.conf': Found -- Registered channel 1, FXS Kewlstart signalling -- Automatically generated pseudo channel == Registered channel type 'Zap' (Zapata Telephony Driver) == Manager registered action ZapTransfer == Manager registered action ZapHangup == Manager registered action ZapDialOffhook == Manager registered action ZapDNDon == Manager registered action ZapDNDoff == Manager registered action ZapShowChannels [app_sayunixtime.so] => (Say time) == Registered application 'SayUnixTime' == Registered application 'DateTime' [res_adsi.so] => (ADSI Resource) == Parsing '/etc/asterisk/adsi.conf': Found [res_crypto.so] => (Cryptographic Digital Signatures) -- Loaded PUBLIC key 'iaxtel' -- Loaded PUBLIC key 'freeworlddialup' [res_indications.so] => (Indications Configuration) == Parsing '/etc/asterisk/indications.conf': Found -- Registered indication country 'cl' -- Registered indication country 'tw' -- Registered indication country 'us' -- Registered indication country 'au' -- Registered indication country 'fr' -- Registered indication country 'de' -- Registered indication country 'nl' -- Registered indication country 'uk' -- Registered indication country 'fi' -- Registered indication country 'no' -- Registered indication country 'br' -- Registered indication country 'za' -- Registered indication country 'it' -- Registered indication country 'us-o' -- Registered indication country 'gr' -- Registered indication country 'ru' -- Registered indication country 'nz' -- Setting default indication country to 'uk' == Registered application 'Playtones' == Registered application 'StopPlaytones' [res_monitor.so] => (Call Monitoring Resource) == Registered application 'Monitor' == Registered application 'StopMonitor' == Registered application 'ChangeMonitor' == Manager registered action Monitor == Manager registered action StopMonitor == Manager registered action ChangeMonitor [res_agi.so] => (Asterisk Gateway Interface (AGI)) == Registered application 'DeadAGI' == Registered application 'EAGI' == Registered application 'AGI' [skipping chan_modem.so] [chan_sip.so] => (Session Initiation Protocol (SIP)) == Registered channel type 'SIP' (Session Initiation Protocol (SIP)) == Parsing '/etc/asterisk/sip.conf': Found == SIP Listening on 192.168.0.8:5060 == Using TOS bits 0 == Parsing '/etc/asterisk/sip_notify.conf': Not found (No such file or directory) == Registered application 'SIPDtmfMode' == Registered application 'SIPAddHeader' == Registered application 'SIPGetHeader' == Manager registered action SIPpeers == Manager registered action SIPshowpeer == Registered custom function SIP_HEADER [skipping chan_modem_aopen.so] [skipping chan_modem_bestdata.so] [skipping chan_agent.so] [skipping chan_mgcp.so] [chan_iax2.so] => (Inter Asterisk eXchange (Ver 2)) == Registered custom function IAXPEER == Registered application 'IAX2Provision' == Manager registered action IAXpeers == Manager registered action IAXnetstats == Parsing '/etc/asterisk/iax.conf': Found -- doing lookup for '216.207.245.47' == Registered channel type 'IAX2' (Inter Asterisk eXchange Driver (Ver 2)) == Using TOS bits 16 == Binding IAX2 to default address 0.0.0.0:4569 == IAX Ready and Listening == Loaded firmware 'iaxy.bin' == Parsing '/etc/asterisk/iaxprov.conf': Found -- Loaded provisioning template 'default' [skipping chan_local.so] [skipping chan_skinny.so] [chan_features.so] => (Feature Proxy Channel) == Registered channel type 'Feature' (Feature Proxy Channel Driver) [skipping chan_oss.so] [skipping chan_modem_i4l.so] [skipping chan_phone.so] [chan_alsa.so] => (ALSA Console Channel Driver) == Parsing '/etc/asterisk/alsa.conf': Found == Registered channel type 'Console' (ALSA Console Channel Driver) [pbx_config.so] => (Text Extension Configuration) == Parsing '/etc/asterisk/extensions.conf': Found -- Registered extension context 'local' -- Added extension '_11.' priority 1 to local -- Registered extension context 'incoming' -- Added extension 's' priority 1 to incoming -- Added extension 's' priority 2 to incoming -- Registered extension context 'outgoing' -- Added extension '_9.' priority 1 to outgoing -- Added extension '_9.' priority 2 to outgoing -- Added extension '_9.' priority 3 to outgoing -- Added extension '_9.' priority 4 to outgoing -- Registered extension context 'default' -- Including context 'outgoing' in context 'default' [pbx_spool.so] => (Outgoing Spool Support) [pbx_dundi.so] => (Distributed Universal Number Discovery (DUNDi)) == Parsing '/etc/asterisk/dundi.conf': Not found (No such file or directory) Jun 14 13:48:04 ERROR[15142]: pbx_dundi.c:4474 set_config: Unable to load config dundi.conf == Using TOS bits 0 == DUNDi Ready and Listening on 0.0.0.0 port 4520 == Registered application 'DUNDiLookup' [pbx_loopback.so] => (Loopback Switch) [pbx_realtime.so] => (Realtime Switch) [pbx_functions.so] => (Builtin dialplan functions) == Registered custom function MD5 == Registered custom function CHECK_MD5 == Registered custom function MATH == Registered custom function GROUP_COUNT == Registered custom function GROUP_MATCH_COUNT == Registered custom function GROUP == Registered custom function GROUP_LIST == Registered custom function FIELDQTY == Registered custom function REGEX == Registered custom function LEN == Registered custom function STRFTIME == Registered custom function EVAL == Registered custom function CDR == Registered custom function ISNULL == Registered custom function SET == Registered custom function EXISTS == Registered custom function IF == Registered custom function IFTIME == Registered custom function ENV == Registered custom function DB == Registered custom function DB_EXISTS == Registered custom function TIMEOUT == Registered custom function LANGUAGE [skipping chan_modem.so] [skipping chan_modem_aopen.so] [skipping chan_modem_bestdata.so] [skipping chan_agent.so] [skipping chan_mgcp.so] [skipping chan_local.so] [skipping chan_skinny.so] [skipping chan_oss.so] [skipping chan_modem_i4l.so] [skipping chan_phone.so] [app_dial.so] => (Dialing Application) == Registered application 'Dial' == Registered application 'RetryDial' [app_playback.so] => (Sound File Playback Application) == Registered application 'Playback' [app_voicemail.so] => (Comedian Mail (Voicemail System)) == Registered application 'VoiceMail' == Registered application 'VoiceMailMain' == Registered application 'MailboxExists' == Registered application 'VMAuthenticate' == Parsing '/etc/asterisk/voicemail.conf': Found [app_directory.so] => (Extension Directory) == Registered application 'Directory' [app_mp3.so] => (Silly MP3 Application) == Registered application 'MP3Player' [app_system.so] => (Generic System() application) == Registered application 'TrySystem' == Registered application 'System' [app_echo.so] => (Simple Echo Application) == Registered application 'Echo' [app_record.so] => (Trivial Record Application) == Registered application 'Record' [skipping app_image.so] [app_url.so] => (Send URL Applications) == Registered application 'SendURL' [app_disa.so] => (DISA (Direct Inward System Access) Application) == Registered application 'DISA' [app_adsiprog.so] => (Asterisk ADSI Programming Application) == Registered application 'ADSIProg' [skipping app_getcpeid.so] [skipping app_milliwatt.so] [app_zapateller.so] => (Block Telemarketers with Special Information Tone) == Registered application 'Zapateller' [app_setcallerid.so] => (Set CallerID Application) == Registered application 'SetCallerPres' == Registered application 'SetCallerID' [app_festival.so] => (Simple Festival Interface) == Registered application 'Festival' [app_queue.so] => (True Call Queueing) == Registered application 'Queue' == Manager registered action Queues == Manager registered action QueueStatus == Manager registered action QueueAdd == Manager registered action QueueRemove == Manager registered action QueuePause == Registered application 'AddQueueMember' == Registered application 'RemoveQueueMember' == Registered application 'PauseQueueMember' == Registered application 'UnpauseQueueMember' == Parsing '/etc/asterisk/queues.conf': Found [app_senddtmf.so] => (Send DTMF digits Application) == Registered application 'SendDTMF' [app_parkandannounce.so] => (Call Parking and Announce Application) == Registered application 'ParkAndAnnounce' [app_striplsd.so] => (Strip trailing digits) == Registered application 'StripLSD' [app_setcidname.so] => (Set CallerID Name) == Registered application 'SetCIDName' [app_lookupcidname.so] => (Look up CallerID Name from local database) == Registered application 'LookupCIDName' [app_substring.so] => ((Deprecated) Save substring digits in a given variable) == Registered application 'SubString' [app_macro.so] => (Extension Macros) == Registered application 'MacroExit' == Registered application 'MacroIf' == Registered application 'Macro' [app_authenticate.so] => (Authentication Application) == Registered application 'Authenticate' [app_softhangup.so] => (Hangs up the requested channel) == Registered application 'SoftHangup' [app_lookupblacklist.so] => (Look up Caller*ID name/number from blacklist database) == Registered application 'LookupBlacklist' [app_waitforring.so] => (Waits until first ring after time) == Registered application 'WaitForRing' [app_privacy.so] => (Require phone number to be entered, if no CallerID sent) == Registered application 'PrivacyManager' [app_db.so] => (Database access functions for Asterisk extension logic) == Registered application 'DBget' == Registered application 'DBput' == Registered application 'DBdel' == Registered application 'DBdeltree' [app_chanisavail.so] => (Check if channel is available) == Registered application 'ChanIsAvail' [app_enumlookup.so] => (ENUM Lookup) == Registered application 'EnumLookup' == Parsing '/etc/asterisk/enum.conf': Found [app_transfer.so] => (Transfer) == Registered application 'Transfer' [app_setcidnum.so] => (Set CallerID Number) == Registered application 'SetCIDNum' [app_cdr.so] => (Make sure asterisk doesn't save CDR for a certain call) == Registered application 'NoCDR' [app_hasnewvoicemail.so] => (Indicator for whether a voice mailbox has messages in a given folder.[) == Registered application 'HasVoicemail' == Registered application 'HasNewVoicemail' [app_cut.so] => (Cuts up variables) == Registered application 'Cut' [app_read.so] => (Read Variable Application) == Registered application 'Read' [app_setcdruserfield.so] => (CDR user field apps) == Registered application 'SetCDRUserField' == Registered application 'AppendCDRUserField' == Manager registered action SetCDRUserField [app_random.so] => (Random goto) == Registered application 'Random' [app_ices.so] => (Encode and Stream via icecast and ices) == Registered application 'ICES' [app_eval.so] => (Reevaluates strings) == Registered application 'Eval' [app_nbscat.so] => (Silly NBS Stream Application) == Registered application 'NBScat' [app_sendtext.so] => (Send Text Applications) == Registered application 'SendText' [app_exec.so] => (Executes applications) == Registered application 'Exec' [app_sms.so] => (SMS/PSTN handler) == Registered application 'SMS' [app_groupcount.so] => (Group Management Routines) == Registered application 'GetGroupCount' == Registered application 'SetGroup' == Registered application 'CheckGroup' == Registered application 'GetGroupMatchCount' [app_txtcidname.so] => (TXTCIDName) == Registered application 'TXTCIDName' == Parsing '/etc/asterisk/enum.conf': Found [app_controlplayback.so] => (Control Playback Application) == Registered application 'ControlPlayback' [app_talkdetect.so] => (Playback with Talk Detection) == Registered application 'BackgroundDetect' [app_alarmreceiver.so] => (Alarm Receiver for Asterisk) == Parsing '/etc/asterisk/alarmreceiver.conf': Found == Registered application 'AlarmReceiver' [app_userevent.so] => (Custom User Event Application) == Registered application 'UserEvent' [app_verbose.so] => (Send verbose output) == Registered application 'Verbose' [app_test.so] => (Interface Test Application) == Registered application 'TestClient' == Registered application 'TestServer' [app_forkcdr.so] => (Fork The CDR into 2 separate entities.) == Registered application 'ForkCDR' [app_math.so] => (Basic Math Functions) == Registered application 'Math' [app_realtime.so] => (Realtime Data Lookup/Rewrite) == Registered application 'RealTimeUpdate' == Registered application 'RealTime' [app_dumpchan.so] => (Dump Info About The Calling Channel) == Registered application 'DumpChan' [app_waitforsilence.so] => (Wait For Silence) == Registered application 'WaitForSilence' [app_while.so] => (While Loops and Conditional Execution) == Registered application 'While' == Registered application 'ExecIf' == Registered application 'EndWhile' [app_setrdnis.so] => (Set RDNIS Number) == Registered application 'SetRDNIS' [app_md5.so] => (MD5 checksum applications) == Registered application 'MD5Check' == Registered application 'MD5' [app_readfile.so] => (Stores output of file into a variable) == Registered application 'ReadFile' [app_chanspy.so] => (Tap into any type of asterisk channel and listen to audio) == Registered application 'ChanSpy' [app_settransfercapability.so] => (Set ISDN Transfer Capability) == Registered application 'SetTransferCapability' [app_dictate.so] => (Virtual Dictation Machine) == Registered application 'Dictate' [skipping app_zapras.so] [app_meetme.so] => (MeetMe conference bridge) == Registered application 'MeetMeAdmin' == Registered application 'MeetMeCount' == Registered application 'MeetMe' [app_flash.so] => (Flash zap trunk application) == Registered application 'Flash' [app_zapbarge.so] => (Barge in on Zap channel application) == Registered application 'ZapBarge' [app_zapscan.so] => (Scan Zap channels application) == Registered application 'ZapScan' [app_curl.so] => (Load external URL) == Registered application 'Curl' [codec_speex.so] => (Speex/PCM16 (signed linear) Codec Translator) == Parsing '/etc/asterisk/codecs.conf': Not found (No such file or directory) == Registered translator 'speextolin' from format speex to slin, cost 11 == Registered translator 'lintospeex' from format slin to speex, cost 207 [codec_ilbc.so] => (iLBC/PCM16 (signed linear) Codec Translator) == Registered translator 'ilbctolin' from format ilbc to slin, cost 28 == Registered translator 'lintoilbc' from format slin to ilbc, cost 146 [codec_gsm.so] => (GSM/PCM16 (signed linear) Codec Translator) == Parsing '/etc/asterisk/codecs.conf': Not found (No such file or directory) == Registered translator 'gsmtolin' from format gsm to slin, cost 5 == Registered translator 'lintogsm' from format slin to gsm, cost 19 [codec_lpc10.so] => (LPC10 2.4kbps (signed linear) Voice Coder) == Parsing '/etc/asterisk/codecs.conf': Not found (No such file or directory) == Registered translator 'lpc10tolin' from format lpc10 to slin, cost 17 == Registered translator 'lintolpc10' from format slin to lpc10, cost 29 [codec_adpcm.so] => (Adaptive Differential PCM Coder/Decoder) == Parsing '/etc/asterisk/codecs.conf': Not found (No such file or directory) == Registered translator 'adpcmtolin' from format adpcm to slin, cost 1 == Registered translator 'lintoadpcm' from format slin to adpcm, cost 2 [codec_ulaw.so] => (Mu-law Coder/Decoder) == Parsing '/etc/asterisk/codecs.conf': Not found (No such file or directory) == Registered translator 'ulawtolin' from format ulaw to slin, cost 1 == Registered translator 'lintoulaw' from format slin to ulaw, cost 1 [codec_alaw.so] => (A-law Coder/Decoder) == Parsing '/etc/asterisk/codecs.conf': Not found (No such file or directory) == Registered translator 'alawtolin' from format alaw to slin, cost 1 == Registered translator 'lintoalaw' from format slin to alaw, cost 1 [codec_a_mu.so] => (A-law and Mulaw direct Coder/Decoder) == Registered translator 'alawtoulaw' from format alaw to ulaw, cost 1 == Registered translator 'ulawtoalaw' from format ulaw to alaw, cost 1 [codec_g726.so] => (ITU G.726-32kbps G726 Transcoder) == Parsing '/etc/asterisk/codecs.conf': Not found (No such file or directory) == Registered translator 'g726tolin' from format g726 to slin, cost 12 == Registered translator 'lintog726' from format slin to g726, cost 14 [format_gsm.so] => (Raw GSM data) == Registered file format gsm, extension(s) gsm [format_wav.so] => (Microsoft WAV format (8000hz Signed Linear)) == Registered file format wav, extension(s) wav [format_wav_gsm.so] => (Microsoft WAV format (Proprietary GSM)) == Registered file format wav49, extension(s) WAV|wav49 [format_vox.so] => (Dialogic VOX (ADPCM) File Format) == Registered file format vox, extension(s) vox [format_pcm.so] => (Raw uLaw 8khz Audio support (PCM)) == Registered file format pcm, extension(s) pcm|ulaw|ul|mu [format_g729.so] => (Raw G729 data) == Registered file format g729, extension(s) g729 [format_pcm_alaw.so] => (Raw aLaw 8khz PCM Audio support) == Registered file format alaw, extension(s) alaw|al [format_h263.so] => (Raw h263 data) == Registered file format h263, extension(s) h263 [format_g726.so] => (Raw G.726 (16/24/32/40kbps) data) == 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_ilbc.so] => (Raw iLBC data) == Registered file format iLBC, extension(s) ilbc [format_sln.so] => (Raw Signed Linear Audio support (SLN)) == Registered file format sln, extension(s) sln|raw [format_au.so] => (Sun Microsystems AU format (signed linear)) == Registered file format au, extension(s) au [format_jpeg.so] => (JPEG (Joint Picture Experts Group) Image Format) == Registered format 'jpg' (JPEG (Joint Picture Experts Group)) [format_g723.so] => (G.723.1 Simple Timestamp File Format) == Registered file format g723sf, extension(s) g723|g723sf [cdr_csv.so] => (Comma Separated Values CDR Backend) [cdr_manager.so] => (Asterisk Call Manager CDR Backend) == Parsing '/etc/asterisk/cdr_manager.conf': Found [cdr_custom.so] => (Customizable Comma Separated Values CDR Backend) == Parsing '/etc/asterisk/cdr_custom.conf': Not found (No such file or directory) Jun 14 13:48:05 WARNING[15142]: cdr_custom.c:85 load_config: Failed to load configuration file. Module not activated. [func_callerid.so] => (Caller ID related dialplan function) == Registered custom function CALLERID == Manager registered action DBGet == Manager registered action DBPut == Parsing '/etc/asterisk/enum.conf': Found == Parsing '/etc/asterisk/dnsmgr.conf': Not found (No such file or directory) Asterisk Ready. *CLI> zap show channels Chan Extension Context Language MusicOnHold pseudo incoming en 1 incoming en *CLI> zap show status Description Alarms IRQ bpviol CRC4 Generic Clone Board 1 RED 0 0 0 *CLI> Dial 1107743273948 -- Executing Dial("ALSA/default", "Zap/1|9w1107743273948:2") in new stack Jun 14 13:55:58 NOTICE[15230]: app_dial.c:977 dial_exec_full: Unable to create channel of type 'Zap' (cause 0) == Everyone is busy/congested at this time (1:0/0/1) Jun 14 13:56:09 WARNING[15230]: pbx.c:2419 __ast_pbx_run: Timeout, but no rule 't' in context 'local' << Hangup on console >> Any ideas? Duff cards? Cheers. Sandy.
Sandy Thomson
2005-Jun-15 08:38 UTC
[Asterisk-Users] app_dial.c:977 dial_exec_full: Unable to create channel of type 'Zap' (cause 0)
No Ideas? This seems like quite a common issue but I have searched and searched for a solution and not found any? Cheers. Sandy. Sandy Thomson wrote:>Hi, > >Ive been struggling with asterisk for a few days now. I understand >pretty much how it works and how to tie things together (SIP -> SIP >internally works fine etc), but just cannot get asterisk to work with an >X100P clone (its a Ambient MD3200, if that means anything to you guys). > >I have tried (initially) asterisk 1.07 with zaptel 1.07, and now >Asterisk CVS-HEAD with zaptel cvs. Both give me the same error. > > > >/etc/zaptel.conf >-- >fxsks=1 >loadzone=uk >defaultzone=uk > > > >/etc/asterisk/zapata.conf >-- >[channels] >language=en >context=incoming >signalling=fxs_ks >channel => 1 > > > >/etc/asterisk/extensions.conf >-- >[general] >static=yes >writeprotect=no > >[local] >exten => _11.,1,Dial(Zap/1,9w${EXTEN}:2) > >[incoming] >exten => s,1,Answer() >exten => s,2,BackGround(demo-congrats) ; Play a congratulatory message > >[outgoing] >exten => _9.,1,Ringing >exten => _9.,2,Wait,2 >exten => _9.,3,Answer() >exten => _9.,4,Dial(ZAP/1/9w${EXTEN}:1) > >[default] >include => outgoing > > > > >Loading zaptel modules: >-- >asterisk zaptel # modprobe zaptel >asterisk zaptel # modprobe wcfxo >asterisk zaptel # lsmod >Module Size Used by >wcfxo 12576 0 >zaptel 222916 1 wcfxo >crc_ccitt 1952 1 zaptel > > >asterisk zaptel # ztcfg -vv >Zaptel Configuration >=====================>Channel map: >Channel 01: FXS Kewlstart (Default) (Slaves: 01) >1 channels configured. > > > > >Running asterisk >-- >asterisk zaptel # asterisk -vvvvgc >Registering builtin applications: > [AbsoluteTimeout] > == Registered application 'AbsoluteTimeout' > [Answer] > == Registered application 'Answer' > [BackGround] > == Registered application 'BackGround' > [Busy] > == Registered application 'Busy' > [Congestion] > == Registered application 'Congestion' > [DigitTimeout] > == Registered application 'DigitTimeout' > [Goto] > == Registered application 'Goto' > [GotoIf] > == Registered application 'GotoIf' > [GotoIfTime] > == Registered application 'GotoIfTime' > [ExecIfTime] > == Registered application 'ExecIfTime' > [Hangup] > == Registered application 'Hangup' > [NoOp] > == Registered application 'NoOp' > [Prefix] > == Registered application 'Prefix' > [Progress] > == Registered application 'Progress' > [ResetCDR] > == Registered application 'ResetCDR' > [ResponseTimeout] > == Registered application 'ResponseTimeout' > [Ringing] > == Registered application 'Ringing' > [SayNumber] > == Registered application 'SayNumber' > [SayDigits] > == Registered application 'SayDigits' > [SayAlpha] > == Registered application 'SayAlpha' > [SayPhonetic] > == Registered application 'SayPhonetic' > [SetAccount] > == Registered application 'SetAccount' > [SetAMAFlags] > == Registered application 'SetAMAFlags' > [SetGlobalVar] > == Registered application 'SetGlobalVar' > [SetLanguage] > == Registered application 'SetLanguage' > [Set] > == Registered application 'Set' > [SetVar] > == Registered application 'SetVar' > [ImportVar] > == Registered application 'ImportVar' > [StripMSD] > == Registered application 'StripMSD' > [Suffix] > == Registered application 'Suffix' > [Wait] > == Registered application 'Wait' > [WaitExten] > == Registered application 'WaitExten' >Asterisk Dynamic Loader Starting: > == Parsing '/etc/asterisk/modules.conf': Found > [res_features.so] => (Call Parking Resource) > == Parsing '/etc/asterisk/features.conf': Found > -- Registered extension context 'parkedcalls' > -- Added extension '700' priority 1 to parkedcalls > == Registered application 'ParkedCall' > == Registered application 'Park' > == Manager registered action ParkedCalls > [res_musiconhold.so] => (Music On Hold Resource) > == Registered application 'MusicOnHold' > == Registered application 'WaitMusicOnHold' > == Registered application 'SetMusicOnHold' > == Registered application 'StartMusicOnHold' > == Registered application 'StopMusicOnHold' > == Parsing '/etc/asterisk/musiconhold.conf': Found > [chan_zap.so] => (Zapata Telephony) > == Parsing '/etc/asterisk/zapata.conf': Found > -- Registered channel 1, FXS Kewlstart signalling > -- Automatically generated pseudo channel > == Registered channel type 'Zap' (Zapata Telephony Driver) > == Manager registered action ZapTransfer > == Manager registered action ZapHangup > == Manager registered action ZapDialOffhook > == Manager registered action ZapDNDon > == Manager registered action ZapDNDoff > == Manager registered action ZapShowChannels > [app_sayunixtime.so] => (Say time) > == Registered application 'SayUnixTime' > == Registered application 'DateTime' > [res_adsi.so] => (ADSI Resource) > == Parsing '/etc/asterisk/adsi.conf': Found > [res_crypto.so] => (Cryptographic Digital Signatures) > -- Loaded PUBLIC key 'iaxtel' > -- Loaded PUBLIC key 'freeworlddialup' > [res_indications.so] => (Indications Configuration) > == Parsing '/etc/asterisk/indications.conf': Found > -- Registered indication country 'cl' > -- Registered indication country 'tw' > -- Registered indication country 'us' > -- Registered indication country 'au' > -- Registered indication country 'fr' > -- Registered indication country 'de' > -- Registered indication country 'nl' > -- Registered indication country 'uk' > -- Registered indication country 'fi' > -- Registered indication country 'no' > -- Registered indication country 'br' > -- Registered indication country 'za' > -- Registered indication country 'it' > -- Registered indication country 'us-o' > -- Registered indication country 'gr' > -- Registered indication country 'ru' > -- Registered indication country 'nz' > -- Setting default indication country to 'uk' > == Registered application 'Playtones' > == Registered application 'StopPlaytones' > [res_monitor.so] => (Call Monitoring Resource) > == Registered application 'Monitor' > == Registered application 'StopMonitor' > == Registered application 'ChangeMonitor' > == Manager registered action Monitor > == Manager registered action StopMonitor > == Manager registered action ChangeMonitor > [res_agi.so] => (Asterisk Gateway Interface (AGI)) > == Registered application 'DeadAGI' > == Registered application 'EAGI' > == Registered application 'AGI' > [skipping chan_modem.so] > [chan_sip.so] => (Session Initiation Protocol (SIP)) > == Registered channel type 'SIP' (Session Initiation Protocol (SIP)) > == Parsing '/etc/asterisk/sip.conf': Found > == SIP Listening on 192.168.0.8:5060 > == Using TOS bits 0 > == Parsing '/etc/asterisk/sip_notify.conf': Not found (No such file or >directory) > == Registered application 'SIPDtmfMode' > == Registered application 'SIPAddHeader' > == Registered application 'SIPGetHeader' > == Manager registered action SIPpeers > == Manager registered action SIPshowpeer > == Registered custom function SIP_HEADER > [skipping chan_modem_aopen.so] > [skipping chan_modem_bestdata.so] > [skipping chan_agent.so] > [skipping chan_mgcp.so] > [chan_iax2.so] => (Inter Asterisk eXchange (Ver 2)) > == Registered custom function IAXPEER > == Registered application 'IAX2Provision' > == Manager registered action IAXpeers > == Manager registered action IAXnetstats > == Parsing '/etc/asterisk/iax.conf': Found > -- doing lookup for '216.207.245.47' > == Registered channel type 'IAX2' (Inter Asterisk eXchange Driver (Ver 2)) > == Using TOS bits 16 > == Binding IAX2 to default address 0.0.0.0:4569 > == IAX Ready and Listening > == Loaded firmware 'iaxy.bin' > == Parsing '/etc/asterisk/iaxprov.conf': Found > -- Loaded provisioning template 'default' > [skipping chan_local.so] > [skipping chan_skinny.so] > [chan_features.so] => (Feature Proxy Channel) > == Registered channel type 'Feature' (Feature Proxy Channel Driver) > [skipping chan_oss.so] > [skipping chan_modem_i4l.so] > [skipping chan_phone.so] > [chan_alsa.so] => (ALSA Console Channel Driver) > == Parsing '/etc/asterisk/alsa.conf': Found > == Registered channel type 'Console' (ALSA Console Channel Driver) > [pbx_config.so] => (Text Extension Configuration) > == Parsing '/etc/asterisk/extensions.conf': Found > -- Registered extension context 'local' > -- Added extension '_11.' priority 1 to local > -- Registered extension context 'incoming' > -- Added extension 's' priority 1 to incoming > -- Added extension 's' priority 2 to incoming > -- Registered extension context 'outgoing' > -- Added extension '_9.' priority 1 to outgoing > -- Added extension '_9.' priority 2 to outgoing > -- Added extension '_9.' priority 3 to outgoing > -- Added extension '_9.' priority 4 to outgoing > -- Registered extension context 'default' > -- Including context 'outgoing' in context 'default' > [pbx_spool.so] => (Outgoing Spool Support) > [pbx_dundi.so] => (Distributed Universal Number Discovery (DUNDi)) > == Parsing '/etc/asterisk/dundi.conf': Not found (No such file or >directory) >Jun 14 13:48:04 ERROR[15142]: pbx_dundi.c:4474 set_config: Unable to >load config dundi.conf > == Using TOS bits 0 > == DUNDi Ready and Listening on 0.0.0.0 port 4520 > == Registered application 'DUNDiLookup' > [pbx_loopback.so] => (Loopback Switch) > [pbx_realtime.so] => (Realtime Switch) > [pbx_functions.so] => (Builtin dialplan functions) > == Registered custom function MD5 > == Registered custom function CHECK_MD5 > == Registered custom function MATH > == Registered custom function GROUP_COUNT > == Registered custom function GROUP_MATCH_COUNT > == Registered custom function GROUP > == Registered custom function GROUP_LIST > == Registered custom function FIELDQTY > == Registered custom function REGEX > == Registered custom function LEN > == Registered custom function STRFTIME > == Registered custom function EVAL > == Registered custom function CDR > == Registered custom function ISNULL > == Registered custom function SET > == Registered custom function EXISTS > == Registered custom function IF > == Registered custom function IFTIME > == Registered custom function ENV > == Registered custom function DB > == Registered custom function DB_EXISTS > == Registered custom function TIMEOUT > == Registered custom function LANGUAGE > [skipping chan_modem.so] > [skipping chan_modem_aopen.so] > [skipping chan_modem_bestdata.so] > [skipping chan_agent.so] > [skipping chan_mgcp.so] > [skipping chan_local.so] > [skipping chan_skinny.so] > [skipping chan_oss.so] > [skipping chan_modem_i4l.so] > [skipping chan_phone.so] > [app_dial.so] => (Dialing Application) > == Registered application 'Dial' > == Registered application 'RetryDial' > [app_playback.so] => (Sound File Playback Application) > == Registered application 'Playback' > [app_voicemail.so] => (Comedian Mail (Voicemail System)) > == Registered application 'VoiceMail' > == Registered application 'VoiceMailMain' > == Registered application 'MailboxExists' > == Registered application 'VMAuthenticate' > == Parsing '/etc/asterisk/voicemail.conf': Found > [app_directory.so] => (Extension Directory) > == Registered application 'Directory' > [app_mp3.so] => (Silly MP3 Application) > == Registered application 'MP3Player' > [app_system.so] => (Generic System() application) > == Registered application 'TrySystem' > == Registered application 'System' > [app_echo.so] => (Simple Echo Application) > == Registered application 'Echo' > [app_record.so] => (Trivial Record Application) > == Registered application 'Record' > [skipping app_image.so] > [app_url.so] => (Send URL Applications) > == Registered application 'SendURL' > [app_disa.so] => (DISA (Direct Inward System Access) Application) > == Registered application 'DISA' > [app_adsiprog.so] => (Asterisk ADSI Programming Application) > == Registered application 'ADSIProg' > [skipping app_getcpeid.so] > [skipping app_milliwatt.so] > [app_zapateller.so] => (Block Telemarketers with Special Information Tone) > == Registered application 'Zapateller' > [app_setcallerid.so] => (Set CallerID Application) > == Registered application 'SetCallerPres' > == Registered application 'SetCallerID' > [app_festival.so] => (Simple Festival Interface) > == Registered application 'Festival' > [app_queue.so] => (True Call Queueing) > == Registered application 'Queue' > == Manager registered action Queues > == Manager registered action QueueStatus > == Manager registered action QueueAdd > == Manager registered action QueueRemove > == Manager registered action QueuePause > == Registered application 'AddQueueMember' > == Registered application 'RemoveQueueMember' > == Registered application 'PauseQueueMember' > == Registered application 'UnpauseQueueMember' > == Parsing '/etc/asterisk/queues.conf': Found > [app_senddtmf.so] => (Send DTMF digits Application) > == Registered application 'SendDTMF' > [app_parkandannounce.so] => (Call Parking and Announce Application) > == Registered application 'ParkAndAnnounce' > [app_striplsd.so] => (Strip trailing digits) > == Registered application 'StripLSD' > [app_setcidname.so] => (Set CallerID Name) > == Registered application 'SetCIDName' > [app_lookupcidname.so] => (Look up CallerID Name from local database) > == Registered application 'LookupCIDName' > [app_substring.so] => ((Deprecated) Save substring digits in a given >variable) > == Registered application 'SubString' > [app_macro.so] => (Extension Macros) > == Registered application 'MacroExit' > == Registered application 'MacroIf' > == Registered application 'Macro' > [app_authenticate.so] => (Authentication Application) > == Registered application 'Authenticate' > [app_softhangup.so] => (Hangs up the requested channel) > == Registered application 'SoftHangup' > [app_lookupblacklist.so] => (Look up Caller*ID name/number from >blacklist database) > == Registered application 'LookupBlacklist' > [app_waitforring.so] => (Waits until first ring after time) > == Registered application 'WaitForRing' > [app_privacy.so] => (Require phone number to be entered, if no CallerID >sent) > == Registered application 'PrivacyManager' > [app_db.so] => (Database access functions for Asterisk extension logic) > == Registered application 'DBget' > == Registered application 'DBput' > == Registered application 'DBdel' > == Registered application 'DBdeltree' > [app_chanisavail.so] => (Check if channel is available) > == Registered application 'ChanIsAvail' > [app_enumlookup.so] => (ENUM Lookup) > == Registered application 'EnumLookup' > == Parsing '/etc/asterisk/enum.conf': Found > [app_transfer.so] => (Transfer) > == Registered application 'Transfer' > [app_setcidnum.so] => (Set CallerID Number) > == Registered application 'SetCIDNum' > [app_cdr.so] => (Make sure asterisk doesn't save CDR for a certain call) > == Registered application 'NoCDR' > [app_hasnewvoicemail.so] => (Indicator for whether a voice mailbox has >messages in a given folder.[) > == Registered application 'HasVoicemail' > == Registered application 'HasNewVoicemail' > [app_cut.so] => (Cuts up variables) > == Registered application 'Cut' > [app_read.so] => (Read Variable Application) > == Registered application 'Read' > [app_setcdruserfield.so] => (CDR user field apps) > == Registered application 'SetCDRUserField' > == Registered application 'AppendCDRUserField' > == Manager registered action SetCDRUserField > [app_random.so] => (Random goto) > == Registered application 'Random' > [app_ices.so] => (Encode and Stream via icecast and ices) > == Registered application 'ICES' > [app_eval.so] => (Reevaluates strings) > == Registered application 'Eval' > [app_nbscat.so] => (Silly NBS Stream Application) > == Registered application 'NBScat' > [app_sendtext.so] => (Send Text Applications) > == Registered application 'SendText' > [app_exec.so] => (Executes applications) > == Registered application 'Exec' > [app_sms.so] => (SMS/PSTN handler) > == Registered application 'SMS' > [app_groupcount.so] => (Group Management Routines) > == Registered application 'GetGroupCount' > == Registered application 'SetGroup' > == Registered application 'CheckGroup' > == Registered application 'GetGroupMatchCount' > [app_txtcidname.so] => (TXTCIDName) > == Registered application 'TXTCIDName' > == Parsing '/etc/asterisk/enum.conf': Found > [app_controlplayback.so] => (Control Playback Application) > == Registered application 'ControlPlayback' > [app_talkdetect.so] => (Playback with Talk Detection) > == Registered application 'BackgroundDetect' > [app_alarmreceiver.so] => (Alarm Receiver for Asterisk) > == Parsing '/etc/asterisk/alarmreceiver.conf': Found > == Registered application 'AlarmReceiver' > [app_userevent.so] => (Custom User Event Application) > == Registered application 'UserEvent' > [app_verbose.so] => (Send verbose output) > == Registered application 'Verbose' > [app_test.so] => (Interface Test Application) > == Registered application 'TestClient' > == Registered application 'TestServer' > [app_forkcdr.so] => (Fork The CDR into 2 separate entities.) > == Registered application 'ForkCDR' > [app_math.so] => (Basic Math Functions) > == Registered application 'Math' > [app_realtime.so] => (Realtime Data Lookup/Rewrite) > == Registered application 'RealTimeUpdate' > == Registered application 'RealTime' > [app_dumpchan.so] => (Dump Info About The Calling Channel) > == Registered application 'DumpChan' > [app_waitforsilence.so] => (Wait For Silence) > == Registered application 'WaitForSilence' > [app_while.so] => (While Loops and Conditional Execution) > == Registered application 'While' > == Registered application 'ExecIf' > == Registered application 'EndWhile' > [app_setrdnis.so] => (Set RDNIS Number) > == Registered application 'SetRDNIS' > [app_md5.so] => (MD5 checksum applications) > == Registered application 'MD5Check' > == Registered application 'MD5' > [app_readfile.so] => (Stores output of file into a variable) > == Registered application 'ReadFile' > [app_chanspy.so] => (Tap into any type of asterisk channel and listen >to audio) > == Registered application 'ChanSpy' > [app_settransfercapability.so] => (Set ISDN Transfer Capability) > == Registered application 'SetTransferCapability' > [app_dictate.so] => (Virtual Dictation Machine) > == Registered application 'Dictate' > [skipping app_zapras.so] > [app_meetme.so] => (MeetMe conference bridge) > == Registered application 'MeetMeAdmin' > == Registered application 'MeetMeCount' > == Registered application 'MeetMe' > [app_flash.so] => (Flash zap trunk application) > == Registered application 'Flash' > [app_zapbarge.so] => (Barge in on Zap channel application) > == Registered application 'ZapBarge' > [app_zapscan.so] => (Scan Zap channels application) > == Registered application 'ZapScan' > [app_curl.so] => (Load external URL) > == Registered application 'Curl' > [codec_speex.so] => (Speex/PCM16 (signed linear) Codec Translator) > == Parsing '/etc/asterisk/codecs.conf': Not found (No such file or >directory) > == Registered translator 'speextolin' from format speex to slin, cost 11 > == Registered translator 'lintospeex' from format slin to speex, cost 207 > [codec_ilbc.so] => (iLBC/PCM16 (signed linear) Codec Translator) > == Registered translator 'ilbctolin' from format ilbc to slin, cost 28 > == Registered translator 'lintoilbc' from format slin to ilbc, cost 146 > [codec_gsm.so] => (GSM/PCM16 (signed linear) Codec Translator) > == Parsing '/etc/asterisk/codecs.conf': Not found (No such file or >directory) > == Registered translator 'gsmtolin' from format gsm to slin, cost 5 > == Registered translator 'lintogsm' from format slin to gsm, cost 19 > [codec_lpc10.so] => (LPC10 2.4kbps (signed linear) Voice Coder) > == Parsing '/etc/asterisk/codecs.conf': Not found (No such file or >directory) > == Registered translator 'lpc10tolin' from format lpc10 to slin, cost 17 > == Registered translator 'lintolpc10' from format slin to lpc10, cost 29 > [codec_adpcm.so] => (Adaptive Differential PCM Coder/Decoder) > == Parsing '/etc/asterisk/codecs.conf': Not found (No such file or >directory) > == Registered translator 'adpcmtolin' from format adpcm to slin, cost 1 > == Registered translator 'lintoadpcm' from format slin to adpcm, cost 2 > [codec_ulaw.so] => (Mu-law Coder/Decoder) > == Parsing '/etc/asterisk/codecs.conf': Not found (No such file or >directory) > == Registered translator 'ulawtolin' from format ulaw to slin, cost 1 > == Registered translator 'lintoulaw' from format slin to ulaw, cost 1 > [codec_alaw.so] => (A-law Coder/Decoder) > == Parsing '/etc/asterisk/codecs.conf': Not found (No such file or >directory) > == Registered translator 'alawtolin' from format alaw to slin, cost 1 > == Registered translator 'lintoalaw' from format slin to alaw, cost 1 > [codec_a_mu.so] => (A-law and Mulaw direct Coder/Decoder) > == Registered translator 'alawtoulaw' from format alaw to ulaw, cost 1 > == Registered translator 'ulawtoalaw' from format ulaw to alaw, cost 1 > [codec_g726.so] => (ITU G.726-32kbps G726 Transcoder) > == Parsing '/etc/asterisk/codecs.conf': Not found (No such file or >directory) > == Registered translator 'g726tolin' from format g726 to slin, cost 12 > == Registered translator 'lintog726' from format slin to g726, cost 14 > [format_gsm.so] => (Raw GSM data) > == Registered file format gsm, extension(s) gsm > [format_wav.so] => (Microsoft WAV format (8000hz Signed Linear)) > == Registered file format wav, extension(s) wav > [format_wav_gsm.so] => (Microsoft WAV format (Proprietary GSM)) > == Registered file format wav49, extension(s) WAV|wav49 > [format_vox.so] => (Dialogic VOX (ADPCM) File Format) > == Registered file format vox, extension(s) vox > [format_pcm.so] => (Raw uLaw 8khz Audio support (PCM)) > == Registered file format pcm, extension(s) pcm|ulaw|ul|mu > [format_g729.so] => (Raw G729 data) > == Registered file format g729, extension(s) g729 > [format_pcm_alaw.so] => (Raw aLaw 8khz PCM Audio support) > == Registered file format alaw, extension(s) alaw|al > [format_h263.so] => (Raw h263 data) > == Registered file format h263, extension(s) h263 > [format_g726.so] => (Raw G.726 (16/24/32/40kbps) data) > == 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_ilbc.so] => (Raw iLBC data) > == Registered file format iLBC, extension(s) ilbc > [format_sln.so] => (Raw Signed Linear Audio support (SLN)) > == Registered file format sln, extension(s) sln|raw > [format_au.so] => (Sun Microsystems AU format (signed linear)) > == Registered file format au, extension(s) au > [format_jpeg.so] => (JPEG (Joint Picture Experts Group) Image Format) > == Registered format 'jpg' (JPEG (Joint Picture Experts Group)) > [format_g723.so] => (G.723.1 Simple Timestamp File Format) > == Registered file format g723sf, extension(s) g723|g723sf > [cdr_csv.so] => (Comma Separated Values CDR Backend) > [cdr_manager.so] => (Asterisk Call Manager CDR Backend) > == Parsing '/etc/asterisk/cdr_manager.conf': Found > [cdr_custom.so] => (Customizable Comma Separated Values CDR Backend) > == Parsing '/etc/asterisk/cdr_custom.conf': Not found (No such file or >directory) >Jun 14 13:48:05 WARNING[15142]: cdr_custom.c:85 load_config: Failed to >load configuration file. Module not activated. > [func_callerid.so] => (Caller ID related dialplan function) > == Registered custom function CALLERID > == Manager registered action DBGet > == Manager registered action DBPut > == Parsing '/etc/asterisk/enum.conf': Found > == Parsing '/etc/asterisk/dnsmgr.conf': Not found (No such file or >directory) >Asterisk Ready. > > > > >*CLI> zap show channels > Chan Extension Context Language MusicOnHold > pseudo incoming en > 1 incoming en >*CLI> zap show status >Description Alarms IRQ >bpviol CRC4 >Generic Clone Board 1 RED 0 >0 0 >*CLI> Dial 1107743273948 > -- Executing Dial("ALSA/default", "Zap/1|9w1107743273948:2") in new >stack >Jun 14 13:55:58 NOTICE[15230]: app_dial.c:977 dial_exec_full: Unable to >create channel of type 'Zap' (cause 0) > == Everyone is busy/congested at this time (1:0/0/1) >Jun 14 13:56:09 WARNING[15230]: pbx.c:2419 __ast_pbx_run: Timeout, but >no rule 't' in context 'local' > << Hangup on console >> > > > >Any ideas? >Duff cards? > >Cheers. > >Sandy. > > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >