For 911 to SP2:
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}
If your alarm system can dial **21888xxxxxxx, that should be all that's needed for its call to go out SP2. If it doesn't like the asterisks, have it dial 9991888xxxxxxx and set:
Service Providers -> ITSP Profile A -> General -> DigitMap:
(<999:**2>xx.|1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|<1aaa>[2-9]xxxxxx|011xx.|(Mipd)|[^*#]@@.'@'@@.)
where aaa is your local area code.