[Asterisk-Users] asterisk starting problem. Warning 2224 (app_capiCD.so)

Oihane Lorente oihane.lorente at gmail.com
Wed Nov 30 10:26:02 MST 2005


Hi all,

I'm new in Asterisk so I'll thank a lot any help. When I start
Asterisk: asterisk -cvv, the output is as follows:

  == Parsing '/etc/asterisk/asterisk.conf': Found
  == Parsing '/etc/asterisk/extconfig.conf': Found
Asterisk , Copyright (C) 1999 - 2005 Digium.
Written by Mark Spencer <markster at digium.com>
=========================================================================
  == Parsing '/etc/asterisk/logger.conf': Found
Asterisk Event Logger Started /var/log/asterisk/event_log
  == Parsing '/etc/asterisk/dnsmgr.conf': Found
Asterisk Dynamic Loader loading preload modules:
  == Parsing '/etc/asterisk/modules.conf': Found
  == Manager registered action Ping
  == Manager registered action Events
  == Manager registered action Logoff
  == Manager registered action Hangup
  == Manager registered action Status
  == Manager registered action Setvar
  == Manager registered action Getvar
  == Manager registered action Redirect
  == Manager registered action Originate
  == Manager registered action Command
  == Manager registered action ExtensionState
  == Manager registered action AbsoluteTimeout
  == Manager registered action MailboxStatus
  == Manager registered action MailboxCount
  == Manager registered action ListCommands
  == Parsing '/etc/asterisk/manager.conf': Found
  == Parsing '/etc/asterisk/cdr.conf': Found
Nov 30 18:20:29 NOTICE[2625]: cdr.c:1185 do_reload: CDR simple logging enabled.
  == Parsing '/etc/asterisk/rtp.conf': Found
  == RTP Allocating from port range 10000 -> 20000
Asterisk PBX Core Initializing
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'
 [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'
 [Wait]
  == Registered application 'Wait'
 [WaitExten]
  == Registered application 'WaitExten'
Asterisk Dynamic Loader Starting:
  == Parsing '/etc/asterisk/modules.conf': Found
 [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
Nov 30 18:20:29 WARNING[2625]: res_musiconhold.c:833 moh_register:
Unable to open pseudo channel for timing...  Sound may be choppy.
 [res_features.so] => (Call Features Resource)
  == Parsing '/etc/asterisk/features.conf': Found
Nov 30 18:20:29 WARNING[2630]: res_musiconhold.c:421 spawn_mp3: Found
no files in '/usr/share/asterisk/mohmp3'
Nov 30 18:20:29 WARNING[2630]: res_musiconhold.c:488 monmp3thread:
Unable to spawn mp3player
  == Registered application 'ParkedCall'
  == Registered application 'Park'
  == Manager registered action ParkedCalls
 [chan_capi.so] => (Common ISDN API for Asterisk)
  == Parsing '/etc/asterisk/capi.conf': Found
  == Registered channel type 'CAPI' (Common ISDN API Driver
($Revision: 1.115 $) )
  == Registered application 'capiCommand'
  == Registered custom function VANITYNUMBER
 [res_indications.so] => (Indications Configuration)
  == Parsing '/etc/asterisk/indications.conf': Found
  == 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_adsi.so] => (ADSI Resource)
  == Parsing '/etc/asterisk/adsi.conf': Found
 [res_agi.so] => (Asterisk Gateway Interface (AGI))
  == Registered application 'DeadAGI'
  == Registered application 'EAGI'
  == Registered application 'AGI'
 [res_config_odbc.so] => (ODBC Configuration)
Nov 30 18:20:29 NOTICE[2625]: config.c:863 ast_config_engine_register:
Registered Config Engine odbc
res_config_odbc loaded.
 [res_odbc.so] => (ODBC Resource)
  == Parsing '/etc/asterisk/res_odbc.conf': Found
Nov 30 18:20:29 NOTICE[2625]: res_odbc.c:294 load_odbc_config:
registered database handle 'asterisk' dsn->[asterisk]
Nov 30 18:20:29 NOTICE[2625]: res_odbc.c:552 odbc_obj_connect:
Connecting asterisk
Nov 30 18:20:29 WARNING[2625]: res_odbc.c:563 odbc_obj_connect:
res_odbc: Error SQLConnect=-1 errno=0 [unixODBC][Driver Manager]Data
source name not found, and no default driver specified
Nov 30 18:20:29 NOTICE[2625]: res_odbc.c:597 load_module: res_odbc loaded.
 [res_crypto.so] => (Cryptographic Digital Signatures)
 [chan_sip.so] => (Session Initiation Protocol (SIP))
  == Parsing '/etc/asterisk/sip.conf': Found
  == SIP Listening on 0.0.0.0:5060
  == Using TOS bits 0
  == Parsing '/etc/asterisk/sip_notify.conf': Found
  == Registered channel type 'SIP' (Session Initiation Protocol (SIP))
  == Registered application 'SIPDtmfMode'
  == Registered application 'SIPAddHeader'
  == Registered application 'SIPGetHeader'
  == 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
 [chan_agent.so] => (Agent Proxy Channel)
  == Registered channel type 'Agent' (Call Agent Proxy Channel)
  == Registered application 'AgentLogin'
  == Registered application 'AgentCallbackLogin'
  == Registered application 'AgentMonitorOutgoing'
  == Manager registered action Agents
  == Manager registered action AgentLogoff
  == Manager registered action AgentCallbackLogin
  == Parsing '/etc/asterisk/agents.conf': Found
 [chan_mgcp.so] => (Media Gateway Control Protocol (MGCP))
  == Parsing '/etc/asterisk/mgcp.conf': Found
  == MGCP Listening on 0.0.0.0:2727
  == Using TOS bits 0
  == Registered channel type 'MGCP' (Media Gateway Control Protocol (MGCP))
 [chan_iax2.so] => (Inter Asterisk eXchange (Ver 2))
  == Registered custom function IAXPEER
Nov 30 18:20:30 WARNING[2625]: chan_iax2.c:9544 load_module: Unable to
open IAX timing interface: No such file or directory
  == Registered application 'IAX2Provision'
  == Manager registered action IAXpeers
  == Manager registered action IAXnetstats
  == Parsing '/etc/asterisk/iax.conf': Found
  == 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
 [chan_local.so] => (Local Proxy Channel)
  == Registered channel type 'Local' (Local Proxy Channel Driver)
 [chan_skinny.so] => (Skinny Client Control Protocol (Skinny))
  == Parsing '/etc/asterisk/skinny.conf': Found
  == Skinny listening on 0.0.0.0:2000
  == Registered channel type 'Skinny' (Skinny Client Control Protocol (Skinny))
 [chan_features.so] => (Feature Proxy Channel)
  == Registered channel type 'Feature' (Feature Proxy Channel Driver)
 [chan_phone.so] => (Linux Telephony API Support)
  == Parsing '/etc/asterisk/phone.conf': Found
  == Registered channel type 'Phone' (Standard Linux Telephony API Driver)
 [skipping chan_alsa.so]
 [chan_zap.so] => (Zapata Telephony w/PRI)
  == Parsing '/etc/asterisk/zapata.conf': Found
  == Registered channel type 'Zap' (Zapata Telephony Driver w/PRI)
  == Manager registered action ZapTransfer
  == Manager registered action ZapHangup
  == Manager registered action ZapDialOffhook
  == Manager registered action ZapDNDon
  == Manager registered action ZapDNDoff
  == Manager registered action ZapShowChannels
 [pbx_config.so] => (Text Extension Configuration)
  == Parsing '/etc/asterisk/extensions.conf': Found
  == Setting global variable 'CONSOLE' to 'Console/dsp'
  == Setting global variable 'IAXINFO' to 'guest'
  == Setting global variable 'TRUNK' to 'CAPI'
  == Setting global variable 'TRUNKMSD' to '1'
 [pbx_spool.so] => (Outgoing Spool Support)
 [pbx_dundi.so] => (Distributed Universal Number Discovery (DUNDi))
  == Parsing '/etc/asterisk/dundi.conf': Found
  == Using TOS bits 0
  == DUNDi Ready and Listening on 0.0.0.0 port 4520
  == Registered application 'DUNDiLookup'
  == Registered custom function DUNDILOOKUP
 [pbx_loopback.so] => (Loopback Switch)
 [pbx_realtime.so] => (Realtime Switch)
 [pbx_ael.so] => (Asterisk Extension Language Compiler)
 [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
  == Registered custom function MUSICCLASS
 [app_parkandannounce.so] => (Call Parking and Announce Application)
  == Registered application 'ParkAndAnnounce'
 [skipping chan_alsa.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'
 [app_image.so] => (Image Transmission Application)
  == Registered application 'SendImage'
 [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'
 [app_getcpeid.so] => (Get ADSI CPE ID)
  == Registered application 'GetCPEID'
 [app_milliwatt.so] => (Digital Milliwatt (mu-law) Test Application)
  == Registered application 'Milliwatt'
 [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'
  == Registered custom function QUEUEAGENTCOUNT
  == Parsing '/etc/asterisk/queues.conf': Found
 [app_senddtmf.so] => (Send DTMF digits Application)
  == Registered application 'SendDTMF'
 [app_lookupcidname.so] => (Look up CallerID Name from local database)
  == Registered application 'LookupCIDName'
 [app_setcidname.so] => (Set CallerID Name)
  == Registered application 'SetCIDName'
 [app_authenticate.so] => (Authentication Application)
  == Registered application 'Authenticate'
 [app_macro.so] => (Extension Macros)
  == Registered application 'MacroExit'
  == Registered application 'MacroIf'
  == Registered application 'Macro'
 [app_lookupblacklist.so] => (Look up Caller*ID name/number from
blacklist database)
  == Registered application 'LookupBlacklist'
 [app_softhangup.so] => (Hangs up the requested channel)
  == Registered application 'SoftHangup'
 [app_hasnewvoicemail.so] => (Indicator for whether a voice mailbox
has messages in a given folder.
  == Registered custom function VMCOUNT
  == Registered application 'HasVoicemail'
  == Registered application 'HasNewVoicemail'
 [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)
  == Registered application 'DBget'
  == Registered application 'DBput'
  == Registered application 'DBdel'
  == Registered application 'DBdeltree'
 [app_chanisavail.so] => (Check channel availability)
  == 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] => (Tell Asterisk to not maintain a CDR for the current call)
  == Registered application 'NoCDR'
 [app_setcdruserfield.so] => (CDR user field apps)
  == Registered application 'SetCDRUserField'
  == Registered application 'AppendCDRUserField'
  == Manager registered action SetCDRUserField
 [app_sayunixtime.so] => (Say time)
  == Registered application 'SayUnixTime'
  == Registered application 'DateTime'
 [app_cut.so] => (Cut out information from a string)
  == Registered custom function CUT
  == Registered custom function SORT
  == Registered application 'Sort'
  == Registered application 'Cut'
 [app_read.so] => (Read Variable Application)
  == Registered application 'Read'
 [app_groupcount.so] => (Group Management Routines)
  == Registered application 'GetGroupCount'
  == Registered application 'SetGroup'
  == Registered application 'CheckGroup'
  == Registered application 'GetGroupMatchCount'
 [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_controlplayback.so] => (Control Playback Application)
  == Registered application 'ControlPlayback'
 [app_txtcidname.so] => (TXTCIDName)
  == Registered application 'TXTCIDName'
 [app_alarmreceiver.so] => (Alarm Receiver for Asterisk)
  == Parsing '/etc/asterisk/alarmreceiver.conf': Found
  == Registered application 'AlarmReceiver'
 [app_talkdetect.so] => (Playback with Talk Detection)
  == Registered application 'BackgroundDetect'
 [app_waitforsilence.so] => (Wait For Silence)
  == Registered application 'WaitForSilence'
 [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_externalivr.so] => (External IVR Interface Application)
  == Registered application 'ExternalIVR'
 [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] => (Listen to the audio of an active channel
)
  == Registered application 'ChanSpy'
 [app_dictate.so] => (Virtual Dictation Machine)
  == Registered application 'Dictate'
 [app_stack.so] => (Stack Routines)
  == Registered application 'StackPop'
  == Registered application 'Return'
  == Registered application 'GosubIf'
  == Registered application 'Gosub'
 [app_settransfercapability.so] => (Set ISDN Transfer Capability)
  == Registered application 'SetTransferCapability'
 [app_capiCD.so]Nov 30 18:20:30 WARNING[2625]: loader.c:325
__load_resource: /usr/lib/asterisk/modules/app_capiCD.so: undefined
symbol: ast_capi_MessageNumber
Nov 30 18:20:30 WARNING[2625]: loader.c:554 load_modules: Loading
module app_capiCD.so failed!

As you can see, asterisk cannot start because of a loading module failure.

I use:
Debian-kernel 2.4.27.
asterisk 1.2.0
AVM Fritz! Card PCI
chan_capi -cm-0.6.1

I have followed voip-info.org steps for an AVM Fritz Card so that I
have made the corresponding changes in makefiles. I have already
loaded capi and fcpci modules. I have also made the changes that are
specified in chan_capi driver's INSTALL file and I haven't had
problems with make and make install.

I have asterisk-chan-capi package installed so in my
/usr/lib/asterisk/modules it's app_capiCD.so.

Would you mind telling me what I am doing wrong?

Thank you very much.

Oihane



More information about the asterisk-users mailing list