Asterisk 21.19.1
I have a custom dialplan as below on a freepbx -
[page-timeout]
exten => _.,1,Noop(Page Timeout)
same => n,NoOp(Checking if call to paging is a transfer)
same => n,GotoIf($[“${BLINDTRANSFER}” != “”]?transfer_blocked)
same => n,GotoIf($[“${ATTENDEDTRANSFER}” != “”]?transfer_blocked)
same => n,Set(TIMEOUT(absolute)=10)
same => n,Goto(app-pagegroups,${EXTEN},1)
same => n(transfer_blocked),Hangup
I have a custom destination setup along with a misc application. When I dial the access code (398) I get this -
-- Executing [398@from-internal:6] Goto("PJSIP/1209-00006992", "page-timeout,399,1") in new stack
-- Goto (page-timeout,399,1)
[2026-06-05 12:48:10] WARNING[2775751][C-00002988]: pbx.c:4521 __ast_pbx_run: Channel ‘PJSIP/1209-00006992’ sent to invalid extension but no invalid handler: context,exten,priority=page-timeout,399,1
Then the call drops. 399 is the page code, and it works; 398 is assigned to dial the goto statement. What am I not understanding? Shouldn’t that be working?