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:
PHONE Port OutboundCallRoute:
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.
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).
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/