**2 Works:
PHONE Port DigitMap:
([1-9]x?*(Mpli)|[1-9]x?|911|**0|***|#|**1{t=di2}(Msp1)|**2{t=di2}(Msp2)|**3{t=di2}(Mvg3)|
**4{t=di2}(Mvg4)|**6{t=di2}(Mvg6)|**7{t=di2}(Mvg7)|**8{t=di2}(Mli)|**9{t=di2}(Mpp)|(Mpli))
PHONE Port OutboundCallRoute:
{([1-9]x?*(Mpli)):pp},{(<#:>|911):li},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},
{(<**2:>(Msp2)):sp2},{(<**3:>(Mvg3)):vg3},{(<**4:>(Mvg4)):vg4},{(<**6:>(Mvg6)):vg6},
{(<**7:>(Mvg7)):vg7},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp},{(Mpli):pli}
#2 Fails:
PHONE Port DigitMap:
([1-9]x?*(Mpli)|[1-9]x?|911|**0|***|#|**1{t=di2}(Msp1)|#2{t=di2}(Msp2)|**3{t=di2}(Mvg3)|
**4{t=di2}(Mvg4)|**6{t=di2}(Mvg6)|**7{t=di2}(Mvg7)|**8{t=di2}(Mli)|**9{t=di2}(Mpp)|(Mpli))
PHONE Port OutboundCallRoute:
{([1-9]x?*(Mpli)):pp},{(<#:>|911):li},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},
{(<#2:>(Msp2)):sp2},{(<**3:>(Mvg3)):vg3},{(<**4:>(Mvg4)):vg4},{(<**6:>(Mvg6)):vg6},
{(<**7:>(Mvg7)):vg7},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp},{(Mpli):pli}
The only change is: **2 -> #2
In the #2 failure case (#218005551212), a second dialtone is presented after '#2' is dialed, but the LINE Port is selected as if nothing but '#' was dialed (regardless of whether a terminating '#' is used or not).
The call history shows PHONE1 Peer Number: #218005551212 on the left and LINE1 with no Peer Number on right.
I don't think I have a typo.