Solved - 3 GV Accounts, 2 OBI110s, 1 Asterisk Server
RonR:
Quote from: DocM on March 26, 2012, 06:08:06 pm
However, I can't seem to receive incoming calls from OBi110 #2 and redirect them to OBi110 #1. I confirmed the GV lines are functioning (changed SP1 and SP2's X_InboundCallRoute to ph).
The following is what I've tried:
On OBi110 #1 (200111111):
Voice Services > OBiTalk Service > InboundCallRoute: {(200222222)>(xx.):ph}
On OBi110 #2 (200222222):
Voice Services > Gateway and Trunk Groups > Voice Gateway 1 > AccessNumber: 200111111
Voice Services > SP2 Service > X_InboundCallRoute: vg1
I tried replacing vg1 with numerous combinations (i.e. vg1(200111111) or vg1($1) or vg1(GV number)). Any time any call is made to the GV number, nothing shows up on the call logs. Not sure what to do here.
There appears to be a nasty bug in the OBi. When the source of the call sent across the OBiTALK Service is SP1 or SP2 (and possibly the LINE Port), the receiving OBi sees the callee as anonymous. Consquently a '486 Busy Here' response is returned unless the callee is a ? (anonymous):
Voice Services > OBiTalk Service > InboundCallRoute: {200222222>?:ph}
The only work-around I can find is to not test the callee:
Voice Services > OBiTalk Service > InboundCallRoute: {200222222:ph}
Also, if you use a Voice Gateway, CallerID will not be passed. To pass CallerID, use:
Voice Services > SP2 Service > X_InboundCallRoute: PP(ob200111111)
Quote from: DocM on March 26, 2012, 06:08:06 pm
Btw, do you know whats the largest number that Voice Services > SP2 Service > MaxSessions can reach?
I don't believe it makes sense to set MaxSessions higher than four as that's the maximum number of bridges the OBi is capable of.
DocM:
Thanks RonR for all your help.
I decided to utilize the OBI110 #2's OBiTalk Service for incoming calls so I could pass the caller's number. I think this would achieve the same results as passing it through vg (except for the caller number). The only weakness I can think of for this solution is that if anybody manages to somehow spoof the obi number, they may be able to enter my asterisk system (but that is easy to secure within asterisk). These settings are working great for me.
The following is what I have done:
On OBi110 #2 (200222222):
Voice Services > SP1 Service > X_InboundCallRoute: {pp(ob200111111)}
Voice Services > SP2 Service > X_InboundCallRoute: {pp(ob200111111)}
On OBi110 #1 (200111111):
Voice Services > OBiTalk Service > InboundCallRoute: {(200222222)>(?|xx.):sp2(200111111)}
I have two more questions:
1) On the OBi110 #1's Voice Services > OBiTalk Service > InboundCallRoute, is {(200222222)>(?|xx.):sp2(200111111)} the same as {(200222222):sp2(200111111)} ?
2) If there is only a max of 4 sessions, does that mean if there are 6 simultaneous incoming calls (ie. 4 from OBi110 #2 to OBi110 #1 and 2 from OBi110 #1's SP1), 2 of the calls will possibly get a busy signal?
RonR:
Quote from: DocM on March 28, 2012, 09:27:46 am
On OBi110 #1 (200111111):
Voice Services > OBiTalk Service > InboundCallRoute: {(200222222)>(?|xx.):sp2(200111111)}
I have two more questions:
1) On the OBi110 #1's Voice Services > OBiTalk Service > InboundCallRoute, is {(200222222)>(?|xx.):sp2(200111111)} the same as {(200222222):sp2(200111111)} ?
>(?|xx.) is not valid syntax. A ? is not a DigitMap operator and does not belong inside parenthesis. This is yet another bug that hasn't been corrected in over a year:
http://www.obitalk.com/forum/index.php?topic=347.msg2156#msg2156
Since the newly discovered bug precludes validating callee's in your usage, I'd just go with:
{200222222:sp2(200111111)}
Quote from: DocM on March 28, 2012, 09:27:46 am
2) If there is only a max of 4 sessions, does that mean if there are 6 simultaneous incoming calls (ie. 4 from OBi110 #2 to OBi110 #1 and 2 from OBi110 #1's SP1), 2 of the calls will possibly get a busy signal?
I believe so.
DocM:
Thanks again for the info, RonR.
I actually tested:
{((200222222)>(?|xx.)):sp2(200111111)}
{((200222222)>(?)):sp2(200111111)}
{(200222222):sp2(200111111)}
All three of them worked for me but I decided to play it safe and took your advice.
RonR:
Quote from: DocM on March 28, 2012, 11:30:42 am
I actually tested:
{((200222222)>(?|xx.)):sp2(200111111)}
{((200222222)>(?)):sp2(200111111)}
{(200222222):sp2(200111111)}
All three of them worked for me but I decided to play it safe and took your advice.
The first two work only because of the year-old bug in the OBi that still hasn't been fixed.
Also, you don't need the parenthesis around 200222222.
Navigation
[0] Message Index
[*] Previous page