I’m running FreePBX version 220.127.116.11 and I just started (after the server has been untouched for 34 days) having an issue dialing some internal extensions.
Example, my internal extension is 128 and calling 139 says the person at extension 139 is unavailable after the tone. It made me think they were on DND and forgot to come out of it but they’re indeed available. I checked endpoint manager and also on the handset itself which is a Yealink T46G. This is happening to three extensions that I know of but most of the others I’ve tested work correctly.
Looking in Call Event Logging using my extension as the source and theirs as the destination I see the call info and here is what I see. I’m guessing the s-CHANUNAVAIL is the issue? I’m not sure where to go from here to troubleshoot or how to fix this issue. Anyone seen this before?
Can you find out if the problem phones can make outbound calls? It could also help to monitor some sip traffic for a phone with the problem to see if they are no issues with registering. Also, you can try rebooting one of them. If they can start receiving calls after a reboot, maybe they need to register more frequently to keep the connection alive. Are there any networking differences with the phones that work and those that don’t? For example, are they all on the same local subnet as the pbx?
[2020-03-17 14:34:39] VERBOSE[C-00000024] pbx.c: Executing [[email protected]:55] Dial("SIP/128-0000003d", "SIP/139,15,HhTtrb(func-apply-sipheaders^s^1)") in new stack
[2020-03-17 14:34:39] WARNING[C-00000024] app_dial.c: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
[2020-03-17 14:34:39] VERBOSE[C-00000024] app_dial.c: Everyone is busy/congested at this time (1:0/0/1)
Dial attempt is made, but peer is not registered, or not reachable. This is not a dialplan issue, its probably a signalling failure. You will probably find some history of peers going unreachable with:
I think for this case, you’ll want to do something like:
tcpdump -s0 -w/tmp/capture.pcap -C50 udp and port 5060 and host 18.104.22.168
where the host is the ip of the phone. After starting the capture, reboot the phone. After the phone boots up and a registration is attempted, you can stop the capture and share it here. Just make let us know the extension of the test phone and its ip so we can make sure we’re looking at the right traffic.