DialPlan not working as expected for outbound calls

I have following in my dialplan :

[provider]
exten => _91.,1,NoOp(${EXTEN})
exten => _91.,2,Dial(SIP/provider/30000${EXTEN})

What I simply want to do is add prefix 30000 for all outbound calls, as it’s required by the provider.

It should work correctly because “dialplan show” , show me correct match :

d8*CLI> dialplan show 919876543210@provider
[ Context 'provider' created by 'pbx_config' ]
  '_91.' =>         1. NoOp(${EXTEN})                               [pbx_config]
                       2. Dial(SIP/provider/30000${EXTEN})     [pbx_config]

-= 1 extension (2 priorities) in 1 context. =-

but when I place calls ( using both Asterisk CLI or call files) , calls does not work, because prefix isn’t being added by dialplan, If I try to place call by manually adding that prefix in dialed number , it works , but I don’t want to add that prefix to all dialed number manully .

Help will be appreciated.

Thanks.

Verbose log. Probably the calling line is not in the provider context.

Hi
well…
please try to change line

INTO

BR
Maciej

Both lines should work the same.