Automatic switch between trunks when one becomes unavailable

<< < (2/6) > >>

ianobi:
xibai,

I think my reply to NewY does what you want: Keep sp1 as PrimaryLine, use sp2 for calls starting with **2, when sp2 fails or is busy divert those calls to PSTN.

Let me know if that's not ok for you.

ianobi:
Ostracus,

The truth is I don't know! The only Obihai info seems to be:

Quote

Added SP parameter X_NoRegNoCall, if enabled, do not allow incoming or outgoing calls on that SP service.

Seems more like a user enable/disable setting rather than an automatic test for registration. I don't have an OBi202 to test that function.

xibai:
hi, ianobi,

No wonder you are marked as "hero member." Your help is greatly appreciated! I mixed my two accounts. NewY and Xibai are one person. So double thanks to you.

Your approach does make sense. However, I got a message "the number you dialed is rejected" when I intentionally make sp2 "register failed" to test the switch. Apparently, it did not automatically switch to LINE, which is I tested good.

Following is my configuration. Please have a look if you have time:

I call china (86) frequently so

General -> DigitMap>ITSP A
(<**2>[86]x.|*xx|1xxxxxxxxxx|<1607>[2-9]xxxxxx|<1>[2-9]xxxxxxxxx|011xx.|xx.|(Mipd)|[^*]@@.)

PhonePort: DigitMap
([1-9]x?*(Mpli)|[1-9]S9|[1-9][0-9]S9|911|**0|***|#|**1(Msp1)|**2(Mtg2)|**8(Mli)|**9(Mpp)|(Mpli))

PhonePort:OutboundCallRoute
{([1-9]x?*(Mpli)):pp},{(<#:>|911):li},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Mtg2)):tg2},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp},{(Mpli):pli}

GateWays & TrunkGrps
TrunkGroup2
TrunkList: sp2,li,sp1
DigitMap: ((Msp2)|(Mli)|(Msp1))

I setup a trunkgroup 2, which includes three channels. My intention is that since both sp2 and Line actually use same callwithus. If callwithus's service down, it will switch to google to make international calls, even though google is a bit expensive.

Let me know where I did wrong. Again, thanks.

ianobi:
Quote

However, I got a message "the number you dialed is rejected" when I intentionally make sp2 "register failed" to test the switch.

This seems to indicate that something went out to a service provider. Please look in Status > Call History on your OBi web page to see what you dialled and where the number routed to. I'm assuming that normally you can dial Callwith us via **2 or **8 when all is working normally.

This rule <**2>[86]x. should be written as <**2>86x. Using [86] means 8 or 6. The rule probably worked ok as the numbers started with an 8 anyhow.


Quote

TrunkGroup2
TrunkList: sp2,li,sp1
DigitMap: ((Msp2)|(Mli)|(Msp1))

There is a problem here. The first part should work ok. If sp2 is failed then calls should go to line. However, if Callwithus service is down, that will not make the OBi Line Port fail. So long as the OBi110 sees the voltage around 50v from the PAP2's Phone Port, it will assume all is ok.

xibai:
ianobi,

Thanks for your prompt response.

1. here is what I got from Call Status when the call was rejected:

Call 1                    Terminal 1                    Terminal 2
Terminal ID             PHONE 1                      Announcement 1
State                    Connected                    Connected
Peer Number           **21(plus my home number)
Direction                Outbound                      Inbound

2. thanks for correcting the digitmap.

3. I will delete sp1 in trunk group 2. You are right. Thanks.

so what could be wrong with the automatic switch?

Navigation

[0] Message Index

[#] Next page

[*] Previous page