[Asterisk-Users] Asterisk behaving wierd!!
Augustine Olaifa
austino at skannet.com
Mon Oct 10 14:48:41 MST 2005
hello,
I have been using asterisk now for about 2 years now on a RH8.0 it is our
main call gateway.
I have on the box 3 T1 TDM cards connected to 2 Rhino channel
banks (FXS) and 1 CAC Access bank I (FXO) with so many softphones and ATA
186s.
It has been working good till today some few hours ago. i just
discovered that there were no dialtone on the phones.
Asterisk did not spit out any error, it tried reloading but there was no
response, i did a "stop now" and it gave no such command "use help", i did
a help and i saw that both "stop gracefully and stop now" were missing in
the list.
At this stage i started to wonder what could be wrong because i still use
"stop now" just a few days ago, and i have not changed the CVS i am
running.
I am running CVS-03/20/04:11:01. So i checked for any IRQ conflict using
(/proc/interrupts and lspci -v) there was no conflict, all the cards were
on separate IRQs (3,5,10) which was fine.
i removed all the cards on the system and tried starting asterisk again
but it will not start,it stops at:
[1;30;40m == [0;37;40mManager registered action Command
[1;30;40m == [0;37;40mManager registered action ExtensionState
[1;30;40m == [0;37;40mManager registered action AbsoluteTimeout
[1;30;40m == [0;37;40mManager registered action MailboxCount
[1;30;40m == [0;37;40mParsing '/etc/asterisk/manager.conf': Found
[1;30;40m == [0;37;40mParsing '/etc/asterisk/rtp.conf': Found
[1;30;40m == [0;37;40mRTP Allocating from port range 10000 -> 20000
Asterisk PBX Core Initializing
Registering builtin applications:
[1;30;40m [0;37;40m[AbsoluteTimeout]
[1;30;40m == [0;37;40mRegistered application '[1;36;40mAbsoluteTimeout[0;37;40m'
[1;30;40m [0;37;40m[Answer]
[1;30;40m == [0;37;40mRegistered application '[1;36;40mAnswer[0;37;40m'
[1;30;40m [0;37;40m[BackGround]
[1;30;40m == [0;37;40mRegistered application '[1;36;40mBackGround[0;37;40m'
[1;30;40m [0;37;40m[Busy]
[1;30;40m == [0;37;40mRegistered application '[1;36;40mBusy[0;37;40m'
[1;30;40m [0;37;40m[Congestion]
[1;30;40m == [0;37;40mRegistered application '[1;36;40mCongestion[0;37;40m'
[1;30;40m [0;37;40m[DigitTimeout]
[1;30;40m == [0;37;40mRegistered application '[1;36;40mDigitTimeout[0;37;40m'
[1;30;40m [0;37;40m[Goto]
[1;30;40m == [0;37;40mRegistered application '[1;36;40mGoto[0;37;40m'
[1;30;40m [0;37;40m[GotoIf]
[1;30;40m == [0;37;40mRegistered application '[1;36;40mGotoIf[0;37;40m'
[1;30;40m [0;37;40m[GotoIfTime]
[1;30;40m == [0;37;40mRegistered application '[1;36;40mGotoIfTime[0;37;40m'
[1;30;40m [0;37;40m[Hangup]
[1;30;40m == [0;37;40mRegistered application '[1;36;40mHangup[0;37;40m'
[1;30;40m [0;37;40m[NoOp]
[1;30;40m == [0;37;40mRegistered application '[1;36;40mNoOp[0;37;40m'
[1;30;40m [0;37;40m[Prefix]
[1;30;40m == [0;37;40mRegistered application '[1;36;40mPrefix[0;37;40m'
[1;30;40m [0;37;40m[ResetCDR]
[1;30;40m == [0;37;40mRegistered application '[1;36;40mResetCDR[0;37;40m'
[1;30;40m [0;37;40m[ResponseTimeout]
[1;30;40m == [0;37;40mRegistered application '[1;36;40mResponseTimeout[0;37;40m'
[1;30;40m [0;37;40m[Ringing]
[1;30;40m == [0;37;40mRegistered application '[1;36;40mRinging[0;37;40m'
[1;30;40m [0;37;40m[SayNumber]
[1;30;40m == [0;37;40mRegistered application '[1;36;40mSayNumber[0;37;40m'
[1;30;40m [0;37;40m[SayDigits]
[1;30;40m == [0;37;40mRegistered application '[1;36;40mSayDigits[0;37;40m'
[1;30;40m [0;37;40m[SetAccount]
[1;30;40m == [0;37;40mRegistered application '[1;36;40mSetAccount[0;37;40m'
[1;30;40m [0;37;40m[SetGlobalVar]
[1;30;40m == [0;37;40mRegistered application '[1;36;40mSetGlobalVar[0;37;40m'
[1;30;40m [0;37;40m[SetLanguage]
[1;30;40m == [0;37;40mRegistered application '[1;36;40mSetLanguage[0;37;40m'
[1;30;40m [0;37;40m[SetVar]
[1;30;40m == [0;37;40mRegistered application '[1;36;40mSetVar[0;37;40m'
[1;30;40m [0;37;40m[StripMSD]
[1;30;40m == [0;37;40mRegistered application '[1;36;40mStripMSD[0;37;40m'
[1;30;40m [0;37;40m[Suffix]
[1;30;40m == [0;37;40mRegistered application '[1;36;40mSuffix[0;37;40m'
[1;30;40m [0;37;40m[Wait]
[1;30;40m == [0;37;40mRegistered application '[1;36;40mWait[0;37;40m'
Asterisk Dynamic Loader Starting:
[1;30;40m == [0;37;40mParsing '/etc/asterisk/modules.conf': Found
[1;30;40m [0;37;40m[[1;37;40mchan_modem.so[0;37;40m] => ([33;40mGeneric Voice Modem Driver[0;37;40m)
[1;30;40m == [0;37;40mParsing '/etc/asterisk/modem.conf': Found
[1;30;40m == [0;37;40mLoading modem driver chan_modem_aopen.so => ([33;40mA/Open (Rockwell Chipset) ITU-2 VoiceModem Driver[0;37;40m)
[1;30;40m == [0;37;40mRegistered channel type 'Modem' (Generic Voice Modem Channel Driver)
[1;30;40m [0;37;40m[[1;37;40mres_musiconhold.so[0;37;40m] => ([33;40mMusic On Hold Resource[0;37;40m)
[1;30;40m == [0;37;40mParsing '/etc/asterisk/musiconhold.conf': Found
[1;30;40m == [0;37;40mRegistered application '[1;36;40mMusicOnHold[0;37;40m'
[1;30;40m == [0;37;40mRegistered application '[1;36;40mWaitMusicOnHold[0;37;40m'
[1;30;40m == [0;37;40mRegistered application '[1;36;40mSetMusicOnHold[0;37;40m'
[1;30;40m [0;37;40m[[1;37;40mres_adsi.so[0;37;40m] => ([33;40mADSI Resource[0;37;40m)
[1;30;40m == [0;37;40mParsing '/etc/asterisk/adsi.conf': Found
[1;30;40m [0;37;40m[[1;37;40mres_parking.so[0;37;40m] => ([33;40mCall Parking Resource[0;37;40m)
[1;30;40m == [0;37;40mParsing '/etc/asterisk/parking.conf': Found
[1;30;40m -- [0;37;40mRegistered extension context 'parkedcalls'
[1;30;40m -- [0;37;40mAdded extension '701' priority 1 to parkedcalls
[1;30;40m -- [0;37;40mAdded extension '702' priority 1 to parkedcalls
[1;30;40m -- [0;37;40mAdded extension '703' priority 1 to parkedcalls
[1;30;40m -- [0;37;40mAdded extension '704' priority 1 to parkedcalls
[1;30;40m -- [0;37;40mAdded extension '705' priority 1 to parkedcalls
[1;30;40m -- [0;37;40mAdded extension '706' priority 1 to parkedcalls
[1;30;40m -- [0;37;40mAdded extension '707' priority 1 to parkedcalls
[1;30;40m -- [0;37;40mAdded extension '708' priority 1 to parkedcalls
[1;30;40m -- [0;37;40mAdded extension '709' priority 1 to parkedcalls
[1;30;40m -- [0;37;40mAdded extension '710' priority 1 to parkedcalls
[1;30;40m -- [0;37;40mAdded extension '711' priority 1 to parkedcalls
[1;30;40m -- [0;37;40mAdded extension '712' priority 1 to parkedcalls
[1;30;40m -- [0;37;40mAdded extension '713' priority 1 to parkedcalls
[1;30;40m -- [0;37;40mAdded extension '714' priority 1 to parkedcalls
[1;30;40m -- [0;37;40mAdded extension '715' priority 1 to parkedcalls
[1;30;40m -- [0;37;40mAdded extension '716' priority 1 to parkedcalls
[1;30;40m -- [0;37;40mAdded extension '717' priority 1 to parkedcalls
[1;30;40m -- [0;37;40mAdded extension '718' priority 1 to parkedcalls
[1;30;40m -- [0;37;40mAdded extension '719' priority 1 to parkedcalls
[1;30;40m -- [0;37;40mAdded extension '720' priority 1 to parkedcalls
[1;30;40m == [0;37;40mRegistered application '[1;36;40mParkedCall[0;37;40m'
[1;30;40m == [0;37;40mManager registered action ParkedCalls
[1;30;40m [0;37;40m[[1;37;40mres_crypto.so[0;37;40m] => ([33;40mCryptographic Digital Signatures[0;37;40m)
[1;30;40m -- [0;37;40mLoaded PUBLIC key 'iaxtel'
[1;30;40m [0;37;40m[[1;37;40mres_indications.so[0;37;40m] => ([33;40mIndications Configuration[0;37;40m)
[1;30;40m == [0;37;40mParsing '/etc/asterisk/indications.conf': Found
[1;30;40m -- [0;37;40mRegistered indication country 'us'
[1;30;40m -- [0;37;40mSetting default indication country to 'us'
[1;30;40m == [0;37;40mRegistered application '[1;36;40mPlaytones[0;37;40m'
[1;30;40m == [0;37;40mRegistered application '[1;36;40mStopPlaytones[0;37;40m'
[1;30;40m [0;37;40m[[1;37;40mres_monitor.so[0;37;40m] => ([33;40mCall Monitoring Resource[0;37;40m)
[1;30;40m == [0;37;40mRegistered application '[1;36;40mMonitor[0;37;40m'
[1;30;40m == [0;37;40mRegistered application '[1;36;40mStopMonitor[0;37;40m'
[1;30;40m == [0;37;40mRegistered application '[1;36;40mChangeMonitor[0;37;40m'
[1;30;40m == [0;37;40mManager registered action Monitor
[1;30;40m == [0;37;40mManager registered action StopMonitor
[1;30;40m == [0;37;40mManager registered action ChangeMonitor
[1;30;40m [0;37;40m[[1;37;40mchan_iax.so[0;37;40m] => ([33;40mInter Asterisk eXchange[0;37;40m)
[1;30;40m == [0;37;40mManager registered action IAX1peers
[1;30;40m == [0;37;40mParsing '/etc/asterisk/iax1.conf': Found
[1;30;40m == [0;37;40mUsing TOS bits 0
[1;30;40m == [0;37;40mRegistered channel type 'IAX1' (Inter Asterisk eXchange Drver)
[1;30;40m == [0;37;40mRegistered channel type 'IAX' (Inter Asterisk eXchange Drver)
[1;30;40m == [0;37;40mIAX Ready and Listening on 0.0.0.0 port 5036
[1;30;40m [0;37;40m[[1;37;40mchan_sip.so[0;37;40m] => ([33;40mSession Initiation Protocol (SIP)[0;37;40m)
[1;30;40m == [0;37;40mParsing '/etc/asterisk/sip.conf': Found
[1;30;40m == [0;37;40mParsing '/etc/asterisk/sip.conf.skannet': Found
[1;30;40m -- [0;37;40mSIP Seeding '2801' at 2801 at 80.250.34.203:5060 for 240
[1;30;40m -- [0;37;40mSIP Seeding '2802' at 2802 at 80.250.34.203:5060 for 240
[1;30;40m -- [0;37;40mSIP Seeding '2805' at 2805 at 217.194.147.132:5060 for 60
[1;30;40m -- [0;37;40mSIP Seeding '2806' at 2806 at 217.194.147.132:5060 for 60
[1;30;40m -- [0;37;40mSIP Seeding '2800001' at 2800001 at 80.250.32.102:5060 for 280
[1;30;40m -- [0;37;40mSIP Seeding '3101' at 3101 at 80.250.42.214:5060 for 30
[1;30;40m -- [0;37;40mSIP Seeding '3102' at 3102 at 80.250.42.214:5060 for 30
[1;30;40m -- [0;37;40mSIP Seeding '4201' at 4201 at 80.250.36.94:5060 for 280
[1;30;40m -- [0;37;40mSIP Seeding '281078731' at 281078731 at 80.250.35.9:1026 for 240
[1;30;40m == [0;37;40mSIP Listening on 0.0.0.0:5060
[1;30;40m == [0;37;40mUsing TOS bits 24
[1;30;40m == [0;37;40mRegistered channel type 'SIP' (Session Initiation Protocol (SIP))
[1;30;40m == [0;37;40mRegistered application '[1;36;40mSIPDtmfMode[0;37;40m'
[1;30;40m [0;37;40m[[1;37;40mchan_modem_bestdata.so[0;37;40m] => ([33;40mBestData (Conexant V.90 Chipset) VoiceModem Driver[0;37;40m)
[1;30;40m [0;37;40m[[1;37;40mchan_modem_i4l.so[0;37;40m] => ([33;40mISDN4Linux Emulated Modem Driver[0;37;40m)
[1;30;40m [0;37;40m[[1;37;40mchan_agent.so[0;37;40m] => ([33;40mAgent Proxy Channel[0;37;40m)
[1;30;40m == [0;37;40mRegistered channel type 'Agent' (Call Agent Proxy Channel)
[1;30;40m == [0;37;40mRegistered application '[1;36;40mAgentLogin[0;37;40m'
[1;30;40m == [0;37;40mRegistered application '[1;36;40mAgentCallbackLogin[0;37;40m'
[1;30;40m == [0;37;40mRegistered application '[1;36;40mAgentMonitorOutgoing[0;37;40m'
[1;30;40m == [0;37;40mParsing '/etc/asterisk/agents.conf': Found
[1;30;40m [0;37;40m[skipping chan_mgcp.so]
[1;30;40m [0;37;40m[skipping chan_iax2.so]
[1;30;40m [0;37;40m[[1;37;40mchan_local.so[0;37;40m] => ([33;40mLocal Proxy Channel[0;37;40m)
[1;30;40m == [0;37;40mRegistered channel type 'Local' (Local Proxy Channel Driver)
[1;30;40m [0;37;40m[[1;37;40mchan_skinny.so[0;37;40m] => ([33;40mSkinny Client Control Protocol (Skinny)[0;37;40m)
[1;30;40m == [0;37;40mParsing '/etc/asterisk/skinny.conf': Found
[1;30;40m == [0;37;40mSkinny listening on 0.0.0.0:2000
[1;30;40m == [0;37;40mRegistered channel type 'Skinny' (Skinny Client Control Protocol (Skinny))
[1;30;40m [0;37;40m[skipping chan_oss.so]
[1;30;40m [0;37;40m[[1;37;40mchan_phone.so[0;37;40m] => ([33;40mLinux Telephony API Support[0;37;40m)
[1;30;40m == [0;37;40mParsing '/etc/asterisk/phone.conf': Found
[1;30;40m == [0;37;40mRegistered channel type 'Phone' (Standard Linux Telephony API Driver)
[1;30;40m [0;37;40m[skipping chan_zap.so]
[1;30;40m [0;37;40m[[1;37;40mpbx_config.so[0;37;40m] => ([33;40mText Extension Configuration[0;37;40m)
[1;30;40m == [0;37;40mParsing '/etc/asterisk/extensions.conf': Found
[1;30;40m -- [0;37;40mRegistered extension context 'super'
[1;30;40m -- [0;37;40mIncluding context 'prepaid' in context 'super'
[1;30;40m -- [0;37;40mIncluding context 'default' in context 'super'
[1;30;40m -- [0;37;40mIncluding context 'postpaid' in context 'super'
[1;30;40m -- [0;37;40mRegistered extension context 'postpaid'
[1;30;40m -- [0;37;40mIncluding context 'prepaid' in context 'postpaid'
[1;30;40m -- [0;37;40mIncluding context 'default' in context 'postpaid'
[1;30;40m -- [0;37;40mIncluding context 'staff' in context 'postpaid'
[1;30;40m -- [0;37;40mAdded extension '_0[1-9]X.' priority 1 to postpaid
[1;30;40m -- [0;37;40mAdded extension '_00X.' priority 1 to postpaid
[1;30;40m -- [0;37;40mAdded extension '_7111' priority 1 to postpaid
[1;30;40m -- [0;37;40mAdded extension 's' priority 1 to postpaid
[1;30;40m -- [0;37;40mAdded extension 's' priority 2 to postpaid
[1;30;40m -- [0;37;40mAdded extension 's' priority 3 to postpaid
[1;30;40m -- [0;37;40mRegistered extension context 'default'
[1;30;40m -- [0;37;40mIncluding context 'prepaid' in context 'default'
[1;30;40m -- [0;37;40mIncluding context 'incoming' in context 'default'
[1;30;40m -- [0;37;40mIncluding context 'staff' in context 'default'
[1;30;40m -- [0;37;40mIncluding context 'services' in context 'default'
[1;30;40m -- [0;37;40mAdded extension '_9X.' priority 1 to default
[1;30;40m -- [0;37;40mAdded extension '_908X.' priority 1 to default
[1;30;40m -- [0;37;40mRegistered extension context 'office'
[1;30;40m -- [0;37;40mIncluding context 'daytime' in context 'office'
[1;30;40m -- [0;37;40mIncluding context 'prepaid' in context 'office'
[1;30;40m -- [0;37;40mIncluding context 'staff' in context 'office'
[1;30;40m -- [0;37;40mRegistered extension context 'prepaid'
[1;30;40m -- [0;37;40mIncluding context 'booth-oshin' in context 'prepaid'
[1;30;40m -- [0;37;40mIncluding context 'staff' in context 'prepaid'
[1;30;40m -- [0;37;40mAdded extension '_150' priority 1 to prepaid
[1;30;40m -- [0;37;40mAdded extension '_150' priority 2 to prepaid
[1;30;40m -- [0;37;40mAdded extension '_150' priority 3 to prepaid
[1;30;40m -- [0;37;40mAdded extension '_150' priority 4 to prepaid
[1;30;40m -- [0;37;40mAdded extension '_150' priority 5 to prepaid
[1;30;40m -- [0;37;40mAdded extension '_150' priority 6 to prepaid
[1;30;40m -- [0;37;40mRegistered extension context 'prepaid-auto'
[1;30;40m -- [0;37;40mIncluding context 'nitel-oshin' in context 'prepaid-auto'
[1;30;40m -- [0;37;40mIncluding context 'staff' in context 'prepaid-auto'
[1;30;40m -- [0;37;40mAdded extension '_X.' priority 1 to prepaid-auto
[1;30;40m -- [0;37;40mAdded extension '_X.' priority 2 to prepaid-auto
[1;30;40m -- [0;37;40mAdded extension '_X.' priority 3 to prepaid-auto
[1;30;40m -- [0;37;40mAdded extension '_X.' priority 4 to prepaid-auto
[1;30;40m -- [0;37;40mRegistered extension context 'sip'
[1;30;40m -- [0;37;40mIncluding context 'prepaid' in context 'sip'
[1;30;40m -- [0;37;40mIncluding context 'staff' in context 'sip'
[1;30;40m -- [0;37;40mRegistered extension context 'services'
[1;30;40m -- [0;37;40mAdded extension '8000' priority 1 to services
[1;30;40m -- [0;37;40mAdded extension '8001' priority 1 to services
[1;30;40m -- [0;37;40mAdded extension '8002' priority 1 to services
[1;30;40m -- [0;37;40mAdded extension '8003' priority 1 to services
[1;30;40m -- [0;37;40mAdded extension '8003' priority 2 to services
[1;30;40m -- [0;37;40mAdded extension '8003' priority 3 to services
[1;30;40m -- [0;37;40mAdded extension '8003' priority 5 to services
[1;30;40m -- [0;37;40mRegistered extension context 'staff'
[1;30;40m -- [0;37;40mAdded extension '108' priority 1 to staff
[1;30;40m -- [0;37;40mAdded extension '108' priority 2 to staff
[1;30;40m -- [0;37;40mAdded extension '123' priority 1 to staff
[1;30;40m -- [0;37;40mAdded extension '123' priority 2 to staff
[1;30;40m -- [0;37;40mAdded extension '3101' priority 1 to staff
[1;30;40m -- [0;37;40mAdded extension '3101' priority 2 to staff
[1;30;40m -- [0;37;40mAdded extension '119' priority 2 to staff
[1;30;40m -- [0;37;40mAdded extension '105' priority 1 to staff
[1;30;40m -- [0;37;40mIncluding context 'office' in context 'staff'
[1;30;40m -- [0;37;40mIncluding context 'services' in context 'staff'
[1;30;40m -- [0;37;40mIncluding context 'prepaid' in context 'staff'
[1;30;40m -- [0;37;40mIncluding context 'pins' in context 'staff'
[1;30;40m -- [0;37;40mIncluding context 'helpdeskqueue' in context 'staff'
[1;30;40m -- [0;37;40mRegistered extension context 'booth-oshin'
[1;30;40m -- [0;37;40mAdded extension '300' priority 1 to booth-oshin
[1;30;40m -- [0;37;40mAdded extension '300' priority 2 to booth-oshin
[1;30;40m -- [0;37;40mAdded extension '303' priority 1 to booth-oshin
[1;30;40m -- [0;37;40mAdded extension 's' priority 1 to incoming
[1;30;40m -- [0;37;40mAdded extension '4' priority 1 to incoming
[1;30;40m -- [0;37;40mAdded extension 's' priority 9 to incoming
[1;30;40m -- [0;37;40mRegistered extension context 'daytime'
[1;30;40m -- [0;37;40mAdded extension '_9X.' priority 1 to daytime
[1;30;40m -- [0;37;40mAdded extension '_908X.' priority 1 to daytime
[1;30;40m -- [0;37;40mRegistered extension context 'pins'
[1;30;40m -- [0;37;40mAdded extension '_500' priority 1 to pins
[1;30;40m -- [0;37;40mAdded extension '_500' priority 2 to pins
[1;30;40m -- [0;37;40mAdded extension '_500' priority 3 to pins
[1;30;40m -- [0;37;40mAdded extension '_500' priority 4 to pins
[1;30;40m -- [0;37;40mIncluding context 'staff' in context 'pins'
[1;30;40m -- [0;37;40mRegistered extension context 'helpdeskqueue'
[1;30;40m -- [0;37;40mAdded extension '202' priority 1 to helpdeskqueue
[1;30;40m -- [0;37;40mAdded extension '101' priority 1 to helpdeskqueue
[1;30;40m -- [0;37;40mAdded extension '102' priority 1 to helpdeskqueue
[1;30;40m -- [0;37;40mAdded extension '201' priority 1 to helpdeskqueue
[1;30;40m -- [0;37;40mAdded extension '202' priority 2 to helpdeskqueue
[1;30;40m -- [0;37;40mAdded extension '202' priority 3 to helpdeskqueue
it stops here.
When i replaced the cards it stops at loading the chan_iax2.so,
(chan_iax2.so)=>
manager registered action IAXpeers
parsing '/etc/asterisk/iax.conf.': found
parsing '/etc/asterisk/iax.conf.skannet:found
after a few seconds "Unix remote connection"
where that comes from i do not know..
I run the supervise program on the asterisk sevice so i have it restart
itself if it goes down i have also redirected its output to tty9 and there it
says that asterisk is running
but never gets to the normal asterisk prompt (*CLI>).
when i do "asterisk -vr" from another machine or terminal it just stays
there and does not get to the prompt and all the phones still do not have
tone.
Any suggestions please!
Regards
--
Olaifa Augustine
General Data Engineering Services Ltd
18b oshin road,kongi bodija
p.o.box 29460, secretariate,
ibadan.
tel:- 234-2-8105156
More information about the asterisk-users
mailing list