OBiTALK Community

General Support => Day-to-Day Use => Topic started by: MichiganTelephone on March 16, 2011, 10:57:22 am



Title: What would be a typical usage scenario for a Voice Gateway?
Post by: MichiganTelephone on March 16, 2011, 10:57:22 am
Repeat of a question I asked in a discussion on the Feature Requests, moved here at the suggestion of plugger2:

What I'd like to know, if anyone has the time and patience to explain it, is what might be a typical usage scenario for a Voice Gateway as it currently exists in the OBi devices — just something to help me understand why you might want to use one.

If this is something that's only useful if you are running OBiAPP then for the moment it probably wouldn't be useful to me personally, but I'd still like to be able to keep up with these discussions and understand all the capabilities of these devices.


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: murzik on March 16, 2011, 11:26:55 am
This is very easy. For example, I have 1 SP for incoming through voice mail. SP2 GV for outgoing US and Canada. Than I have few Betamax accounts for different international destinations, outgoing only.
The reason to have few Betamax accounts is because each Betamax company has different rates to different countries.
Because I will never receive any calls through Betamax, I can setup each Betamax account as voice gateway.
Then I will create a rule, if destination for example Russia use VG1(Betamax1), if Germany Vg2 (betamax2), etc. Also I can use voice gateway to call Inum providers or Voxalot  for peering with other sip networks.
Also with gateway you can call another sip device directly.


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: MichiganTelephone on March 16, 2011, 04:16:58 pm
murzik, thank you for the explanation.  I think it's finally beginning to make sense now!  :)


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: wintek on March 16, 2011, 04:30:22 pm
Here is a scenario which I use:

I have an account with Voip.ms where I have three DIDs. One is my home number for family & friends; one is my wife’s pseudo business. She’s a home health nurse, and one I use for business.  Voip.ms allows you to create sub-accounts with their own long on credentials and also allow you to set the outgoing Caller-ID on each account.  When we call family and friends our home CID is presented. When my wife calls her patients from our home phone the call goes out her CID.  This is important because when patients get her number they call her for every little thing.  So instead of they getting our home number (which they have in the past) they get her CID which can be presented with a distinctive ring and /or redirected to voice mail giving instructions to call the home office or 911 if emergency.  Similar situation on mine.  So being able to select the outgoing gateway allows us to use the home phone for business, but not having to react to incoming business calls.

On Voip.ms sub-accounts you can also track calls & expenses of which we write-0ff every year on our income taxes.


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: obi-support2 on March 17, 2011, 03:11:20 pm
Murzik pointed out the main usage of gateways.

I found it easier to explain in terms of AA. Suppose you would like to call a number of different OBi units (owned by yourself or your friends in other locations) in order to call further to take advantage of their SP/LINE trunks. Normally you let your OBi be a member of their circle-of-trust, ring-up their AA, then dial the target number, etc. This should be well understood by now. We refer to this way as 2-stage dialing.

With the gateway concept, we eliminate the AA step so that you can dial the target number directly. We refer to this way as 1-stage or direct dialing. The other OBi units whose SP/LINE trunks that you are allowed to use this way is called a gateway, and their OBi numbers are called access numbers. You can configure up to 8 Gateways in your own OBi, and refer to them as VG1, VG2, ..., VG8. Then by properly designing your digit map or ** code, you can select a gateway to make your call based on the number you dialed, and will not need to go through their AA first.

When you use AA, the AA may be set up to prompt you for a PIN for authentication. For a gateway, however, entering a PIN is not possible. A userid/password can be set up on each gateway OBi to serve the same purpose. You must then configure the same user/password on your own OBi's gateway configuration (AuthUserID and AuthPassword parameters for VG1 - VG8). Then the authentication can be automatically performed by the OBi's on your behalf.

On the gateway OBi side (the other OBi that offers you the service), it must have the InboundcCallRoute under OBiTALK service configured to allow incoming 1-stage call and which local trunk to use for those calls. For example, suppose you already have a circle-of-trust with 2 users, say 200111222 and 200333444, your current OBiTALK Service InboundCallRoute would be: {(200111222|200333444):aa}.
To accept 1-stage inbound calls, you can augment this to:
{(200111222|200333444):aa},{(200111222|200333444)>(Msp1):sp1}
This tells the OBi if someone makes a normal OBiTALK call (by dialing the 9-digit OBi number), ring the AA.
But if some makes a 1-stage call by dialing a number that matches (Msp1), bridge the call by dialing that number on SP1.

There are more information on this topic in the OBi AdminGuide.


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: MichiganTelephone on March 17, 2011, 04:57:13 pm
obi-support2, thank you for that clarification.  Now I understand both the original intended use of these gateways, and also how others are using them (or want to use them).

I'm assuming that when you say that "A userid/password can be set up on each gateway OBi to serve the same purpose" (as entering a PIN when going through the AA), that userid/password would be placed under Voice Services, OBiTALK Service, in the Inbound Direct Dialing Authentication (where it appears there is space to enter up to four different userid/password pairs). And then on the other end, you could enter one of those same userid/password credentials under Voice Services, Gateways and Trunk Groups, in one of the Voice Gateways.

So originally, this was only designed to allow one OBi device to create a "trunk" or "gateway" to another OBi device.  I understand that.  According to the documentation, the AccessNumber field is where you place "The gateway’s OBiTALK number, includeing[sic] trunk information, such as: PP(ob200112334) or PP(ob300331456)." But in the beta firmware, you can also use something such as sp1(mysp.com:5062) or sp2(192.168.1.100) to send calls to a SIP service provider that doesn't require authentication. But that doesn't make sense to me still - what's the point of the sp1()?  For example, lets say I wanted to send toll-free calls to tf.callwithus.com (which will accept them if this thread (http://www.broadbandreports.com/forum/r23826476-tollfreesiphappenscom-dead) is correct).  The whole point, I thought, is that you'd use this when you don't want to send those calls via sp1 or sp2.  So why would you put sp1 or sp2 there?  Or am I still not completely understanding this?


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: jimates on March 17, 2011, 05:16:25 pm
If you go to Voice Services > Gateways & Trunk Groups there are 8 gateways with separate settings, each one with a separate user id & pw.


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: obi-support2 on March 17, 2011, 05:31:08 pm
You are correct about the OBiTALK userid/password, etc.

Well, I was trying to keep the discussion simpler without mentioning the SIP URL case.

Yes, in 1.2 release, in addition to calling OBi number over OBiTALK Service to access an OBi gateway device, you can also use the same concept to access a SIP gateway over one of the SP trunks.
The SP trunk must use SIP protocol (not GV) for this to work.
So theoretically you can just put down sp1(myasteriskbox.com:5061) or sp2(192.168.15.115) as the
access numbers for VG1-8. We do not have the same userid/password settings under the
SP1/SP2 Service like those under OBiTALK service at the time.
For OBi gateway device, we recommend using OBiTALK Service to access.
For legacy SIP gateway device, you can use SIP as the access method.

Note that this SIP gateway support is very minimal, and borrows the SP1/2 SIP interface.
It does not have good support for NAT traversal for example.



Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: MichiganTelephone on March 17, 2011, 07:40:04 pm
As I say, I'm just trying to understand this.  So just as a test, I tried this (note this is with the beta firmware):

In Voice Gateway1:
Name: Toll Free
AccessNumber: sp2(tf.callwithus.com)

All other settings in VG1 I left at default.  I used sp2 because sp1 is a Google Voice trunk.

Under Physical Interfaces, Phone, in the OutboundCallRoute I added this rule:
{(1800xxxxxxx|1888xxxxxxx|1877xxxxxxx|1866xxxxxxx|1855xxxxxxx|1844xxxxxxx):vg1},

If I call a toll-free number the call does go through and I see this in the call history:

Terminal ID   PHONE1   SP2
Peer Name      
Peer Number   18005558355   18005558355@tf.callwithus.com
Direction   Outbound   Outbound
22:12:06   New Call   
22:12:09      Call Connected
22:13:04   End Call

So apparently that does work with the beta firmware.  Of course it's not sending a valid Caller ID as far as I can tell, but then some of these types of toll-free termination services don't pass Caller ID through anyway. EDIT: For the benefit of anyone else reading this, I later found that if you put a valid 10 digit number in the AuthUserID field of the Voice Gateway settings, it will sometimes use that as the outgoing Caller ID number.  This may not work with all services, but it's at least worth a try if you want to send a Caller ID number.  Of course, if you are actually registering with a SIP provider then they will likely determine the Caller ID that is sent.

Thanks for helping me understand this! Think it might be a good idea to make this thread sticky?


Title: Re: Wireless Access?
Post by: natts on March 20, 2011, 03:39:42 pm
I need to place the OBI where it can access the internet via WIFI.
What device can be used that will allow the OBI to obtain access to the internet, is easy to set up and use and be able to make reliable phone calls.

(1)Wireless Bridge?

(2) Access Point

(3) Repeater?

(4) Other


You expertise is welcome...oh OBI KANOBI


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: RonR on March 20, 2011, 03:59:29 pm
I use an older router loaded with Tomato firmware configured as a Wireless Ethernet Bridge to link a couple of DirecTV DVR's wirelessly to the Internet though my main router in the computer room.  It's been very reliable and should work equally well with an OBi or other wired ethernet device.


Title: Re: Wireless Access?
Post by: wintek on March 20, 2011, 04:19:13 pm

(1)Wireless Bridge?

You expertise is welcome...oh OBI KANOBI

I use a Linksys WET610N.  I have it connected to a 4 line IP Phone. No Problems.


Title: Outgoing calls though Google Voice as a "voice gateway" possible?
Post by: GizmoChicken on April 25, 2011, 02:04:41 am
Although I have yet to configure a "voice gateway" for a SIP account, I like think that I could probably figure out how to do so based on the informative posts in this thread.  Thanks to all!

But near as I can tell, since Google Voice accounts aren't SIP based, I can't create a "voice gateway" to make outgoing calls through a Google Voice account.  True?

Of if it is possible, would someone please point me thread explaining the configuration?


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: umesh on June 23, 2011, 09:34:24 pm
I am using fastvoip on the VG4, Nymgo on VG3 and GV on SP1. All my Incoming calls on GV account go to AA.

In my typical scenario, I use my call phone to call GV number and then from AA I create a new call thru VG3 or VG4.

My problem is when the call is bridged the call quality is consistently not good comapred to when I initiate a call thru Phone interface via VG3/VG4. Pl note all VSP here support G711 so what am I missing?

I use comcast 30(down)/4(up) mbps connection with zero packet loss and 10 ms ping time (speedtest.net). My network is pretty quiet. I use ASUS RT-N16 router flashed with tomato. So it's hard to blame router or ISP.

So what am I missing in my setup?

TIA,


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: randomLettersandNumbers on August 15, 2011, 09:17:50 pm
Wintek  -- I like that setup.  I'll have to learn more about the services provided by voip.ms.  But I am kind of lost in getting the home phone and business phone setup with the obi's manual config page.


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: randomLettersandNumbers on August 16, 2011, 06:30:31 pm
Here is a scenario which I use:

I have an account with Voip.ms where I have three DIDs. One is my home number for family & friends; one is my wife’s pseudo business. She’s a home health nurse, and one I use for business.  Voip.ms allows you to create sub-accounts with their own long on credentials and also allow you to set the outgoing Caller-ID on each account.  When we call family and friends our home CID is presented. When my wife calls her patients from our home phone the call goes out her CID.  This is important because when patients get her number they call her for every little thing.  So instead of they getting our home number (which they have in the past) they get her CID which can be presented with a distinctive ring and /or redirected to voice mail giving instructions to call the home office or 911 if emergency.  Similar situation on mine.  So being able to select the outgoing gateway allows us to use the home phone for business, but not having to react to incoming business calls.

On Voip.ms sub-accounts you can also track calls & expenses of which we write-0ff every year on our income taxes.


How is this structured with voip.ms?

Main Account: Personal Phone number
   1st----sub -- wife business
   2nd---sub -- wintek--business

Maybe something like that.  Do you have to use a IP based phone for these distinctive rings and CID changes?

This is exactly what I'm looking to do with the obitalk device.   Google voice is killing me with the best effort voice network.


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: QBZappy on August 16, 2011, 06:49:05 pm
No ip phone necessary. Regular phone attached to the OBi will do the job. Calls between sub accts are free. CID number can be unique for each acct/sub acct. Lots of other features, too numerous to mention them all. Check out their web site for more info. Two major features are missing on the regular DID number they offer. Incoming fax doesn't work on the regular DID number for me, and CID requires a very small database look up fee (USA users might need this service). CID is handled differently in Canada vs the US. The CID info is normally passed with the call. I don't pay for the database look up and I still get CID info. They sell a premium DID service which I think handles incoming faxes.

CID number and name can be spoofed using their service. Meaning that you can have any CID name and number show up on the outgoing call. Good feature to have for a DID with sub accts.


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: randomLettersandNumbers on August 16, 2011, 07:14:57 pm
No ip phone necessary. Regular phone attached to the OBi will do the job. Calls between sub accts are free. CID number can be unique for each acct/sub acct. Lots of other features, too numerous to mention them all.

CID number and name can be spoofed using their service. Meaning that you can have any CID name and number show up on the outgoing call. Good feature to have for a DID with sub accts.

The custom rings -- is that something your configure on the Obihai?  I saw section for ringtones but I didn't see a method of how to listen to them. Just numbered 1 through whatever.

I was looking at the config page for the obi -- http://wiki.voip.ms/article/OBi110

Can you guys provide more information on how to get multiple linkes setup on the obi under the profiles.  How do you access them and what are good outbound / inbound rules that should be place.


Finally, Have you guys had to add any firewall rules or QOS rules in your home router to help get the sip traffic to the obi faster versus haveing your streaming video, torrents, games or whatever getting priority traffic first?


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: QBZappy on August 16, 2011, 07:44:18 pm
The custom rings -- is that something your configure on the Obihai?  I saw section for ringtones but I didn't see a method of how to listen to them. Just numbered 1 through whatever.

Trial and error method. Once you have an acct setup you will have to call yourself and change the setting to a ring that you like.

I was looking at the config page for the obi -- http://wiki.voip.ms/article/OBi110

Can you guys provide more information on how to get multiple linkes setup on the obi under the profiles.  How do you access them and what are good outbound / inbound rules that should be place.

Once you get an acct with voip.ms, the sub acct is set up on their web portal. The sub acct is a variation of the main acct name that you can choose for yourself.

Remember that the OBi has 2 slots for setting up sip accts. If you need more sub accts you may need to setup using the OBi gateway. Setting up using an OBi gateway is slightly different. I'm not certain that voip.ms can be setp that way since I do not use the gateways. RonR can probably confirm that.

Finally, Have you guys had to add any firewall rules or QOS rules in your home router to help get the sip traffic to the obi faster versus haveing your streaming video, torrents, games or whatever getting priority traffic first?

I have. Not all routers/router firmwares are created equal. Many on this forum have mentioned using various routers moded with Tomato firmware or DDWRT. What router and firmware do you use?


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: randomLettersandNumbers on August 16, 2011, 11:14:16 pm
Trial and error method. Once you have an acct setup you will have to call yourself and change the setting to a ring that you like.
Gotcha.

Once you get an acct with voip.ms, the sub acct is set up on their web portal. The sub acct is a variation of the main acct name that you can choose for yourself.

Remember that the OBi has 2 slots for setting up sip accts. If you need more sub accts you may need to setup using the OBi gateway. Setting up using an OBi gateway is slightly different. I'm not certain that voip.ms can be setp that way since I do not use the gateways. RonR can probably confirm that.

I created an account with voip.ms.  Default setup. No sub accounts yet.  Haven't been able to plow through the guide.  So, I want to have a personal friends&family line and my wife's business line.  You said that the Obi only has 2 slots for SP1 and SP2.

If I understand this correctly then: 
I create 2 subaccounts.

subaccount one: 13xxxx_home
Subaccount two: 13xxxx_business

In order to complete these subaccount setups I need to get two DID USA phone numbers in some area of my region that is reasonably close.


subaccount one: 13xxxx_home
Subaccount two: 13xxxx_business

Authentication type  -- User/Password Authentication  -- 13xxxx_home     
Authentication type  -- User/Password Authentication  --13xxxx_business
Account names can be home and business.

CallerID Number?  Is that the two DID numbers I would enter from the purchased DID USA numbers?

I'm in South Carolina so is picking the Atlanta server the best bet?

If I wanted to add in my cell phone as additional sub account then your saying this wouldn't work right because you have to have a 1:1 ratio with subaccounts to SP1 slots on the OBI?

I would like to have the inbound number that rings the "business" line to ring the phone connect to the obi AND ring my wife's cell phone between 9Am-5PM.  Otherwise, inbound will then go to voicemail.

Home phone will just go to voice mail after X amount of rings or whatever. 


I guess the password is just something made up and only a part of the voip.ms site.


Once sub accounts are setup on the voip.ms side.   Did you just use the config guide that is posted for Obi on the voip.ms website and mirror similar setup for the SP2 slot for the 2nd business number?

I have. Not all routers/router firmwares are created equal. Many on this forum have mentioned using various routers moded with Tomato firmware or DDWRT. What router and firmware do you use?

I have the DLINK -DGL4500 router.  I tried some QOS rules in the "game fuel" section to prioritize Google voice and chat traffic but that seemed to not make a difference with the unreliable Google voice service. People call they can't hear me, or they cannot hear me speaking when I call. It was frustrating.


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: QBZappy on August 17, 2011, 05:23:10 am

I created an account with voip.ms.  Default setup. No sub accounts yet.  Haven't been able to plow through the guide.  So, I want to have a personal friends&family line and my wife's business line.  You said that the Obi only has 2 slots for SP1 and SP2.

If I understand this correctly then:  
I create 2 subaccounts.

subaccount one: 13xxxx_home
Subaccount two: 13xxxx_business

You could also set it up this way. You are not obliged to create all sub accts. I understand that you want to handle two incoming calls.

1) Main acct (home) Acct name is what ever voipms gave you = 13xxxx
2) Sub acct (business) Acct name = 13xxxx_business


CallerID Number?  Is that the two DID numbers I would enter from the purchased DID USA numbers?

You only need to purchase one DID. The sub acct is a variation of the main DID number you will be given by voipms. Your voipms billing will relect the activity by main and sub accts. You can port your current number to voipms for $25 if you want to cancell your current service, or you can keep current service and call forward unconditionally to the voipms tel number. When you make outgoing calls you can over ride the voipms CID name and number if you like. Before you decide to port I would suggest to test the service with voipms.


I'm in South Carolina so is picking the Atlanta server the best bet?

Should work that way. You can ping the servers to see which gives the shortest ping times.


If I wanted to add in my cell phone as additional sub account then your saying this wouldn't work right because you have to have a 1:1 ratio with subaccounts to SP1 slots on the OBI?

I'm not certain what you mean by this. How do you want to add your cell phone as a sub acct? Do you want the cell to receive incoming calls? If so then a third sub acct on the voipms portal could be setup. You can handle call forwarding on their portal.


I would like to have the inbound number that rings the "business" line to ring the phone connect to the obi AND ring my wife's cell phone between 9Am-5PM.  Otherwise, inbound will then go to voicemail.

Home phone will just go to voice mail after X amount of rings or whatever.  

Controlling the call handling via schedule requires a real PBX. OBi can not handle that. I don't think voipms can do that either.


Home phone will just go to voice mail after X amount of rings or whatever.  

That can be setup on the voipms portal if you plan to use their voice mail, or you can use voipms to send the call to another service such as your cell phone on busy or no answer if you prefer to use that voice mail service. All that can be setup on the voipms portal.

Have a look at this page. Mango has answered many general questions regarding the service.
http://www.digitalhome.ca/forum/showthread.php?t=92697&page=5

Since you have opened an account you should know that voipms has a good live chat system. If you have any other questions directly related to their service you may want to ask there. Any OBi related questions regarding dial plans, configuration, etc... are better asked on this forum. Their wiki info on OBi setup may not be as good as the support provided on this forum.

Good luck.


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: randomLettersandNumbers on August 17, 2011, 08:08:40 pm
You could also set it up this way. You are not obliged to create all sub accts. I understand that you want to handle two incoming calls.

1) Main acct (home) Acct name is what ever voipms gave you = 13xxxx
2) Sub acct (business) Acct name = 13xxxx_business
I added this:
3) Sub acct (cell) Acct name = 13xxxx_cell


Simplified. Restructured it to be like this.

You only need to purchase one DID. The sub acct is a variation of the main DID number you will be given by voipms. Your voipms billing will relect the activity by main and sub accts. You can port your current number to voipms for $25 if you want to cancell your current service, or you can keep current service and call forward unconditionally to the voipms tel number. When you make outgoing calls you can over ride the voipms CID name and number if you like. Before you decide to port I would suggest to test the service with voipms.

You mentioned that you only need one DID.  I don't see how that would work if friend get one phone number and my wife gives her seperate business number to other people to call.  Soudns like two DID numbers.


Do you want the cell to receive incoming calls? If so then a third sub acct on the voipms portal could be setup. You can handle call forwarding on their portal.

Yes. I would like the incoming business phone number to rind.  In the rules I suppose after 6 rings, the call forwarding voipms portal would be configured to send the call to the cell phone (2nd sub account).  From other documentation it looks like you can create call groups.  However, I'm not sure it that just rings through one phone to the other or if the call can rind to the two devices at the same time?


With the main account and sub accounts is all this showing up on the obitalk config page for voipms as being one SP1 slot taking up. Meaning that you just have to configure the main voipms account with the obi110 device.  All the othe sub accounts just work interanlly within voipms and when certain rules are met it send the call to the configured SP1 slot?

Does that make sense?

Thanks!


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: QBZappy on August 18, 2011, 09:18:04 am
You mentioned that you only need one DID.  I don't see how that would work if friend get one phone number and my wife gives her seperate business number to other people to call.  Soudns like two DID numbers.

I was thinking that you could setup voipms with an IVR (Digital Assistant) where you press 1 goes to main acct , press 2 goes to sub acct, etc...

You could of course pay for another DID number and use it under the same acct and route it to wherever main acct or sub acct you choose.

Yes. I would like the incoming business phone number to rind.  In the rules I suppose after 6 rings, the call forwarding voipms portal would be configured to send the call to the cell phone (2nd sub account).  From other documentation it looks like you can create call groups.  However, I'm not sure it that just rings through one phone to the other or if the call can rind to the two devices at the same time?

From voipms site:
A Ring Group allows an incoming call to be redirected to a designated group of extensions where a member of the group is able to answer.

When you receive a call to a DID routed to a Ring Group, all members of that group will ring at the same time untill one of them answers the call.

You can add various types of members to a ring group:

    Main Account
    Sub Accounts
    SIP URI's
    Forwardings


All devices will ring at the same time in a Ring Group.

With the main account and sub accounts is all this showing up on the obitalk config page for voipms as being one SP1 slot taking up. Meaning that you just have to configure the main voipms account with the obi110 device.  All the othe sub accounts just work interanlly within voipms and when certain rules are met it send the call to the configured SP1 slot?

Each main acct and each sub acct will take up one SP slot. If you need more sub accts to ring the OBi your choices are:
Might be able configure voipms through OBi gateways,
Get another OBi
Bypass the OBi completely by using a call forwarding strategy to your cell directly from the voipms portal.

I have not setup anything using the OBi gateways. RonR or others should be able to confirm if it is possible to setup voipms using gateways.

Bonus: Create a new time condition
Voipms can indeed create a rule based on time. You can have calls routed/forwarded to an acct(sub acct)/cell based on the time of day.


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: randomLettersandNumbers on August 18, 2011, 10:33:05 pm
I haven't been able to get the call forwarding to work.

sub1 Business
sub2 cellphone.

I made a ring group "Business group" and linked subaccounts 1&2 to it.  I Also configured sub1 Business account to have the "business group" assigned to it.

Now I assume I have to work call forwarding magic rule and choosed the sub account and the input the cellphone number.

When the ring group is used, the phone call goes to the physical phone at the house, at the same, sub account 2 rings the cellphone.  Now it just depends on who answers which device first.  However, when I click on the call forwarding link I don't get a response.  I just have this message "If a Call Forwarding has a CallerID Override and is used within a Ring Group, then it will Override all CallerIDs for all Calls made by that Ring Group. " 

That's as far as I can get.

Now, I set up the obi sp1 and sp2 with the main account and sub1.  Outbound and inbound seems to work fine. 

I was under the impression that you could control the callerID for outbound calls.  Try as I could, I can enter in "ACME Business" as the callerID for the subaccount1 business.    If I leave it blank, and call a phone, then the VOIP.ms server "214 area code" appears.

I went into the obidevice website. Selected the second profile and saw a callerID field there too.  I tried "ACME Business" there too. Rebooted the Obi.  I called from the business phone number and did not get the desired result.

Am I doing this wrong and going to the wrong setting?

Voice Service\SP2 Service \ 
Modify CallerIDName with "Acme Business" and I don't see it posted on the outbound calls.


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: QBZappy on August 19, 2011, 06:01:29 am
Did you set your CallerIDName and check mark allow CID spoofing


Voice Services->SP1/2 Service->Calling Features->CallerIDName = ACME Business
Service Providers->ITSP Profile A->SIP->X_SpoofCallerID = checkmarked


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: randomLettersandNumbers on August 19, 2011, 06:03:09 pm
I set those two options for the SP2 (business line is on that) and checkmared X_spoofCallerID. All settings are done on the "B" profile.

Sometimes the CallerIDName field will remain blank and default checkmark is set after a reboot.  Other times it is successufl with Leaving "ACME Business" in the field.

Maybe it takes time to propogate (I don't think it does since the ATA is supplying the info) but when I call my cell phone the ID is "UNKNOWN". 

Does profile "A" need to have caller ID spoof as well?  Seems unrelated.

Thanks for the help so far.  I have to contact voip.ms about the voicemail.  I created two boxes. One for home and the other for the business.  The directions say use *97 to call the voicemail. I just get the busy signal.

Tried *97 = busy signal.
Tried **1 and **2 after pressing *97 and failed.



Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: QBZappy on August 19, 2011, 06:50:40 pm
Sometimes the CallerIDName field will remain blank and default checkmark is set after a reboot.  Other times it is successufl with Leaving "ACME Business" in the field.

Maybe it takes time to propogate (I don't think it does since the ATA is supplying the info) but when I call my cell phone the ID is "UNKNOWN".  

CID name should show up after rebooting the OBi and then registering with the voipms service. Note that the CID number is controlled via the voipms portal, if you want to change it from the voipms tel number to something else. If you are configuring the OBi unit locally via its web interface you need to disable.

System Management>Auto Provisioning>OBiTalk Provisioning = "Disabled"

otherwise your local changes will be overridden by the OBitalk Portal settings.

Does profile "A" need to have caller ID spoof as well?  Seems unrelated.

If the service provider does not spoof the CID it will make no difference.

This should have been posted in another thread. Nothing really to do with voice gateways.


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: randomLettersandNumbers on August 21, 2011, 08:22:04 pm
Since you were helping me out I figured I'd just keep the information in the same thread. May help somebody else out.

CID spoofing hasn't worked for me so far.  Sub account CID info is left blank.  I've disabled the auto provisioning with the OBI.  However, after continuing to put the ACME Business for the CID name for profile, the name just doesn't stick.


I sent an email to voip.ms about checking voicemail for the two DID's I have.  Voip.ms says to use *97 or *98 however, when that is pressed on the phone device to check VM's I immediately get the busy signal.  I've tried **1 (Profile A) then *97 and get the busy signal.  So, it's not totally clear how I would check the voicemail for both lines.   I would guess you would reach the system, punch in the correct mailbox and pin number but I can't even get that far.

About the only way I reached the voicemail was when I used the time condition for a ring group. Incoming calls to the business line are also forwarded to a cell phone.  When after 6PM, the call actually goes to the voicemail.  During business hours, the call rings both the house phone and the cell.  If no one answers then call ends up hitting the Cell voice mail instead of the voip.ms voicemail box. I thought that was strange as I would of that the voip.ms VM would be hit and not the cell phone VM.


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: RonR on August 21, 2011, 08:45:20 pm
I've disabled the auto provisioning with the OBI.  However, after continuing to put the ACME Business for the CID name for profile, the name just doesn't stick.

Are you sure you disabled Auto Provisioning and not Auto Firmware Update.

Voip.ms says to use *97 or *98 however, when that is pressed on the phone device to check VM's I immediately get the busy signal.

You will need to add rules for *97 and/or *98 to the appropriate DigitMap's:

Service Providers -> ITSP Profile x -> General -> DigitMap : (*97|*98|...)


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: kleung on August 25, 2011, 02:22:41 pm
I've disabled the auto provisioning with the OBI.  However, after continuing to put the ACME Business for the CID name for profile, the name just doesn't stick.

Are you sure you disabled Auto Provisioning and not Auto Firmware Update.

Voip.ms says to use *97 or *98 however, when that is pressed on the phone device to check VM's I immediately get the busy signal.

You will need to add rules for *97 and/or *98 to the appropriate DigitMap's:

Service Providers -> ITSP Profile x -> General -> DigitMap : (*97|*98|...)


I am in similar situation as the poster. I have Obi100, and install GV on SP1, install VOIP.MS on SP2.
I can't call from my Obi device to *97 to check voip.ms voicemail, I tried *97 and **2*97, only hear busy signal.
I tried what you suggested "add rules for *97 and/or *98 to the appropriate DigitMap's", then I dial *97 to voip.ms VM, but all other calls (toll free and US 10digital calls) are giving busy signal.
I also disable Auto Provision, Auto firmware update too.
I truly hope someone can help fixing this problem.
Thank you.


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: RonR on August 25, 2011, 02:27:17 pm
Service Providers -> ITSP Profile B -> General -> DigitMap:

(*97|*98|1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|<1aaa>xxxxxxx|011xx.|(Mipd)|[^*]@@.'@'@@.)

where aaa is your local area code.

This should allow dialing: *97, *98, 7/10/11 digits, and 011+

If SP2 is not your PrinaryLine, you will need to dial **2*97 or **2*98.

If SP1 is your PrimaryLine and you'd like *97 and *98 automatically routed to SP2, also set:

Service Providers -> ITSP Profile A -> General -> DigitMap:

(<**2>*97|<**2>*98|1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|<1aaa>xxxxxxx|011xx.|(Mipd)|[^*]@@.'@'@@.)

where aaa is your local area code.


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: kleung on August 25, 2011, 03:00:32 pm
Good news, Ron.
Your suggestion to put that (<**2>*97|<**2>*98|1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|<1aaa>xxxxxxx|011xx.|(Mipd)|[^*]@@.'@'@@.)    into SP2 digit-map thingy.
Fix my obi and voip.ms voicemail problem.

I set my SP2 as my default line, so I just did one digitmap correction.
VOIP.MS faq and forum should put this (<**2>*97|<**2>*98|1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|<1aaa>xxxxxxx|011xx.|(Mipd)|[^*]@@.'@'@@.)   as their sticky.

Thank you for your help. :)


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: RonR on August 25, 2011, 03:07:13 pm
Your suggestion to put that (<**2>*97|<**2>*98|1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|<1aaa>xxxxxxx|011xx.|(Mipd)|[^*]@@.'@'@@.)    into SP2 digit-map thingy.
Fix my obi and voip.ms voicemail problem.

Actually, the DigitMap for SP2 (ITSP Profile B) should be:

(*97|*98|1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|<1aaa>xxxxxxx|011xx.|(Mipd)|[^*]@@.'@'@@.)

You should not have the <**2> in front of *97 and *98.


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: kleung on August 25, 2011, 03:16:17 pm
Your suggestion to put that (<**2>*97|<**2>*98|1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|<1aaa>xxxxxxx|011xx.|(Mipd)|[^*]@@.'@'@@.)    into SP2 digit-map thingy.
Fix my obi and voip.ms voicemail problem.

Actually, the DigitMap for SP2 (ITSP Profile B) should be:

(*97|*98|1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|<1aaa>xxxxxxx|011xx.|(Mipd)|[^*]@@.'@'@@.)

You should not have the <**2> in front of *97 and *98.

You are right. It was my typing mistake here. I input (*97|*98|1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|<1281>xxxxxxx|011xx.|(Mipd)|[^*]@@.'@'@@.)   to my ITSP Profile B DigitMap.
Kudos to you!


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: Ostracus on September 16, 2011, 08:56:15 pm
My vote for RonR's solution. It made a complicated problem simple. Course I still have to keep the DID, but it'll make a nice placeholder till I decide to port.


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: JoeThePlumber on November 07, 2011, 09:28:06 pm
This is very easy. For example, I have 1 SP for incoming through voice mail. SP2 GV for outgoing US and Canada. Than I have few Betamax accounts for different international destinations, outgoing only.
The reason to have few Betamax accounts is because each Betamax company has different rates to different countries.
Because I will never receive any calls through Betamax, I can setup each Betamax account as voice gateway.
Then I will create a rule, if destination for example Russia use VG1(Betamax1), if Germany Vg2 (betamax2), etc. Also I can use voice gateway to call Inum providers or Voxalot  for peering with other sip networks.
Also with gateway you can call another sip device directly.

I've heard that voice gateway only works for providers that allow unregistered calls.  Do those betamax resellers allow unregistered calls.  I am particularly interested in Nonoh, which have 120 free days for call China.

Thanks!


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: Deepsea on June 05, 2012, 06:33:30 pm
As I say, I'm just trying to understand this.  So just as a test, I tried this (note this is with the beta firmware):

In Voice Gateway1:
Name: Toll Free
AccessNumber: sp2(tf.callwithus.com)

All other settings in VG1 I left at default.  I used sp2 because sp1 is a Google Voice trunk.

Under Physical Interfaces, Phone, in the OutboundCallRoute I added this rule:
{(1800xxxxxxx|1888xxxxxxx|1877xxxxxxx|1866xxxxxxx|1855xxxxxxx|1844xxxxxxx):vg1},

If I call a toll-free number the call does go through and I see this in the call history:

Thanks for the posting. I did exactly the same thing but always got the message "there is no service available to complete your call". What about the credentials of callwithus? Did you put them under VG1?


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: MichiganTelephone on June 05, 2012, 09:35:50 pm
As I say, I'm just trying to understand this.  So just as a test, I tried this (note this is with the beta firmware):

In Voice Gateway1:
Name: Toll Free
AccessNumber: sp2(tf.callwithus.com)

All other settings in VG1 I left at default.  I used sp2 because sp1 is a Google Voice trunk.

Under Physical Interfaces, Phone, in the OutboundCallRoute I added this rule:
{(1800xxxxxxx|1888xxxxxxx|1877xxxxxxx|1866xxxxxxx|1855xxxxxxx|1844xxxxxxx):vg1},

If I call a toll-free number the call does go through and I see this in the call history:

Thanks for the posting. I did exactly the same thing but always got the message "there is no service available to complete your call". What about the credentials of callwithus? Did you put them under VG1?

Deepsea, see my reply in your other thread (http://www.obitalk.com/forum/index.php?topic=3392.0), but to answer your questions, you don't need credentials to send toll-free calls to tf.callwithus.com (or at least you didn't when I wrote the above post).


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: Hortoristic on August 30, 2012, 04:27:13 pm
How do you when you pick up phone then dial say our wife calls a person for her nurse activities, make it auto dispaly the correct CID?  Do you have to dial star codes then the number so it knows to display her nurse CID instead of your home CID?

Here is a scenario which I use:

I have an account with Voip.ms where I have three DIDs. One is my home number for family & friends; one is my wife’s pseudo business. She’s a home health nurse, and one I use for business.  Voip.ms allows you to create sub-accounts with their own long on credentials and also allow you to set the outgoing Caller-ID on each account.  When we call family and friends our home CID is presented. When my wife calls her patients from our home phone the call goes out her CID.  This is important because when patients get her number they call her for every little thing.  So instead of they getting our home number (which they have in the past) they get her CID which can be presented with a distinctive ring and /or redirected to voice mail giving instructions to call the home office or 911 if emergency.  Similar situation on mine.  So being able to select the outgoing gateway allows us to use the home phone for business, but not having to react to incoming business calls.

On Voip.ms sub-accounts you can also track calls & expenses of which we write-0ff every year on our income taxes.



Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: jimates on August 30, 2012, 06:06:43 pm
yes. just dialing will use the default trunk. then pressing **2+number uses the other trunk and therefore the corresponding caller id.


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: Lavarock7 on October 22, 2012, 10:04:50 am
What I didn't get when setting up a gateway was the:
AccessNumber: spx(provider)

I was setting up GW3 and used "3" and "X" before the provider in parenthes and got no where. Then I realized that the "X" stood for the SIP service provider that this refers to.

If GV is SP!, you must have a SP set up as SP2 as described in the writeup. These gateways would use SP2.

I have GV as SP1 and UK.DDI as SP2. My GW3 is VOIP.MS. It points to SP2. On VOIP.MS's site even though configured, the connection I set up will not show connected on their side.


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: QBZappy on October 22, 2012, 10:20:28 am
Lavarock7,

Another subtlety in using gateways is that it works with voip services which do not need to be registered to. This limits the pool of commercial voip providers which you can use as a gateway. I think the original intent was to allow OBi to OBi gateway use.


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: restamp on April 22, 2015, 01:20:33 pm
Let me make sure my understanding of Voice Gateways is correct:  Voice Gateways were originally intended as a means for implementing 1-stage dialing through the OBiTalk interface, but as some point this was extended to allow them to work with a SIP connection as well.  But, these trunks are essentially originate-only:  They can be used for placing calls, but will not stay connected to a VoIP provider once that call is complete, and thus they cannot be used to receive incoming calls.  They are useful for OBiTalk trunking applications, for calling out without tying up an incoming trunk, and for other specialized applications, such as wanting to present a special caller-id to the called party.

Is that about right?  If not, what have I gotten wrong?


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: Ostracus on April 22, 2015, 10:20:21 pm
There's also connecting to Asterisk, and freeing up an SP slot.


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: restamp on April 22, 2015, 11:42:00 pm
Right -- Asterisk.  But VGs are still only usable with Asterisk on an outgoing-only basis, right?  (From the perspective of an ATA, I tend to think of Asterisk as just another VoIP provider.)  If you want both inbound and outbound access to Asterisk, you have to use up an SP, right?


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: drgeoff on April 30, 2015, 01:33:34 am
Right -- Asterisk.  But VGs are still only usable with Asterisk on an outgoing-only basis, right?  (From the perspective of an ATA, I tend to think of Asterisk as just another VoIP provider.)  If you want both inbound and outbound access to Asterisk, you have to use up an SP, right?
No you don't need to use up an SP for inbound and outbound access to Asterisk. Asterisk can call into an OBi directly the same way that SIP spammers do.


Title: Re: What would be a typical usage scenario for a Voice Gateway?
Post by: restamp on May 03, 2015, 12:28:29 pm
Right.  I saw a -- I think it was your -- post on how to do this after I posted the above here.  I saved it for later reference.  I haven't tried implementing it yet since, frankly, I have not run out of SP trunks yet and I haven't converted my OBi to a static IP, but it's good to know how.  Thanks.