I have tried a few times to implement failover with OBI devices based on what I found online and in this forum. However, nothing works so far. Recently, I tried it again still without success. I describe my implementation below. Hope someone can point out what I did wrong and it will be great also if someone can post tested-woring of similar implementation.
Before enable failover, I use Sp1 for domestic call and Sp2 for international call. The control is done in DigiMap in ITSP Profile A>General>DigiMap:
(<**2>011x.|<**2>01186xxxxxxxxxx|<**2>01186xxxxxxxxxxxS0|<1>[2-9]xxxxxxxxxS0|<1858>[2-9]xxxxxx|1[2-9]xxxxxxxxxS0|xx.|(Mipd)|[^*#]@@.)[^*#]@@.)
The Phone Port primeline is SP1 Service. Everything works as expected.
I then added Sp3 registered to another domestic service provider with default DigiMap: "(1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|011xx.|xx.|(Mipd)|[^*#]@@.)"
I can dialout with prefix **3 using Sp3 just fine.
To add failover, I changed Trunk Group 1 to TrunkList = sp1, sp3 and its Digimap to "((Msp1)|(Msp3))". I also changed Phone Port PrimeLine to Trunk Group 1. For its OutboundCallRoute, I have tried to add {(Mtg1):tg1} in the front or removed everything with only {(Mtg1):tg1} as Mango suggested in VOIP Tech Chat Forum. If I keep Sp1 registered, everything works fine as before. However, if I purposely change the SP1 registration so it fails, Then I always got error signal, i.e., SP3 does not take over, with reason 401. Can someone point out what I did was wrong and how to fix that? Thanks in advance.