OBiTALK Community

General Support => Installation and Set-Up (Devices) => Topic started by: stooba on March 31, 2012, 03:47:27 PM

Title: Obi110 plus SPA8000 as Poormans Analog PBX
Post by: stooba on March 31, 2012, 03:47:27 PM
Is it possible to use the Obi110 as an FXO port for an SPA8000?  My hope is that I can use these two devices to make a poormans analog PBX.  I have eight analog phones hooked into the SPA8000 and they are able to call between themselves perfectly.  As archaic as it sounds, unfortunately there are a number of reasons that I need to stick with analog phones.  But I'd now like to tie my SPA8000 to the outside world.  The Obi110 looks like an interesting device that could possibly provide an FXO port for a PSTN connection and also a GoogleVoice connection (not to mention the Obinetwork connection as a bonus). 

Based on my limited knowledge, I am assuming that I would need an Asterisk/Trixbox/PBXIAF PBX hairpinned into the network to direct outgoing calls from the SPA8000 to the Obi110 and also to provide an auto-attendant that asks incoming callers which extension of the SPA8000 they are trying to reach.  I've read a couple of threads that talk about how to set up the Obi110 as an FXO port for Asterisk, so I'm sure that there is a SPA8000 - Asterisk - Obi110 solution to this problem.  But I do not know the capabilities of the Obi110 well enough to know if the PBX can be circumvented so I have only a SPA8000-Obi110 solution.....less devices means less issues.
   
Thanks.
Title: Re: Obi110 plus SPA8000 as Poormans Analog PBX
Post by: RonR on March 31, 2012, 06:15:18 PM
If you configure an OBi110 with a Google Voice account, a SIP provider, and a PSTN Line, your eight SPA8000 extensions should have access to 4 outside 'lines' for incoming and outgoing calls.  The SIP provider is not a requirement, but you cannot use a second Google Voice account instead.

If you don't mind a rather simple Auto Attendant, I think you can get by with just an OBi.  The dialog would go something like this:

Welcome to Acme Widgets

Press 1 for the Receptionist
Press 21# for Sales
Press 22# for Customer Service
Press 23# for Shipping
Press 24# for Returns
Press 25# for Technical Support
Press 26# for Human Resources
Press 27# for Accounts Payable
Press 28# for Accounts Receivable

The numbering scheme is very inflexible.  The eight SPA8000 extension numbers must start with 2, followed by one or two digits (1-99), followed by a # (the caller MUST press the # key).
Title: Re: Obi110 plus SPA8000 as Poormans Analog PBX
Post by: stooba on April 01, 2012, 09:24:45 AM
Wow, thanks RonR!  This is exactly what I was hoping to hear!
I don't want anything more complicated than your example for the auto attendant.
Numbering the analog extensions with a 2xx# format is not an issue either. 
For right now, I would be thrilled to get things configured so that just the analog phone to PSTN line connection would work for incoming and outgoing calls.  The Google Voice and ITSP connections are a secondary requirement....although that's the reason I'm using this equipment instead of just a simple analog PBX. 

The way I picture this setup is that the SPA8000 will just act as the "analog - SIP converter/gateway", making my analog phones look like any other IP-phones that might be connected to the network.  The Obi will be the device providing all of the call management and Auto Attendant functions to connect these network phones to the outside world.  If this is correct, then I need to spend more time learning about the Obi110.  After reading the guides and using the web-admin I guess I still don't understand the full capabilities of these devices. 

Are there any similar threads or sample setups that I could read to help me understand this better? 



Title: Re: Obi110 plus SPA8000 as Poormans Analog PBX
Post by: RonR on April 01, 2012, 09:49:28 AM
You're the first that I know of to want to use an SPA8000.  If I understand the SPA8000 organization correctly, it's basically four PAP2's in a single box.

Each line of the SPA8000 would make outbound calls using unregistered SIP URI calls pointed towward the OBi.  Inbound calls via the Auto Attendant would work similarly, with each of the eight SPA8000 destinations having a separate SIP userid and/or port.  When the caller selects an extension, he's actually dialing an OBi Speed Dial which is pointed to that extension.  The receptionist can be a phone connected to the OBi PHONE Port, or one of the eight SPA8000 extensions.  I assume inter-office calling is currently handled by an SPA8000 dialplan, which would be enhanced to route outbound calls to the OBi.

This is totally uncharted territory, but I think it has an excellent chance of success.  It will be some work, as the Auto Attendant prompts have to be re-recorded.  Assuming you have a reasonable understanding of the SPA8000, we should be able to make it work.
Title: Re: Obi110 plus SPA8000 as Poormans Analog PBX
Post by: Stewart on April 01, 2012, 10:34:46 AM
I'll throw out a few alternatives here:

You could avoid the IVR, if you had a number for each extension.  If you don't care where the number is, you could use eight free IPKall DIDs.  They could be pointed directly to the phones, though that setup would not have voicemail.  Or, you could have the OBi relay the calls, sending unanswered ones to a voicemail service.  DIDs where you can pick the city are not free, though there are some inexpensive choices.  Localphone is $0.99/mo./number for "unlimited" incoming, but quality is not the best.  Anveo "Value" DIDs are also $0.99 and are top quality, but after 40 minutes per day, you're charged $0.015/min.  With either paid option, voicemail is included.

With a VoIP service that includes PBX features such as VoIP.ms, your phones could register as eight sub-accounts and you can set up an IVR with options as desired.  A straightforward setup would cost $5 to $7/mo. for an unlimited DID; there are some tricks to avoid the charge, though they may impair latency / quality / reliability.

With any of the above you could still send outbound calls via GV or your landline, as desired.
Title: Re: Obi110 plus SPA8000 as Poormans Analog PBX
Post by: QBZappy on April 01, 2012, 12:08:28 PM
stooba,

Here is the original thread discussing this topic.

99 Virtual extensions available via the OBi (possible since v 1.30)
http://www.obitalk.com/forum/index.php?topic=1734.msg11140#msg11140
Title: Re: Obi110 plus SPA8000 as Poormans Analog PBX
Post by: stooba on April 02, 2012, 09:46:56 AM
Yes, the SPA8000 has much the same functionality as other Cisco ATAs (PAP2T, SPA2102, SPA3102, WRTP54G, SPA8800).  The way I have it set up right now, the analog extensions can call directly to each other very easily, but that is the end of it.  At one point, I temporarily had the SPA8000 connected to a friend's Trixbox network in a nearby building and each extension was able to connect to the ip-phones on that network and also call out on the Trixbox device's FXO ports.  That worked well, but I am not able to put a Trixbox setup in this other building at this time, so I need to figure out a new solution.  

So I am trying to use a $200 SPA8000 and a $50 Obi110 to make what is basically an analog PBX with a load of features like:
 - connection to up to 8 existing analog phone extensions (more by linking additional SPA8000 units)
 - ability to send calls over PSTN, ITSP, GV, or ObiTalk networks
 - ability to add a switch and some additional IP-phones
 - very basic custom auto attendant to direct incoming calls to analog phones or IP-phones
 - power failback to PSTN for a "House" line (plugged into PHONE port)
 - and plenty more as I learn more about these flexible devices

I'm not sure if it's a practical solution for other installations, but it will fit my needs quite well.  Will eventually post all of this as a step-by-step procress just in case it helps anyone.  I'm not afraid to do a bit of work or wander off into uncharted territory...I don't know a lot about these devices yet, but I'm a quick learner and don't give up quickly.  Besides, it seems like this forum has some really good moderators and contributors that will help.

Thanks for the link QBZappy.  Looks like that discussion will step me through the creation of my custom auto attendant. Then, as RonR described, I can create "speed dials" for the Obi which point to the extensions in the SPA8000.  That end of things should be pretty straight forward now.

The next bit of info that I'll need to research for my project is how to setup the Obi110 to "accept" a SIP session from one of my IP-phones and direct it to one of the 4 outgoing networks.  I'm starting with my IP-phones because I think that should be the most straightforward configuration (and well discussed in forums like this).  Once they are working, the SPA8000 should be easy to set up because I think that it makes each analog extension work just like an IP-phone. 

I'd like create a dialplan that uses the typical hotel that lets users make room-to-room calls just by dialing the room number (phone-SPA8000-phone).  It could also let them make local, toll-free, or calling card calls via the PSTN line by pressing '9' (phone-SPA8000-Obi110-PSTN).  Similarly, they can press '8' before making long distance calls, but I think I will just block them for now until I get an ITSP set up (phone-SPA8000-Obi110-ITSP or PSTN).  Without a PBX, I don't think I can do easily call-accounting to charge the long distance calls back to the room, so I'll need an ITSP to make the calls are as inexpensive as possible.  Then again, as I become more knowledgeable about the Obi110, I might find an easy way to create call detail reports.  Or maybe I can set up the Obi110 to require a PIN number in order to make a long distance call so that I can charge users a flat fee for a PIN number to recoup my expenses.

Stewart - Thanks for bringing up a very interesting alternative.  I don't think it will work out in the extremely rural location where this building is located - local numbers are definitely not available out there.  But this idea seems very feasible for another small office that we have in an urban center.  No one at that office has any tech abilities, so I really like the idea of using a VOIP service instead of setting up a PBX.  I will have to look into that idea further once I get this building up and running.
Title: Re: Obi110 plus SPA8000 as Poormans Analog PBX
Post by: RonR on April 02, 2012, 10:25:01 AM
Quote from: stooba on April 02, 2012, 09:46:56 AM
The next bit of info that I'll need to research for my project is how to setup the Obi110 to "accept" a SIP session from one of my IP-phones and direct it to one of the 4 outgoing networks.  I'm starting with my IP-phones because I think that should be the most straightforward configuration (and well discussed in forums like this).  Once they are working, the SPA8000 should be easy to set up because I think that it makes each analog extension work just like an IP-phone.  

Starting with a single IP-phone is an excellent approach.  The information you'll need to implement this is already described in Single-Stage Dialing Through Any OBi Trunk Using SIP (http://www.obitalk.com/forum/index.php?topic=2454.0).  Don't worry about the dialing format not being what you ultimately want as this can easily be changed once proof-of-concept is accomplished.  I would recommend starting out with a free Google Voice account on SP1 and a dummy SIP account on SP2.

Quote from: stooba on April 02, 2012, 09:46:56 AM
I'd like create a dialplan that uses the typical hotel that lets users make room-to-room calls just by dialing the room number (phone-SPA8000-phone).  It could also let them make local, toll-free, or calling card calls via the PSTN line by pressing '9' (phone-SPA8000-Obi110-PSTN).  Similarly, they can press '8' before making long distance calls, but I think I will just block them for now until I get an ITSP set up (phone-SPA8000-Obi110-ITSP or PSTN).  Without a PBX, I don't think I can do easily call-accounting to charge the long distance calls back to the room, so I'll need an ITSP to make the calls are as inexpensive as possible.  Then again, as I become more knowledgeable about the Obi110, I might find an easy way to create call detail reports.  Or maybe I can set up the Obi110 to require a PIN number in order to make a long distance call so that I can charge users a flat fee for a PIN number to recoup my expenses.

Call routing in the OBi should not be a problem.  Call History from the OBi can be exported to an XML file, which might lend itself to being processed for billing purposes.

One thing to keep in mind is that an OBi is limited to four simultaneous calls (inbound and/or outbound).
Title: Re: Obi110 plus SPA8000 as Poormans Analog PBX
Post by: Ostracus on April 02, 2012, 10:47:47 AM
A plug computer (http://www.plugpbx.org/) could run Tribox. You have two of the prerequisites, power and Ethernet.
Title: Re: Obi110 plus SPA8000 as Poormans Analog PBX
Post by: stooba on April 03, 2012, 08:29:19 AM
Thanks for the link, RonR.  That should be a big help in getting an IP-phone working.

I'd love to set up a Google Voice account, but since I'm from Canada that's not as easy as it should be.  I've heard rumors of work-arounds that might let me get an account, so I'll have to look into that more closely.  Maybe QBZappy, who appears to be a fellow Canuck, has some experience with this?

In the mean time, my main concern is to get the IPPhone-Obi110-PSTN connection working in & out.  Then I will want to extend this to my SPA8000 setup so that I can get the AnalogPhone-SPA800-Obi110-PSTN connecttion working in & out.  Thirdly, I'll expand my dialplan to tap into the internet...once I get a GV or ITSP account.

Actually, I thought the Obi was limited to two simultaneous calls, so the fact that it will do four makes it even better for this application.  XML dumps of the Call History is just another great feature.  These Obi's continue to amaze me.  

Ostracus - Those PBXPlugs are great devices, but it looks like the cheapest I can get them to Canada is $250.  That means I can get an ATOM-based netbook for not much more.  Still the plugs would be a really cool way to make a PBX system very portable and maintenance-free.  Hopefully the price comes down.


Title: Re: Obi110 plus SPA8000 as Poormans Analog PBX
Post by: QBZappy on April 03, 2012, 10:03:29 AM
stooba,

This might help you get Google voice account in Canada + bonus info on how toget a cheap voip service provider. (Freephoneline) BTW the service from Freephoneline has been very good.

One time charge of $50 for a SIP Acct at freephoneline+How to setup GV in Canada
http://www.obitalk.com/forum/index.php?topic=93.msg217#msg217
Title: Re: Obi110 plus SPA8000 as Poormans Analog PBX
Post by: Ostracus on April 03, 2012, 01:18:48 PM
@ Stooba:
A capable router can be pressed into PBX duty.
Title: Re: Obi110 plus SPA8000 as Poormans Analog PBX
Post by: ProfTech on April 04, 2012, 08:23:44 PM
You mention Power Fallback to the analog line. It is reported in this forum that the latest release of 110 hardware does not include the fallback feature. So at a minimum you would need battery back up for the Obi. Not sure how all of this might affect your end configuration.
Title: Re: Obi110 plus SPA8000 as Poormans Analog PBX
Post by: stooba on April 05, 2012, 01:51:45 PM
Oh no, is it true that they removed the power fallback (PHONE to PSTN) feature?   BOOO!   That was one of my biggest reasons for buying these devices!!!  I understand the need for continual product improvement, but removing one of the features that distinguished it from other competitive products seems like a strange decision.  In the rural area where I intend to use this device, power failures are frequent enough that an internet-based phone system was never practical.  I though this would be the device that I could use to help non-tech people switch to VOIP while having an automatic PSTN backup with their internet or power failed.

I just did a search on this forum and found conflicting reports.  Does anyone have a definitive and proven answer on this?  I'd just go test mine, but I don't have it configured yet.
Title: Re: Obi110 plus SPA8000 as Poormans Analog PBX
Post by: QBZappy on April 05, 2012, 02:00:10 PM
stooba,

Nothing to configure. Takes a second to see for yourself. It takes less time than writing this post. Make sure the phone is connected to the phone port and the line port is connected into the OBi. Unplug the OBi from the power outlet. Pick up the phone and listen for dial tone.

What did you get?
Title: Re: Obi110 plus SPA8000 as Poormans Analog PBX
Post by: stooba on April 05, 2012, 02:18:44 PM
Haha, yes, thought of that as soon as I hit "Post".  Did the test and found that the PHONE line DOES NOT fall back to the PSTN LINE jack as advertised.  BOOO! 

I plugged the LINE jack of the OBI110 into the CO jack on my wall, plugged an old analog phone into the PHONE jack, plugged in the OBI AC power cube, and heard a dial tone.  Hung up the phone, disconnected the power, waited 3 seconds, picked up the phone and heard nothing.  Problem confirmed!

For the first time since buying this device, I'm not at all happy with Obihai! What a dumb decision to remove this feature.  Am going to take it apart now and see if it is just an "unpopulated" fail-back relay or if the circuit was actually revised to remove the device.  I hope it's just unpopulated and Obihai will tell me the component specs so I can solder it in myself. 
Title: Re: Obi110 plus SPA8000 as Poormans Analog PBX
Post by: stooba on April 05, 2012, 02:42:20 PM
The following is taken directly from the ObiAdminGuide:

Powerful Call Routing & Voice Service Features:
·         SIP Support for Voice and Fax Over IP from Internet Telephony Service Providers
·         OBiTALK Managed VoIP Network for OBi Endpoint Devices & Applications
·         High Quality Voice Encoding Using G.711, G.726, G.729 Algorithms
·         Recursive Digit Maps & Associated Call Routing (Outbound, Inbound)
·         Service Continuity in Case of Power or Network Failure (Configurable)

I've gone through the web-admin screens three times and can not find where this Configurable feature is set. 

Title: Re: Obi110 plus SPA8000 as Poormans Analog PBX
Post by: RonR on April 05, 2012, 02:47:52 PM
Quote from: stooba on April 05, 2012, 02:42:20 PM
I've gone through the web-admin screens three times and can not find where this Configurable feature is set. 

That's always been in documentation, but there's nothing to configure.  It was all based on a relay dropping out when the power failed, connecting the PHONE Port directly to the LINE Port -- until Obihai removed the relay.
Title: Re: Obi110 plus SPA8000 as Poormans Analog PBX
Post by: stooba on April 07, 2012, 06:27:45 AM
The good news is that the PCBs still have spaces for the missing relay (and associated components), the devices are just not populated.    

Here is a link to a shared folder of pictures of the Obi110 PCB:
https://skydrive.live.com/redir.aspx?cid=e09e9b91a0c8f298&resid=E09E9B91A0C8F298!129&parid=E09E9B91A0C8F298!104&authkey=!AO953AL5VowTwN0 (https://skydrive.live.com/redir.aspx?cid=e09e9b91a0c8f298&resid=E09E9B91A0C8F298!129&parid=E09E9B91A0C8F298!104&authkey=!AO953AL5VowTwN0)
<< :-\Sorry if I'm doing this wrong or should have posted this folder in another thread....I'm new to forums>>

There is a picture showing the missing Relay (K1) along with Capacitor C99, Transistor Q206, and Diodes D203 & 204. There is another picture of the bottom of the board showing missing Diodes D150 and D151 (not sure yet if they are part of the relay circuit).

At first it looked like they made a mistake by overlapping the pads for D203 and D204, but now I'm not sure. There is a magnified photo which shows this clearly.  It could be a PCB layout mistake - one that would make it difficult to populate both devices (which might be why they decided it was easier to drop the feature than rework the boards).  Or it could be that the overlap was done intentionally because only one of the diodes is necessary and this layout would leave them flexible to specify a diode in either a SOT or a 0603 package.  It's difficult to follow the tracks because it is a multi-layer PCB, but I will try again when I have more time.  My best guess right now is that it's not a layout error and that only one diode needs to populated D203 or D204.  

So where does all this leave us?  Happy because the possibility exists to populate these components ourselves, but still frustrated because we need an Obihai designer to tell us what the missing components are.  
Title: Re: Obi110 plus SPA8000 as Poormans Analog PBX
Post by: QBZappy on April 07, 2012, 01:14:59 PM
stooba,

Perhaps someone with an Obi that has a relay can take pictures and you can compare.
Title: Re: Obi110 plus SPA8000 as Poormans Analog PBX
Post by: stooba on April 07, 2012, 06:53:31 PM
That would be great.  The trouble is that such small SMD devices are often very difficult to identify, especially ones without markings. Still, any info might help.

The components that I'd like to identify are:
   K1 - a relay (DPDT)
   Q206 - a transistor (likely a MOSFET of some sort to activate relay coil)
   C99 - capacitor (likely power conditioning for relay coil)
   D150 & D151 - diodes (polarity of PHONE/LINE Ring and Tip lines)
   D203 or D204 - diodes (for back EMF on relay coil)

Since the relay is missing, Resistors R38 and R39 are added as jumpers that connect the COM and NO pins to look as if the relay was present and activated all the time.

In the mean time, I am going to ask the Obihai support team for this information as well.  I've yet to deal with them, so I don't know how helpful they'll be.  I'd hope that they'd be willing to support me since this was their bad decision that I am trying to correct.  Maybe they'll offer to swap out my units with some that are properly populated.  Fingers crossed!
Title: Re: Obi110 plus SPA8000 as Poormans Analog PBX
Post by: infin8loop on April 07, 2012, 07:06:25 PM
Quote from: QBZappy on April 07, 2012, 01:14:59 PM
Perhaps someone with an Obi that has a relay can take pictures and you can compare.

Maybe the "Owner of the 1st OBi110/100 units in service in Canada & South America" should volunteer. I bet that Obi110 has a relay!   ;D
Title: Re: Obi110 plus SPA8000 as Poormans Analog PBX
Post by: QBZappy on April 08, 2012, 07:51:05 AM

Relay

This is a picture of the relay switch inside of my OBi. Dose yours look the same?   ;D

http://www.kpsec.freeuk.com/animated/relay256.gif
Title: Re: Obi110 plus SPA8000 as Poormans Analog PBX
Post by: infin8loop on April 08, 2012, 09:07:56 AM
LOL QBZ.

I guess they use different relays for the US and Canadian markets because my relay doesn't look anything like your relay:

http://infin8loop.freevar.com/sharedphotos/RELAY.jpg


Title: Re: Obi110 plus SPA8000 as Poormans Analog PBX
Post by: QBZappy on April 08, 2012, 10:08:49 AM
Quote from: infin8loop on April 08, 2012, 09:07:56 AM
LOL QBZ.

Infin8,

Hi there friend, I guess we are on a first name basis now.  :D

Happy Easter all--
Title: Re: Obi110 plus SPA8000 as Poormans Analog PBX
Post by: stooba on April 13, 2012, 08:07:04 PM
Hey again.
Is there really no one out there who has an OBI110 unit who is willing to take photos of the relay and components that are missing from the current builds?
Seems like there should be some units out there.
???
Title: Re: Obi110 plus SPA8000 as Poormans Analog PBX
Post by: MichiganTelephone on April 13, 2012, 10:32:10 PM
Quote from: stooba on April 13, 2012, 08:07:04 PM
Hey again.
Is there really no one out there who has an OBI110 unit who is willing to take photos of the relay and components that are missing from the current builds?
Seems like there should be some units out there.
???

Just because people have such units doesn't necessarily mean they want to disassemble them.  On the bottom of my OBi110 (which I am sure has a relay) there are no visible screws, and I sure don't want to start prying off feet or punching holes in the label to find them.

However, I am wondering if you aren't going about this the hard/expensive way.  Since you seem to know something about electronics, wouldn't it be possible to use a low voltage, low current DPDT relay (with the coil of the relay connected to a "wall wart" transformer) to switch your phone line?  I know it would be nicer if it were built into the device, but since it isn't, it just seems like an external relay solution might be cheaper and easier to build than trying to track down a bunch of unknown components.

The way I picture it, such a relay would have eight contacts, two for the coil and six for the DPDT switch. So:

The coil contacts would connect to a low voltage transformer plugged into the electrical supply.

The DPDT switch center contacts would connect to the phone (replacing the PHONE port).  You'd probably want to connect these to a standard phone jack so you can plug your phone in.

The DPDT switch normally closed (when no power is applied) contacts would connect to the PSTN line (which would also be connected to the OBi110 LINE port).

The DPDT switch normally open (when no power is applied) contacts would connect to the OBi110 PHONE port.

So, as long as power is available, the phone would connect to the OBi110 PHONE port through the relay's normally open contacts, and when the power drops it would connect to the phone line via the relay's normally closed contacts.  If you use a low-current relay with a low-voltage AC coil, and an AC transformer (not DC) you probably don't really need to worry about kickback protection, since there are no rectifiers in the power supply to protect.  Of course you could use a relay that has a coil that matches the local power supply voltage (such as 110 volts in the USA and Canada) but I don't recommend that because then you'd have to be VERY careful to not let the relay coil contacts and the switch contacts come in contact with each other.

With smaller relays it may be a bit difficult to keep the two circuits isolated so that's why I would consider using a "wall wart" to step down the AC voltage, but of course if you have a larger old-style relay that puts plenty of distance between the coil contacts and the switch contacts it might not be such an issue.  BUT since I don't know who might be reading this, as a general rule I would say you should NOT use higher voltages (probably anything above about 24 volts) for the relay coil voltage unless you are VERY EXPERIENCED with electrical devices and know the dangers of dealing with the higher voltages (which can include fire or DEATH if you are not careful or don't know what you are doing!).

I really do "get" the desire to not have to use an external relay and to fill in the "missing" components, but sometimes you just gotta be practical and use what you know will work and what is available.  In fact I wonder if the reason the relay is missing in the first place is because it was made in Japan and the factory that makes them was damaged in last year's earthquakes, causing a shortage (similar to what happened with hard drives)?
Title: Re: Obi110 plus SPA8000 as Poormans Analog PBX
Post by: RonR on April 13, 2012, 11:18:14 PM
stooba,

The relay that you're missing isn't simply engaged by the presence of power to the OBi.  The relay is controlled programmatically by the firmware and is engaged only upon the OBi becoming operational, not by simply being powered up.  This results in the OBi PHONE Port being connected to the PSTN line in the event the OBi doesn't start up or later crashes due to a hardware or software failure, even though the unit has power.  Consequently, an external bypass relay based solely on the presence of power won't be nearly as effective.
Title: Re: Obi110 plus SPA8000 as Poormans Analog PBX
Post by: stooba on April 14, 2012, 07:27:20 PM
Thanks to both of you for your comments.

MichiganTelephone,
You're absolutely right.  I could rig up an external relay setup to provide the same power-failover feature.  But it actually is a lot more work than just populating the correct components on the PCB.  If I can find out what relay is being used, I can certainly determine what driving circuit would best trigger it (I'm an electronic engineer by trade).  I could probably spec in my own replacement relay, but it would be best to use the one that the designers had in mind in the first place.

Taking apart the Obi110 is extremely easy.  One screw under each of the four rubber feet.  And the feet are very easy to remove and put right back on.  I've had mine apart at least a dozen times already and it goes back together perfectly.  Once open, the PCB is just sitting in place, not even any screws holding it down.  Just tip the unit upside down and the board will fall out.  If you are in a dry climate, be careful about static, but overwise you can just take some photos of the relay and the components I've indicated on both sides of the board.  Then slide the PCB back into place - guide the jacks toward the holes in the case and drop the rear end of the PCB into place.  Easy-peasy!

You might be right though.  I might not get the answers I'm hoping for.  There might not be anyone willing to open up their unit to take the photos, or their photos might not give me enough information to decipher the circuit.  But, I try to be optimistic that my fellow techies will come through.

RonR - That is my understanding too.  I'm hoping that by replacing the actual components on the board, I will reactivate not only the power-failback feature, but some of the other failure modes as well....maybe even the ethernet failback.  One potential issue could be that they disabled the code in the controller that actually activated the pin that tripped the relay in the first place. 

I have been pulled away from this project for the last week, but will keep trying to get answers from Obihai next week.  I'd really like to understand their reasoning for deactivating this feature.  Didn't it work as planned?  Did it cause other issues with operation of the device?  Was it purely a cost saving measure since relays are a bit pricey?  We may laugh at the idea of a $0.25 relay being considered pricey, but in mass manufacturing it is.  I had a friend who worked for a huge Telecom company and his whole salary was justified by being able to shave ten cents from the manufacturing cost of their phones.

Anyhow, there might be other work-arounds to provide partial solutions, or I might do all of this and find out that the device doesn't work correctly even with the components repopulated.  But this topic seems to be popping up on other threads and I'd like to be able to provide a definitive answer once and for all.

Title: Re: Obi110 plus SPA8000 as Poormans Analog PBX
Post by: RonR on April 14, 2012, 08:04:18 PM
Quote from: stooba on April 14, 2012, 07:27:20 PM
I'm hoping that by replacing the actual components on the board, I will reactivate not only the power-failback feature, but some of the other failure modes as well....maybe even the ethernet failback.

I think the logical fallback features were never implemented because of the chicken-and-egg problems they create.  If you drop the relay because of networking or provider failure, your phone is disconnected from the OBi and you can't ever get to the IVR to diagnose things, set a static IP address, or anything else.  You'd have to have a switch or something to force the phone to be re-connected to the OBi.  It's a flawed idea, which may be one of the reasons the relay was abandoned.

Quote from: stooba on April 14, 2012, 07:27:20 PM
One potential issue could be that they disabled the code in the controller that actually activated the pin that tripped the relay in the first place. 

They'd have to at least activate the pin unconditionally somewhere in the initialization code or else revision 2.8 boards wouldn't work.  It's pretty clear from the relay's behavior with the latest firmware that nothing has been changed.  I can't believe they'd check the hardware revision and do something different for a non-existent relay.
Title: Re: Obi110 plus SPA8000 as Poormans Analog PBX
Post by: Shale on August 08, 2013, 08:05:27 AM
Confirming Stooba info:  K1 is the spot for a relay. R38 and R39 are jumpers that close the path for the N.O. contacts. These would be removed if a relay were to be installed.
RF150 and RF151 are fuses that connect the Line to the swingers on the contacts.



I see gary-gary (who may have gotten the info from another post) identifies the relay in http://www.obitalk.com/forum/index.php?topic=6413.msg40769#msg40769 as  K1 - TX2-4.5V (Panasonic)

That relay's pins are on a 0.1 inch grid and that relay is available from distributors.