Dialplan not working

I am able to play sample dialplan,
[from-pstn]
exten => _X.,1,Playback(demo-congrats)

but when i add the following lines in extensions.conf
[from-pstn]
exten => _X.,1,Dial(DAHDI/g0/${EXTEN})
exten => s,1,GOTO(mla,28257120,1);Dial(DAHDI/g0/${EXTEN})

and in extensions.ael

context mla{
28257120=>
playback(demo-congrats);

its is not playing demo message

kindly do the needful

regards
Anshul

It is unusual to have a PSTN line that sometimes provides DDI numbers and sometimes doesn’t. I’d expect only the _X. or the s lines to be used, depending on whether or not you had DDI information.

Hi david,
i tried as suggested by you but it is not working,
it is showing everyone is busy while showing on cli,

kindly do the needful
regards
aNshul

I didn’t provide as suggestion, I just said that having both _X. and s extensions is unlikely to result in both being used.