Phone will not ring, was working before

Phone will not ring, was working before. DND is off. Outgoing calls are fine.

If I change it from ring group, to go direct to an extension, it gives the “that extension is unavailable message”, specially from the “Not Reachable” option.

asterisk -V

Asterisk 11.20.0

cat /etc/schmooze/pbx-version

10.13.66-6

cat /var/log/asterisk/full |grep Reg |grep 500

[2015-11-23 09:39:08] VERBOSE[4888] chan_sip.c: – Registered SIP ‘500’ at xx.xx.xx.xx:1029

[2015-11-23 09:56:25] VERBOSE[32696][C-0000917a] pbx.c: – Executing [s@macro-user-callerid:33] Set(“Local/500@from-queue-00006bf9;2”, “CHANNEL(language)=en”) in new stack
[2015-11-23 09:56:25] VERBOSE[32696][C-0000917a] pbx.c: – Executing [s@macro-vm:2] Set(“Local/500@from-queue-00006bf9;2”, “VMGAIN=”) in new stack
[2015-11-23 09:56:25] VERBOSE[32696][C-0000917a] pbx.c: – Executing [s@macro-vm:3] Macro(“Local/500@from-queue-00006bf9;2”, “blkvm-check,”) in new stack
[2015-11-23 09:56:25] VERBOSE[32696][C-0000917a] pbx.c: – Executing [s@macro-blkvm-check:1] Set(“Local/500@from-queue-00006bf9;2”, “GOSUB_RETVAL=TRUE”) in new stack
[2015-11-23 09:56:25] VERBOSE[32696][C-0000917a] pbx.c: – Executing [s@macro-blkvm-check:2] ExecIf(“Local/500@from-queue-00006bf9;2”, “0?Set(GOSUB_RETVAL=TRUE)”) in new stack
[2015-11-23 09:56:25] VERBOSE[32696][C-0000917a] pbx.c: – Executing [s@macro-blkvm-check:3] MacroExit(“Local/500@from-queue-00006bf9;2”, “”) in new stack
[2015-11-23 09:56:25] VERBOSE[32696][C-0000917a] pbx.c: – Executing [s@macro-vm:4] GotoIf(“Local/500@from-queue-00006bf9;2”, “0?vmx,1”) in new stack
[2015-11-23 09:56:25] VERBOSE[32696][C-0000917a] pbx.c: – Executing [s@macro-vm:5] Hangup(“Local/500@from-queue-00006bf9;2”, “”) in new stack
[2015-11-23 09:56:25] VERBOSE[32696][C-0000917a] app_macro.c: == Spawn extension (macro-vm, s, 5) exited non-zero on ‘Local/500@from-queue-00006bf9;2’ in macro ‘vm’
[2015-11-23 09:56:25] VERBOSE[32696][C-0000917a] app_macro.c: == Spawn extension (macro-exten-vm, s, 23) exited non-zero on ‘Local/500@from-queue-00006bf9;2’ in macro ‘exten-vm’
[2015-11-23 09:56:25] VERBOSE[32696][C-0000917a] pbx.c: == Spawn extension (ext-local, 500, 2) exited non-zero on ‘Local/500@from-queue-00006bf9;2’
[2015-11-23 09:56:25] VERBOSE[32696][C-0000917a] pbx.c: – Executing [h@ext-local:1] Macro(“Local/500@from-queue-00006bf9;2”, “hangupcall,”) in new stack
[2015-11-23 09:56:25] VERBOSE[32696][C-0000917a] pbx.c: – Executing [s@macro-hangupcall:1] ExecIf(“Local/500@from-queue-00006bf9;2”, “0?Set(CDR(recordingfile)=external-500-3126369774-20151123-095625-1448294185.55801.wav)”) in new stack
[2015-11-23 09:56:25] VERBOSE[32696][C-0000917a] pbx.c: – Executing [s@macro-hangupcall:2] GotoIf(“Local/500@from-queue-00006bf9;2”, “1?theend”) in new stack
[2015-11-23 09:56:25] VERBOSE[32696][C-0000917a] pbx.c: – Goto (macro-hangupcall,s,4)
[2015-11-23 09:56:25] VERBOSE[32696][C-0000917a] pbx.c: – Executing [s@macro-hangupcall:4] ExecIf(“Local/500@from-queue-00006bf9;2”, “0?Set(CDR(recordingfile)=)”) in new stack
[2015-11-23 09:56:25] VERBOSE[32696][C-0000917a] pbx.c: – Executing [s@macro-hangupcall:5] Hangup(“Local/500@from-queue-00006bf9;2”, “”) in new stack
[2015-11-23 09:56:25] VERBOSE[32696][C-0000917a] app_macro.c: == Spawn extension (macro-hangupcall, s, 5) exited non-zero on ‘Local/500@from-queue-00006bf9;2’ in macro ‘hangupcall’

Any ideas?

I unplugged the phone, left it off for a few minutes, and plugged it back in an its working again.

rasterisk -x ‘sip show peers’ show it was offline before, now it shows online, but with the same port as when it was offline.

Any ideas?

I have the same problem. Every few days some of the phone starts to change status

== Extension Changed 505 [ext-local] new state Unavailable for Notify User 502
- Registered SIP ‘505’ at 192.168.1.132:5060
== Extension Changed 505 [ext-local] New state Idle for Notify User 502
== Extension Changed 505 [ext-local] new state Unavailable for Notify User 502
- Registered SIP ‘505’ at 192.168.1.132:5060

etc etc…

When I unplug the phone and plug it again operate normally. This is happening every few days on one or multiple random phones. Phones are linksys, siemens gigiasets, 2n sip doorphone. All phones are in local network.

These phones with practically same settings are working without any problem for more then a two years with raspbx distribution on raspberry pi

Any idea?