Quote from: azrobert on April 21, 2018, 11:17:49 PM
Will you always use SP1 and the wife always use SP2? Are you two the only people using the AA?
Are your providers GoogleVoice? GV passes 11 digits for CallerID and will accept 10 digits for an outbound number.
The following assumes your providers are GV. $1 contains the callerid and is prepended to a dialed 10 digit outbound number. The outbound route will strip the callerid and route the call to SP1 or SP2. The ***X prefix will not work. I did NOT test this.
AA DigitMap:
(0|<$1>[2-9]xxxxxxxxx)
AA OutboundCallRoute:
{0:ph},{(<17041111111:>xxxxxxxxxx):sp1},{(<17042222222:>xxxxxxxxxx):sp2}
azrobert, Thank you so much! I applied what I learned from your response and have it tested and working perfectly. Such a cool solution to prepend the callerid that is then stripped out when routed. I would never have thought of that. I seriously appreciate your help!I do want to answer your questions, provide some context, and document the values I applied in case it helps anyone who sees this thread in the future.
To give some background on why this was needed. Prior to this solution, when we hit the AA we both often forgot to prefix our outbound calls with **x. This meant that the AA would always dial out using the default SPx, meaning one of us was always using the 'wrong' outbound number and would confuse the people we were calling (we work in two entirely different and unrelated fields). I know that some people would suggest we pay more attention when dialing out and they might be right, but this solution prevents our forgetful selves from making the same mistake over and over.
1. In regards to me always using SP1 and wife SP2, not always but mostly. I'd like the ability for us to use **1 and **2 if one day by chance we have use each others line.
2. We are the only two people using the AA. I have the following configured to route our inbound calls to the AA and everyone else to PH which will ring the physical phone.
Voice Service>SP1 Service>X_InboundCallRoute: {(x.7041111111|x.7042222222):aa},{ph}
Voice Service>SP2 Service>X_InboundCallRoute: {(x.7041111111|x.7042222222):aa},{ph}
3. Yes, our providers are both GoogleVoice.
Solution: I kept the default values but added the bold parts based on your guidance.
Voice Services-> Auto Attendant->DigitMap
([1-9]x?*(Mpli)|[1-9]|[1-9][0-9]|<00:$1>|0|
<$1>[2-9]xxxxxxxxx|**1(Msp1)|**2(Msp2)|**9(Mpp)|(Mpli))
Voice Services-> Auto Attendant->OutboundCallRoute
{([1-9]x?*(Mpli)):pp},{0:ph},
{(<17041111111:>xxxxxxxxxx):sp1},{(<17042222222:>xxxxxxxxxx):sp2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**9:>(Mpp)):pp},{(Mpli):pli}
Now, when either of us call the OBI we get the AA. From there we can dial a 10 digit number with our calls going out using SP1 for me and SP2 for my wife. If needed we can still use **1 or **2 to manually select the SPx.
Thanks again azrobert!!