OBiTALK Community

General Support => Installation and Set-Up (Devices) => Topic started by: ArbitaryTwist on February 14, 2013, 06:26:18 PM

Title: Voice Gateway Setup
Post by: ArbitaryTwist on February 14, 2013, 06:26:18 PM
I was trying to follow this post to setup the Voice Gateway 3, but i can't figure out the ITSP parts.

http://www.obitalk.com/forum/index.php?topic=1063.0

I have Freephoneline.ca setup on SIP1, Google Voice on SIP2, and i would like to add VOIPJumper on Gateway 3, such that if someone dials 01191xxxxxxxxxx, the call is routed through VOIPJumper. Would appreciate the help. Just got my device yesterday so learning a few tricks i guess.

I should say that i am using an OBI110, but no physical line present.
Title: Re: Voice Gateway Setup
Post by: RFord on February 15, 2013, 04:06:50 AM
Do you know if VOIPJumper allows calls WITHOUT registration?  In order for you to use a VOIP provider on one of the OBi's Gateways, that provider must allow calls without the ATA being registered to their Server.  Also, since your SIP provider is set up on SP1, then:

Access Number : SP1(sip.voipjumper.com)
Title: Re: Voice Gateway Setup
Post by: ianobi on February 15, 2013, 06:03:06 AM
ArbitaryTwist,

RonR's post explains changes needed to add VG3 to Phone Port DigitMap and OutboundCall Route. RFord has explained regarding AccessNumber. All that remains is for you to add this rule at the front of the DigitMap of which service is your PrimaryLine:

(<**3>01191xxxxxxxxxx|...

By default in the OBi110 the following is true:
Msp1 = Service Providers -> ITSP Profile A -> General -> DigitMap
Msp2 =  Service Providers -> ITSP Profile B -> General -> DigitMap


Title: Re: Voice Gateway Setup
Post by: Felix on February 15, 2013, 06:52:55 PM
Quote from: RFord on February 15, 2013, 04:06:50 AM
Do you know if VOIPJumper allows calls WITHOUT registration?  
Looks like one of Betamax companies, so the answer is likely to be yes. Note that to call abroad you dial 00xxx, not 011xxx! So, rather than using **3 prefix, you can route numbers that start with 00 to the gateway.

And if you dial both FreePhoneLine and GV with all 11 digits (12125551212), then you can channel all non-1 numbers to the gateway using something like <:00>[2-9]xxx.
Title: Re: Voice Gateway Setup
Post by: ArbitaryTwist on February 18, 2013, 07:09:00 PM
Thanks for the reply guys. Sorry took me a bit to get back.

Well i am not sure if VOIPJumper supports calling without registration, but i need to find out.

So far i have made the following changes.

Physical Iterfaces -> PHONE Port -> DigitMap:
([1-9]x?*(Mpli)|[1-9]S9|[1-9][0-9]S9|911|**0|***|#|**1(Msp1)|**2(Msp2)|**3(Mvg3)|**8(Mli)|**9(Mpp)|(Mpli))

Physical Iterfaces -> PHONE Port -> OutboundCallRoute:
{([1-9]x?*(Mpli)):pp},{(<#:>|911):li},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**3:>(Mvg3)):vg3},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp},{(Mpli):pli}

Service Providers -> ITSP Profile A -> General -> DigitMap:
(1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|<**3>011xx.|xx.|(Mipd)|[^*#]@@.)

Gateways and Trunk Groups -> Voice Gateway3

Enable - Yes
Name - VOIPJumper
AccessNumber - SP1(sip.voipjumper.com)
DigitMap : (<011:00>xx.|00xx.)
AuthUserID : username
AuthPassword : password

When i dial using 011, it says service not available. Maybe its a problem with VOIPJumper registration.
@Felix -> To call out of North America, you need to use 01191xxxxxxxxxx.

When i dial out it says "No Service Configured Error. Please logon to Obitalk.com........."
Anything i am doing wrong? Is there a test SIP client i can use to see if my settings are correct?
Title: Re: Voice Gateway Setup
Post by: ArbitaryTwist on February 20, 2013, 08:55:55 PM
Anyone?
Title: Re: Voice Gateway Setup
Post by: ianobi on February 21, 2013, 01:45:04 AM
Please confirm this setting:
Physical Interfaces > PHONE Port > PrimaryLine

What happens if you dial numbers such as **3011xx... and **300xx...

Check in your local web page Status > Call History. Web page address can be found by dialling ***1.

QuoteWhen i dial out it says "No Service Configured Error. Please logon to Obitalk.com........."

What were you dialling when this happened?
Title: Re: Voice Gateway Setup
Post by: ArbitaryTwist on February 21, 2013, 06:55:33 AM
Primary Line is set to SP1

When i dial **3011xxx or 011xxx it says "No Service Configured Error. Please log onto obitalk.com ....."

Nothing shows up in the call history. If i make a call through SP1 or GV, it goes through fine and shows up in the call history.

EDIT: So i setup VOIP Jumper on SP2 and everything is working well. I am not sure if VOIPJumper requires registration, but they won't answer that question. All i get back is to use the website settings.
https://www.voipjumper.com/sip

I would like to use it as VG3, so i can keep Google Voice.
Title: Re: Voice Gateway Setup
Post by: azrobert on February 21, 2013, 09:12:27 AM
Un-register VOIP Jumper using your working setup on SP2.
Voice Services => SP2 service: X_RegisterEnable = unchecked

This will tell you if they accept un-registered outbound calls.
Title: Re: Voice Gateway Setup
Post by: azrobert on February 21, 2013, 09:36:54 AM
There is a solution if they don't accept un-registered outbound calls.

Get a free PBXes.org account.
Define Freephoneline.ca and VOIP Jumper as trunks on PBXes.
Register SP1 as an extension on PBXes.
Title: Re: Voice Gateway Setup
Post by: ArbitaryTwist on February 21, 2013, 07:12:46 PM
Quote from: azrobert on February 21, 2013, 09:12:27 AM
Un-register VOIP Jumper using your working setup on SP2.
Voice Services => SP2 service: X_RegisterEnable = unchecked

This will tell you if they accept un-registered outbound calls.


Works fine with Register Unchecked. So definately registration is not required.
Title: Re: Voice Gateway Setup
Post by: azrobert on February 21, 2013, 08:38:23 PM
I don't see the problem, but try the below configuration. Why dial **3011xx or 011xx and have it converted to 00xx? Just dial 0091xxxxxxxxxx

Physical Interfaces -> PHONE Port -> DigitMap:
((Mvg3)|[1-9]x?*(Mpli)|[1-9]S9|[1-9][0-9]S9|911|**0|***|#|**1(Msp1)|**2(Msp2)|**8(Mli)|**9(Mpp)|(Mpli))

Physical Interfaces -> PHONE Port -> OutboundCallRoute:
{(Mvg3):vg3},{([1-9]x?*(Mpli)):pp},{(<#:>|911):li},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp},{(Mpli):pli}

Service Providers -> ITSP Profile A -> General -> DigitMap:
(1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|xx.|(Mipd)|[^*#]@@.)

Gateways and Trunk Groups -> Voice Gateway3

Enable - Yes
Name - VOIPJumper
AccessNumber - SP1(sip.voipjumper.com)
DigitMap : (00xx.)
AuthUserID : username
AuthPassword : password
Title: Re: Voice Gateway Setup
Post by: zapattack on February 21, 2013, 10:35:16 PM
Question for anyone using Voice Gateways.
How long does it take for a VG call to complete? My Obi 110 takes a minimum of 10 seconds, but SP calls only take 2 seconds.
Testing with a LinkSys unit to unregistered provider shows completion in about 2 seconds also.
Tried using all the recommended configurations in the Forum.
Title: Re: Voice Gateway Setup
Post by: ArbitaryTwist on February 22, 2013, 06:21:00 AM
Quote from: azrobert on February 21, 2013, 08:38:23 PM
I don't see the problem, but try the below configuration. Why dial **3011xx or 011xx and have it converted to 00xx? Just dial 0091xxxxxxxxxx

Physical Interfaces -> PHONE Port -> DigitMap:
((Mvg3)|[1-9]x?*(Mpli)|[1-9]S9|[1-9][0-9]S9|911|**0|***|#|**1(Msp1)|**2(Msp2)|**8(Mli)|**9(Mpp)|(Mpli))

Physical Interfaces -> PHONE Port -> OutboundCallRoute:
{(Mvg3):vg3},{([1-9]x?*(Mpli)):pp},{(<#:>|911):li},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp},{(Mpli):pli}

Service Providers -> ITSP Profile A -> General -> DigitMap:
(1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|xx.|(Mipd)|[^*#]@@.)

Gateways and Trunk Groups -> Voice Gateway3

Enable - Yes
Name - VOIPJumper
AccessNumber - SP1(sip.voipjumper.com)
DigitMap : (00xx.)
AuthUserID : username
AuthPassword : password


As far as i understand, you have to dial 011 to dial out of USA/Canada. So don't think the 0091xxxxx will work.
Title: Re: Voice Gateway Setup
Post by: azrobert on February 22, 2013, 06:41:10 AM
<011:00>xx. in your digit map changes 011xx. to 00xx., so when you dial 01191xxxxx,  0091xxxxx is sent to VOIP Jumper.

If you need 01191xxxxxx sent to VOIP Jumper change the DigitMap in the Voice Gateway 3 in my config example to (011xx.), then dial 01191xxxxxx
Title: Re: Voice Gateway Setup
Post by: hwittenb on February 22, 2013, 07:19:11 AM
Quote from: ArbitaryTwist on February 22, 2013, 06:21:00 AM

As far as i understand, you have to dial 011 to dial out of USA/Canada. So don't think the 0091xxxxx will work.
The voipjumper faq says you dial 00:

Please note that when you call a number (even if it's local) you should always dial 00 + countrycode + areacode + subscribernumber

http://www.voipjumper.com/instructions#call
Title: Re: Voice Gateway Setup
Post by: ArbitaryTwist on February 22, 2013, 07:53:27 AM
Quote from: azrobert on February 22, 2013, 06:41:10 AM
<011:00>xx. in your digit map changes 011xx. to 00xx., so when you dial 01191xxxxx,  0091xxxxx is sent to VOIP Jumper.

If you need 01191xxxxxx sent to VOIP Jumper change the DigitMap in the Voice Gateway 3 in my config example to (011xx.), then dial 01191xxxxxx


Well i guess 011 doesn't matter, as i am using VOIP and not a Telco line.

So i changed the ITSP DigitMap to <**3>00xx. & VG3 Digitmap to (00xx.), but i still get the Service not configured error. Nothing shows up in the call history.
Title: Re: Voice Gateway Setup
Post by: ianobi on February 22, 2013, 07:57:30 AM
Going back to Reply #4, all of the digit maps etc look fine to me. I wonder if there is something odd about sp1 that's somehow preventing vg3 from "piggy-backing" using sp1's SIP functions. If voipjumper works fine when set up on sp2, then your username/password settings etc are all ok.

You might try setting up a "Fake" SIP provider on sp1 or sp2 and see if vg3 works through it. If you use sp2 then change the vg3 AccessNumber to SP2(sip.voipjumper.com). "Fake" SIP provider for sp2:

Service Providers -> ITSP Profile B -> SIP -> ProxyServer : 127.0.0.1

Voice Services -> SP2 Service -> Enable : (checked)
Voice Services -> SP2 Service -> AuthUserName : any letters/numbers
Voice Services -> SP2 Service -> X_RegisterEnable : (unchecked)
Voice Services -> SP2 Service -> X_ServProvProfile : B
Voice Services -> SP2 Service -> CallerIDName : Whatever

This does seems an odd problem, so just trying to narrow it down!
Title: Re: Voice Gateway Setup
Post by: azrobert on February 22, 2013, 08:30:33 AM
You are not following my example in Reply #11.  You have a conflicting definition in your configuration that nobody can see. That is why I removed the "**3" from your ITSP DigitMap and moved the rules to the beginning of your Phone DigitMap and OutboundCallRoute.

Edit:

Dial 0081xxxxx, not **30081xxxxx

Edit2:

What is your Phone Port Primary Line set to?
Title: Re: Voice Gateway Setup
Post by: ianobi on February 22, 2013, 09:04:03 AM
@ zapattack,

Often users leave the vgX DigitMap at xx. which always leads to a ten second delay while the OBi waits to see if you have finished dialling.
Title: Re: Voice Gateway Setup
Post by: ArbitaryTwist on February 22, 2013, 11:41:23 AM
Quote from: azrobert on February 22, 2013, 08:30:33 AM
You are not following my example in Reply #11.  You have a conflicting definition in your configuration that nobody can see. That is why I removed the "**3" from your ITSP DigitMap and moved the rules to the beginning of your Phone DigitMap and OutboundCallRoute.

Edit:

Dial 0081xxxxx, not **30081xxxxx

Edit2:

What is your Phone Port Primary Line set to?

Tried your setup, and still no go. Same error. I did dial 0091xxx.
Primary Line is set to SP1
Title: Re: Voice Gateway Setup
Post by: azrobert on February 22, 2013, 12:21:47 PM
I defined Speed Dial #18 as:
sp1(0081123456789@sip.voipjumper.com;ui=UserID:password)

I dialed 18#. The call went out SP1 and I received a response (403 Forbidden). This is what I expected because I don't have an account at VOIP Jumper.

Can you try using a Speed Dial just to see if it works. The Speed Dial will bypass any DigitMap or OutboundCallRoute processing.
Title: Re: Voice Gateway Setup
Post by: ArbitaryTwist on February 22, 2013, 12:30:25 PM
Quote from: azrobert on February 22, 2013, 12:21:47 PM
I defined Speed Dial #18 as:
sp1(0081123456789@sip.voipjumper.com;ui=UserID:password)

I dialed 18#. The call went out SP1 and I received a response (403 Forbidden). This is what I expected because I don't have an account at VOIP Jumper.

Can you try using a Speed Dial just to see if it works. The Speed Dial will bypass any DigitMap or OutboundCallRoute processing.


Well that works. Call went out as 0091xxxxxxxxx@sip.voipjumper.com through SP1 in call history
Title: Re: Voice Gateway Setup
Post by: azrobert on February 22, 2013, 12:52:40 PM
This proves sp1 is functioning.  Did the call connect to the number you dialed?

Now try a Speed Dial defined as:
vg3(0091123456789)
Title: Re: Voice Gateway Setup
Post by: ArbitaryTwist on February 22, 2013, 12:53:48 PM
Quote from: azrobert on February 22, 2013, 12:52:40 PM
This proves sp1 is functioning.  Did the call connect to the number you dialed?

Now try a Speed Dial defined as:
vg3(0091123456789)


Yes the call did go through. I just reset the OBI and adding it back to the Obi Dashboard.

EDIT:
Ok i went and reset the OBI and went back to my initial post settings and things seem to be working. I had done this once before too, but had the same problem. Really odd, but will let it run for bit to see how it works.

Only thing i want to add that is different from the last reset is, that i setup VG3 before Google Voice on SP2, but that shouldn't really matter.

Appreciate the help guys. Learning new tricks as you helped me troubleshoot it.
Again special thanks to Azrobert and Ianobi.
Title: Re: Voice Gateway Setup
Post by: zapattack on February 22, 2013, 06:04:11 PM
Tried many ways in the VG map
1 - point to the SP2 map (which normally immediately routes 10D calls to PBXes)
2 - copy just the 10 digit map segment   (xxxxxxxxxxS0)
3 - use xx.

All take the same 10 seconds, or more, using **3 or not.
I guess most people are satisfied if it just works, eventually, but I would expect a VG to work just as quickly as an SP.
Title: Re: Voice Gateway Setup
Post by: ianobi on February 23, 2013, 05:32:41 AM
That's odd. I find that VGs are as fast as SPs. The vgX DigitMap simply becomes part of the overall Phone Port DigitMap and Phone Port OutboundCallRoute in the same way as an MspX DigitMap.

It might be worth you setting up a speed dial using format vgX(1234567890). When used the OBi will send the number direct to the provider with no delay. This would show if the delays are definitely within the OBi.
Title: Re: Voice Gateway Setup
Post by: zapattack on February 23, 2013, 06:46:00 PM
Thanks, only thing I haven't tried.
Unfortunately everything else, N11, 310xxxx,10D, 11D, 011, works very smoothly to PBXes or GV (using a code), so this is a bit perplexing. Will report.
Title: Re: Voice Gateway Setup
Post by: zapattack on February 24, 2013, 10:22:23 AM
Put SP1 and 2 Maps to default, changed Primary Line, put exact 10D to vg3 code in Phone Digit Map and OCR, disabled GV and nothing changed!
Will have to try the route ArbitaryTwist took: reset back to basics and put VG3 in first.
Title: Re: Voice Gateway Setup
Post by: ianobi on February 24, 2013, 11:34:07 AM
If your cure works, then it could show a worrying trend. Maybe a firmware bug.

I would still try the speed dial test using format vgX(2345678901) This avoids the use of any digit maps or outboundcallroutes, so does elimate some possible causes.
Title: Re: Voice Gateway Setup
Post by: zapattack on February 24, 2013, 11:57:23 PM
My full reset unsuccessful because I forgot to delete it from dashboard. Even pushing the button with power off/on does not delete all settings (?) and I have all provisioning disabled.
Still have same delay with speed dial (**3NNNNNNNNNN) to local number.
Takes about 4 seconds before Call Status shows Terminal 2 info, then another 5-6 seconds to complete.
Need another non-register type of provider to prove anything.
Title: Re: Voice Gateway Setup
Post by: ianobi on February 25, 2013, 12:27:20 AM
Speed dial **3NNNNNNNNNN is not the same as using trunk format vgX(2345678901).

**3NNNNNNNNNN is the same as dialling from the Phone Port. It gets processed by the Phone Port DigitMap and Phone Port OutboundCallRoute. Trunk format vgX(2345678901) goes straight to trunk with no processing.
Title: Re: Voice Gateway Setup
Post by: zapattack on February 26, 2013, 01:10:08 PM
Sorry, meant VG3(NNN was no different than (**3NN for time to complete.
Longest delay is still after Call Status shows full sip address in Terminal 2 column.
Maybe Obi messages not properly handled by VoIP provider?
Title: Re: Voice Gateway Setup
Post by: ianobi on February 27, 2013, 10:38:37 AM
It does look like a voip provider problem. I've just tried various providers on my voice gateways - sip2sip, sipbroker, qxip - they all seem to connect without any measurable delay.

A few comments about voice gateways:

Trunk format vg6(2345678901) is super-fast. It does not refer to any digit map, not even its own. This is a good way to send out numbers that maybe you want banned from normal use via the Phone Port - maybe some sort of parental control? It's also a good way to test for delays outside of the OBi as the number is sent out with no processing delays. The vgX does not even have to be referred to in the Phone Port DigitMap or OutboundCallRoute if you only want to use it via speed dials. The downside of trunk format is that it only works from speed dials (or when used in call-forwarding etc) from the OBi device it will not work via OBiON or OBiAPP.

Number format **62345678901 is a little slower and will be processed through the Phone Port DigitMap (Mvg6 in this case) and the Phone Port OutboundCallRoute. The upsides are it can be dialled from the Phone Port, auto attendant or via speed dials. The digit maps are used so number transformation can be used.