News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

none of my phones register...

Started by maverick0815, November 10, 2015, 06:50:56 PM

Previous topic - Next topic

maverick0815

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:
Quote05   11/10/15 7:49:28.098      Going to rotate logs... <0xb65ffb40>
05   11/10/15 17:26:13.056      Got a reload command from 0  <0xb65ffb40>
05   11/10/15 17:26:13.522      void ClientSocket::Disconnect() on this socket: 0x9804248 (m_Socket: 6) <0xb6f66700>
Return code: 2
2   11/10/15 17:26:13   17 (spawning-device)   Device requests restart... count=1/50 dev=17
Tue Nov 10 17:26:13 CET 2015 Restart
========== NEW LOG SECTION ==========
1   11/10/15 17:26:21   17 (spawning-device)   Starting... 1
1   11/10/15 17:26:21   17 (spawning-device)   Found /usr/pluto/bin/Asterisk
05   11/10/15 17:26:22.595      Connect() failed, Error Code 111 (Connection refused)) <0xb6f76700>
05   11/10/15 17:26:23.596      Connect() failed, Error Code 111 (Connection refused)) <0xb6f76700>
05   11/10/15 17:26:24.597      Connect() failed, Error Code 111 (Connection refused)) <0xb6f76700>
05   11/10/15 17:26:27.607      Server IP: 127.0.0.1 <0xb6f76700>
05   11/10/15 17:26:27.646      Trying to connect to Asterisk daemon to see if is running. <0xb6f76700>
05   11/10/15 17:26:27.646      Creating child 50 <0xb6f76700>
05   11/10/15 17:26:27.646      Note: Device manager has attached a device of type 1734 that this has no custom event handler for.  It will not fire events. <0xb6f76700>
05   11/10/15 17:26:27.646      Note: Device manager has attached a device of type 1734 that this has no custom handler for.  This is normal for IR. <0xb6f76700>
05   11/10/15 17:26:27.646      Creating child 51 <0xb6f76700>
05   11/10/15 17:26:27.646      Note: Device manager has attached a device of type 1734 that this has no custom event handler for.  It will not fire events. <0xb6f76700>
05   11/10/15 17:26:27.647      Note: Device manager has attached a device of type 1734 that this has no custom handler for.  This is normal for IR. <0xb6f76700>
05   11/10/15 17:26:27.685      NotifyCallsStatus status:
No such command 'iax2 show peers' (type 'core show help iax2 show' for other possible commands)
 <0xb5bffb40>
01   11/10/15 18:41:47.476      Error occured while receiving token. Disconnecting. <0xb5bffb40>

I'm using 12.04. My phones are two Gigaset 610IP Phones.

Marie.O

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
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

phenigma

The command to reload configuration files changed with the asterisk upgrade.  Look for this to be fixed in the next update.

J.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]

maverick0815


phenigma

Awesome!  Thanks for the feedback!

J.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]

maverick0815

No Problem, however...and I truly hate myself for saying this,...reboot of dcerouter still requires reboot of asterisk in my case.

phenigma

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.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]

maverick0815

tell me about it :-) anyways...reboot means completely rebooting the core. realoading dcerouter is no issue. re/booting however needs me to restart asterisk.

phenigma

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.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]

maverick0815

#9
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.

phenigma

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.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]

maverick0815

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.

phenigma

Ick.  Okay.  I'm not sure what would be causing that.

J.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]