LinuxMCE Forums
General => Installation issues => Topic started by: maverick0815 on November 10, 2015, 06:50:56 pm
-
for a while now my phones don't work anymore. I'm sorry, but I cannot exactly say which update killed it. Just today I restarted asterisk.
This is what /var/log/pluto/Asterisk.log contained:
05 11/10/15 7:49:28.098 [33;1mGoing to rotate logs...[0m <0xb65ffb40>
05 11/10/15 17:26:13.056 [33;1mGot a reload command from 0 [0m <0xb65ffb40>
05 11/10/15 17:26:13.522 [33;1mvoid ClientSocket::Disconnect() on this socket: 0x9804248 (m_Socket: 6)[0m <0xb6f66700>
Return code: 2
2 11/10/15 17:26:13 17 (spawning-device) [1;33mDevice requests restart... count=1/50 dev=17[1;00m
Tue Nov 10 17:26:13 CET 2015 Restart
========== NEW LOG SECTION ==========
1 11/10/15 17:26:21 17 (spawning-device) [1;00mStarting... 1[1;00m
1 11/10/15 17:26:21 17 (spawning-device) [1;00mFound /usr/pluto/bin/Asterisk[1;00m
05 11/10/15 17:26:22.595 [33;1mConnect() failed, Error Code 111 (Connection refused))[0m <0xb6f76700>
05 11/10/15 17:26:23.596 [33;1mConnect() failed, Error Code 111 (Connection refused))[0m <0xb6f76700>
05 11/10/15 17:26:24.597 [33;1mConnect() failed, Error Code 111 (Connection refused))[0m <0xb6f76700>
05 11/10/15 17:26:27.607 [33;1mServer IP: 127.0.0.1[0m <0xb6f76700>
05 11/10/15 17:26:27.646 [33;1mTrying to connect to Asterisk daemon to see if is running.[0m <0xb6f76700>
05 11/10/15 17:26:27.646 [33;1mCreating child 50[0m <0xb6f76700>
05 11/10/15 17:26:27.646 [33;1mNote: Device manager has attached a device of type 1734 that this has no custom event handler for. It will not fire events.[0m <0xb6f76700>
05 11/10/15 17:26:27.646 [33;1mNote: Device manager has attached a device of type 1734 that this has no custom handler for. This is normal for IR.[0m <0xb6f76700>
05 11/10/15 17:26:27.646 [33;1mCreating child 51[0m <0xb6f76700>
05 11/10/15 17:26:27.646 [33;1mNote: Device manager has attached a device of type 1734 that this has no custom event handler for. It will not fire events.[0m <0xb6f76700>
05 11/10/15 17:26:27.647 [33;1mNote: Device manager has attached a device of type 1734 that this has no custom handler for. This is normal for IR.[0m <0xb6f76700>
05 11/10/15 17:26:27.685 [33;1mNotifyCallsStatus status:
No such command 'iax2 show peers' (type 'core show help iax2 show' for other possible commands)
[0m <0xb5bffb40>
01 11/10/15 18:41:47.476 [31;1mError occured while receiving token. Disconnecting.[0m <0xb5bffb40>
I'm using 12.04. My phones are two Gigaset 610IP Phones.
-
The pluto log won't be of much help.
Turn off your phone
connect to your asteriisk by running asterisk -cr on the core
Type core set verbose 3
Turn on your phone
See what happens
-
The command to reload configuration files changed with the asterisk upgrade. Look for this to be fixed in the next update.
J.
-
fixed :-) great work
-
Awesome! Thanks for the feedback!
J.
-
No Problem, however...and I truly hate myself for saying this,...reboot of dcerouter still requires reboot of asterisk in my case.
-
Well that just sucks. Question, when you say reboot dcerouter do you mean rebooting the core pc or reloading the dcerouter? Anytime we re-write the dial-play asterisk reloads its' configuration. I guess we need to trace the boot process specifically in relation to asterisk. Thanks for the feedback. Let me know if you find anything else out. I'll gander some more over the weekend and see what I can see.
J.
-
tell me about it :-) anyways...reboot means completely rebooting the core. realoading dcerouter is no issue. re/booting however needs me to restart asterisk.
-
ok, I've got something I'd like you to try, before I commit something.
asterisk -r -x "core reload"
can you add that line to /etc/init.d/linuxmce after the line StartService "Starting MySQL Server" "service mysql start"
and let me know if that fixes things for you.
J.
-
I've got a new problem....a phonecall arrives and upon hanging up, I get a reload router...
On the other hand...I will be away for a few days, so I can't do anything until this weekend.
-
Can you be more specific on the 'on hanging up'. Did this go to voicemail or was this a received call? There are a bunch of actions that could lead to 'hanging up'. :)
J.
-
In this particular case I accidentally placed a call from my cellphone to my landline. I cancelled the call on my cell, but the phone kept ringing, so I picked up and hung up again.
-
Ick. Okay. I'm not sure what would be causing that.
J.