This may be more of an asterisk question. I am trying to get a custom dialplan to work. Here it is (put in extensions_custom.conf) -
[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
Simple, put a timeout on the page group and prevent a call from being transferred to it.
I have Custom Destinations set to: (399 is the page group, and it works if dialed)
and I set up a Misc Application for code 398 -
But when I dial 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
And the call drops. Why is it saying the extension is invalid when I have ._ as the wildcard? What am I not understanding? Thanks

