Using OBi Voice Gateways with SIP Providers
RonR:
Ever wish the OBi supported using additional SIP providers for more outbound calling options? Ever wish you could call people on other VoIP networks directly from your OBi using Sip Broker? Ever wish you could call people directly from your OBi using their iNum number? Well, you can, thanks to the Voice Gateways present in the OBi. In this example, I'll show you how to add two additional SIP providers, calling via Sip Broker, and iNum calling.
NOTE: You must have at least one OBi Voice Service (SPx/ITSPx) configured for SIP. If you don't wish to configure a SIP provider on an SPx/ITSPx, simply set Service Providers -> ITSPx -> SIP -> ProxyServer to 127.0.0.1 and uncheck Voice Services -> SPx -> X_RegisterEnable. Also, the SIP providers used in Voice Gateways must allow calling without SIP registration (many do, some don't). Sip Broker and iNum calling do not use SIP registration.
The additional calling capability is added through the use of **3, **4, **6, and **7 dialing prefixes. [**5 cannot be used as a dialing prefix because it's hard-coded into the OBi for use by Obihai.] In this example, **3 and **4 will be used for additional SIP providers, **6 will be used for calling via Sp Broker, and **7 will be used for iNum calling.
To begin, you'll need to make a couple of additions to your PHONE Port DigitMap and PHONE Port OutboundCallRoute to add support for the new dialing prefixes:
Phone Port DigitMap:
|**1(Msp1)|**2(Msp2)|**3(Mvg3)|**4(Mvg4)|**6(Mvg6)|**7(Mvg7)|**8(Mli)|**9(Mpp)|
PHONE Port OutboundCallRoute:
{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**3:>(Mvg3)):vg3},{(<**4:>(Mvg4)):vg4},
{(<**6:>(Mvg6)):vg6},{(<**7:>(Mvg7)):vg7},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp},{(Mpli):pli}
This creates the following associations:
**3 -> Voice Gateway3 (VG3)
**4 -> Voice Gateway4 (VG4)
**6 -> Voice Gateway6 (VG6)
**7 -> Voice Gateway7 (VG7)
Now, let's set up additional VoIP providers on Voice Gateway3 and Voice Gateway4.
Voice Gateway3 will be used with Whistlephone:
Name : Whistlephone
AccessNumber : SPx(proxy.whistlephone.com)
DigitMap : (Mste)
AuthUserID : your_whistlephone_user_id
AuthPassword : your_whistlephone_password
Voice Gateway4 will be used with IdeaSIP:
Name : IdeaSIP
AccessNumber : SPx(proxy.ideasip.com)
DigitMap : (Mste)
AuthUserID : your_ideasip_user_id
AuthPassword : your_ideasip_password
Next, let's configure Voice Gateway6 for calling via Sip Broker:
Name : Sip Broker
AccessNumber : SPx(sipbroker.com)
DigitMap : (<*>[x*][x*].|*[x*][x*].)
Next, let's configure Voice Gateway7 for iNum calling:
Name : iNum
AccessNumber : SPx(sip.inum.net)
DigitMap : (<8835100>xxxxxxxx|8835100xxxxxxxx)
And finally, let's configure the User Defined DigitMap referenced in Voice Gateway3 and Voice Gateway4:
Label : ste
DigitMap : (1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|<1aaa>xxxxxxx|011xx.|(Mipd)|[^*]@@.'@'@@.)
where aaa is your local area code.
Following a reboot, the OBi should be ready to use its new capabilities.
Dialing **3 + number should place a PSTN call using Whistlephone.
Dialing **4 + number should place a PSTN call using IdeaSIP.
Dialing **6 + SIP code + number should place a VoIP call via Sip Broker.
For example:
Dialing **6 011 188888 should connect you with the Sip Broker test announcement.
Dialing **6 010 123456 should connect you with the Voxalot number 123456.
Dialing **6 747 17471234567 should connect you with the Gizmo5 number 1-747-123-4567.
For more details on Sip Broker, please visit : http://www.sipbroker.com/
Dialing **7 + number should place a VoIP call to an iNum number.
NOTE: Use only the last 8 digits of the iNum number (8835100 will be prepended for you).
For example:
Dialing **7 00000091 should connect you with the iNum echo test.
Dialing **7 04123456 should connect you with the Voxalot number 123456.
Dialing **7 71234567 should connect you with the Gizmo5 number 1-747-123-4567.
For more details on iNum, please visit : http://www.inum.net/
srhuston:
I'm looking around their website, but maybe one of the gurus here knows; does Sipgate "allow calling without SIP registration"? If so my plans for 911 capability with my OBi110 just got easier; two GV accounts setup as SP1/SP2 and Sipgate in one of the voice gateways with my E911 data registered with them (and the associated monthly fee).
RonR:
Quote from: srhuston on March 29, 2011, 02:02:34 pm
two GV accounts setup as SP1/SP2 and Sipgate in one of the voice gateways with my E911 data registered with them (and the associated monthly fee).
You missed a major restriction the OBi developers placed on using Voice Gateways with SIP:
NOTE: You must have at least one SIP provider already configured on the OBi using SPx/ITSPx.
Google Voice is not a SIP provider.
oleg:
Hi RonR,
Quote
**5 cannot be used as a dialing prefix because it's hard-coded into the OBi for use by Obihai.
Could you point out where is that said / documented?
BTW, I am glad your philosophy is turning toward mine ;)
Quote from: RonR on March 23, 2011, 09:42:27 pm
My general philosophy is to leave the PHONE Port DigitMap and OutboundCallRoute unmodified.
RonR:
Quote from: oleg on March 29, 2011, 02:20:27 pm
Quote
**5 cannot be used as a dialing prefix because it's hard-coded into the OBi for use by Obihai.
Could you point out where is that said / documented?
Dialing **5 + number unconditionally sends number to the OBiTALK server. You can try it yourself (no changes are necessary). I tried to override it in the DigitMap/OutboundCallRoute, but was unsuccessful.
Quote from: oleg on March 29, 2011, 02:20:27 pm
BTW, I am glad your philosophy is turning toward mine ;)
Quote from: RonR on March 23, 2011, 09:42:27 pm
My general philosophy is to leave the PHONE Port DigitMap and OutboundCallRoute unmodified.
I knew someone would call me out on that the instant I wrote it. :)
I also said "it's generally a good idea to leave them both unmodified unless you fully understand the ramifications of changing them." I do. :)
I'm sure you understand that these 'modifications' are totally non-controversial and maintain the 1-to-1 philosophy of the default settings.
Navigation
[0] Message Index
[#] Next page