News:

On Tuesday September 6th the forum will be down for maintenance from 9:30 PM to 11:59 PM PDT

Main Menu

Anyone here using Obi 110 for FXO with PBX In A Flash ??

Started by vtsnaab, April 18, 2015, 03:13:58 PM

Previous topic - Next topic

vtsnaab

This idea was suggested to me at the PIAF forum.

There is very little info to be found about the subject.

There is this older posting here:
http://www.obitalk.com/forum/index.php?topic=57.0

I did a search on Obi110 PBX PSTN and also found:
QuoteConfiguring an Obi 110 Device as an FXO Gateway (i.e., to allow FreePBX to use a regular phone line)
http://wiki.freepbx.org/pages/viewpage.action?pageId=4161594

Searching on obi110 pbx pstn fxo asterisk brought a bit more info, such as this excerpt:
Quote"Review of the Obihai OBi110 VoIP device, Part 4: How to use the OBi110 as an FXO port with Asterisk and FreePBX"
http://tech.iprock.com/?p=3208

And this one, which may not fit if using an Obi with PIAF ??:
QuoteConfiguring the OBiHai OBi110 to replace a linksys spa-3102 as a google voice and pstn gateway using asterisk 1.4
http://www.adrianandgenese.com/blog...le-voice-and-pstn-gateway-using-asterisk-1-4/

And this post also seems related:
Quotehttp://pbxinaflash.com/community/index.php?threads/awesome-obihai-obi110-ata-with-google-voice.9364/

Pretty much anything I can find dates back several years and is not specific to using the Obi110 as an FXO device (with PIAF...).

I also found that I really had to add -raspberry to my searches just to avoid all the RPi stuff that does not interest me at all right now.
Sadly there were just very few results in all my searching.

If anyone here has more (and possibly more specific) info, it will be hugely appreciated ?!?

Thanks.

azrobert

Asterisk

Setup an outbound trunk without registration for the OBi110:
Peer Details:
type=peer
username=OBi110
host=192.168.1.110       (IP Addr and OBi110)
port=5061                        (Port of SP2)
fromuser=OBi110
canreinvite=no
insecure=invite,port
qualify=yes

Setup an outbound route for above trunk
Setup an inbound route for 900 (See OBi110 Line inbound route)

OBi110

SP2 must be defined as an SIP trunk to send/receive to/from Asterisk.
If SP2 is not defined, setup a dummy SIP definition like this:

Service Providers -> ITSP Profile B -> SIP -> ProxyServer: 127.0.0.1
Voice Services -> SP2 Service -> AuthUserName: OBi110
Voice Services -> SP2 Service -> X_RegisterEnable: (unchecked)
Voice Services -> SP2 Service -> X_ServProvProfile: B

Pass CallerID to Asterisk
Service Providers -> ITSP Profile B -> SIP -> X_SpoofCallerID: Checked

Route outbound calls from Asterisk to Line
Voice Services -> SP2 Service -> X_InboundCallRoute: {OBi110>(Mli):li},{ph}

Route inbound Line calls to Asterisk
Physical Interfaces ->Line Port -> InboundCallRoute:
sp2(900@192.168.1.100:5060)  (Asterisk IP address and port)

This setup is from my Raspberry Pi.
I believe it's the exact setup as my PIAF.
I don't use PIAF anymore.
If you want me to check PIAF, it would take some minor changes to fire it up and access it.

Edit:
I added X_SpoofCallerID

vtsnaab

Thanks Very Much Azrobert !!
It seems that all I need to do to use PIAF with POTS lines rather than GV or an ITSP is to get & configure 5 Obi110s.
This strikes me as wiser than buying a single dedicated FXO card with 8 ports to handle the 5 lines.
It will also make it easy to have a spare Obi110 on hand and even a spare switch and together, short of the box itself failing it should be very easy to keep it going reliably for a very long time.

My Sincerest Thanks for confirming this idea Azrobert.