Help for Cannot find extension '_XXXX.' in context '(null)'


#1

I met a problem for my dial plan:

[SIPSrcPhone]
exten => _XXXX.,1,NoOp()
exten => _XXXX.,n(dial),Dial(SIP/${EXTEN}@123.456.789.1,60,o)
exten => _XXXX.,n,Wait,3
exten => _XXXX.,n,Hangup
exten => _XXXX.,dial+101,Hangup

Asterisk reported:

May 25 16:59:54 NOTICE[13578]: pbx.c:1724 pbx_extension_helper: Cannot find extension ‘_XXXX.’ in context '(null)'
May 25 16:59:54 WARNING[13578]: pbx_config.c:1426 pbx_load_config: Invalid priority/label ‘dial’ at line 98

My dial plan worked several weeks ago. I update asterisk to SVN trunk today. It does not work any more. Any idea?

Thanks a lot.


#2

Based upon the message you received

May 25 16:59:54 NOTICE[13578]: pbx.c:1724 pbx_extension_helper: Cannot find extension ‘_XXXX.’ in context ‘(null)’

I would estimate to say that your problem does not exist in the context shown, but more the fact that something is trying to hit a null context.


#3

I did another test,

[SIPSrcPhone]
exten => _XXXX.,1,NoOp()
exten => _XXXX.,2,Dial(SIP/${EXTEN}@123.456.789.1,60,o)
exten => _XXXX.,3,Wait,3
exten => _XXXX.,4,Hangup
exten => _XXXX.,103,Hangup

This works. I think there is a bug in Asterisk.