Service Providers -> ITSP Profile A -> General -> DigitMap:
(1xxxxxxxxxx|<1>xxxxxxxxxx|<1abc>xxxxxxx)
Physical Interfaces -> Phone Port ->
OutboundCallRoute:
{911:sp1},{([1-9]x?*(Mpli)):pp},{(<#:>):li},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp},{(Mpli):pli}
PrimaryLine:
SP1 Service
In the DigitMap I added a rule to prepend your local area code (abc) to a dialed 7 digit number and deleted rules you don't need.
In the outbound route I deleted 911 from the rule routing it to the line port and added a rule to route it the SP1.
800 numbers will be routed to SP1 with the default settings.
Do you want 800 numbers routed to a Toll Free provider like Future-Nine or CallWithUs? They provide this service for free.
Edit:
You can also do it this way:
Service Providers -> ITSP Profile A -> General -> DigitMap:
(911|1xxxxxxxxxx|<1>xxxxxxxxxx|<1abc>xxxxxxx)
Physical Interfaces -> Phone Port ->
OutboundCallRoute:
{([1-9]x?*(Mpli)):pp},{(<#:>):li},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp},{(Mpli):pli}
PrimaryLine:
SP1 Service