You said:
QuoteDial any 7, 10 or 11 digit number starting with 2 to 0
I interpreted that to mean starting with 0, 1 or 2.
The following are replacements for the outbound route and digit maps. Remove the default definitions.
Replace 911 with the Indian emergency number.
Dial **8 prefix to force the call out the Line port when SP1 is live.
There normally is a 30 second pause before the call is routed out the Line port when SP1 is dead.
The X_NoRegNoCall parameter eliminates the wait.
I did not allow for any other requirements.
I did not test this configuration.
TG1 definition:
List: sp1,li
DigitMap: (Mph)
Phone Port OutboundCallRoute:
{***:aa2},{(Mtg1):tg1}
ITSP A DigitMap:
(<0>[012]xxxxxx|<0>[012]xxxxxxxxx|<0>[012]xxxxxxxxxx)
Line DigitMap:
([012]xxxxxx|[012]xxxxxxxxx|[012]xxxxxxxxxx|<**8:>[012]xxxxxx|<**8:>[012]xxxxxxxxx|<**8:>[012]xxxxxxxxxx |911|<#:>)
Phone Port DigitMap:
([012]xxxxxx|[012]xxxxxxxxx|[012]xxxxxxxxxx|**8[012]xxxxxx|**8[012]xxxxxxxxx|**8[012]xxxxxxxxxx |911|***|<#:>)
Voice Services -> SP1 Service -> X_NoRegNoCall: Checked