To route 911 calls to SP2 instead of the LINE Port:
Physical Interfaces -> PHONE Port -> OutboundCallRoute:
{([1-9]x?*(Mpli)):pp},{(<#:>):li},{911:sp2},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},
{(<**2:>(Msp2)):sp2},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp},{(Mpli):pli}
To route Callcentric and international calls to SP2:
Service Providers -> ITSP Profile A -> General -> DigitMap:
(<**2>1777xxxxxxx|1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|<1aaa>[2-9]xxxxxx|<**2>011xx.|(Mipd)|[^*]@@.'@'@@.)
Service Providers -> ITSP Profile B -> General -> DigitMap:
(1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|<1aaa>[2-9]xxxxxx|011xx.|(Mipd)|[^*]@@.'@'@@.)
where aaa is your local area code.
Physical Interfaces -> PHONE Port -> PrimaryLine : SP1 Service