Some applications do not load

Hi

We’ve been using bristuffed * on a live basis for about 4 years, most recently 1.2.26. Recently spontaneously the system failed - calls could not be made though SIP phones could register.

This was tracked down to not all applications, including things like Dial, not being loaded. Show Applications shows

-= Registered Asterisk Applications =-
   AbsoluteTimeout: Set absolute maximum time of call
AgentCallbackLogin: Call agent callback login
        AgentLogin: Call agent login

AgentMonitorOutgoing: Record agent’s outgoing call
AGI: Executes an AGI compliant application
Answer: Answer a channel if ringing
Autoanswer: Autoanswer a call
AutoanswerLogin: Log in for autoanswer
BackGround: Play a file while awaiting extension
Busy: Indicate the Busy condition
ChangeMonitor: Change monitoring filename of a channel
Congestion: Indicate the Congestion condition
DeadAGI: Executes AGI on a hungup channel
DigitTimeout: Set maximum timeout between digits
DUNDiLookup: Look up a number with DUNDi
EAGI: Executes an EAGI compliant application
ExecIfTime: Conditional application execution based on the current time
Goto: Jump to a particular priority, extension, or context
GotoIf: Conditional goto
GotoIfTime: Conditional Goto based on the current time
Hangup: Hang up the calling channel
HoldedCall: Answer a parked call
IAX2Provision: Provision a calling IAXy with a given template
ImportVar: Import a variable from a channel into a new variable
Monitor: Monitor a channel
MusicOnHold: Play Music On Hold indefinitely
NoOp: Do Nothing
Park: Park yourself
ParkedCall: Answer a parked call
PlayTones: Play a tone list
Progress: Indicate progress
ResetCDR: Resets the Call Data Record
ResponseTimeout: Set maximum timeout awaiting response
Ringing: Indicate ringing tone
SayAlpha: Say Alpha
SayDigits: Say Digits
SayNumber: Say Number
SayPhonetic: Say Phonetic
Set: Set channel variable(s) or function value(s)
SetAccount: Set the CDR Account Code
SetAMAFlags: Set the AMA Flags
SetGlobalVar: Set a global variable to a given value
SetLanguage: Set the channel’s preferred language
SetMusicOnHold: Set default Music On Hold class
SetVar: Set channel variable(s)
SIPAddHeader: Add a SIP header to the outbound call
SIPDtmfMode: Change the dtmfmode for a SIP call
SIPGetHeader: Get a SIP header from an incoming call
StartMusicOnHold: Play Music On Hold
StopMonitor: Stop monitoring a channel
StopMusicOnHold: Stop Playing Music On Hold
StopPlayTones: Stop playing a tone list
Wait: Waits for some time
WaitExten: Waits for an extension to be entered
WaitMusicOnHold: Wait, playing Music On Hold
XAGI: Executes an XAGI compliant application

The modules did including things like app_dial. Rebuilding and then upgrading to 1.2.9 resulted in the same - no change. We moved to a standby * server which works fine.

Checked asterisk.conf on the working server and bad one - no differences. Rebooting of course was tried and had no effect. So I still cannot get all functions loaded on the main server.

Anyone any ideas on this? I though that all applications were loaded from the modules folder. Needless to say I cannot fund any error messages when * starts. Help is welcome.

Paul

Hi.

What does asterisk -vvvvvvvvvvvvvvvvvvvvvvvvvvc
show, it sould show modules loading or not

Ian

Hi Ian

Sorry should have posted. Appropriate bit appended.

It seems to load some modules then stop and go on to indications. Modules.conf has lines

[Modules]
autoload=yes

and I’ve just copied the modules.conf from the working server to this one and get the same.

Paul

[1;30;40m ^[[0;37;40m[Set]
^M^[[1;30;40m == ^[[0;37;40mRegistered application ‘^[[1;36;40mSet^[[0;37;40m’
^M^[[1;30;40m ^[[0;37;40m[SetVar]
^M^[[1;30;40m == ^[[0;37;40mRegistered application ‘^[[1;36;40mSetVar^[[0;37;40m’
^M^[[1;30;40m ^[[0;37;40m[ImportVar]
^M^[[1;30;40m == ^[[0;37;40mRegistered application ‘^[[1;36;40mImportVar^[[0;37;40m’
^M^[[1;30;40m ^[[0;37;40m[Wait]
^M^[[1;30;40m == ^[[0;37;40mRegistered application ‘^[[1;36;40mWait^[[0;37;40m’
^M^[[1;30;40m ^[[0;37;40m[WaitExten]
^M^[[1;30;40m == ^[[0;37;40mRegistered application ‘^[[1;36;40mWaitExten^[[0;37;40m’
^M^[[1;30;40m == ^[[0;37;40mManager registered action DBget
^M^[[1;30;40m == ^[[0;37;40mManager registered action DBput
^M^[[1;30;40m == ^[[0;37;40mManager registered action DBdel
^M^[[1;30;40m == ^[[0;37;40mParsing ‘/etc/asterisk/enum.conf’: Found
^MAsterisk Dynamic Loader Starting:
^M^[[1;30;40m == ^[[0;37;40mParsing ‘/etc/asterisk/modules.conf’: Found
^M^[[1;30;40m ^[[0;37;40m[^[[1;37;40mres_musiconhold.so^[[0;37;40m] => (^[[33;40mMusic On Hold Resource^[[0$
^M^[[1;30;40m == ^[[0;37;40mRegistered application ‘^[[1;36;40mMusicOnHold^[[0;37;40m’
^M^[[1;30;40m == ^[[0;37;40mRegistered application ‘^[[1;36;40mWaitMusicOnHold^[[0;37;40m’
^M^[[1;30;40m == ^[[0;37;40mRegistered application ‘^[[1;36;40mSetMusicOnHold^[[0;37;40m’
^M^[[1;30;40m == ^[[0;37;40mRegistered application ‘^[[1;36;40mStartMusicOnHold^[[0;37;40m’
^M^[[1;30;40m == ^[[0;37;40mRegistered application ‘^[[1;36;40mStopMusicOnHold^[[0;37;40m’
^M^[[1;30;40m == ^[[0;37;40mParsing ‘/etc/asterisk/musiconhold.conf’: Found
Aug 8 05:49:27 ^[[1;31;40mWARNING^[[0;37;40m[16974]: ^[[1;37;40mres_musiconhold.c^[[0;37;40m:^[[1;37;40m10$
^M^[[1;30;40m ^[[0;37;40m[^[[1;37;40mres_indications.so^
Note here just stops loading modules
[[0;37;40m] => (^[[33;40mIndications Configuration^$
^M^[[1;30;40m == ^[[0;37;40mParsing ‘/etc/asterisk/indications.conf’: Found