I have pattern matching in my dialplan:
exten => _1XX,n,Goto(${EXTEN}-${DIALSTATUS},1)
exten => _1XX-NOANSWER,1,Voicemail(u${EXTEN:0:3})
-- Executing Goto("SIP/100-7f10", "101-NOANSWER|1") in new stack
-- Goto (test,101-NOANSWER,1)
Apr 17 14:47:34 WARNING[3137]: pbx.c:2345 __ast_pbx_run: Channel 'SIP/100-7f10' sent into invalid extension '101-NOANSWER' in context 'test', but no invalid handler
But then I use . instead of NOANSWER to goes fine:
exten => _1XX,n,Goto(${EXTEN}-${DIALSTATUS},1)
exten => _1XX-.,1,Voicemail(u${EXTEN:0:3})
-- Executing Goto("SIP/100-807d", "101-NOANSWER|1") in new stack
-- Goto (test,101-NOANSWER,1)
-- Executing VoiceMail("SIP/100-807d", "u101") in new stack
Does anybody know why _1XX-NOANSWER doesn’t match?