Quote from: larrybob on December 22, 2011, 08:14:01 PM
I added the tones to the digitmap so if a caller dials **1, **2, **8, or **9 they will hear different dial tones reminding them which sevice they are using.
([1-9]x?*(Mpli)|[1-9]|[1-9][0-9]|<00:$1>|0|**1{t=di2}(Msp1)|**2{t=cw10}(Msp2)|**8{t=cw8}(Mli)|**9{t=cw9}(Mpp)|(Mpli))
It's a waste of time to add tones to the Auto Attendant DigitMap. The Auto Attendant DigitMap is not processed in real-time the way the PHONE Port DigitMap is, consequently the tone directives will have no effect.
Quote from: larrybob on December 22, 2011, 08:14:01 PM
I would like to force the AA to call back on the line port regardless of what is set for the aa primary line.
Would the changes in bold accomplish this??
1)<00:**8$1> this says if a caller dials 00 it will be transformed into the callers number prepended by **8
and the AA will call back using the line port.
2) <**8>(Mli) this says that any number the caller dials that matches the line port digitmap will be prended by **8 and the AA will call it using the line port.
([1-9]x?*(Mpli)|[1-9]|[1-9][0-9]|<00:**8$1>|<**8>(Mli)|0|**1{t=di2}(Msp1)|**2{t=cw10}(Msp2)|**8{t=cw8}(Mli)|**9{t=cw9}(Mpp)|(Mpli))
If these rules work, will a caller dialing **1 , **2, **8, and **9 , while in the AA, still operate correctly, or does the second rule need to be inserted in a different location?
I'm still convinced you're making the use of the Auto Attendant grossly over-complicated. I'm going to make one last proposal and then let you run with whatever feels right to you.
Physical Interfaces -> PHONE Port -> DigitMap:
([1-9]x?*(Mpli)|[1-9]S9|[1-9][0-9]S9|1[0-689]x|**0|***|#|**1(Msp1)|**2(Msp2)|**8(Mli)|**9(Mpp)|(Mpli))
Physical Interfaces -> PHONE Port -> OutboundCallRoute:
{([1-9]x?*(Mpli)):pp},{(<#:>|1[0-689]x):li},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},
{(<**2:>(Msp2)):sp2},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp},{(Mpli):pli}
Physical Interfaces -> PHONE Port -> PrimaryLine : PSTN Line
Service Providers -> ITSP Profile A -> General -> DigitMap:
(1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|011xx.|(Mipd)|[^*#]@@.'@'@@.)
Voice Services -> SP1 Service -> X_InboundCallRoute : {(<**1>(Mtc1)):aa($1)},{ph}
Physical Interfaces -> LINE Port -> DigitMap:
(1xx|[34]00xxxx|[2-9]xxxxxxx|90xx.|0xx.|<**1>(1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|011xx.))
Physical Interfaces -> LINE Port -> InboundCallRoute : {(<**8>(Mtc2)):aa($1)},{ph}
Voice Services -> Auto Attendant -> PrimaryLine : PSTN Line
User Settings -> User Defined Digit Maps -> User Defined Digit Map2
Label : tc1
DigitMap : (12341234567|12347654321)
User Settings -> User Defined Digit Maps -> User Defined Digit Map3
Label : tc2
DigitMap : (12345678|87654321)
Calls from trusted callers on the SP1 Service (listed in tc1) will go to the Auto Attendant after 10 seconds. If the caller hangs up before the Auto Attendant answers, the Auto Attendant will call them back using the SP1 Service.
Calls from trusted callers on the LINE Port (listed in tc2) will go to the Auto Attendant after 10 seconds. If the caller hangs up before the Auto Attendant answers, the Auto Attendant will call them back using the LINE Port.
All Auto Attendant users should press 1 to reach the OBi PHONE Port, or press 2 to make a new call. Callers may press 3 to enter a callback number, but the preferred method to get a callback is to simply hang up before the Auto Attendant answers.
Regardless of where a new call is originated from (the OBi PHONE Port, an incoming call on the LINE Port to the Auto Attendant, an incoming call on the SP1 Service to the Auto Attendant, or a callback number entered to the Auto Attendant), outgoing calls will go out the proper trunk without requiring any **n prefixes, based on the number dialed:
1xx -> LINE Port
[34]00xxxx -> LINE Port
[2-9]xxxxxxx -> LINE Port
90xx. -> LINE Port
0xx. -> LINE Port
1xxxxxxxxxx -> SP1 Service
[2-9]xxxxxxxxx -> SP1 Service
011xx. -> SP1 Service
I don't think you can make it much simpler for users.