Unable to reload after updating 2.5.0 - "Failed to get engine_info retreive_conf failed"

I just updated FreePBX from 2.5.0 to 2.5.1. After that i was not able to reload beacause i get the follwoing error:

And in FreePBX Notices:

Another strange thing is, that “Tools / Asterisk Info / SIP Info” creates the follwoing error:

This also worked before.

Initially i used Asterisk 1.4.21.2 but also tried 1.4.22 and 1.6.0 now. Same Problem.

Looks like sip is not loaded.
Do a: show modules like sip on the asterisk konsole (or modules show like sip if you run 1.6)
You can do this from Tools/Asterisk CLI.
Post the output here.

Thanks for your help.

I did it via “asterisk -rvvvv”:

Check your /etc/asterisk/manager.conf that it looks something like this

;
; Asterisk Call Management support
;
[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0

[admin]
secret = amp111
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user

#include manager_additional.conf
#include manager_custom.conf

Thats exatly the way it looks like:

[code];
; Asterisk Call Management support
;
[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0

[admin]
secret = MYPASS
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user

#include manager_additional.conf
#include manager_custom.conf
[/code]

I now use a backup of FreePBX and the FreePBX panel works again.

Unfortunately Asterisk (showed green in server status) dont works.

The registering of sip trunks and devices is not possible.

Thats what i found in full log:

[Nov 5 11:16:49] VERBOSE[29588] logger.c: == Manager 'admin' logged on from 127.0.0.1 [Nov 5 11:16:50] VERBOSE[29588] logger.c: == Manager 'admin' logged off from 127.0.0.1 [Nov 5 11:16:51] DEBUG[5154] sched.c: Request to schedule in the past?!?! [Nov 5 11:16:51] NOTICE[5154] chan_sip.c: -- Registration for '[email protected]' timed out, trying again (Attempt #802) [Nov 5 11:16:56] VERBOSE[5154] logger.c: -- ast_get_srv: SRV lookup for '_sip._udp.sipgate.de' mapped to host sipgate.de, port 5060 [Nov 5 11:16:56] DEBUG[5154] sched.c: Request to schedule in the past?!?! [Nov 5 11:16:56] NOTICE[5154] chan_sip.c: -- Registration for '[email protected]' timed out, trying again (Attempt #802) [Nov 5 11:16:57] VERBOSE[29595] logger.c: == Parsing '/etc/asterisk/manager.conf': [Nov 5 11:16:57] VERBOSE[29595] logger.c: Found [Nov 5 11:16:57] VERBOSE[29595] logger.c: == Parsing '/etc/asterisk/manager_additional.conf': [Nov 5 11:16:57] VERBOSE[29595] logger.c: Found [Nov 5 11:16:57] VERBOSE[29595] logger.c: == Parsing '/etc/asterisk/manager_custom.conf': [Nov 5 11:16:57] VERBOSE[29595] logger.c: Found [Nov 5 11:16:57] VERBOSE[29595] logger.c: == Manager 'admin' logged on from 127.0.0.1 [Nov 5 11:16:58] VERBOSE[29595] logger.c: == Manager 'admin' logged off from 127.0.0.1 [Nov 5 11:17:04] VERBOSE[29605] logger.c: == Parsing '/etc/asterisk/manager.conf': [Nov 5 11:17:04] VERBOSE[29605] logger.c: Found [Nov 5 11:17:04] VERBOSE[29605] logger.c: == Parsing '/etc/asterisk/manager_additional.conf': [Nov 5 11:17:04] VERBOSE[29605] logger.c: Found [Nov 5 11:17:04] VERBOSE[29605] logger.c: == Parsing '/etc/asterisk/manager_custom.conf': [Nov 5 11:17:04] VERBOSE[29605] logger.c: Found [Nov 5 11:17:04] VERBOSE[29605] logger.c: == Manager 'admin' logged on from 127.0.0.1 [Nov 5 11:17:05] VERBOSE[29605] logger.c: == Manager 'admin' logged off from 127.0.0.1 [Nov 5 11:17:06] DEBUG[5154] sched.c: Request to schedule in the past?!?! [Nov 5 11:17:06] NOTICE[5154] chan_sip.c: -- Registration for '[email protected]' timed out, trying again (Attempt #802) [Nov 5 11:17:11] VERBOSE[29612] logger.c: == Parsing '/etc/asterisk/manager.conf': [Nov 5 11:17:11] VERBOSE[29612] logger.c: Found [Nov 5 11:17:11] VERBOSE[29612] logger.c: == Parsing '/etc/asterisk/manager_additional.conf': [Nov 5 11:17:11] VERBOSE[29612] logger.c: Found [Nov 5 11:17:11] VERBOSE[29612] logger.c: == Parsing '/etc/asterisk/manager_custom.conf': [Nov 5 11:17:11] VERBOSE[29612] logger.c: Found [Nov 5 11:17:11] VERBOSE[29612] logger.c: == Manager 'admin' logged on from 127.0.0.1 [Nov 5 11:17:11] VERBOSE[29612] logger.c: == Manager 'admin' logged off from 127.0.0.1

Is there a way to check connectivity to sip servers on the command line?

is telnet able to connect via udp?

If i try:

telnet sip.pbx-network.de 5060

I get:

Im wondering because i dont changed anything in the firewall settings.

I noticed that you have changed password (default is amp111):
secret = MYPASS

That must match the one in etc/amportal.conf:

AMPMGRPASS: the password for AMPMGRUSER

AMPMGRPASS=amp111

Now that you made a restore, could you just verify that those two passwords are the same now?

Telnet is TCP, not UDP.

[Nov  5 11:16:56] VERBOSE[5154] logger.c:     -- ast_get_srv: SRV lookup for '_sip._udp.sipgate.de' mapped to host sipgate.de, port 5060
[Nov  5 11:16:56] NOTICE[5154] chan_sip.c:    -- Registration for '[email protected]' timed out, trying again (Attempt #802)

Have you contacted sipgate.de and checked with them if the service is available?

The same password is set in amportal.conf.

Freepbx 2.4.1 allready worked for about 6 Months. After the update to Freepbx 2.5.0 it worked about 1 month without problems.
The problem appears when trying to update 2.5.1.

Yes, sipgate an ppbx-network.de works.

It seems to be an Asterisk / Freepbx problem because my sip clients cant register on asterisk.

2.5.1 is just bug fixes from 2.5.0 and should not do anything to prevent sip devices to register.

How did you do the upgrade from 2.5.0 to 2.5.1?
On what system (linux distro) do you run FreePBX?

When your devices try to register, what kind of error do you get?
If you do a set verbose 0 and then sip set debug peer and then try to register, what is the output of that?

Asterisk runs on Ubuntu Server 8.0.4.

I compiled Asterisk by my own --> Current Version is 1.4.22

I get an error when typing in the second command?

voip*CLI> set verbose 0
Verbosity is now OFF
voip*CLI> sip set debug peer
No such command 'sip set debug peer' (type 'help sip set' for other possible commands)
voip*CLI>

If you just type sip at the prompt then press TAB key, do you get a list of commands?

Connected to Asterisk 1.4.15 currently running on pbx (pid = 2703)
pbx*CLI> sip
debug    history  no       notify   prune    reload   set      show

No.

edit

I now run an older backup of freepbx. Panel works fine now.

Sip Commands in asterisk cli still does not exist.

No special entries in error logs.

How can i debug this?

Edit:

I just got the folwoing error in panel:

[quote]The following commands failed with the listed error
/var/lib/asterisk/bin/module_admin listonline (255)
Added ago[/quote]

Problem solved.

DNS Problems of the firewall caused the error.

i have the same issue using 2.5.0 and 2.5.1 any way to solved ?

how you solved ?

I had a dns problem.

Check if its posibble to resolve the domainnames of th sip servers…

If it works, you dont have my problem.