Inbound calls to a specific extension saying "You have reached a number that has been disconnected"

Hello!
Starting this morning, when trying to call an internal extension, (1035), it’s now saying “You have reached a number that has been disconnected”. We use Telnyx and chan_sip connections.
Here’s the results for “tail -f /var/log/asterisk/full” when trying to call the problem extension (1035) with my extension (1052). Any help or pointers on where to look would be greatly appreciated! :

[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [1035@from-internal:1] GotoIf("SIP/1052-000474cb", "1?ext-local,1035,1:followme-check,1035,1") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx_builtins.c: Goto (ext-local,1035,1)
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [1035@ext-local:1] Set("SIP/1052-000474cb", "__RINGTIMER=20") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [1035@ext-local:2] ExecIf("SIP/1052-000474cb", "0?Set(__CWIGNORE=)") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [1035@ext-local:3] Macro("SIP/1052-000474cb", "exten-vm,1035,1035,0,0,0") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-exten-vm:1] Macro("SIP/1052-000474cb", "user-callerid,") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:1] Set("SIP/1052-000474cb", "TOUCH_MONITOR=1705683860.386406") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:2] Set("SIP/1052-000474cb", "CHANCONTEXT=") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:3] Set("SIP/1052-000474cb", "CHANCONTEXT=") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:4] Set("SIP/1052-000474cb", "CHANEXTENCONTEXT=1052-000474cb") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:5] Set("SIP/1052-000474cb", "CHANEXTEN=1052-000474cb") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:6] Set("SIP/1052-000474cb", "CALLERID(number)=1052") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:7] Set("SIP/1052-000474cb", "AMPUSER=1052") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:8] Set("SIP/1052-000474cb", "HOTDESCKCHAN=1052-000474cb") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:9] Set("SIP/1052-000474cb", "HOTDESKEXTEN=1052") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:10] Set("SIP/1052-000474cb", "HOTDESKCALL=0") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:11] ExecIf("SIP/1052-000474cb", "0?Set(HOTDESKCALL=1)") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:12] ExecIf("SIP/1052-000474cb", "0?Set(CALLERID(name)=)") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:13] GotoIf("SIP/1052-000474cb", "0?report") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:14] ExecIf("SIP/1052-000474cb", "1?Set(REALCALLERIDNUM=1052)") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:15] Set("SIP/1052-000474cb", "AMPUSER=1052") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:16] GotoIf("SIP/1052-000474cb", "0?limit") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:17] Set("SIP/1052-000474cb", "AMPUSERCIDNAME=Conner Murowchick") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:18] ExecIf("SIP/1052-000474cb", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:19] GotoIf("SIP/1052-000474cb", "0?report") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:20] Set("SIP/1052-000474cb", "AMPUSERCID=1052") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:21] Set("SIP/1052-000474cb", "__DIAL_OPTIONS=Ttrw") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:22] Set("SIP/1052-000474cb", "CALLERID(all)="Conner Murowchick" <1052>") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:23] ExecIf("SIP/1052-000474cb", "0?Set(CUSDIAL=1035)") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:24] ExecIf("SIP/1052-000474cb", "0?Set(CALLERID(all)=TSG <2064532852>)") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:25] GotoIf("SIP/1052-000474cb", "0?limit") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:26] ExecIf("SIP/1052-000474cb", "0?Set(GROUP(concurrency_limit)=1052)") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:27] ExecIf("SIP/1052-000474cb", "0?Set(CHANNEL(language)=)") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:28] NoOp("SIP/1052-000474cb", "Macro Depth is 2") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:29] GotoIf("SIP/1052-000474cb", "1?report2:macroerror") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx_builtins.c: Goto (macro-user-callerid,s,30)
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:30] GotoIf("SIP/1052-000474cb", "0?continue") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:31] ExecIf("SIP/1052-000474cb", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:32] Set("SIP/1052-000474cb", "__TTL=64") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:33] GotoIf("SIP/1052-000474cb", "1?continue") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx_builtins.c: Goto (macro-user-callerid,s,49)
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:49] Set("SIP/1052-000474cb", "CALLERID(number)=1052") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:50] Set("SIP/1052-000474cb", "CALLERID(name)=Conner Murowchick") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:51] GotoIf("SIP/1052-000474cb", "0?cnum") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:52] Set("SIP/1052-000474cb", "CDR(cnam)=Conner Murowchick") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:53] Set("SIP/1052-000474cb", "CDR(cnum)=1052") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-user-callerid:54] Set("SIP/1052-000474cb", "CHANNEL(language)=en") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-exten-vm:2] Set("SIP/1052-000474cb", "RingGroupMethod=none") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-exten-vm:3] Set("SIP/1052-000474cb", "__EXTTOCALL=1035") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-exten-vm:4] Set("SIP/1052-000474cb", "__PICKUPMARK=1035") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-exten-vm:5] Set("SIP/1052-000474cb", "RT=20") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-exten-vm:6] ExecIf("SIP/1052-000474cb", "0?Macro(vm,1035,DIRECTDIAL,)") in new stack
[2024-01-19 09:04:20] VERBOSE[25412][C-00011077] pbx.c: Executing [s@macro-exten-vm:7] ExecIf("SIP/1052-000474cb", "0?MacroExit()") in new stack
[2024-01-19 09:04:20] ERROR[25412][C-00011077] res_pjsip_header_funcs.c: This function requires a PJSIP channel.

Support Services : Providing Great Debug (sangoma.com)

Follow what @comtech said…

But in general if this just started happening on an extension that was working prior, check the extension settings to see if call forwarding (or some other feature) was turned on accidently with no legitimate forwarding location. Users often hit * when trying to pick up a parked call instead of just dialing the parking lot number (71, 72 etc…) and activate a code like *71, or *72 etc…

1 Like

This was it! After turning off call forwarding on the device, the issue was resolved. This was my first time seeing calls forwarded to a non-legitimate location so I wasn’t familiar with the error message. Thanks for the tip!
(I’ll follow that guide for posting better debugging logs next time, thanks for that as well).

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.