dslreports logo

naf
join:2017-12-12

4 edits

13 recommendations

Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

So I want to add the ability to configure these devices for GV using oauth without obitalk, similar to the changes for the obi100 (and add an ssh server, for grins).

I think I have the MD5s in the firmware file worked out (its the same "Goodbye! Reboot Now" garbage as the 100), and I see where the oauth refresh token code is, so it should be pretty straightforward unless there is code signing that I missed.

The only hiccup is... I don't actually have an OBi20x :-(

Anyone have one of these devices that wants to be a guinea pig? You should definitely have a way to SPI the flash back *when* i brick the thing the first couple tries...

[or if someone has one sitting in the closet, you could just send it to me. ill name the fw after you ]

EDIT: speaking of flash, its supposed to have a w25x128 on board, but is it the SOIC package or some BGA madness?

QUICK SUMMARY:
Custom firmware made for all obi devices, thanks to the help of generous hardware donations and bold testers.
See obifirmware.com to download latest.
thUzu7AkU
Premium Member
join:2014-05-05
Beverly Hills, CA

2 edits

Re: Obihai OBi200/202 firmware mod

said by naf:

[or if someone has one sitting in the closet, you could just send it to me. ill name the fw after you ]

PM sent.
divx_2
join:2005-07-01
to naf
I can help testing the modded FW.
naf
join:2017-12-12
said by divx_2:

I can help testing the modded FW.

ok great.

did i also get the impression from the other thread that you also had changes to obiapp? it should be a lot easier since we can run a debugger on the box »randywestergren.com/reve ··· -part-3/
OBi1FW
join:2017-12-27
Vienna, VA
I'd be very curious to know if it's possible to mod the firmware so that Google Voice will run on a 300/302.
naf
join:2017-12-12

2 edits
to divx_2
said by divx_2:
said by naf:

And here's the hint: if you look in /obi/obiapp at the token refresh sub at 0xD9760, the obitalk refresh token is in [R7,#0x3C]. The AuthPassword should be in [R7,#0x38]. Just use that instead of all that sprintf concatenated crap.

Thanks. If I understand it correctly, after the patch it'll either use obi's access_token, or self generated refresh_token. It won't be able to refresh obi's token, unless I find a space to check the length of AuthPassword and refresh token conditionally.
Ya, moving the function to make more space is a little harder on this ARM code cause all the offsets are relative to the PC. Looks like maybe a dozen to change, between the function calls and the constants...

... and then there's the ELF wrapping...hmmm... maybe it should be easier to just overwrite it in place (hard to do it conditionally then)
naf
said by naf:

speaking of flash, its supposed to have a w25x128 on board, but is it the SOIC package or some BGA madness?

Turns out to be a w25q128bvieg, a WSON package, whatever the fuck that is.

UHF
All static, all day, Forever
MVM
join:2002-05-24
said by naf:

a WSON package, whatever the fuck that is

That was a new one for me too. Looks like a bitch to solder them.
naf
join:2017-12-12
ya, but pin spacing is still 0.05", so it might still work if anyone had one of them fancy SOIC clips

on the other hand, u-boot over serial should help, if i could figure out how to use sf or md successfully...
naf

2 recommendations

fuck it. ill just be confident and web-gui flash the thing without a backup:
divx_2
join:2005-07-01

1 edit

1 recommendation

As I remember there was a way to boot it into a recovery mode with it's own kernel and rootfs. You should be able to flash any FW version in that mode. In FW 4330 there were /obi/recovery utility that activated recovery mode after device reboot. Here is the code that it were executing:
  puts("Prepare to enter recovery mode: ");
  FLASHSPI_clear(0xC00000, 0x10000);
  puts("This unit will enter recovery mode after power cylce"); 
 
naf
join:2017-12-12

1 edit
ya, im just worried that ill fuck up the recovery ones too

apparantely the recovery is the partition that i originally overwrote, cause it only has uclibc. when i booted and didnt see my changes i had to switch to the other squashfs that had a rootfs, and it apparantely has real glibc so now i have to rebuild all the tools i was going to sneak on...

ETA: i did atleast turn telnetd on
naf

2 edits

1 recommendation

shouldnt i be able to backup this thing from userspace? anyone understand the /dev/mtd* stuff?

i have dev devices: mtd[0-8], mtd[0-8]ro, mtdblock[0-8], mtdchar[0-7]...

# cat /proc/mtd
dev: size erasesize name
mtd0: 00800000 00001000 "mtd-ram fs ro"
mtd1: 00800000 00001000 "mtd-ram"
mtd2: 00050000 00010000 "u-boot"
mtd3: 00280000 00010000 "kernel"
mtd4: 000c0000 00010000 "scratch"
mtd5: 006c0000 00010000 "rootfs"
mtd6: 01000000 00010000 "flash0"
mtd7: 00240000 00010000 "obi app"
mtd8: 00100000 00010000 "bluetooth"

i just wanna dump the whole goddamn thing
divx_2
join:2005-07-01

1 recommendation

If you have mtd_utils cross compiled for the platform than you should be able do dump mtd6 which is mapped to the whole flash.
naf
join:2017-12-12
oh, ha. totally missed mtd6. poor reading comprehension i guess.

cant i just cat /dev/mtd6 > somefile.bin ?
divx_2
join:2005-07-01
i'm not sure about mtd6, but it should work with mtdchar6.
naf
join:2017-12-12
# /lib/libc.so.6
GNU C Library stable release version 2.5, by Roland McGrath et al.
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.2.1.
Compiled on a Linux >>2.6.20-16-generic<< system on 2007-09-27.
Available extensions:
        crypt add-on version 2.1 by Michael Glad and others
        GNU Libidn by Simon Josefsson
        GNU libio by Per Bothner
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
        Native POSIX Threads Library by Ulrich Drepper et al
        Support for some architectures added on, not maintained in glibc core.
        BIND-8.2.3-T5B
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
 

anybody got an easy way to build a arm toolchain with glibc 2.5? crostools-ng-1.23.0 in obsolete mode only goes back to 2.12.1 :-(
divx_2
join:2005-07-01
As I remember I built gcc 4.9.1 with libc-2.18 for this platform. I was able to rebuild mtd-tools and run.

Not sure if I run in chroot though. It was about 3 years ago. Still should have this toolchain somewhere.
naf
join:2017-12-12

3 recommendations

quick update: i got a crosscompiling toolchain setup for the old-as-fuck glibc/kernel, and i got dropbear compiled and running on the box... just gotta figure out how to set a root password and package up a fw with it...
naf

1 edit

1 recommendation

heres a problem: i dont really want to leave dropbear open to the outside world with a hardcoded root password. and i cant change the password from whatever i initially flash because its mounted readonly.

ideas?
limit to LAN side (assuming someone out there is smart enough with iptables to do this)?
some /etc over-mount foolishness?
something obvious and easier that im missing?
fuck anyone who doesn't firewall their obi in the first place?
divx_2
join:2005-07-01

2 recommendations

You can do over-mount for a single file:
 mount --bind /else/where/passwd /etc/passwd 
 
naf
join:2017-12-12
said by divx_2:

You can do over-mount for a single file:

 mount --bind /else/where/passwd /etc/passwd 
 
nice. i guess itd be nice to have a 'passwd'-like script to encrypt a password and shove the passwd in for root in the /else/where/passwd overlay.

ETA: atleast then there would be a chance in hell that anyone might actually change it...
naf
said by naf:

nice. i guess itd be nice to have a 'passwd'-like script to encrypt a password and shove the passwd in for root in the /else/where/passwd overlay.

and by script i mean ill just compile busybox's passwd after changing the file location...
naf

3 recommendations

bsdiff for OBi202-3-2-1-5757EX.fw

modifications:
1) add dropbear ssh server. default root passwd = "obi". (hint: login and change it asap)

jsolo1
Premium Member
join:2001-07-01
PRIL
Nice. Does that mean we can now change oauth2 credentials directly through ssh?
naf
join:2017-12-12
said by jsolo1:

Nice. Does that mean we can now change oauth2 credentials directly through ssh?

Not yet.

Since I don't see any tools that can increase the size of ELF sections (anyone?), I probably just gotta find some unused/unimportant space to stick some strings. That might make room to do an AuthPassword switch and still have the obitalk client/secret as a fallback all within the same amount of code space.
azrobert
join:2015-02-07
Fountain Hills, AZ

1 recommendation

said by divx_2:

BTW, by modding this structure you can easily enable 2nd phone port on obi200 that is connected to the 2nd pair of conductors of rj11.

Any chance for this?
thUzu7AkU
Premium Member
join:2014-05-05
Beverly Hills, CA

1 recommendation

to naf
@naf Thanks for all your hard work!
naf
join:2017-12-12

3 recommendations

bsdiff for OBi202-3-2-1-5757EX.fw

modifications:
1) add dropbear ssh server. default root passwd = "obi". [now started by custom startup script in /scratch/etc/rc.custom, change as you please]
2) patch obiapp to use oauth token request override, for provisioning GV without obitalk. Uses same AuthPassword format and provisioning xml as the obi1xx-naf7, like »obi1.s3-website.us-east- ··· /OAuth2/
OBi1FW
join:2017-12-27
Vienna, VA

2 edits

2 recommendations

Great.

I made the firmware file, but I don't have an OBI2 to test with. Like someone to test it please before I put it on the website, or maybe confirm the checksum is right.

»obi1.s3-website.us-east- ··· est.html

I also updated »obi1.s3-website.us-east- ··· TALK.xml which should be ok with all devices.
naf
join:2017-12-12

1 recommendation

to OBi1FW

Re: Obihai OBi200/202 firmware mod

md5 is good (d18637277c17bd6d3b5b9176b12781ee)

but the xml appears to be having trouble counting to 4
OBi1FW
join:2017-12-27
Vienna, VA

1 recommendation

omg. Ok, it's fixed now.
naf
join:2017-12-12
rebase to OBi202-3-2-1-5794EX.fw. otherwise, no changes from previous.

$ md5sum OBi202-3-2-1-5794EX-arrynrob3.fw
bc7aa0cc11e239137f672294a1833340
azrobert
join:2015-02-07
Fountain Hills, AZ
said by naf:

rebase to OBi202-3-2-1-5794EX.fw. otherwise, no changes from previous.

$ md5sum OBi202-3-2-1-5794EX-arrynrob3.fw
bc7aa0cc11e239137f672294a1833340

There is a problem with the unmodified 5794 fw.
»www.obitalk.com/forum/in ··· =13489.0
naf
join:2017-12-12
to OBi1FW
said by OBi1FW:

I'd be very curious to know if it's possible to mod the firmware so that Google Voice will run on a 300/302.

Need a tester with a 30x...
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
I've got a 302, will need to do the work after hours or on weekends though as it's in use at the office. Let me know what specifically I should do.
naf
join:2017-12-12

2 recommendations

said by Mango:

I've got a 302, will need to do the work after hours or on weekends though as it's in use at the office. Let me know what specifically I should do.

ok cool. now ive never seen a 30x, so i have no idea what "not supporting" GV means, so lets start off with some basics:
do 30x's have the web gui enabled? (i did say basic, right?)
is GoogleVoice in the ITSP Profile x's SignalProtocol dropdown?
if not, can you just ITSP provision it to be there?

example provisioning xml for ITSP Profile A:
<?xml version="1.0" encoding="UTF-8"?>
<ParameterList>
  <Object>
    <Name>VoiceService.1.VoiceProfile.1.</Name>
    <ParameterValueStruct>
      <Name>SignalingProtocol</Name>
      <Value>Google Voice</Value>
    </ParameterValueStruct>
  </Object>
</ParameterList>
 

is the status "Service not configured" or something else?
If "service not configured", can you configure it by using the super-secret oauth oauth token xml (»fw.obifirmware.com/Enabl ··· LK.xml)?

if all that is true, then just using the AuthPassword oauth override patched firmware would already work. if not, its back to IDA...
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net

4 edits

2 recommendations

1) Yes the internal web GUI is enabled.

2) Yes, GoogleVoice appears in the dropdown.

3) Used the AuthPassword oauth override, got Service Not Configured.

4) Provisioned using the XML, and voila! SP3 is Connected to Google Voice!

I need to go to the office to actually make a call, but everything appears to be working. That was easier than I thought!

So it seems like the OBi302's limitation is not that it can't be used with Google Voice, but it can't be added to OBiTALK...I assume. I haven't tried that yet either.

TODO when I get physical access:

1) Verify calls via Google Voice work. (Edit: confirmed working.)

2) Find out what happens when you try to add a 302 to OBiTALK. (Edit: "Failed to add device: This device is customized for another service provider and cannot be added to your account."). I don't have a generic 302 to test with but I assume the response would be similar.

3) ???
naf
join:2017-12-12

1 recommendation

said by Mango:

3) ???

ya thats the step im on too

dev_null
Pithy tag line goes here.
join:2002-08-14
New England

1 recommendation

to Mango
said by Mango:

3) ???

Step 4=Profit!

(Ref: South Park, season 2, episode 17)
naf
join:2017-12-12

2 edits

1 recommendation

to divx_2
said by OBi1FW:

I'd be very curious to know if it's possible to mod the firmware so that Google Voice will run on a 300/302.

so thats a yes. guess we need a pretty website now ;-)

ETA: oh, i spoke too soon:
Domain Name: obifirmware.com
Creation Date: 2018-01-24T23:36:35.000Z
 

P.S. hehe, dont forget to link to the dropbear license »secure.ucc.asn.au/hg/dro ··· /LICENSE
naf
to azrobert
said by azrobert:

There is a problem with the unmodified 5794 fw.
»www.obitalk.com/forum/in ··· =13489.0

my SIP provider (callcentric) works fine on 5794. much ado about nothing?
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
I believe the issue is specifically related to the use of IP phones configured to register to an OBi ATA, effectively using the OBi as a PBX.
naf
join:2017-12-12
said by Mango:

I believe the issue is specifically related to the use of IP phones configured to register to an OBi ATA, effectively using the OBi as a PBX.

ah, yes. poor reading comprehension again on my part.
Cinti
join:2016-08-04
Boston, MA

1 recommendation

Good day.

I don't use any of my three OBi200s for Google Voice, but, having started hacking (not cracking) in the eighties, I couldn't resist the tentation and updated one of them with the new FW.

It rebooted fine and I was able to login with ssh as I do with any other Linux box. As suggested, I changed root's password right away.

Tried to mount "/" and "/root" locally with sshfs, no joy.

Nosing around "/var/log/messages," noticed the following dropbear error messages:
# grep lastlog /var/log/messages
Jan 27 08:38:31 OBi202 authpriv.warn dropbear[985]: lastlog_perform_login: Couldn't stat /var/log/lastlog: No such file or directory
Jan 27 08:38:31 OBi202 authpriv.warn dropbear[985]: lastlog_openseek: /var/log/lastlog is not a file or directory!
Jan 27 08:39:33 OBi202 authpriv.warn dropbear[1016]: lastlog_perform_login: Couldn't stat /var/log/lastlog: No such file or directory
Jan 27 08:39:33 OBi202 authpriv.warn dropbear[1016]: lastlog_openseek: /var/log/lastlog is not a file or directory!
Jan 27 08:46:16 OBi202 authpriv.warn dropbear[1187]: lastlog_perform_login: Couldn't stat /var/log/lastlog: No such file or directory
Jan 27 08:46:16 OBi202 authpriv.warn dropbear[1187]: lastlog_openseek: /var/log/lastlog is not a file or directory!
#
 
Since they are only warnings, I assume they are harmless and nothing to worry about.

Thank you naf See Profile and others who helped for the updated firmware -- great work.
twinclouds
join:2010-06-12
San Diego, CA
to naf
Any version for obi200?

jsolo1
Premium Member
join:2001-07-01
PRIL
Obi 200 and 202 use the same firmware. Look at the title of this thread.....
twinclouds
join:2010-06-12
San Diego, CA
O.K. Thanks.

jsolo1
Premium Member
join:2001-07-01
PRIL
to naf
@Naf,

Great job on the firmware! Finally got around to testing it on my 202 model. Restored a backup then filled in the gv credentials. Nice to be able to swap gv accounts by just changing two lines.

Given the cryptic nature of the credentials line, I copied it into an unused text field under Service Providers/ITSP Profile (x)/General/{URL}. Saves a step in having to hunt through my notes for the correct entry.

I used the same client_id and secret for generating refresh tokens for the different accounts. Just the email addr and refresh token portion need to be changed when switching between accounts.

@OBi1FW Thanks for setting up the site. Should make it much easier for those not familiar with oauth in generating the needed keys.

Now that root access is available, any thoughts on where the settings changed in the webui are stored?
naf
join:2017-12-12

1 recommendation

said by jsolo1:

Now that root access is available, any thoughts on where the settings changed in the webui are stored?

Settings are in OBI_PARAM_PT sections.
On the 20x, thats at offsets 0x00400000, 0x00420000, and 0x00460000 of the flash (mtd6).
Each individual setting is stored in a 256 byte chunk: 16 byte header + encrypted payload.
RC4 key is a mangled version of the first 15 bytes of the header. Something like adding 2 to the first word I think. Very tricky. Keeps all the boogie men out.

jsolo1
Premium Member
join:2001-07-01
PRIL
Ha! Wishful thinking for finding a database file with all the entries.
Anonbdeae
@2.110.97.x
to naf
My OBi200 has CallWithUs, CallCentric, Localphone and Google Voice/Simon GV Gateway, all as SIP.
They all work fine. Fw 5794EX.

jsolo1
Premium Member
join:2001-07-01
PRIL

1 recommendation

said by Anonbdeae :

My OBi200 has CallWithUs, CallCentric, Localphone and Google Voice/Simon GV Gateway, all as SIP.
They all work fine. Fw 5794EX.

If I recall, the issue is having a sip device (client) connect to the obi. In your case, the obi box is the client itself.
naf
join:2017-12-12
said by jsolo1:
said by Anonbdeae :

My OBi200 has CallWithUs, CallCentric, Localphone and Google Voice/Simon GV Gateway, all as SIP.
They all work fine. Fw 5794EX.

If I recall, the issue is having a sip device (client) connect to the obi. In your case, the obi box is the client itself.
Ya, I looked at the assembly of 5794 in the "receive a SIP connection" section and theres clearly logic to conditionally add a second nonce after adding the first to the header (this guy noticed it first »www.obitalk.com/forum/in ··· msg86872). It definitely doesn't look right, even in assembly...
Nissen
join:2018-01-31
2860
Why do Obihai on their website link to fw 5757EX when the most up-to-date is 5794EX?
OzarkEdge
join:2014-02-23
USA
·voip.ms

1 recommendation

said by Nissen:

Why do Obihai on their website link to fw 5757EX when the most up-to-date is 5794EX?

The "most up to date" is getting harder to discern.

Obihai has firmware configuration management issues, getting worse now that their customer's are distributing hacked firmware to compensate. Maybe Polycom will clean this up, starting by moving firmware management off their user forum and on to a proper product support page.

OE

jsolo1
Premium Member
join:2001-07-01
PRIL

1 recommendation

^^How are obi's firmware issues exacerbated by third party firmware mods?

Probably important to note, most up to date is not necessarily the best firmware to use. Personally, if it's not broke don't fix it. I don't touch firmware updates unless I'm having issues or the update introduces features I want. Not to mention Obi is rather poor at documenting what changes are in the updates.
OzarkEdge
join:2014-02-23
USA
·voip.ms

1 recommendation

said by jsolo1:

How are obi's firmware issues exacerbated by third party firmware mods?

Obihai uses its product firmware to integrate and differentiate and market and support its product/service ecosystem. One off third party hacked (not developed) firmware that removes the customer and the product from this ecosystem, defeats various Obihai's goals for this ecosystem and will most likely complicate hacked device maintenance for those customers.

On the other hand, I could be wrong... a proliferation of third party firmware that unravels Obihai's business constructs could be the answer to their prayers.

OE

jsolo1
Premium Member
join:2001-07-01
PRIL

1 edit

3 recommendations

I don't know if I agree with your assessment. Consider various consumer grade routers which have third party firmware support (ddwrt, tomato, asus-merlin). I don't think router sales have diminished because of this. In fact, probably increased because these firmwares offer addtional functionality above and beyond what comes stock. In fact, I can't remember the last router I used which didn't get a third party firmware from day 1.

This may reduce said company's enterprise product sales but then again, few consumers need actual enterprise grade equipment for their home (small office?) use.

I have a 202 with the modded firmware. It has met my needs quite well - primarily to eliminate obitalk portal when provisioning a gv profile. I'm quite comfortable with this. For the more basic user (such as those with outdated 1xx units who are at a loss), there is sufficient documentation, other third party options (simonics gateway) or they can buy a new unit..... The obi200 appears to be in stock at the moment while the 202 is out of stock (amazon, newegg), or sold at inflated prices.

So i'd say obi's issues are of their own making. They could have just as easily offered an updated firmware for the 1xx units as the change google made is relatively minor. I can understand their position if the entire google voice platform changed requiring a significant firmware rewrite. But a cert change should be nonissue. The unit should be able to self update certs as they changed.
naf
join:2017-12-12

3 recommendations

to OzarkEdge
said by OzarkEdge:

One off third party hacked (not developed) firmware that removes the customer and the product from this ecosystem...

I'd say the obi10x firmware mod was pretty fucking customer focused.
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net

2 recommendations

to OzarkEdge

Re: Obihai OBi200/202 firmware mod

said by OzarkEdge:

defeats various Obihai's goals for this ecosystem

Obihai always had (and still has) the option to meet its goals in ways that do NOT involve irritating its customers into buying their products. Instead, they've chosen the marketing-by-annoyance strategy which might be semi-successful short term, but creates near-zero brand loyalty. If that's their goal, I'll lose no sleep over playing a small part in helping defeat it.
said by OzarkEdge:

and will most likely complicate hacked device maintenance for those customers.

My 110 and 302 have been running completely trouble-free since day 1. Any good VoIP phone/ATA requires no maintenance.
OzarkEdge
join:2014-02-23
USA

1 recommendation

I was suggesting that hacked firmware makes matters worse for Obihai.

I'm not defending Obihai.

OE
Brown
join:2018-01-21

1 recommendation

to OBi1FW
I bought a used Obi302 for a good price. I then followed these steps:

Check current firmware version 4747 (or similar).
Flash arrynrob3 firmware. Checksum error.
Flash stock 5757 firmware. Worked.
Flash arrynrob3 firmware. Worked.
Setup ITSP provisioning as described on the ObiFirmware.com/OAuth2 site and reboot.

Then I did the Google Developer steps and everything went well until the last page (of ObiFirmware):
There was no SignallingProtocol that I could find (to insert "Google Voice").
I could not copy and paste the AuthPassword (it is grayed out) and I could not type it in because the GUI doesn't let you see what your typing, just dots (........) and I would surely make a mistake. It needs to be a copy and paste deal.

So, I failed the idiot test. How should I proceed?

jsolo1
Premium Member
join:2001-07-01
PRIL

1 recommendation

^^Did you perform the steps in this post?

»Re: Obihai OBi200/202 firmware mod

You'll also need to uncheck default box to be able to make edits to the respective fields.
Brown
join:2018-01-21
naf asked: Is GoogleVoice in the ITSP Profile x's SignalProtocol dropdown?
I don't see "SignalProtocol". Is it in the General params?
The only dropdown in the General parameters is DTMFMethod: Auto

Clearly this is where the failure occurred. I'll try again.

naf asked: Is the status "Service not configured" or something else?
All 4 are "Service not configured".
taoman
Premium Member
join:2013-09-13
Seattle, WA

1 recommendation

said by Brown:

The only dropdown in the General parameters is DTMFMethod: Auto

What is the name of the setting directly above DTMFMethod?
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net

1 recommendation

to Brown
said by Brown:

There was no SignallingProtocol that I could find (to insert "Google Voice").

Well, that is disappointing.

Can you please try the following and we'll see if there is any change:

1. Navigate to System Management >> Auto Provisioning.

2. From within ITSP Provisioning, set the following:

Method: System Start
ConfigURL: »toao.net/pub/signallingp ··· ocol.xml

Save and reboot. The device should reboot twice.

Now try to paste your username/password under Voice Services >> SP1 Service (don't use another SP for this test). Don't forget to uncheck the Default checkbox first. Save, reboot, and let us know if the status changes.
Brown
join:2018-01-21
to taoman
The param above DTMFMethod is "Name" and it is blank.
naf
join:2017-12-12
Sounds like the device was previously provisioned with SignalingProtocol set to access="no-access". To fix, just reset the configuration to factory settings, either from the web gui at System Manamement > Device Update (if device wasn't provisioned to disable that) or failing that using the physical reset button. After reset, you should now actually see SignalingProtocol above DTMFMethod.

You'll have to put in the provisioning from obifirmware again afterwards.
Brown
join:2018-01-21
to Mango
I tried the new XML, still no SignalingProtocol. I entered my gmail and password in SP1, still no SignalingProtocol and service status is "Service not configured".

I then tried the new XML again but, still the same.

It seems like the XML step is where it fails because from what I understand the purpose of it is to add the new param "SignalingProtocol". Is that right?
Brown
to naf
I have tried the reset from within the GUI. I don't see a physical reset button, is it inside?
naf
join:2017-12-12
to Brown
It'll be interesting if Mr. Previous ITSP provisioned your box to block resetting. According to the guide:


Warning: It should be noted that the parameters ProtectFactoryReset and FactoryResetMode may be changed via provisioning only. The service provider must take extreme care before setting up these protections because that will limit the reset operation when user presses the hard reset button on the unit and may not recover the unit to factory default condition.


We could always clear the config directly in flash, in theory.
naf
to Brown
said by Brown:

I have tried the reset from within the GUI. I don't see a physical reset button, is it inside?

Yes, accessible with a paperclip from a hole on the bottom of the device. Procedure here: »www.obitalk.com/info/faq ··· ry-Reset
naf
to Mango
FYI, you got SignalingProfile in the wrong spot. Its a ITSP profile setting, not a voice service setting. (no "line.1." for its object)
Brown
join:2018-01-21
to naf
I followed the link and it reset exactly as described.

I then tried the tao.net...xml for "startup". It boot twice but still no SignalingProtocol.

jsolo1
Premium Member
join:2001-07-01
PRIL
@Naf, given this is a 302 unit, is it possible this setting is set correctly through the xml, but doesn't appear in the webui?
naf
join:2017-12-12
to Brown
wait, you're logging in to the web gui as admin, not user, correct? There's no way to ban *admin* from seeing settings that I know of. WTF...

Even without the web gui, Mango's method might still work if using corrected XML:
<?xml version="1.0" encoding="UTF-8"?>
<!--OBi Configuration File-->
<ParameterList>
  <Object>
    <Name>VoiceService.1.VoiceProfile.1.</Name>
    <ParameterValueStruct>
      <Name>SignalingProtocol</Name>
      <Value>Google Voice</Value>
    </ParameterValueStruct>
  </Object>
  <Object>
    <Name>VoiceService.1.VoiceProfile.1.Line.1.</Name>
    <ParameterValueStruct>
      <Name>X_GApiRefreshToken</Name>
      <Value>blam</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_GApiInitAccessToken</Name>
      <Value>blorg</Value>
    </ParameterValueStruct>
  </Object>
</ParameterList>
 
naf
to jsolo1
said by jsolo1:

@Naf, given this is a 302 unit, is it possible this setting is set correctly through the xml, but doesn't appear in the webui?

I'm thinking 'same firmware --> same webgui'. I sure didn't see any switches in the assembly [could have missed it though]. And the whole UserAccess hiding shouldn't affect admins, which he has to be to even see anything near that setting. I would ask him to just ssh in and cat /obi/webfile/VS_1_VP_1_.xml, but I *know* whats in that cause its part of the firmware... But anyway it probably isn't set yet just because of the typo in mango's xml

jsolo1
Premium Member
join:2001-07-01
PRIL
Which error?

"VoiceService.1.VoiceProfile.1.Line.1."
naf
join:2017-12-12
said by jsolo1:

Which error?

"VoiceService.1.VoiceProfile.1.Line.1."

Ya. Should look like mine above.
Brown
join:2018-01-21
to naf
I'm logging into the gui using 192.168.1.3 in Firefox. Then admin and admin. Is there another way?

Can someone put your new xml on a host for me to use? I've never done it any other way.

jsolo1
Premium Member
join:2001-07-01
PRIL
You can use tftp with this too.

Tftpd64 works really well.

»tftpd32.jounin.net/tftpd ··· oad.html

For the config url you'd put something like

tftp://192.168.1.123/file.xml

You'd put file.xml in the same folder as you run tftpd from.
azrobert
join:2015-02-07
Fountain Hills, AZ
to Brown
You can also setup your own http server.
»Re: ObiHAI Obi100/Obi110 Firmware Mod Discussion
Brown
join:2018-01-21
I tried that just now and have these questions:

The address it shows when you hover over the files in Mongoose, is that the address I should use in the ConfigURL? It shows 192.168.10.100. That's what I tried and it did not boot twice (just once) so it probably did not find the host.
azrobert
join:2015-02-07
Fountain Hills, AZ
I'm sorry I wasn't clear. You need to use the IP address of the computer running Mongoose.
Brown
join:2018-01-21
to jsolo1
I'll try the tftp soon for my own education but I'm convinced the problem is not with the XML now because I have also used the one on the ObiFirmware.com site multiple times with the same result each time: boots twice but no SignalingProtocol. I tried downgrading the firmware and this happened:

Flash stock 5757. It said something like: "No changes made... same version"!!
Flash stock 4550 (or similar from Obi). Worked.
Flash arrynrob3. Checksum error.
Flash stock 5757. Worked.
Flash arrynrob3. Worked.

Then per the ObiFirmware.com site:

Under ITSP Provisioning, set these:
Method: System Start
ConfigURL: »fw.obifirmware.com/Enabl ··· TALK.xml

"Submit, reboot. Your OBi will reboot twice. The second time, Google Voice is enabled."

But is it "enabled"?

Is there a way of knowing if Google Voice is enabled? I'm hoping what you mentioned in your earlier post about it being set but not showing in the webui is true.
naf
join:2017-12-12

1 recommendation

said by Brown:

Is there a way of knowing if Google Voice is enabled? I'm hoping what you mentioned in your earlier post about it being set but not showing in the webui is true.

Ya, basically any status except "Not configured". "Authentication failed" would at least show you have the (mysteriously hidden) SignalingProtocol set to GV.
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
to naf
said by naf: FYI, you got SignalingProfile in the wrong spot. Its a ITSP profile setting, not a voice service setting. (no "line.1." for its object)
Thanks; corrected it.
naf
join:2017-12-12

1 recommendation

to Brown
Alright, now that the xml is corrected, try setting the ITSP Provisioning Method to System Start and the ConfigURL to »toao.net/pub/signallingp ··· ocol.xml and rebooting.

Even if you can't see it, if it does set SignalingProtocol to GV, the status of SP1 should go to "Backing Off: Authentication error" after a reboot and a few seconds.

If SP1 status remains "Service Not Configured", then clearly it didn't set SignalingProtocol to GV and we'll have to think up a new attack.
Brown
join:2018-01-21
It's acting a little different but I'm thinking it's not actually reading the xml. Yesterday it was double booting and clearing those two parameters. Now it single boots and doesn't clear either param. What is needed to make it start dual booting again?

Still in the "Service Not Configured" condition but the single boot is frustrating.
naf
join:2017-12-12
to Brown

Re: Obihai OBi200/202 firmware mod

said by Brown:

It's acting a little different but I'm thinking it's not actually reading the xml. Yesterday it was double booting and clearing those two parameters. Now it single boots and doesn't clear either param. What is needed to make it start dual booting again?

Still in the "Service Not Configured" condition but the single boot is frustrating.

It will only reboot if the provisioning xml actually changed a value in the configuration. Turn on syslog to see whats happening »www.obitalk.com/forum/in ··· ic=707.0

What do you mean "clearing those two parameters"?
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
to Brown
said by Brown:

What is needed to make it start dual booting again?

I altered the XML to clear Method and ConfigURL again. I suspect that is not what was causing the problem, however you may wish to give it a try anyway, for completeness.
naf
join:2017-12-12

1 edit
If anybody is bored, try scp'ing this to a obi2xx/3xx and running it to dump settings from flash and let me know how it looks.

EDIT: deleted attachment, superceded
Brown
join:2018-01-21

3 edits
to Mango
Your brand new XML causes the dual boot and the values are clearing once again!

Should those two params get cleared to blanks after the double boot? As I mentioned to naf, after it would double boot, if I go back into Auto Provisioning, the "Start up" is set to "Disable" and the "ConfigURL" is blank. Now, with only a single boot it is leaving those params still set as I left them. It does change "TPRM0" to "0" (without the quotes.)

The edit is to mention it is double booting with the brand new XML and clearing the 2 params.
Brown
to Mango
In this pic I'm concerned about "PhonePower" and CertificatesStatus "Installed"
naf
join:2017-12-12

1 edit
I believe if CustomizationStatus != Generic, then you're device has "zero touch" configuration, which alters even the "factory" reset of options. If so, we gotta get rid of that crap so we can actually factory reset it.

Does the syslog show anything like "ZT: CustomID ###"?
Brown
join:2018-01-21
Phonepower is there even after a button reset and boot without internet connection. Same with CertificatesStatus "Installed".
naf
join:2017-12-12
So, ZT config is either stored in the UNIT_INFO or OBI_PARAM_PT sections.

One way to tell would be to do a diff against a non-ZT 302's flash of those sections.

If it was my device, I would be pretty quick to just erase the OBI_PARAM_PT sections of the flash, but of course I would have a backup that I could bare-metal flash if that fucked everything up
Brown
join:2018-01-21
I don't have an eprom burner but maybe you're talking newer tech than I'm familiar with. How can I read the flash?
naf
join:2017-12-12
you have an ssh shell available in arrynrob3, and the full flash is at /dev/mtd6, so something like:
ssh root@<IP_OF_302> "cat /dev/mtd6ro" > dump
 
Brown
join:2018-01-21

1 edit
I wish I knew Linux better. I'm logged in and have the bash prompt. When I type your command it says: -sh: can't create dump: read-only file system.

I do ls and it shows dev and others. I did cd dev and then ls and it shows mtd6ro (and others). cd mtd6ro says: cd: can't cd to mtd6ro. Edit: oh that's a file name. Now what?
Cinti
join:2016-08-04
Boston, MA

1 recommendation

Hello, Brown.

You have to do it from your computer, not while logged-in to the OBi ATA.

The dump will end up in whatever local directory you are logging-in from to the ATA.

With Linux is simple, not sure about Windows.

Good luck.
Brown
join:2018-01-21
I'm on a Windows PC running Putty from the DOS prompt. Then, in Putty, 192.168.10.1 (address to Obi302), then "root", "obi". This gives the bash prompt.
I think I'm real close to getting the "dump" I just need some handholding.
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net

1 edit
Try to download plink: »www.chiark.greenend.org. ··· est.html

You can run it from a command prompt:

C:\>plink -l root -pw obi 192.168.10.1 "cat /dev/mtd6ro" > mtd6ro-Brown.txt
 
Brown
join:2018-01-21

1 recommendation

Thanks Mango,

Here is my file: dump-br.txt

I did a hard reset without the internet attached before the dump in case that matters.
naf
join:2017-12-12
got it, you may delete attachment if youd like
naf

1 edit
Nothing of interest in UNIT_INFO.

Even though I haven't decoded Brown's OBI_PARAM_PT sections yet, I think the ZT config is going to be in the one at 0x460000. I just noticed its encoded different from the ones at 0x400000 and 0x420000, and on my 202 its short and ends in the string "Generic".

Ill see if i can work out the RC4 key to Brown's OBI_PARAM_PT sections to see what that "powerphone" magic is...
naf

1 edit
K, decryption was easy. Apparently HW versions >= 1.4 obfuscate the RC4 keys by masking with the MAC address. more secure i guess ;-)

So ya, 0x460000 params are the ZT culprit. Don't know exactly the format, but here's the RAW decrypted bytes:

000000 31 8c 16 d1 04 00 00 03 2a 00 00 00 31 8c 16 d1  >1.......*...1...<
000010 00 00 70 03 25 a4 ed 70 0b 00 00 01 50 68 6f 6e  >..p.%..p....Phon<
000020 65 70 6f 77 65 72 00 25 a4 ed 70 00 00 70 01 a7  >epower.%..p..p..<
000030 80 dd db 11 00 00 01 31 38 31 37 36 37 38 34 31  >.......181767841<
000040 34 36 34 62 62 66 37 00 a7 80 dd db 00 00 70 01  >464bbf7.......p.<
000050 b0 3a 29 70 08 00 00 01 34 2e 32 2e 32 2e 31 00  >.:)p....4.2.2.1.<
000060 b1 3a 29 70 0f 00 00 01 32 30 38 2e 39 37 2e 32  >.:)p....208.97.2<
000070 32 32 2e 32 32 32 00 e6 45 eb 46 0d 00 00 05 53  >22.222..E.F....S<
000080 79 73 74 65 6d 20 53 74 61 72 74 00 15 a8 4c e6  >ystem Start...L.<
000090 e0 00 00 01 40 62 65 67 69 6e 20 49 46 20 28 20  >....@begin IF ( <
0000a0 24 46 57 56 20 3e 3d 20 33 2e 30 2e 30 2e 34 30  >$FWV >= 3.0.0.40<
0000b0 35 34 20 29 20 45 58 49 54 3b 0a 40 73 74 61 72  >54 ) EXIT;.@star<
0000c0 74 20 53 45 54 20 54 50 52 4d 32 20 3d 20 32 3b  >t SET TPRM2 = 2;<
0000d0 0a 20 20 20 20 20 20 20 46 57 55 20 2d 54 3d 54  >.       FWU -T=T<
0000e0 50 52 4d 32 20 68 74 74 70 3a 2f 2f 70 72 6f 76  >PRM2 http://prov<
0000f0 69 73 69 6f 6e 2e 70 68 6f 6e 65 70 6f 77 65 72  >ision.phonepower<
000100 2e 63 6f 6d 3a 34 31 39 35 2f 55 50 47 52 41 59  >.com:4195/UPGRAY<
000110 45 44 44 2f 4f 42 69 32 30 32 2d 33 2d 30 2d 30  >EDD/OBi202-3-0-0<
000120 2d 34 30 35 34 2e 66 77 3b 0a 20 20 20 20 20 20  >-4054.fw;.      <
000130 20 49 46 20 28 20 24 54 50 52 4d 32 20 21 3d 20  > IF ( $TPRM2 != <
000140 30 20 29 20 45 58 49 54 3b 0a 20 20 20 20 20 20  >0 ) EXIT;.      <
000150 20 57 41 49 54 20 36 30 3b 0a 20 20 20 20 20 20  > WAIT 60;.      <
000160 20 47 4f 54 4f 20 73 74 61 72 74 3b 0a 20 20 20  > GOTO start;.   <
000170 20 20 20 00 0d d1 d6 79 0d 00 00 05 50 65 72 69  >   ....y....Peri<
000180 6f 64 69 63 61 6c 6c 79 00 75 01 7d 7f f2 01 00  >odically.u.}....<
000190 01 40 62 65 67 69 6e 20 53 45 54 20 54 50 52 4d  >.@begin SET TPRM<
0001a0 31 20 3d 20 30 3b 20 0a 40 73 74 61 72 74 20 53  >1 = 0; .@start S<
0001b0 59 4e 43 20 68 74 74 70 73 3a 2f 2f 70 72 6f 76  >YNC https://prov<
0001c0 69 73 69 6f 6e 2e 70 68 6f 6e 65 70 6f 77 65 72  >ision.phonepower<
0001d0 2e 63 6f 6d 3a 34 31 39 34 2f 50 72 6f 76 69 73  >.com:4194/Provis<
0001e0 69 6f 6e 58 6d 6c 2e 70 68 70 3f 6d 61 63 3d 24  >ionXml.php?mac=$<
0001f0 4d 41 43 3b 0a 20 20 20 20 20 20 20 49 46 20 28  >MAC;.       IF (<
000200 20 24 54 50 52 4d 30 20 3d 3d 20 31 20 29 20 45  > $TPRM0 == 1 ) E<
000210 58 49 54 3b 20 0a 20 20 20 20 20 20 20 49 46 20  >XIT; .       IF <
000220 28 20 24 54 50 52 4d 31 20 3d 3d 20 33 20 29 20  >( $TPRM1 == 3 ) <
000230 53 45 54 20 54 50 52 4d 31 20 3d 20 34 3b 20 0a  >SET TPRM1 = 4; .<
000240 20 20 20 20 20 20 20 49 46 20 28 20 24 54 50 52  >       IF ( $TPR<
000250 4d 31 20 3d 3d 20 32 20 29 20 53 45 54 20 54 50  >M1 == 2 ) SET TP<
000260 52 4d 31 20 3d 20 33 3b 20 0a 20 20 20 20 20 20  >RM1 = 3; .      <
000270 20 49 46 20 28 20 24 54 50 52 4d 31 20 3d 3d 20  > IF ( $TPRM1 == <
000280 31 20 29 20 53 45 54 20 54 50 52 4d 31 20 3d 20  >1 ) SET TPRM1 = <
000290 32 3b 20 0a 20 20 20 20 20 20 20 49 46 20 28 20  >2; .       IF ( <
0002a0 24 54 50 52 4d 31 20 3d 3d 20 30 20 29 20 53 45  >$TPRM1 == 0 ) SE<
0002b0 54 20 54 50 52 4d 31 20 3d 20 31 3b 0a 20 20 20  >T TPRM1 = 1;.   <
0002c0 20 20 20 20 49 46 20 28 20 24 54 50 52 4d 31 20  >    IF ( $TPRM1 <
0002d0 3d 3d 20 31 20 29 20 57 41 49 54 20 33 30 3b 20  >== 1 ) WAIT 30; <
0002e0 20 0a 20 20 20 20 20 20 20 49 46 20 28 20 24 54  > .       IF ( $T<
0002f0 50 52 4d 31 20 3d 3d 20 32 20 29 20 57 41 49 54  >PRM1 == 2 ) WAIT<
000300 20 36 30 3b 20 20 0a 20 20 20 20 20 20 20 49 46  > 60;  .       IF<
000310 20 28 20 24 54 50 52 4d 31 20 3d 3d 20 33 20 29  > ( $TPRM1 == 3 )<
000320 20 57 41 49 54 20 31 32 30 3b 20 20 0a 20 20 20  > WAIT 120;  .   <
000330 20 20 20 20 49 46 20 28 20 24 54 50 52 4d 31 20  >    IF ( $TPRM1 <
000340 3d 3d 20 34 20 29 20 53 45 54 20 54 50 52 4d 31  >== 4 ) SET TPRM1<
000350 20 3d 20 30 3b 20 0a 20 20 20 20 20 20 20 49 46  > = 0; .       IF<
000360 20 28 20 24 54 50 52 4d 31 20 3d 3d 20 34 20 29  > ( $TPRM1 == 4 )<
000370 20 57 41 49 54 20 33 36 30 30 3b 0a 20 20 20 20  > WAIT 3600;.    <
000380 20 20 00 27 9b 21 1c 06 00 00 04 66 61 6c 73 65  >  .'.!.....false<
000390 00 27 9b 21 1c 00 00 70 04 fb 3a 32 b1 04 00 00  >.'.!...p..:2....<
0003a0 05 53 49 50 00 fb 3a 32 b1 00 00 70 05 3c a1 0c  >.SIP..:2...p.<..<
0003b0 62 04 00 00 05 53 49 50 00 3c a1 0c 62 00 00 70  >b....SIP.<..b..p<
0003c0 05 7d 07 e7 12 04 00 00 05 53 49 50 00 7d 07 e7  >.}.......SIP.}..<
0003d0 12 00 00 70 05 be 6d c1 c3 04 00 00 05 53 49 50  >...p..m......SIP<
0003e0 00 be 6d c1 c3 00 00 70 05 8d 75 5f 58 0d 00 00  >..m....p..u_X...<
0003f0 05 50 65 72 69 6f 64 69 63 61 6c 6c 79 00 8d 75  >.Periodically..u<
000400 5f 58 00 00 6c 05 31 91 a3 f1 04 00 00 03 b4 00  >_X..l.1.........<
000410 00 00 31 91 a3 f1 00 00 6c 03 f5 55 39 8b 30 00  >..1.....l..U9.0.<
000420 00 01 68 74 74 70 73 3a 2f 2f 70 72 6f 76 2e 6f  >..https://prov.o<
000430 62 69 74 61 6c 6b 2e 63 6f 6d 2f 6f 62 68 73 6e  >bitalk.com/obhsn<
000440 70 72 6f 76 2f 69 6e 69 74 2f 69 6e 69 74 6b 65  >prov/init/initke<
000450 79 00 f5 55 39 8b 00 00 6c 01 b2 48 c8 4f 00 00  >y..U9...l..H.O..<
000460 6c 01 b3 48 c8 4f 00 00 6c 01 b4 48 c8 4f 00 00  >l..H.O..l..H.O..<
000470 6c 01 b5 48 c8 4f 00 00 6c 01 b6 48 c8 4f 00 00  >l..H.O..l..H.O..<
000480 6c 01 b7 48 c8 4f 00 00 6c 01 b8 48 c8 4f 00 00  >l..H.O..l..H.O..<
000490 6c 01 b9 48 c8 4f 00 00 6c 01 ff ff ff ff ff ff  >l..H.O..l.......<
0004a0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  >................<
0004b0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  >................<
0004c0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  >................<
0004d0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  >................<
0004e0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  >................<
0004f0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  >................<
 

ETA: oh, i see. its the same format as the 0x400000 and 0x420000 OBI_PARAM_PT chunks, just without each setting being padded to 0x100 bytes. So its 4-byte setting id/hash, 2 byte data length, 2 byte type, data
naf

1 edit
OK, here is a program to overwrite the OBI_PARAM_PT at 0x460000 with a "Generic" config, encoded with Brown's MAC address (so it won't work for anyone else).

Brown: run this on your obi302. *danger*: it writes to flash. It might brick your device. It might kill your cat. Caveat emptor, etc, etc.

If it works, a reboot afterwards should show your CustomizationStatus as "Generic", at which point a Reset Configuration should bring back all the settings that were hidden/locked, SignalingProtocol = GV included.
Brown
join:2018-01-21
This will be all new to me so I'll need some help.
Will I be patching it directly on the Obi?
Is it possible to copy the original (not cat'ed), patch, and copy back?
I don't know linux syntax and I'm on a Win XP laptop with Putty.
If it's easier I can install Ubuntu (or anything) and follow your commands.
naf
join:2017-12-12

1 recommendation

get pscp from same place as plink above

then do something like this:
pscp -scp -l root -pw obi genericize_flash_brown 192.168.1.3:/var/tmp
plink -l root -pw obi 192.168.1.3 "chmod +x /var/tmp/genericize_flash_brown"
plink -l root -pw obi 192.168.1.3 "/var/tmp/genericize_flash_brown"
 
Brown
join:2018-01-21

1 edit
Thanks naf,

Okay it did not brick it.

It's showing CertificatesStatus Installed
Customization status Contacting server: networking is not available

I have the cable disconnected.

When I go to ITSP Profile x The requested URL was not found

Same if I go to any of the Voice services.
naf
join:2017-12-12
Crap. As soon as it hits the network its going to re-download that silly forced config. I guess I missed zero-ing the ZT id. Must have been in the encrpyted part of UNIT_INFO. I'll have to decrypt that and change it and re-encrpyt it I guess. Let me get back to you on that.

Atleast it booted again
Brown
join:2018-01-21
I tried connecting it and you're exactly right, as soon as it hit the network it downloaded Phonepower again so now it's back to zero hour.

I'll restrain myself until further direction.

jsolo1
Premium Member
join:2001-07-01
PRIL
Can you block access to phonepower via your router or firewall?
Brown
join:2018-01-21

3 edits
I tried it just now. I setup my router to block all https sites to/from the Obi, re-patched the flash, reset Obi without internet attached. Then put cable in and it rebooted and now sits with flashing power LED (no internet). I will have to be more specific about what I block in the router. Any suggestions?

I tried 'https://provision.phonepower.com' but the router backfired with "cannot block https" sites so I just had it block the word Phonepower but it didn't succeed.
naf
join:2017-12-12
Blocking ZT config from the obi site won't work because the device won't let you configure it until it has got the ZT config downloaded (you saw that when you couldn't access the configuration web gui).

Blocking phonepower wont work cause after the ZT config is downloaded you are stuck with SignalingProtocol = SIP (note how that word appears 4 times in the 0x460000 dump above?) and other phonepower config you dont want.

Let me see if its easier to find the "i already got ZT-configed" setting and turn it on, or find the "i require ZT config" setting and turn it off, or just fucking patch obiapp to skip oiver all this ZT madness.

In the meantime, can you get syslog running? It would be nice to see your the ZT logging: »www.obitalk.com/forum/in ··· ic=707.0
naf
so the "i require ZT config" is just a check against the 5th and 6th letter of your serial number being "ZT".

to change the serial number, we would have to also update the md5 in the UNIT_INFO section, which is itself the md5 of the RC4 encryption key for the private key (an md5 of an md5. cute) so we would have to re-encrypt the private key also.

or we could just change a byte in obiapp to ignore it. ya i think lets do that.
naf

1 recommendation

Brown, I sent you a PM with a link to a patched obiapp. To try it out, do something like:

pscp -scp -l root -pw obi obiapp3 192.168.1.3:/var/tmp
plink -l root -pw obi 192.168.1.3 "chmod +x /var/tmp/obiapp3"
plink -l root -pw obi 192.168.1.3 "mount --bind /var/tmp/obiapp3 /obi/obiapp"
plink -l root -pw obi 192.168.1.3 "killall obiapp"
 
Brown
join:2018-01-21
That did it, it's "Generic".

THANK YOU naf

If you need further testing done on it just let me know.
naf
join:2017-12-12
to Brown

Re: Obihai OBi200/202 firmware mod

So you completed the rest of the steps in »www.obifirmware.com/OAuth2/ and google voice is working, or no?

(That patch won't survive a power cycle, but I'll spin a new firmware version with the patch in it to make it permanent in a hot minute)
Brown
join:2018-01-21
It's "backing off", I'll do the Oauth now if you want.
naf
join:2017-12-12
ya that should work now.
Brown
join:2018-01-21
I haven't done Oauth2 yet only because Google said I had 11 more uses available so I'm kinda waiting for closure on the flash/firmware etc.
Brown
to naf
I'm curious, how will you handle the hard coded MAC addresses? Or, is it no longer necessary to modify that area of the flash?
OBi1FW
join:2017-12-27
Vienna, VA
to Brown
said by Brown:

I haven't done Oauth2 yet only because Google said I had 11 more uses available so I'm kinda waiting for closure on the flash/firmware etc.

This is something new for me. Can you please tell me more about this?
Brown
join:2018-01-21

1 recommendation

The other day when I went through the process there was a indication from Google that the countdown had started on how many iterations are allowed. When I go through it again I'll take notes and give you an update. If no one else has seen it then, more likely, I was looking at the wrong thing.
naf
join:2017-12-12

1 recommendation

to Brown
said by Brown:

I'm curious, how will you handle the hard coded MAC addresses? Or, is it no longer necessary to modify that area of the flash?

I was just sitting here thinking the same thing.

The patched obiapp just pretends that your serial number doesnt have ZT in it, but it doesn't clear the settings that were already there.

I *could* patch it to always clear those ZT settings (the code is conveniently bytes away from the patched area), but it seems strange for a firmware to silently erase settings that someone might have needed/used.

Ideally I'd make a util that reads the MAC from the flash, does the RC4 of a clean generic param section and writes it to into 0x460000. Then people could use it or not.
Brown
join:2018-01-21
People might be more comfortable with a separate Obi202 and Obi302 firmware set and procedure.
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
to naf
said by naf:

Ideally I'd make a util

Could this be triggered by a web browser or a star code?
naf
join:2017-12-12

1 recommendation

said by Mango:

Could this be triggered by a web browser or a star code?

Patching additional functionality into the binary is hard cause you gotta make room for it, It'll just be a command line tool to run in the shell. Its only for zerotouch people and you only have to do it once...
Brown
join:2018-01-21

1 edit
to naf
I don't think it would be terrible to require the ZT obi30x's be hard reset (maybe soft) without the internet connected prior to running your magic "util".
naf
join:2017-12-12

2 recommendations

bsdiff for OBi202-3-2-1-5757EX.fw (since there was no love for 5794)

modifications:
1) add dropbear ssh server. default root passwd = "obi". [custom startup script in /scratch/etc/rc.custom, passwd to change password, fixed lastlogin errors]
2) patch obiapp to use oauth token request override, for provisioning GV without obitalk. Uses same AuthPassword format and provisioning xml as the obi1xx-naf7
3) patch obiapp to bypass "zero touch" forced configuration. added clear_zt_params util to clear old zero touch params
Brown
join:2018-01-21
Yes, looks good. I bspatch'ed it, soft reset, updated firmware (it updated without needing a downgrade first), Mango's xml, added username and password (not Oauth2 yet), and I'm at "backing off (869s): Authentication error" with new arrynrob4 version. I'll do Oauth2 next.

Outstanding work once again, Thank you naf
naf
join:2017-12-12
param_dump.zip
494,220 bytes
Here's a tool to dump all the stored params (including the ones not accessible via webgui)

Updated from previous to work with hw rev 1.4 devices and their fancy mac masking of the RC4 key.

Let me know if you try it...
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
Looks like it works as intended; thanks!
Brown
join:2018-01-21

1 edit
to naf
I'm seeing a bug (possibly) in the firmware. It seems to have a hard coded 8 byte string in the AuthPassword field. It just shows as 8 dots. No matter what I type in after submit it shows the 8 bytes again before reboot or after reboot. After a reset the field is empty but as soon as anything is entered and submitted the 8 byte string is back.

Edit: I went back to arrynrob3 and patched the flash and it works the same as above. I think that is "normal" because I went through the Oauth2 process and it connected. I made a call out and it seems fine. All the LED's are lit up which seems wrong because I only have 1 phone attached but maybe that's the way it's supposed to work. I guess I should put the arrynrob4 version back in but maybe I'll try it this way for a few days. It's 3:21am so I'll talk later.
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net

1 recommendation

That's typical. It's so you can't view source and retrieve your password.
naf
join:2017-12-12
to Mango
said by Mango:

Looks like it works as intended; thanks!

was that talking about param_dump or the no-zt firmware?
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
That was about the new param_dump. I'll try arrynrob4 on the weekend.
Brown
join:2018-01-21
to naf
What's the command syntax for param_dump?
naf
join:2017-12-12

2 edits

1 recommendation

said by Brown:

What's the command syntax for param_dump?

just copy it to the box and run it. its just displays every setting on the box. on windows it would be something like:
pscp -scp -l root -pw obi param_dump 192.168.1.3:/var/tmp
plink -l root -pw obi 192.168.1.3 "chmod +x /var/tmp/param_dump"
plink -l root -pw obi 192.168.1.3 "/var/tmp/param_dump"
 

the key is to identify any interesting setting that has a ??? next to it. i dumped all the ones from the webgui into the tool (and a couple of others that i knew off the top), so the other ones are more interesting

(dont paste the output, its got all your passwords and everything in it)
Brown
join:2018-01-21

1 edit
Could you write a program that would capture the digits of incoming numbers that have caller ID blocking switched on? Is it possible? Maybe it would write the number to an obscure location in the GUI.
naf
join:2017-12-12
said by Brown:

Could you write a program that would capture the digits of incoming numbers that have caller ID blocking switched on? Is it possible? Maybe it would write the number to an obscure location in the GUI.

um
wget http://192.168.1.3/callhistory.htm | grep "whatever youre looking for"
 
?
Nissen
join:2018-01-31
2860
Dear naf, I have noticed, that the modified fw for OBi200/202 made by arrynrob3 is based on fw. ver. 5757EX. I have noticed, that a ver. 5775 and a ver. 5793 also exists. Why is the modified fw based on 5757 and not 5775 or 5794?
Greetings, Nis in Copenhagen, Denmark
naf
join:2017-12-12

1 edit

4 recommendations

said by Nissen:

Dear naf, I have noticed, that the modified fw for OBi200/202 made by arrynrob3 is based on fw. ver. 5757EX. I have noticed, that a ver. 5775 and a ver. 5793 also exists. Why is the modified fw based on 5757 and not 5775 or 5794?
Greetings, Nis in Copenhagen, Denmark

arrynrob3 was actually made against both 5757 *and* 5794. take your pick.

after i made 5794-arrynrob3, it was pointed out that 5794-stock breaks features that were previously working (see »www.obitalk.com/forum/in ··· =13489.0) and provides no enhancements or bug fixes that we know of because obihai doesn't release changelogs [or even build accouncements] anymore.

so for arrynrob4 (which you only need if you have a ZT in your serial number) i didn't bother producing a 5794 variant because I consider 5757 the latest 'working' build [and im lazy. patching an extra function or two into a 3MB executable aint a walk in the park, so i prefer to not do it to multiple different versions in parallel]
Nissen
join:2018-01-31
2860
Thank you very much for your help!
twinclouds
join:2010-06-12
San Diego, CA
to naf
Hi, is there a how-to guide about how to install and use your modified firmware in Obi200/202?
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net

1 recommendation

Take a read through »www.obifirmware.com/ and let us know if you have any questions.
twinclouds
join:2010-06-12
San Diego, CA

1 recommendation

So all I need to do is to install the customized firmware? It is easy! Thank you all for your good work!
twinclouds
join:2010-06-12
San Diego, CA

1 edit
to Mango

Re: Obihai OBi200/202 firmware mod

I went through the instructions given in naf's website. The generation of the Refresh Token is essentially the same as what RonR described before, right?
My question is, in "Google Voice on OBi ATA Manual Configuration" step, what I should use for the AuthPassword? the generated refresh token? If it is, do I need to enter "OAuth Client ID" and "OAuth Client secret" somewhere as in Asterisk xmpp.conf?
azrobert
join:2015-02-07
Fountain Hills, AZ
to twinclouds
»Re: ObiHAI Obi100/Obi110 Firmware Mod Discussion
twinclouds
join:2010-06-12
San Diego, CA
Thanks. It works fine with naf's firmware.
Brown
join:2018-01-21

1 recommendation

to naf
I'm just getting back to it. My 302 reset last week on its own and lost the Oauth credentials. I reconnected my 110 because I was busy and that was quick. I'm wondering maybe if the model name shown in the status screen was changed from OBI302 to OBI202 then we could also use Obitalk to configure service. I realize you started this thread for the sole purpose of eliminating the Obitalk requirement but then, the 302 conversion happened which made your firmware even more desirable. Let me know your thoughts.

Thanks
naf
join:2017-12-12
said by Brown:

I'm just getting back to it. My 302 reset last week on its own and lost the Oauth credentials. I reconnected my 110 because I was busy and that was quick. I'm wondering maybe if the model name shown in the status screen was changed from OBI302 to OBI202 then we could also use Obitalk to configure service.

I think the easier solution is that you work on your "reset on its own" problem, probably just by disabling all auto-provisioning and turning off the obitalk service.
Brown
join:2018-01-21
Everything was disabled. Now I'm wondering if arrynrob4 should not be installed over arrynrob3 which is what I did. When I get back to it I'll go back in versions to stock 4350 (or whatever), then stock 5757 then arrynrob4. My reason for thinking this has to do with my earlier experience of not being able to install arrynrob3 over stock 4350 where it gave a checksum error.
naf
join:2017-12-12
Don't bother. If the firmware flashed onto the device, then its on there.
Its in a separate flash area from the settings anyway: notice how your settings dont go away when you upgrade...

When you say "reset", do you mean just the configuration to one of the SPs, just the oauth credentials, or everything like a factory reset?
Brown
join:2018-01-21
I made a mistake saying "reset" on its own. The Obi was rebooting on its own possibly related to when a call comes in after a certain number of rings. I did not narrow it down with a syslog yet. The first thing I thought of is a weak power supply so I tried another with similar results. After a couple more of these auto reboots I decided to flash stock 4350 firmware then stock 5757 and then I stopped.
naf
join:2017-12-12
a reboot followed by losing saved settings sounds a lot like a provisioning happening to me, but ya a syslog will have a reboot reason in there.
Brown
join:2018-01-21
A clarification on the settings: They were not being reset by the reboots. Google Voice stopped after I downgraded the firmware so I could do a cleaner installation of arrynrob4.

So today: I flashed arrynrob4 back on (over stock 5757), used the XML from ObiFirmware.com, configured oAuth2, setup Syslog, made a call and received a call and it's working fine. I'll leave the log going for a couple days maybe or at least restart it if the reboots start happening again.

The only "Auto Provisioning" setup is "LUA Script Update" at system start. Should it be disabled? Do you want to see what's in the script?
naf
join:2017-12-12
said by Brown:

A clarification on the settings: They were not being reset by the reboots. Google Voice stopped after I downgraded the firmware so I could do a cleaner installation of arrynrob4.

So today: I flashed arrynrob4 back on (over stock 5757), used the XML from ObiFirmware.com, configured oAuth2, setup Syslog, made a call and received a call and it's working fine. I'll leave the log going for a couple days maybe or at least restart it if the reboots start happening again.

So it sounds like you never had a problem but all this firmware switching
Brown
join:2018-01-21

2 edits
It was rebooting on its own when calls came in. That's a big problem.
valley_nomad
join:2012-11-26
New York, NY
to naf
Is there any successful case for Obi302? These can be bought for less than $30 from eBay.
naf
join:2017-12-12
said by valley_nomad:

Is there any successful case for Obi302? These can be bought for less than $30 from eBay.

depends what you mean by successful...

i believe with 5757-arrynrob4 you can unlock a vendor-configured obi302 to do anything an obi202 can (including GV) except that you can't configure it via obitalk's website, but you can use the local web gui instead [rant]which you should have been doing anyway[/rant]

if you do get one, report back your success/failure.
olisom
join:2018-03-02
united state
Hi Naf;

Can we now try to hack the ObiHai 1062 powerphone so that it can be programmed as a non-provisioned device?
How do we go about this? I think I can try to use a programmer to download the firmware if I know how to do this.
It will be an interesting project. And, I will also learn a bit about hacking these devices up close and person.
naf
join:2017-12-12

1 recommendation

said by olisom:

Can we now try to hack the ObiHai 1062 powerphone so that it can be programmed as a non-provisioned device?

Sure, why not? Firmware appears to be similar to the obi2xx. If you start a new thread, I'll hop over there and lets see what we can do.

Is this the "latest" firmware: »fw.obihai.com/OBiPhone-5 ··· -4027.fw ?
olisom
join:2018-03-02
united state
Yes. The version above is the final version. I have opened up a new thread, but it will require moderator approval.
old fart
join:2004-05-26
Update...
Cinti
join:2016-08-04
Boston, MA
to olisom
said by olisom:

Hi Naf;

Can we now try to hack the ObiHai 1062 powerphone so that it can be programmed as a non-provisioned device?
. . .

Maybe I'm missing something.

I have an OBi1022 phone that was never subscribed to OBitalk and never provisioned by any vendor. I configured it myself to my heart's content.

Are you speaking about a vendor locked OBi SIP phone?
olisom
join:2018-03-02
united state
Yes, I am talking about vendor locked OBI phones. They get provisioned after a hardware reset, do not offer google voice and the like.
naf
join:2017-12-12
said by olisom:

Yes, I am talking about vendor locked OBI phones. They get provisioned after a hardware reset, do not offer google voice and the like.

Sounds like the obi3xx. Does your model # have "ZT" as the 5th and 6th characters by any chance?
naf

1 recommendation

to old fart
said by old fart:

Update...

Thanks, old fart.

Jesus christ if obihai cant even fucking put out an announcement for what the fuck firmwarm is the latest they could atleast open up a directory listing at fw.obihai.com, assholes.
olisom
join:2018-03-02
united state
to naf
No the model number is the same for provisioned and non provisioned phones as far as I can tell. The mods want the discussion on this thread. So, we should probably continue the discussion here.
naf
join:2017-12-12
said by olisom:

No the model number is the same for provisioned and non provisioned phones as far as I can tell. The mods want the discussion on this thread. So, we should probably continue the discussion here.

Sorry. I meant serial number. What about that?
olisom
join:2018-03-02
united state
Sent you the serial number via private message.
naf
join:2017-12-12
said by olisom:

Sent you the serial number via private message.

Email didn't come through right. Try an IM instead?
Expand your moderator at work
naf

2 edits

Re: Obihai OBi200/202 firmware mod

hm, ok so its not Zero Touch forcing config. Have to look into that later.

in the meantime, firmware looks very moddable. same md5 chunks as the obi2xx so we should be able to do this via the web interface (you're web interface does allow fw upgrades, correct?)

do you have a way to backup/restore your whole flash chip in case we fuck it up?

ETA: all the chunks look like: uncompressed size bigendian + zlib-stream. unzlibbed gives us a ubifs image. so far so good. looks like we got Linux-3.4.20 with gcc 4.3 and glibc 2.13 on (some variant of?) a little endian arm. ill try to build a cross-compiling toolchain to match... [wait, why the fuck do i have to keep guessing at the toolchain these obihai fools use? i can't help but notice that its all GPL. where's my "scripts used to control compilation and installation of the executable", eh?]
olisom
join:2018-03-02
united state
Yes, the web interface allows fw updates or at least gives me the option.
Also, the config is possibly pushed by Obi based on the serial number. I have two of these boxes so, we can push ahead before I get the SPI programmer. I can always clone the box.
Is there a schematic for an spi progammer that I can use?
naf
join:2017-12-12
said by olisom:

Yes, the web interface allows fw updates or at least gives me the option.
Also, the config is possibly pushed by Obi based on the serial number. I have two of these boxes so, we can push ahead before I get the SPI programmer. I can always clone the box.
Is there a schematic for an spi progammer that I can use?

ok, i think i understand the format enough by now that there shouldn't be too much risk in needing to go back to an original backup, but hey its your box

regarding programmers: maybe, which flash chip does it use?

ok lots of questions for you on configs: how do you know it is forcing a config on you? like you reset and it still forces or hides settings, or what? what is it that your vendor has locked down that you want to change? and whats your current CustomizationStatus and obitalk/ITSP provision settings look like?
naf
join:2017-12-12

Re: Obihai OBi200/202/302 + OBiPhone firmware mod

status update: got the toolchain built, got dropbear compiled, and (hopefully) scripted it to get started on boot.

im kind of scared to increase the size of the ubifs image on the first try at it without a backup. (any ubi experts out there?)

maybe we should start instead by just enabling the already-included telnet server...
naf
this phone has built-in software to take pcap packet dumps to a usb drive? wtf?
Stewart
join:2005-07-13

1 recommendation

said by naf:

this phone has built-in software to take pcap packet dumps to a usb drive? wtf?

That's pretty common, at least to local RAM which can then be exported. Shot above is from an old Yealink.
naf
join:2017-12-12

1 recommendation

to olisom

Re: Obihai OBi200/202 firmware mod

olisom, I PM-ed you a link to a modified version of OBiPhone-5-1-4-4027.fw with just a couple small changes:

diff -r -u rootfs-orig/css/sercomm.sh rootfs-mod/css/sercomm.sh
--- rootfs-orig/css/sercomm.sh     2014-12-18 17:54:18.000000000 -0600
+++ rootfs-mod/css/sercomm.sh      2018-03-03 18:39:03.000000000 -0600
@@ -1,7 +1,10 @@
 #!/bin/sh
 
-# Enable telnet
-telnetd &
+## Enable telnet
+#telnetd &
+
+# Enable telnet that won't be killed by 'killall telnetd'
+busybox telnetd &
 
 # MOUNT debug system
 mount -t debugfs none /sys/kernel/debug
diff -r -u rootfs-orig/etc/passwd rootfs-mod/etc/passwd
--- rootfs-orig/etc/passwd 2014-08-12 17:58:04.000000000 -0500
+++ rootfs-mod/etc/passwd  2018-03-03 18:14:24.000000000 -0600
@@ -1,4 +1,4 @@
-root::0:0:root:/home/root:/bin/sh
+root:RjzQVrYR2O2vw:0:0:root:/home/root:/bin/sh
 daemon:*:1:1:daemon:/usr/sbin:/bin/sh
 bin:*:2:2:bin:/bin:/bin/sh
 sys:*:3:3:sys:/dev:/bin/sh
 

the ubifs partition looked ok in nandsim.

if you're conservative, probably smarter to wait until you have a means of taking a full flash backup.
if you're bold, atleast get syslog going before upgrading to it so you get hear your phone's last words.
Cinti
join:2016-08-04
Boston, MA

3 recommendations

said by naf:

. . .
if you're bold, atleast get syslog going before upgrading to it so you get hear your phone's last words.

Love your sense of humor -- almost fell off my chair laughing.

jsolo1
Premium Member
join:2001-07-01
PRIL
to naf
@naf You have a pretty good track record. Haven't let us down yet
naf
join:2017-12-12
to Cinti
said by Cinti:

Nosing around "/var/log/messages," noticed the following dropbear error messages:

almost forgot, i silently fixed the lastlog warnings you saw on the obi200 in arrynrob4 i believe. (still didnt compile sftp-server for sshfs though)
said by Cinti:

Love your sense of humor -- almost fell off my chair laughing.

wont be so funny for olisum when he bricks his $100 phone...

besides, i do actually want to see the syslog.
Brown
join:2018-01-21

1 edit
My Obi302 is working perfect after the install of arrynrob4 over stock 5757. No more rebooting on incoming calls. The initial install over arrynrob3 had problems so avoid doing that.

That reminds me of several years ago updating routers with DD-WRT firmware which had specific versions for the initial flash and full feature versions for second flash. If it was done wrong it could brick the router and require a JTAG or serial connection.

Thanks again.
naf
join:2017-12-12

Re: Obihai OBi200/202/302 + OBiPhone firmware mod

said by olisum :

Last seen: 2018-03-03 18:06:20

I think we scared him off :-(

jsolo1
Premium Member
join:2001-07-01
PRIL
@Naf,

Firmware version: 3.2.1 (Build: 5757EX-arrynrob3)
device: obi202

Issue: Trying to configure sp4 for gv manual oauth2. Coming back with backing off errors in status.

Syslog shows the following:

Using AuthPassword as token request override
XMPP:Authentication Error:Refresh token available

Using the same credentials in a different sp slot (say sp2) works properly.

I even generated a new refresh token for the account with same results. Suggestions?

Thanks!
jsolo1
Update: Eventually it took, but I noticed something else strange.

It seems once a GV oauth2 profile is configured and connected to, changing it doesn't actually change it. It still reverts to connecting to the initially configured profile. Even inputting an erroneous Authpassword results in it still connecting to the previous configured credentials.

I'm not sure if this is because of the mod or because the firmware is so well (¿?) written. A factory reset fixes this. It's not a big deal as its unlikely the account used is changed often.

My factory reset workaround is below.

A) Block internet access for obi

B) Backup settings prior to factory reset. Everything except passwords get saved. I save those in one of the SIP comment fields

B1) Factory reset

C) skip this step for 200, for 202, re-enable wan access (»www.obitalk.com/info/faq ··· from-WAN)

D) Enable local oauth2 configuration
I run a local tftpd server and point the ITSP autoprovisiong using the file from the second page of this »www.obifirmware.com/OAuth2/

Otherwise, you'll need to enable internet access to pull the file from »fw.obifirmware.com/Enabl ··· TALK.xml . I'm not sure what sort communications there is to the mothership, so I rather keep internet access blocked until all the settings are restored (including disabling any obitalk communications). The unit will reboot twice.

E) I restore configuration saved from step B. Unit will reboot again.

F) Paste passwords for each configured voice service.

G) Reboot. While rebooting re-enable obi internet access. I have the obi's on a separate vlan so it's literally just a matter of flipping a toggle in the firewall.

All this takes less than 5 minutes to do.
naf
join:2017-12-12

2 edits
jsolo1: strangely enough that sounds normal i think. what happens is this: you log into GV with the access token. they're good for like a couple hours or whatever. the refresh token that you input is just used to get an access token. and the firmware only attempts to get a new access token when the old access token fails/expires. That's why you get these weird cases where you've change the refresh token (even to a different user) but since the access token hasn't expired, it's still used and the refresh token is not put in use yet. as you noticed, a reset is the quick way to clear the access token and not wait for it to expire.

EDIT: changed auth token --> access token

jsolo1
Premium Member
join:2001-07-01
PRIL
Thank you for explaining.

I wonder what happens if the changes are pushed through obitalk. Perhaps it too does a factory reset (or some form of one) before reprovisioning.
naf
join:2017-12-12
said by jsolo1:

Thank you for explaining.

Gotta bide my time waiting on the reappearance of olisum somehow...
said by jsolo1:

I wonder what happens if the changes are pushed through obitalk

Im guessing that obitalk just provisions a X_GApiInitAccessToken setting to clear the old access token. You can do that too by just provisioning the EnableGoogleVoiceWithoutOBiTALK.xml or similar after modifying the refresh token to get immediate results. (haven't tried myself)

Or do what I usually do: force the old access token to invalidate by revoking oauth permission from the google side.

jsolo1
Premium Member
join:2001-07-01
PRIL
^^You mean step D above? I tried that, didn't make any difference. Do those two values, blam and blorg have any significance or are just arbitrary fillers?

I hadn't though of revoking permissions through google itself and regenerating the token. Only issue is I also use this account in freepbx for outbound calls. That would require updating it there too.
naf
join:2017-12-12
said by jsolo1:

^^You mean step D above? I tried that, didn't make any difference. Do those two values, blam and blorg have any significance or are just arbitrary fillers?

ah, D, yes. (my poor reading comprehension strikes again)

blam/blorg were just arbitrary values to pass the not-null check to avoid the "Not configured" state after a reset (and the value of X_GApiRefreshToken would actually be used during token refresh if AuthPassword was blank, but it would have to be a token generated against the obihai client_id/secret, i.e. it would have to come from obitalk configuration)
olisom
join:2018-03-02
united state

1 edit
to naf

Re: Obihai OBi200/202 firmware mod

Hi naf,
Sorry got a little sidetracked with school and work. I tried your telnet firmware today. I can confirm that the telnet firmware is functional. However, telnet has a different default password? The web interface of obi shows your firmware version with telnet after the boot. So far everything looks ok. No new firmware was pushed.

As to what's different. The firmware originally had a provisioning system. Did not have google voice. Those were the main differences. I will take the device apart if we need to. So don't know the answer to what flash chip it has yet. For now, we can go ahead and brick the phone if we need to.

Also, I am trying to get my hands on 1022A and 1032A locked to see if we can make it all devices. No, I don't deal with VOIP equipment. This is just a hobby. I will have sell the devices once we are done with them or give them away. Not enough space for more than one obi phone at the end of it all
Thank you for the firmware. Let me know what I should do next. Also got an account setup so I can login to my home network. So I can do a few things as long as the phone boots back up after an update.
naf
join:2017-12-12

4 edits
thats what im fucking talking about!

telnet user/pass should be: root/obi
if that doesn't work, maybe i missed the home dir or shell or something?

if telnet works, lets see the output of a few things:
# dmesg | grep -B3 -A10 "MTD partitions"
# cat /proc/mtd
# mount
# ubinfo
# ls -l /dev/ubi*

after seeing those we should be able to figure out how to take a backup of the whole flash (the box's individualized settings are the important part - cant get those back if we fuck em up).

EDIT: to change my mind a shitton of times
olisom
join:2018-03-02
united state
DSPG v1.2.4-rc2 OBiPhone

OBiPhone login: root
Password:
root@OBiPhone:~# dmesg | grep -B3 -A10 "MTD partitions"
[ 0.516565] Bad eraseblock 613 at 0x000004ca0000
[ 0.544402] Bad eraseblock 926 at 0x0000073c0000
[ 0.554848] 12 cmdlinepart partitions found on MTD device dmw_nand
[ 0.557978] Creating 12 MTD partitions on "dmw_nand":
[ 0.560579] 0x000000000000-0x000000100000 : "u-boot"
[ 0.564877] 0x000000100000-0x0000001c0000 : "u-boot-env"
[ 0.569129] 0x0000001c0000-0x000000400000 : "devtree"
[ 0.573348] 0x000002400000-0x000002800000 : "kernel"
[ 0.577374] 0x000002800000-0x000003c00000 : "rootfs"
[ 0.581488] 0x000003c00000-0x000004400000 : "obiapp"
[ 0.585544] 0x000000400000-0x000000800000 : "kernel1"
[ 0.589695] 0x000000800000-0x000001c00000 : "rootfs1"
[ 0.594069] 0x000001c00000-0x000002400000 : "obiapp1"
[ 0.598182] 0x000004400000-0x000006c00000 : "scratch"
root@OBiPhone:~# cat /proc/mtd
dev: offfset size erasesize name
mtd0: 00000000 00100000 00020000 "u-boot"
mtd1: 00100000 000c0000 00020000 "u-boot-env"
mtd2: 001c0000 00240000 00020000 "devtree"
mtd3: 02400000 00400000 00020000 "kernel"
mtd4: 02800000 01400000 00020000 "rootfs"
mtd5: 03c00000 00800000 00020000 "obiapp"
mtd6: 00400000 00400000 00020000 "kernel1"
mtd7: 00800000 01400000 00020000 "rootfs1"
mtd8: 01c00000 00800000 00020000 "obiapp1"
mtd9: 04400000 02800000 00020000 "scratch"
mtd10: 06c00000 01400000 00020000 "misc"
mtd11: 00000000 08000000 00020000 "all"
root@OBiPhone:~# mount
rootfs on / type rootfs (rw)
ubi0:rootfs on / type ubifs (rw,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
none on /dev type tmpfs (rw,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
tmpfs on /var/volatile type tmpfs (rw,relatime)
tmpfs on /media/ram type tmpfs (rw,relatime)
none on /sys/kernel/debug type debugfs (rw,relatime)
ubi1:obiapp on /obi type ubifs (rw,relatime)
ubi2:scratch on /scratch type ubifs (rw,sync,relatime)
root@OBiPhone:~# usbinfo
-sh: usbinfo: command not found
root@OBiPhone:~# ubinfo
UBI version: 1
Count of UBI devices: 3
UBI control device major/minor: 10:62
Present UBI devices: ubi0, ubi1, ubi2
root@OBiPhone:~# ls -l /dev/ubi*
crw------- 1 root root 252, 0 Dec 31 1969 /dev/ubi0
crw------- 1 root root 252, 1 Dec 31 1969 /dev/ubi0_0
crw------- 1 root root 248, 0 Dec 31 1969 /dev/ubi1
crw------- 1 root root 248, 1 Dec 31 1969 /dev/ubi1_0
crw------- 1 root root 247, 0 Dec 31 1969 /dev/ubi2
crw------- 1 root root 247, 1 Dec 31 1969 /dev/ubi2_0
crw------- 1 root root 10, 62 Dec 31 1969 /dev/ubi_ctrl
naf
join:2017-12-12
i cut too close around the MTD line, lost the chip id and last 2 partitions. try bumping up the buffers:
# dmesg | grep -B15 -A20 "MTD partitions"
olisom
join:2018-03-02
united state
root@OBiPhone:~# dmesg | grep -B15 -A20 "MTD partitions"
[ 0.166603] 5b00000.serial: ttyS1 at MMIO 0x5b00000 (irq = 24) is a DSPG_UART
[ 0.382035] console [ttyS1] enabled
[ 0.417169] galcore 600000.gpu: GPU initialized, clocked at 300MHz
[ 0.432629] brd: module loaded
[ 0.440699] loop: module loaded
[ 0.444751] dvf9a 6300000.dvf9a: successfully registered (DVF9A version 2)
[ 0.450675] NAND device: Manufacturer ID: 0xc2, Chip ID: 0xf1 (Macronix NAND 128MiB 3,3V 8-bit)
[ 0.455149] Scanning device for bad blocks
[ 0.463627] Bad eraseblock 77 at 0x0000009a0000
[ 0.479305] Bad eraseblock 241 at 0x000001e20000
[ 0.486704] Bad eraseblock 303 at 0x0000025e0000
[ 0.492719] Bad eraseblock 349 at 0x000002ba0000
[ 0.516565] Bad eraseblock 613 at 0x000004ca0000
[ 0.544402] Bad eraseblock 926 at 0x0000073c0000
[ 0.554848] 12 cmdlinepart partitions found on MTD device dmw_nand
[ 0.557978] Creating 12 MTD partitions on "dmw_nand":
[ 0.560579] 0x000000000000-0x000000100000 : "u-boot"
[ 0.564877] 0x000000100000-0x0000001c0000 : "u-boot-env"
[ 0.569129] 0x0000001c0000-0x000000400000 : "devtree"
[ 0.573348] 0x000002400000-0x000002800000 : "kernel"
[ 0.577374] 0x000002800000-0x000003c00000 : "rootfs"
[ 0.581488] 0x000003c00000-0x000004400000 : "obiapp"
[ 0.585544] 0x000000400000-0x000000800000 : "kernel1"
[ 0.589695] 0x000000800000-0x000001c00000 : "rootfs1"
[ 0.594069] 0x000001c00000-0x000002400000 : "obiapp1"
[ 0.598182] 0x000004400000-0x000006c00000 : "scratch"
[ 0.602456] 0x000006c00000-0x000008000000 : "misc"
[ 0.606549] 0x000000000000-0x000008000000 : "all"
[ 0.610751] dmw_nand 5400000.nand: initialized
[ 0.613704] UBI: attaching mtd4 to ubi0
[ 0.615645] UBI: physical eraseblock size: 131072 bytes (128 KiB)
[ 0.618816] UBI: logical eraseblock size: 126976 bytes
[ 0.621557] UBI: smallest flash I/O unit: 2048
[ 0.623958] UBI: VID header offset: 2048 (aligned 2048)
[ 0.626996] UBI: data offset: 4096
[ 0.698872] UBI: max. sequence number: 653
naf
join:2017-12-12
ok cool, lets try to make a backup: (we'll do a proper nanddump later)
# cat /dev/mtd11 > /var/volatile/dump

that dump file should be ~128MB [+oob data? nand confuses me] [hope you have that much ram. should have asked to see # free]

then maybe use netcat to get that file off the device. if youre unfamiliar, see here: »nakkaya.com/2009/04/15/u ··· ansfers/
said by olisom:

[ 0.450675] NAND device: Manufacturer ID: 0xc2, Chip ID: 0xf1 (Macronix NAND 128MiB 3,3V 8-bit)

no serial number, so we can't lookup the form factor in case we need to manually flash to restore. but so far so good...
olisom
join:2018-03-02
united state
Is there only one NAND chip on there. Maybe we are trying to dump a flash into the flash? I have a flash drive, but I don't know if there are drivers for a usb drive on that thing.

root@OBiPhone:~# cat /dev/mtd11 > /var/volatile/dump
cat: write error: No space left on device
root@OBiPhone:~#
naf
join:2017-12-12

2 recommendations

said by olisom:

root@OBiPhone:~# mount
tmpfs on /var/volatile type tmpfs (rw,relatime)

/var/volatile should be ram.

output of
# free
should tell us how much space is available.

dd is available if we have to split it up...

--- to be continued tomorrow, got a hot date [its my anniversary ]
olisom
join:2018-03-02
united state

1 edit
Happy anniversary! See ya tomorrow
I managed to secure two more devices the 1022 and 1032.
They should be here in about a week or so.

root@OBiPhone:~# free
total used free shared buffers
Mem: 114672 112376 2296 0 20
-/+ buffers: 112356 2316
Swap: 0 0 0
root@OBiPhone:~# cd /var/volatile/
root@OBiPhone:/var/volatile# ls
cache dump lock log misc ppp run tmp
root@OBiPhone:/var/volatile# ls -l dump
-rw-r--r-- 1 root root 38113280 Mar 12 17:44 dump
root@OBiPhone:/var/volatile# ls -l
drwxr-xr-x 3 root root 60 Dec 31 1969 cache
-rw-r--r-- 1 root root 38113280 Mar 12 17:44 dump
drwxrwxrwt 3 root root 60 Dec 31 1969 lock
drwxr-xr-x 2 root root 100 Mar 12 13:43 log
drwxr-xr-x 8 root root 200 Dec 31 1969 misc
drwxr-xr-x 2 root root 80 Dec 31 1969 ppp
drwxr-xr-x 5 root root 260 Dec 31 1969 run
drwxrwxrwt 2 root root 500 Mar 12 10:41 tmp
root@OBiPhone:/var/volatile# rm dump
root@OBiPhone:/var/volatile# ls
cache lock log misc ppp run tmp
root@OBiPhone:/var/volatile# free
total used free shared buffers
Mem: 114672 75164 39508 0 20
-/+ buffers: 75144 39528
Swap: 0 0 0
root@OBiPhone:/var/volatile#
naf
join:2017-12-12

1 edit
ok so we got atleast 38MB of free RAM to work with. lets just get each mtd piece off one at a time then.
conveniently mtd0-10 cover the whole flash contiguously, so...

for mtd 0-8 and 10:
# dd if=/dev/mtd0 of=/var/volatile/dump-mtd0 bs=$((0x10000))
(netcat file off of device, delete file to free space)
# dd if=/dev/mtd1 of=/var/volatile/dump-mtd1 bs=$((0x10000))
(netcat file off of device, delete file to free space)
... rinse and repeat...

mtd9 > 38MB, so it must be split into two, netcat off and delete in between:
# dd if=/dev/mtd9 of=/var/volatile/dump-mtd9a bs=$((0x10000)) count=$((0x140))
# dd if=/dev/mtd9 of=/var/volatile/dump-mtd9b bs=$((0x10000)) skip=$((0x140))
naf
also lets see the output of
# fw_printenv

p.s. might help to put output in [code ] blocks: »Re: Posting How To - Examples
naf

Re: Obihai OBi200/202/302 + OBiPhone firmware mod

and lets get the ubi partitions as ubi partitions instead of raw mtd also:

(netcat file off of device and delete in between, should have the drill down by now)
# dd if=/dev/ubi0_0 of=/var/volatile/dump-ubi0_0 bs=$((0x10000))
# dd if=/dev/ubi1_0 of=/var/volatile/dump-ubi1_0 bs=$((0x10000))
# dd if=/dev/ubi2_0 of=/var/volatile/dump-ubi2_0a bs=$((0x10000)) count=$((0x140))
# dd if=/dev/ubi2_0 of=/var/volatile/dump-ubi2_0b bs=$((0x10000)) skip=$((0x140))
olisom
join:2018-03-02
united state
hi naf; is there any way to mount an USB drive readwrite? It's ow mounted as a write only drive. That way we can get the whole file on the usb drive.
naf
join:2017-12-12

4 edits
said by olisom:

is there any way to mount an USB drive readwrite?

maybe. what does dmesg and mount look like when you inserted it?

ETA: looks like theres a script (/usr/sbin/auto_mount.sh) that udev calls (/etc/udev/rules.d/81-usb-storage.rules) to auto mount things with 'mount -o ro'. should be able to just umount it and mount it again without the ro option...
naf
join:2017-12-12

Re: Obihai OBi200/202 firmware mod

said by naf:

hm, ok so its not Zero Touch forcing config. Have to look into that later.

Ah, I see now. So in the phone firmware, in addition to doing zero touch configuration for ZT serial numbers by forcing a network connection to obihai to get provider config, they also have the capability to force config from a usb-based zerotouch file (isnt it "one-touch" if you have to insert a usb stick?).

So thats probably how phonepower got you locked. We just need to clear those settings out to be back to Generic, just like on the 30x, but minus the "dont connect to get them again" patch
olisom
join:2018-03-02
united state
to naf

Re: Obihai OBi200/202/302 + OBiPhone firmware mod

[ 0.820261] usbcore: registered new interface driver rtl8192cu
[ 0.823212] Initializing USB Mass Storage driver...
[ 0.825877] usbcore: registered new interface driver usb-storage
[ 0.828910] USB Mass Storage support registered.
[ 0.831255] musb-fdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.841851] musb-fdrc musb-fdrc: MUSB FDRC host driver
[ 0.844475] musb-fdrc musb-fdrc: new USB bus registered, assigned bus number 1
[ 0.848360] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[ 0.851802] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.855473] usb usb1: Product: MUSB FDRC host driver
[ 0.857990] usb usb1: Manufacturer: Linux 3.4.20-rt31-dvf-v1.2.4-rc2 musb-hcd
[ 0.861610] usb usb1: SerialNumber: musb-fdrc
[ 0.864782] hub 1-0:1.0: USB hub found
[ 0.866734] hub 1-0:1.0: 1 port detected
[ 0.869329] musb-fdrc musb-fdrc: USB Host mode controller at c8100000 using PIO, IRQ 30

root@OBiPhone:/# df -h
Filesystem Size Used Available Use% Mounted on
ubi0:rootfs 15.0M 13.7M 1.3M 91% /
none 56.0M 732.0K 55.3M 1% /dev
tmpfs 56.0M 19.7M 36.3M 35% /var/volatile
tmpfs 56.0M 0 56.0M 0% /media/ram
ubi1:obiapp 4.5M 4.1M 396.0K 91% /obi
ubi2:scratch 33.3M 68.0K 31.5M 0% /scratch
/dev/sda1 967.2M 436.3M 530.9M 45% /media/sda
root@OBiPhone:/# parted -ls
-sh: parted: command not found
root@OBiPhone:/# lsblk -f
-sh: lsblk: command not found
root@OBiPhone:/# lsblk -f
-sh: lsblk: command not found
root@OBiPhone:/# ls -ld /media
drwxr-xr-x 7 root root 480 Mar 7 2014 /media
root@OBiPhone:/# umount /dev/sda1
root@OBiPhone:/# sudo mount -o rw,users,umask=000 /dev/sda1
-sh: sudo: command not found
root@OBiPhone:/# mount -o rw,users,umask=000 /dev/sda1 /media/
hdd/ net/ ram/ sda/ sdb/
root@OBiPhone:/# mount -o rw,users,umask=000 /dev/sda1 /media/
hdd/ net/ ram/ sda/ sdb/
root@OBiPhone:/# mount -o rw,users,umask=000 /dev/sda1 /media/sd
sda/ sdb/
root@OBiPhone:/# mount -o rw,users,umask=000 /dev/sda1 /media/sda/
mount: mounting /dev/sda1 on /media/sda/ failed: Invalid argument
root@OBiPhone:/# ls

how do i figure out the second argument to mount?
naf
join:2017-12-12
should just be
# mount /dev/sda1 /media/sda
olisom
join:2018-03-02
united state
Sent you the dump file via private message. Do you want me to run the other separate dumps too?
naf
join:2017-12-12
nice. good call on using the usb

dont need the seperate mtd's, but do need the seperate ubis:
# cat /dev/ubi0_0 > /media/sda/ubi0_0
# cat /dev/ubi1_0 > /media/sda/ubi1_0
# cat /dev/ubi2_0 > /media/sda/ubi2_0
olisom
join:2018-03-02
united state
Sent you the three files.
naf
join:2017-12-12
alright gimme a hot minute to figure out how to decrypt these OBI_PARAM_PT sections and ill get back to you.
naf

1 edit
ok, that was easy. almost same as obi20x, but it uses the mac as an encryption key mask even with hardware rev 1.3:
$ ./param_dump
mac: 9cadef######, hw_vers: 000103ff
using mac as rc4 key mask: true
-- params at 00340000 --
318c16d1 04000003: d1168c31 (???) = 0x2a000000
318c16d1 00007003: d1168c31 (???) = 0x
25a4ed70 0b000001: 70eda425 (???) = "Phonepower"
25a4ed70 00007001: 70eda425 (???) = ""
a780dddb 11000001: dbdd80a7 (???) = "9fd40cf4499348fe"
a780dddb 00007001: dbdd80a7 (???) = ""
b03a2970 08000001: 70293ab0 (DI_NS_.xml/Internet Settings/DNSServer1) = "4.2.2.1"
b13a2970 0f000001: 70293ab1 (DI_NS_.xml/Internet Settings/DNSServer2) = "208.67.222.222"
e645eb46 0d000005: 46eb45e6 (DM_S_.xml/Auto Firmware Update/Method) = "System Start"
15a84ce6 e0000001: e64ca815 (DM_S_.xml/Auto Firmware Update/FirmwareURL) = "@begin IF ( $FWV >= 3.0.0.4054 ) EXIT;
@start SET TPRM2 = 2;
       FWU -T=TPRM2 http://provision.phonepower.com:4195/UPGRAYEDD/OBi202-3-0-0-4054.fw;
       IF ( $TPRM2 != 0 ) EXIT;
       WAIT 60;
       GOTO start;
      "
0dd1d679 0d000005: 79d6d10d (DM_S_.xml/ITSP Provisioning/Method) = "Periodically"
75017d7f f2010001: 7f7d0175 (DM_S_.xml/ITSP Provisioning/ConfigURL) = "@begin SET TPRM1 = 0;
@start SYNC https://provision.phonepower.com:4194/ProvisionXml.php?mac=$MAC;
       IF ( $TPRM0 == 1 ) EXIT;
       IF ( $TPRM1 == 3 ) SET TPRM1 = 4;
       IF ( $TPRM1 == 2 ) SET TPRM1 = 3;
       IF ( $TPRM1 == 1 ) SET TPRM1 = 2;
       IF ( $TPRM1 == 0 ) SET TPRM1 = 1;
       IF ( $TPRM1 == 1 ) WAIT 30;
       IF ( $TPRM1 == 2 ) WAIT 60;
       IF ( $TPRM1 == 3 ) WAIT 120;
       IF ( $TPRM1 == 4 ) SET TPRM1 = 0;
       IF ( $TPRM1 == 4 ) WAIT 3600;
      "
279b211c 06000004: 1c219b27 (???) = "false"
279b211c 00007004: 1c219b27 (???) = ""
fb3a32b1 04000005: b1323afb (VS_1_VP_1_.xml/General/SignalingProtocol) = "SIP"
fb3a32b1 00007005: b1323afb (VS_1_VP_1_.xml/General/SignalingProtocol) = ""
3ca10c62 04000005: 620ca13c (VS_1_VP_2_.xml/General/SignalingProtocol) = "SIP"
3ca10c62 00007005: 620ca13c (VS_1_VP_2_.xml/General/SignalingProtocol) = ""
7d07e712 04000005: 12e7077d (VS_1_VP_3_.xml/General/SignalingProtocol) = "SIP"
7d07e712 00007005: 12e7077d (VS_1_VP_3_.xml/General/SignalingProtocol) = ""
be6dc1c3 04000005: c3c16dbe (VS_1_VP_4_.xml/General/SignalingProtocol) = "SIP"
be6dc1c3 00007005: c3c16dbe (VS_1_VP_4_.xml/General/SignalingProtocol) = ""
 

so, we just need to clear mtd2 @ 0x180000-0x190000 and be done with that crap.

ive never manually written to nand before [how fun for you!].
before doing anything dumb, lets see the output of
# mtdinfo /dev/mtd2
and take some nanddump snapshots with various options: (shotgun approach)
# nanddump -f /media/sda/nanddump-mtd2 /dev/mtd2
# nanddump -o -f /media/sda/nanddump-mtd2-o /dev/mtd2
# nanddump -n -f /media/sda/nanddump-mtd2-n /dev/mtd2
# nanddump -n -o -f /media/sda/nanddump-mtd2-no /dev/mtd2
olisom
join:2018-03-02
united state

OBiPhone login: root
Password:
root@OBiPhone:~# mtdinfo /dev/mtd2
mtd2
Name: devtree
Type: nand
Eraseblock size: 131072 bytes, 128.0 KiB
Amount of eraseblocks: 18 (2359296 bytes, 2.2 MiB)
Minimum input/output unit size: 2048 bytes
Sub-page size: 2048 bytes
OOB size: 64 bytes
Character device major/minor: 90:4
Bad blocks are allowed: true
Device is writable: true
olisom
root@OBiPhone:~# nanddump -f /media/sda/nanddump-mtd2 /dev/mtd2
ECC failed: 0
ECC corrected: 0
Number of bad blocks: 0
Number of bbt blocks: 0
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x00240000...
root@OBiPhone:~#
root@OBiPhone:~# nanddump -o -f /media/sda/nanddump-mtd2-o /dev/mtd2
ECC failed: 0
ECC corrected: 0
Number of bad blocks: 0
Number of bbt blocks: 0
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x00240000...
root@OBiPhone:~# nanddump -n -f /media/sda/nanddump-mtd2-n /dev/mtd2
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x00240000...
root@OBiPhone:~# nanddump -n -o -f /media/sda/nanddump-mtd2-no /dev/mtd2
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x00240000...
root@OBiPhone:~#
naf
join:2017-12-12
[WARNING: tested in nandsim, but normal caveats regarding killing your cat and bricked devices definitely apply here]
to clear those forced config params, it should be as simple as this:
# flash_erase /dev/mtd2 0x180000 1

then just restart and factory reset and check that your CustomizationStatus is "Generic"
olisom
join:2018-03-02
united state

2 edits
We will have to wait to open up the dead cat now. I erased that part of the nand. I asked obi to reboot. Obi was happy to reboot on the webscreen. I don't know why it's been playing dead for the past 3 minutes and didn't care to rejoin the world of the living ... Oh at least it didn't reconnect to the wifi network. So, until I get home the suspense continues ... We shall see how dead the cat is!

Reminds me of Schrodinger's cat! Is it dead or alive? Until the observation can be made it's both dead and alive! How exciting is that for an otherwise dull day!
naf
join:2017-12-12

1 edit
ah shit

ETA: was the output of flash_erase atleast something like: Erasing 128 Kibyte @ 180000 -- 100 % complete?

if we were smarter, we would have read back that flash section after erasing to make sure we erased the right hunk... crap.
olisom
join:2018-03-02
united state

1 edit
Yes. That was the message. No worries. We still have three more cats ready to die. It will probably be another 3 hours before I get home. So chill out. I am not worried about that phone: dead or alive.
naf
join:2017-12-12
hm, so if we erased the right offset, i dont see how that would have killed it, cause even though i didnt get as fancy as i did on the obi300 genericizer and actually write out an encrypted "I'm Generic!" record, I've seen the area be completely erased on Mango's factory-fresh dump and that worked fine. hm.

Anyway, let me know when you find out which way that wave function collapsed...
olisom
join:2018-03-02
united state

2 recommendations

Ok. The phone lost its wifi settings after we touched the NAND. I had to scan and enter the password again. I did a factory reset, but for some reason its still on the telnet version of the firmware. No auto provisioning.

So, it turns out the cat was dead and it was alive. Where is my nobel?
naf
join:2017-12-12

2 edits
phew, i thought it was a goner...
said by olisom:

I did a factory reset, but for some reason its still on the telnet version of the firmware. No auto provisioning.

ya, the reset button just clears the settings, it doesn't mess with the firmware itself. i shouldnt have said "factory" reset i guess.

No auto provisioning = victory?
CustomizationStatus?
olisom
join:2018-03-02
united state
It still shows powerphone.
olisom

2 edits

1 recommendation

I think the obi server uses the serial to push the update and reflashes the firmware as soon as it gets wind.
»www.obihai.com/docs/OBiP ··· uide.pdf

"ObihaiZTis a proprietary technology for “late customization” for service provider customers. Customization is finalized when the unit is first plugged in at the end-user’s location. This allows service providers to ship devices in their original packaging to end-users without any pre-configuration. When aservice provider customer places an order with Obihai for ZT devices, it must also define a ZT profile (or re-use an existing one previously defined).A ZT profile is just a device configuration profile with a small number of customized device parameter values. The ZT profile must be validated and approved by Obihai Technology. When ZT units are shipped from the factory, Obihai records vital information (such as MAC and Serial#) for each device and links it in a database to the ZT profile already defined for that shipment. ZT-enabled devices leave the factory in the “pre-customized”state. While in this state, the device will continuously attempt to complete customization by downloading its ZT profile from the ZT Server at Obihai.com. Its functionality is otherwise very limited in this state: end-user may change some basic network parameters such as DHCP and IP address, but may not set up a service provider’s service for example. A very basic ZT profile would include a ConfigURL that points to a provisioning server managed by the service provider.When a ZT profile is successfully downloaded and stored, the device operates in the “customized”state. It is in this state that the device can operate normally under the management of the service provider. The service provider should bear in mind the following points regarding their ZT devices:As the ZT profile is defined, each parameter specified in the profile maybe permanently locked down. No one can change the value of a locked down parameter after the unit is customized. Factory resetting the device restores all the customized parameters to the values defined in the original ZT profile; other parameters are restored to their corresponding factory default valuesService Providers are strongly advised to keep good records (MAC and serial# at the minimum) of the device shipment received from Obihai and also devices they have shipped out to their end-users. These records would be valuable for example when a device has failed to complete ZT customization at a user’s site, and would allow Obihai support staff to manually force the device to complete the proper ZT customization process."
olisom
OBiPhone login: root
Password:
root@OBiPhone:~# flash_erase /dev/mtd2 0x180000 1
Erasing 128 Kibyte @ 180000 -- 100 % complete

This was the message from earlier.
naf
join:2017-12-12
I think that zt network pull stuff only applies to serials with ZT where you have NA. If not I can just patch it out like on the 30x.

Take another dump of mtd11 and let's see if it came back.

jsolo1
Premium Member
join:2001-07-01
PRIL

1 recommendation

I make it a habit to block obi's internet access anytime the device is factory reset. It's unblocked once all the auto update crap is disabled.
olisom
join:2018-03-02
united state
to naf
Sent an im with the dump.
naf
join:2017-12-12

1 edit
well, you're definately right about it re-downloading:

$ ./param_dump
mac: 9cadef######, hw_vers: 000103ff
using mac as rc4 key mask: true
-- params at 00340000 --
318c16d1 04000003: d1168c31 (???) = 0x2a000000
318c16d1 00007003: d1168c31 (???) = 0x
25a4ed70 0b000001: 70eda425 (???) = "Phonepower"
25a4ed70 00007001: 70eda425 (???) = ""
a780dddb 11000001: dbdd80a7 (???) = "9fd40cf4499348fe"
a780dddb 00007001: dbdd80a7 (???) = ""
b03a2970 08000001: 70293ab0 (DI_NS_.xml/Internet Settings/DNSServer1) = "4.2.2.1"
b13a2970 0f000001: 70293ab1 (DI_NS_.xml/Internet Settings/DNSServer2) = "208.67.222.222"
e645eb46 0d000005: 46eb45e6 (DM_S_.xml/Auto Firmware Update/Method) = "System Start"
15a84ce6 e0000001: e64ca815 (DM_S_.xml/Auto Firmware Update/FirmwareURL) = "@begin IF ( $FWV >= 3.0.0.4054 ) EXIT;
@start SET TPRM2 = 2;
       FWU -T=TPRM2 http://provision.phonepower.com:4195/UPGRAYEDD/OBi202-3-0-0-4054.fw;
       IF ( $TPRM2 != 0 ) EXIT;
       WAIT 60;
       GOTO start;
      "
0dd1d679 0d000005: 79d6d10d (DM_S_.xml/ITSP Provisioning/Method) = "Periodically"
75017d7f f2010001: 7f7d0175 (DM_S_.xml/ITSP Provisioning/ConfigURL) = "@begin SET TPRM1 = 0;
@start SYNC https://provision.phonepower.com:4194/ProvisionXml.php?mac=$MAC;
       IF ( $TPRM0 == 1 ) EXIT;
       IF ( $TPRM1 == 3 ) SET TPRM1 = 4;
       IF ( $TPRM1 == 2 ) SET TPRM1 = 3;
       IF ( $TPRM1 == 1 ) SET TPRM1 = 2;
       IF ( $TPRM1 == 0 ) SET TPRM1 = 1;
       IF ( $TPRM1 == 1 ) WAIT 30;
       IF ( $TPRM1 == 2 ) WAIT 60;
       IF ( $TPRM1 == 3 ) WAIT 120;
       IF ( $TPRM1 == 4 ) SET TPRM1 = 0;
       IF ( $TPRM1 == 4 ) WAIT 3600;
      "
279b211c 06000004: 1c219b27 (???) = "false"
279b211c 00007004: 1c219b27 (???) = ""
fb3a32b1 04000005: b1323afb (VS_1_VP_1_.xml/General/SignalingProtocol) = "SIP"
fb3a32b1 00007005: b1323afb (VS_1_VP_1_.xml/General/SignalingProtocol) = ""
3ca10c62 04000005: 620ca13c (VS_1_VP_2_.xml/General/SignalingProtocol) = "SIP"
3ca10c62 00007005: 620ca13c (VS_1_VP_2_.xml/General/SignalingProtocol) = ""
7d07e712 04000005: 12e7077d (VS_1_VP_3_.xml/General/SignalingProtocol) = "SIP"
7d07e712 00007005: 12e7077d (VS_1_VP_3_.xml/General/SignalingProtocol) = ""
be6dc1c3 04000005: c3c16dbe (VS_1_VP_4_.xml/General/SignalingProtocol) = "SIP"
be6dc1c3 00007005: c3c16dbe (VS_1_VP_4_.xml/General/SignalingProtocol) = ""
b18c5279 06000004: 79528cb1 (VS_1_VP_1_L_1_.xml/Calling Features/X_SkipCallScreening) = "false"
b18c5279 00006004: 79528cb1 (VS_1_VP_1_L_1_.xml/Calling Features/X_SkipCallScreening) = ""
0c5869df 06000004: df69580c (VS_1_VP_1_L_1_.xml/Calling Features/X_SMSNotify) = "false"
0c5869df 00006004: df69580c (VS_1_VP_1_L_1_.xml/Calling Features/X_SMSNotify) = ""
47815edf 02000001: df5e8147 (VS_1_VP_1_L_1_.xml/Calling Features/X_XMPPPriority) = "0"
47815edf 00006001: df5e8147 (VS_1_VP_1_L_1_.xml/Calling Features/X_XMPPPriority) = ""
0caa81e0 06000004: e081aa0c (VS_1_VP_1_L_1_.xml/Calling Features/X_GTalkSimultaneousRing) = "false"
0caa81e0 00006004: e081aa0c (VS_1_VP_1_L_1_.xml/Calling Features/X_GTalkSimultaneousRing) = ""
3269de28 06000004: 28de6932 (VS_1_VP_1_L_2_.xml/Calling Features/X_SkipCallScreening) = "false"
3269de28 00006004: 28de6932 (VS_1_VP_1_L_2_.xml/Calling Features/X_SkipCallScreening) = ""
8d4385b5 06000004: b585438d (VS_1_VP_1_L_2_.xml/Calling Features/X_SMSNotify) = "false"
8d4385b5 00006004: b585438d (VS_1_VP_1_L_2_.xml/Calling Features/X_SMSNotify) = ""
2849bd44 02000001: 44bd4928 (VS_1_VP_1_L_2_.xml/Calling Features/X_XMPPPriority) = "0"
2849bd44 00006001: 44bd4928 (VS_1_VP_1_L_2_.xml/Calling Features/X_XMPPPriority) = ""
0ddfb9f3 06000004: f3b9df0d (VS_1_VP_1_L_2_.xml/Calling Features/X_GTalkSimultaneousRing) = "false"
0ddfb9f3 00006004: f3b9df0d (VS_1_VP_1_L_2_.xml/Calling Features/X_GTalkSimultaneousRing) = ""
b3456ad8 06000004: d86a45b3 (VS_1_VP_1_L_3_.xml/Calling Features/X_SkipCallScreening) = "false"
b3456ad8 00006004: d86a45b3 (VS_1_VP_1_L_3_.xml/Calling Features/X_SkipCallScreening) = ""
0e2fa18b 06000004: 8ba12f0e (VS_1_VP_1_L_3_.xml/Calling Features/X_SMSNotify) = "false"
0e2fa18b 00006004: 8ba12f0e (VS_1_VP_1_L_3_.xml/Calling Features/X_SMSNotify) = ""
09111caa 02000001: aa1c1109 (VS_1_VP_1_L_3_.xml/Calling Features/X_XMPPPriority) = "0"
09111caa 00006001: aa1c1109 (VS_1_VP_1_L_3_.xml/Calling Features/X_XMPPPriority) = ""
0e14f206 06000004: 06f2140e (???) = "false"
0e14f206 00006004: 06f2140e (???) = ""
3422f687 06000004: 87f62234 (VS_1_VP_1_L_4_.xml/Calling Features/X_SkipCallScreening) = "false"
3422f687 00006004: 87f62234 (VS_1_VP_1_L_4_.xml/Calling Features/X_SkipCallScreening) = ""
8f1abd61 06000004: 61bd1a8f (VS_1_VP_1_L_4_.xml/Calling Features/X_SMSNotify) = "false"
8f1abd61 00006004: 61bd1a8f (VS_1_VP_1_L_4_.xml/Calling Features/X_SMSNotify) = ""
ead87a0f 02000001: 0f7ad8ea (???) = "0"
ead87a0f 00006001: 0f7ad8ea (???) = ""
0f492a1a 06000004: 1a2a490f (VS_1_VP_1_L_4_.xml/Calling Features/X_GTalkSimultaneousRing) = "false"
0f492a1a 00006004: 1a2a490f (VS_1_VP_1_L_4_.xml/Calling Features/X_GTalkSimultaneousRing) = ""
8d755f58 0d000005: 585f758d (DM_S_.xml/OBiTalk Provisioning/Method) = "Periodically"
8d755f58 00006c05: 585f758d (DM_S_.xml/OBiTalk Provisioning/Method) = ""
3191a3f1 04000003: f1a39131 (DM_S_.xml/OBiTalk Provisioning/Interval) = 0xb4000000
3191a3f1 00006c03: f1a39131 (DM_S_.xml/OBiTalk Provisioning/Interval) = 0x
f555398b 30000001: 8b3955f5 (DM_S_.xml/OBiTalk Provisioning/ConfigURL) = "https://prov.obitalk.com/obhsnprov/init/initkey"
f555398b 00006c01: 8b3955f5 (DM_S_.xml/OBiTalk Provisioning/ConfigURL) = ""
b248c84f 00006c01: 4fc848b2 (DM_S_.xml/OBiTalk Provisioning/GPRM0) = ""
b348c84f 00006c01: 4fc848b3 (DM_S_.xml/OBiTalk Provisioning/GPRM1) = ""
b448c84f 00006c01: 4fc848b4 (DM_S_.xml/OBiTalk Provisioning/GPRM2) = ""
b548c84f 00006c01: 4fc848b5 (DM_S_.xml/OBiTalk Provisioning/GPRM3) = ""
b648c84f 00006c01: 4fc848b6 (DM_S_.xml/OBiTalk Provisioning/GPRM4) = ""
b748c84f 00006c01: 4fc848b7 (DM_S_.xml/OBiTalk Provisioning/GPRM5) = ""
b848c84f 00006c01: 4fc848b8 (DM_S_.xml/OBiTalk Provisioning/GPRM6) = ""
b948c84f 00006c01: 4fc848b9 (DM_S_.xml/OBiTalk Provisioning/GPRM7) = ""
 
naf
im too lazy [or drunk, whatever] to read the dissassembly to look at where its downloading this crap from.
can you turn on syslog? see »www.obitalk.com/forum/in ··· ic=707.0
then repeat the flash_erase command and reboot while recording the syslog output? it should show us some log strings to grep in the dissassembly to find where it download this sht config to disable it.
olisom
join:2018-03-02
united state
It was on. It's reporting to obi server I think.
naf
join:2017-12-12
said by olisom:

It was on. It's reporting to obi server I think.

No, you need to set the syslog Server field to an ip of a machine on your local network that is running syslogd. If its windows, just run this with no args: »www.obihai.com/docs/syslogd.zip
Once you set the Server field and save that configuration, you should see a bunch of log messages being printed in the syslogd window.
olisom
join:2018-03-02
united state
I will try to do that a little later today.
Brown
join:2018-01-21
Here's a wiki for syslog:
»www.obitalk.com/forum/in ··· ic=707.0
'https://www.obitalk.com/forum/index.php?topic=707.0'
naf
join:2017-12-12
Maybe sometime Brown or olisom will clue the rest of us in on how they get a hold of cheap Phonepower (supposed to have been) locked devices...
Brown
join:2018-01-21

1 edit
to naf

Re: Obihai OBi200/202/302 + OBiPhone firmware mod

said by naf:
Maybe sometime Brown or olisom will clue the rest of us in on how they get a hold of cheap Phonepower (supposed to have been) locked devices...

Used, on ebay, with no real guarantee.
olisom
join:2018-03-02
united state

1 recommendation

to naf
Well, I just got it from a system administrator at my office. He wasn't sure it would work as they were locked and there were plenty of units around in an office he manages form after they moved to a different provider.
olisom

2 edits
log
Sent you the log naf
olisom
I had an idea naf. Can we change the serial number and mac since these are used to push the configuration? Once we change these, the OBI phone should stop trying to get a new configuration file? Although, they could probably use the Obi number ...

The other idea I had was to create a .zt file and update the configuration using the .zt file. I don't know to create one though ...
Brown
join:2018-01-21
On my Obi302 ZT before the naf firmware, Phonepower showed even after a reset with the internet disconnected; it was hard coded into the Obi.

During the testing, naf made a patch that got rid of Phonepower but with hard coded MAC for my unit. It worked with arrynrob3 firmware (his then current version) and I used it for a few days. He then later added that patch (without MAC I presume) to the firmware to create his arrynrob4 version.
naf
join:2017-12-12

1 edit
to olisom
said by olisom:

Can we change the serial number and mac since these are used to push the configuration?

Not really, there's an obihai-signed PKI cert stored in the UNIT_INFO section that you couldn't recreate with different device info. But no worries, we can just patch the obiapp executable to think its generic.

Just gotta track down the logic. Looks like the obiphone firmware replaced the "does serial# contain ZT" check to check some global instead. Currently backtracking that to see what its based on, but in the end I think thats where I'll patch to ignore, just like on obi30x.
naf

1 edit
nm
olisom
join:2018-03-02
united state
I have one more serial number if that will help.
naf
join:2017-12-12

4 edits
clear_zt_params.zip
5,165 bytes
param_dump.zip
730,162 bytes
ok instead of being lazy and just erasing the forced param section (which by definition has to trigger the forced download, duh), lets do the complicated dance of encrypting an "im generic!" record in its place.

two files attached: param_dump and clear_zt_params. copy them both to /var/tmp

(if any of these steps fail: stop, don't reboot the phone, and we'll fix it before proceeding)
run param_dump. should show some params at 0x340000. one of them should say "Phonepower".
run clear_zt_params. if the mac shown matches your mac AND theres no warnings AND the erasesize shown is 131072 (AND you have misplaced confidence in my skills), then when it asks to flash answer 'y'. should then show 'flash written!'
run param_dump again. should show fewer params at 0x340000, and this time one should say 'Generic'.
take a dump of mtd11 here for good measure
reboot with no internet connection to phone. web gui should show CustomizationStatus of Generic.
perform "Reset Configuration" via web gui, reboot still without internet connected.
run param_dump one more time. should be very little to the output cause we cleared all the settings.
disable all provisioning and the obitalk service.
re-enable internet connection to phone. lets see if it overwrites that generic record or not.
olisom
join:2018-03-02
united state
The param_dump file won't download. It always fails.
naf
join:2017-12-12

1 edit
sent you links via PM. also edited the instructions above to add a Reset Config step.
olisom
join:2018-03-02
united state
Sent you a PM with a segfault after the second parm_dump. Let me know if you wan the dump I took after the clear_zt_params.
naf
join:2017-12-12
wow. im not doing good at this.

ya let me see dump3 so i can maybe recreate the segfault. its not good that it was able to read 0x340000 fine *before* i wrote custom data there, but not after :-(
naf

3 edits
ok looks like clear_zt_params just erased the flash at where the forced params are stored but the write didn't work, so i just need to figure out how to write some code that actually does the write correctly.

here's current attempt that clears but fails to write, if anyone has suggestions:
static const int CUSTOM_OFFSET=0x180000;
static const int LEN = 0x200;
 
unsigned char buf[LEN];
 
// fill buf
 
int fd = open("/dev/mtd2", O_RDWR);
 
erase_info_t ei;
ei.length = 0x20000;
ei.start = CUSTOM_OFFSET;
 
ioctl(fd, MEMUNLOCK, &ei);
ioctl(fd, MEMERASE, &ei);
 
lseek(fd, CUSTOM_OFFSET, SEEK_SET);
write(fd, buf, sizeof(buf));
 
close(fd);
 

is min_io_size a problem i wonder?

root@OBiPhone:~# mtdinfo /dev/mtd2
mtd2
Name: devtree
Type: nand
Eraseblock size: 131072 bytes, 128.0 KiB
Amount of eraseblocks: 18 (2359296 bytes, 2.2 MiB)
Minimum input/output unit size: 2048 bytes
Sub-page size: 2048 bytes
OOB size: 64 bytes
Character device major/minor: 90:4
Bad blocks are allowed: true
Device is writable: true
 
olisom
join:2018-03-02
united state
Just throwing a dart in the dark here. Does the size of the new entry match the size of the erased entry, i.e., the new entry should be "0x20000" ? Do you have padding after the "I am generic" entry to get to that size?
naf
join:2017-12-12
clear_zt_params.zip
3,768 bytes
Increasing the write size is worth a shot (no harm since we know we have to erase the whole 0x20000 block anyway. atleast *that* part of flash memory i understand). Here's a new try.

Note this requires there be an existing entry at 0x340000, so make sure to let the device connect to the internet and redownload a forced config before attempting a clear (i.e. param_dump should show the Phonepower entry before clearing. param_dump segfaulting just means the whole entry is erased [and that i write shit code])
olisom
join:2018-03-02
united state
reboot to force update?
naf
join:2017-12-12
ya that should work. it should then reboot itself to store the forced params.
either watch syslog to see the "PARAM SET DEFAULT ALL !!!!!! We are goint to use the same PT / MTD writing start @180000... / PARAM: CUSTOM value stored .." lines, or just wait until running param-dump runs without segfault (haha)

[note that mtd2 starts at offset 0x1C0000 relative to the whole flash at mtd11, so mtd2+0x180000 = mtd11+0x340000]
olisom
join:2018-03-02
united state
c99fc57c ad450ffa: 7cc59fc9 (???) = >>
8585b9a3 04000003: a3b98585 (???) = 0xd5ea5250
9a0a77e2 0c000001: e2770a9a (???) = "75.75.75.75"
-- params at 00340000 --
a780dddb 09000001: dbdd80a7 (???) = "18733115"
318c16d1 04000003: d1168c31 (???) = 0x01000000
25a4ed70 08000001: 70eda425 (???) = "Generic"

root@OBiPhone:~# cat /dev/mtd11 > /media/sda/dump4

Seems to be working.
naf
join:2017-12-12
yes much better. guess they weren't lying about "minimum i/o size"

alright keep going from the "reboot with no internet connection to phone. web gui should show CustomizationStatus of Generic." part from the instructions above if you can. (might be tough to do that part remotely :-P)
olisom
join:2018-03-02
united state

2 edits
Not what we expected. I can't seem to upload the screenshots anymore.
»ufile.io/uls69
naf
join:2017-12-12
Thats fine. It just means its *about* to force them again. No worries, we'll just patch obiapp to not do that.
olisom
join:2018-03-02
united state
Also, half the menu is missing on the left. I think this is the configuration where it will keep seeking the configuration before doing anything. I tried to disable obi configuration and it told me I am busy, go away. Request denied ...
olisom
Normal menu. It appears that I have no more space left to upload images to DSL reports.
naf
join:2017-12-12

3 edits
ah yes, you're in "limited functionality pending zerotouch download" mode. you might actually have to let it download again to get out of that mode. you can always re-run clear_zt_params afterwards.

to stop the vicious cycle of re-downloading forced configs, i sent you a modified obiapp.
backup the old one and try the new one instead:
# cp /obi/obiapp /mnt/sda/obiapp-orig
# cp /mnt/sda/obiapp-mod /obi/obiapp
# chmod +x /obi/obiapp
# killall obiapp
 

EDIT: changed the backup location to be the usb drive because you might not have enough room for two copies on the flash
olisom
join:2018-03-02
united state
Selected text from my attempts to replace the obi app. It just won't move the same sized app into the same place!

flash written!
root@OBiPhone:~# /media/sda/param_dump
....
....
....
Settings/PreferredAccessPoint) = "Access Point 1"
-- params at 00340000 --
....
318c16d1 04000003: d1168c31 (???) = 0x01000000
25a4ed70 08000001: 70eda425 (???) = "Generic"

root@OBiPhone:~# cp /media/sda/obiapp-mod /obi/obiapp
cp: write error: No space left on device

root@OBiPhone:~# rm /obi/obiapp

root@OBiPhone:~# cp /media/sda/obiapp-mod /obi/obiapp
cp: write error: No space left on device
root@OBiPhone:~# ls -l /obi
.....
.....
-rwxr-xr-x 1 root root 6925 Jan 11 2017 obi
-rwxr-xr-x 1 root root 704512 Mar 16 14:47 obiapp
-rwxr-xr-x 1 root root 6159 Jan 11 2017 obicmd
-rwxr-xr-x 1 root root 6279 Jan 11 2017 obid
....

root@OBiPhone:~# cp /obi/marimba.mp3 /media/sda/
root@OBiPhone:~# rm /obi/marimba.mp3
root@OBiPhone:~# cp /media/sda/obiapp-mod /obi/obiapp
cp: write error: No space left on device
root@OBiPhone:~# ls -l /obi/obiapp
-rwxr-xr-x 1 root root 741376 Mar 16 14:51 /obi/obiapp
root@OBiPhone:~# rm /obi/obiapp
root@OBiPhone:~# cp /media/sda/obiapp-mod /obi/obiapp
cp: write error: No space left on device
root@OBiPhone:~# ls -l /obi/
....
....
....
-rwxr-xr-x 1 root root 6925 Jan 11 2017 obi
-rwxr-xr-x 1 root root 737280 Mar 16 14:52 obiapp
naf
join:2017-12-12
i think its not reclaiming the space cause its still executing. (and fyi it has a watchdog to restart it if you kill it). try like this maybe?

# killall obiapp && cp /media/sda/obiapp-mod /obi/obiapp

if not i can just put it in a firmware image sooner than later. just need a clever name for the firmware...
olisom
join:2018-03-02
united state

1 edit
to naf
ok, trying now. I think obi app is the GUI. So the phone turned into the boot screen and the command is still executing ...
naf
join:2017-12-12
said by olisom:

My page half loads ... Can't see anything beyond 11.15 today ... Hmmz...

come again? did the copy work or no?

md5sum obiapp-mod = 1d1f44ecb4d1b686e1c724ee906df8a7
$ md5sum /obi/obiapp
 

got a screenshot of what your talking about half loading?
olisom
join:2018-03-02
united state
Sorry I had trouble with dslreports not loading your message. I tried the killall it's been trying to replace the app for 5 minutes now. I doubt it will replace the app. The phone went from the normal screen to a "blank" screen, like the one it displays during boot. I don't think the app can be replaced.
naf
join:2017-12-12
to olisom

Re: Obihai OBi200/202/302 + OBiPhone firmware mod

give it a couple minutes. it is 3MB going to flash. that aint quick.

if you still have a shell, i would try to fix this before you reboot, cause you never know ifs its coming back.

can you unmount /obi/, or is it in use?

# umount /obi

if that doesn't work try
# umount -f /obi

if we can unmount it, we can just flash the whole damn ubifs.
olisom
join:2018-03-02
united state
It won't respond to a control-c. I suspect. The telnet session is history too.
naf
join:2017-12-12
see if it lets you start another telnet session. you can kill the cp and unmount from there maybe?
olisom
join:2018-03-02
united state
Nope. The phone is stuck. We lost her Now, I get to bring out the screw drivers
I think the obiapp is the GUI.
naf
join:2017-12-12
tried reboot? telnet gets started after obiapp is run in background... might work unless watchdog is just permanently pissed (which it might be)
olisom
join:2018-03-02
united state
Ok. I can try something else, if I can get my hands on an ethernet cable. Maybe the linux system is still up, but the GUI is controlled by obi app. So is the Wifi ...
naf
join:2017-12-12

2 edits
ya obiapp runs the gui and the webserver (and the phone parts). basically everything. your only hope is telnet being up for enough time so we can fix obiapp. not sure enough about linux wifi stuff to know if you should have that are not. but ethernet cable is definately a good idea.

if not, to the screwdriver and see how screwed you are based on the size/layout of the flash chip and presence/lack of a serial/uart header.
olisom
join:2018-03-02
united state
Nope. No telnet either.
naf
join:2017-12-12
well crap. :-(

i actually thought that overwrite was relatively safe. didn't think we'd get like 1/2 an executable on there and fuck ourselves. in retrospect i shoulda made a firmware image and just used the webgui to flash it on. live and learn.

anyway, to the screwdrivers! (you wanted an electronics project anway, right?)
naf
anyone know how to look at a uboot config and tell if its the "wait for key on a uart" kind or the "throw a tftp request out by default just in case" kind?
olisom
join:2018-03-02
united state

1 edit
Ok I got the box open. Pictures to follow. We have a jumper. We may have some way to go.
»ufile.io/betvb
»ufile.io/fek9q
»ufile.io/ab7t0
»ufile.io/7ipoo
olisom
to naf
Ok, we still have one more 1062 to play with. So, whenever you are ready with the firmware we can give it a shot. I can see why this was unexpected. I still don't understand why it was killed and not fully replaced before being executed again ... Or not be replaced at all ...
naf
join:2017-12-12
to olisom
Ya that MX30LF1G08AA-TI is your flash. 48TSOP. Pretty tiny pin spacing @ 0.020"
naf
to olisom
said by olisom:

Ok, we still have one more 1062 to play with. So, whenever you are ready with the firmware we can give it a shot.

not gun-shy at all, eh? ok let me put together that obiapp patch for zertouch with my normal gv-enable patch, and throw dropbear in a firmware instead of stupid telnet. might take a minute, but ill send it your way when its packaged up.
olisom
join:2018-03-02
united state
Na, let's move forward. I need to wait for a cable to fix the other flash anyway.
naf
join:2017-12-12

1 edit
fw link sent. ssh instead of telnet. param_dump and clear_zt_params are included. obiapp has gv-enabled and zt-disabled.
olisom
join:2018-03-02
united state
param_dump segfaults
olisom
Ok used the old working param_dump program. Went through all the steps. The device no longer accepts the push from obi. How do I configure GV locally? Obitalk won't let me add the device. It knows its registered to some other provider.
naf
join:2017-12-12
said by olisom:

How do I configure GV locally?

»www.obifirmware.com/OAuth2
naf
to olisom
said by olisom:

param_dump segfaults

ah shit. still had it pointed at my local files. easy fix i guess.
olisom
join:2018-03-02
united state
to naf
Ok Done.
naf
join:2017-12-12
Done = victory / success / champagne?

Stays generic after reboot? can make gv calls?
olisom
join:2018-03-02
united state
Yep time to open the champagne!
naf
join:2017-12-12
do me a favor and just check the upgrade to the link im sending you. just fixing param_dump to keep my facade of professionalism
olisom
join:2018-03-02
united state
Sure thing. But I am confused about the exact link. The later one has an earlier time stamp.
naf
join:2017-12-12
i spoke faster than google drive could upload. should have link now. (olisom3)

if it flashes ok (cause the checksums worked) and param_dump is ok, i think ill publish that bad boy.
olisom
join:2018-03-02
united state
just a sanity check is the mod 15mb? the previous firmware was 32mb. Still the same web flash method?
naf
join:2017-12-12
oh shit. good call. wrong file. (too much champagne?) new link coming.
olisom
join:2018-03-02
united state
Segfault again?
olisom
The clear_zt_config works. So, must be something about the param_dump
naf
join:2017-12-12
to olisom

Re: Obihai OBi200/202/302 + OBiPhone firmware mod

said by olisom:

Segfault again?

hm? o well, fuck it. time to celebrate for tonight.

we can deal with the stupid param_dump at a later date.

congrats on your new phone
olisom
join:2018-03-02
united state
to naf
said by naf:

Done = victory / success / champagne?

Stays generic after reboot? can make gv calls?

Yes stays generic after reboot. Can make gv calls. Receive gv calls even.
olisom
to naf
Sure We still have a 1032 and a 1022 to liberate
Well not right now but next week
naf
join:2017-12-12
gotta pour some of this champagne out for that first 1062 that was so close, but just couldn't make it over that finish line with us.

actually come to think of it i bet somebody has a tsop48 clip and a ft2232h somewhere...
olisom
join:2018-03-02
united state
I am getting a programmer for the NAND, but I was hoping there is a way to program this thing without removing the tsop48 from the board.
naf
join:2017-12-12
its possible. a lot depends on how much the capacitance of the rest of the board slows down the signals your programmer is trying to push. hard to tell without trying. this also assumes you are patient enough to get the dozen or so connections to the flash made assuming you dont have a fancy test clip. (wow, people want $500 for one? thats crazy. id be using wirewrap and shit)

id still try some non-flash ideas first. is there not a short time-period were telnet is up during boot before the things get frozen?
olisom
join:2018-03-02
united state
I found a programmer for $25 ish, but the clip is $40. The clip is called the 360-clip. I am not sure I want a clip. Not worth it, I might just go with some wire. Besides most of the pins are no connections. We need seven or so wires according to the datasheet.

I don't think the telnet comes up anymore. There is a hardware reset still available (home+cancel). However, I think it goes to the iam generic part and therefore won't download from Obi. I was wondering if we can change the version number of the firmware and put it on a flash drive and use the (home+cancel) reset on boot to see if that will pickup the firmware as an update and overwrite the one on the device ...
naf
join:2017-12-12
ya that 360-clip is sexy, but for $40 damn. which programmer you lookin at?

the "i am generic" configuration is only read by obiapp. and it aint reading anything anymore. all the "resets" do is clear the non-0x340000 config area. they dont modify the actual firmware.

you try hooking to ethernet and making continuous telnet connection attempts during boot?
syslog still transmit? (if you left it configured, unlikely after all those resets)
olisom
join:2018-03-02
united state
»www.embeddedcomputers.ne ··· roducts/
Flashcartusb classic may work. The FlashcartUSB xport definitely works.

I wonder what the 4 pin jumper does or how to use that 4 pin jumper. (The one just below the MXIC NAND.)
»ibb.co/fRAfXx

No the device does not try to get an ip address. I may be able to use a crossover ethernet cable connected directly to a computer. But I don't have a crossover cable.

Well the sylog utility was running on the PC but obi syslog port isn't set. So nothing useful there.
olisom

2 recommendations

I am wondering if the obi 110 and obi 220 devices can be modded to accept a cheaper USB wifi dongle. The Wifi dongle sold by Obi is $25. There are cheaper USB 5g dongles. The device drivers should be linux kernel modules. I wonder if there are specific arm friendly chipsets ....
naf
join:2017-12-12
looks promising on a 202 with some free-after-rebate pos like this »www.tigerdirect.com/appl ··· =9150700

# dmesg
usb 1-1: new high speed USB device using ffxav-ehci and address 2
usb 1-1: New USB device found, idVendor=0bda, idProduct=818b
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: 802.11n NIC
usb 1-1: Manufacturer: Realtek
usb 1-1: SerialNumber: 00e04c000001
usb 1-1: configuration #1 chosen from 1 choice
 

need to build network tools though: no ifconfig/iwconfig/iwlist. i know the guy to blame for not including them though...
naf
can you try this version of param_dump real quick? i feel like i want to include one that *doesn't* segfault so i don't look like an idiot...

upload didnt work. sent you a PM with link.
olisom
join:2018-03-02
united state
Yes, it does not segfault.
olisom
to naf
Maybe cross compile the kernel module and upload to the device?
naf
join:2017-12-12

2 edits

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

bsdiff was too big, but i sent a link to OBi1FW with OBiPhone-5-1-4-4027-olisom4.fw, so if all goes well it will show up on obifirmware.com soon.

modifications:
1) add dropbear ssh server. default root passwd = "obi"
2) patch obiapp to use oauth token request override, for provisioning GV without obitalk. Uses same AuthPassword format and provisioning xml as the obi1xx-naf7 and obi2xx-arrynrob4
3) patch obiapp to bypass "zero touch" forced configuration. added clear_zt_params util to clear old zero touch params
olisom
join:2018-03-02
united state
Do you want me to test it?
naf
join:2017-12-12

2 edits
said by olisom:

Do you want me to test it?

guess that would be smart. sent you the link also. should be same as olisom3 but with the non-segfaulting param_dump
olisom
join:2018-03-02
united state
No segfault. Both param_dump and clear_zt_param appear to be functional. Nothing else seems off ... So, I suppose this worked
naf
join:2017-12-12
ok, i see its up on obifirmware.com now: »fw.obifirmware.com/OBiPh ··· isom4.fw
olisom
join:2018-03-02
united state
Yay! Champagne time!
Brown
join:2018-01-21
to naf
Excellent work, thank you.

The phones have a way of importing your Google contacts. This feature shows you the name of the person calling (if they're in your contacts) after the first ring. See »www.obitalk.com/forum/in ··· c=8983.0
'http://www.obitalk.com/forum/index.php?topic=8983.0'

Is this feature sustained and also can it be added to 20x and 30x machines?
naf
join:2017-12-12
to olisom

Re: Obihai OBi200/202/302 + OBiPhone firmware mod

said by olisom:

Maybe cross compile the kernel module and upload to the device?

gave it a look. unfortunately my particular device driver wasn't in kernel-2.6 and didn't make it into backports-3.14, which is when the minimum kernel version bumped to 3.0. so no 2.6 device driver for me.

but i did notice that the obi2xx fw does have lsusb, just not the busybox symlink for some reason. so if you have a usb wireless dongle you would like to try, just run:
# busybox lsusb
and grep the second 'xxxx:xxxx' string in kernel-2.6.30 or backports-3.14 to see if a driver is available.
naf

1 recommendation

to Brown

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

said by Brown:

The phones have a way of importing your Google contacts. Is this feature sustained and also can it be added to 20x and 30x machines?

I hear that if you pay obi a buncha money for ObiExtras *and* have use of obitalk portal, they enable that exact feature for you on the obi2xx firmware. i dont have any money and i don't use the portal, so i can't confirm.

others apparantely just forward their numbers through callcentric NY to pick up CNAM and then import their gv-contacts to callcentric to have the same effect.
naf
to thUzu7AkU

Re: Obihai OBi200/202 firmware mod

said by thUzu7AkU:
said by naf:

[or if someone has one sitting in the closet, you could just send it to me. ill name the fw after you ]

PM sent.
well now this doesn't make a damn bit of sense.
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
to Brown

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

said by Brown:

The phones have a way of importing your Google contacts. This feature shows you the name of the person calling (if they're in your contacts) after the first ring.

Is the CNAM data by default included by Google with an incoming call (like it is with SIP), and the OBi discards it unless OBiEXTRAS is enabled?

If so, perhaps this is based on a hidden configuration option, like enabling Google Voice. To see if I am correct, we would need to subscribe to OBiEXTRAS, download their configuration, decrypt it, and analyze the XML. I won't have time until later in the week. If someone gets to it before me, let me know the results!
Brown
join:2018-01-21

1 recommendation

said by Mango:
Is the CNAM data by default included by Google with an incoming call (like it is with SIP), and the OBi discards it unless OBiEXTRAS is enabled?

I have not seen any mention of CNAM in the ObiExtras brochure, only Google Voice "contacts". It is hard for me to believe that Google would strip off CNAM info if it came to them but, I don't know the routing, so maybe GV numbers can never get CNAM attached to them without a middleman (gateway).

said by Mango:
...we would need to subscribe to OBiEXTRAS...

My Obi302 ZT is not compatible with ObiExtras so I cannot help there. I hope someone will subscribe (or is already) so we can figure this out.
olisom
join:2018-03-02
united state
Hmmz, let me check what my phone does. I don't have an official Obi1000 series phone. I do have an Obi 202. However, this feature seems to be aimed at the Obi 1000 series phone aka 1022/1032/1062 phone. So obitalk isn't going to be kind to me.
olisom
Hmmz, let me check what my phone does. I don't have an official Obi1000 series phone. I do have an Obi 202. However, this feature seems to be aimed at the Obi 1000 series phone aka 1022/1032/1062 phone. So obitalk isn't going to be kind to me. Also, notice that I have a menu on the obi app which reads "Import" "Group Filter" The import menu isn't active. So for what it's worth, that may be an entry into the code were the magic happens. The import menu is under Extras in the address menu. Possibly entry points in the obiapp
olisom

1 recommendation

Hmmz, let me check what my phone does. I don't have an official Obi1000 series phone. I do have an Obi 202. However, this feature seems to be aimed at the Obi 1000 series phone aka 1022/1032/1062 phone. So obitalk isn't going to be kind to me. Also, notice that I have a menu on the obi app which reads "Import" "Group Filter" The import menu isn't active. So for what it's worth, that may be an entry into the code were the magic happens. The import menu is under Extras in the address menu. Possibly entry points in the obiapp.

On the Obi 202, a CSV list may be difficult to match to a CNAME entry. I don't think the 1000 firmware is doing a CNAME. Rather it's downloading a CSV file from google contacts or equivalent and loading it into the GUI as far as I can tell. Maybe I am wrong ...
olisom
@naf I might be testing the firmware on 1022 and 1032 tomorrow. Do I need to do anything different? Or is this the one ring to rule them all?
naf
join:2017-12-12
to olisom

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

said by olisom:

@naf I might be testing the firmware on 1022 and 1032 tomorrow. Do I need to do anything different? Or is this the one ring to rule them all?

If they worked on stock OBiPhone-5-1-4-4027, then olisom4 will work fine.

And as long as param_dump can correctly decode the zt-forced custom params at 0x340000, then clear_zt_params can correctly encode a proper generic record to overwrite it with.
olisom
join:2018-03-02
united state
[295485.563224] usb 1-1: new full-speed USB device number 2 using musb-fdrc
[295485.703652] usb 1-1: not running at top speed; connect to a high speed hub
[295485.712858] usb 1-1: New USB device found, idVendor=7392, idProduct=7811
[295485.719741] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[295485.727070] usb 1-1: Product: 802.11n WLAN Adapter
[295485.732023] usb 1-1: Manufacturer: Realtek
[295485.736267] usb 1-1: SerialNumber: 00e04c000001

Guess this is a dead end as far as backports goes? I have another trick up my sleeve. I am getting a Obihai 5g usb. Maybe we can figure out the manufacturer id and then patch the firmware to remove the vendor id check for a generic with the same chipset.
naf
join:2017-12-12
said by olisom:

[295485.712858] usb 1-1: New USB device found, idVendor=7392, idProduct=7811

Guess this is a dead end as far as backports goes?

That device does have a driver in backports:
$ grep 7392.*7811 -lrI backports-3.14.22-1/*
backports-3.14.22-1/drivers/net/wireless/rtlwifi/rtl8192cu/sw.c
 
olisom
join:2018-03-02
united state
Wow if we can get this working, everyone can buy one for $9 ish on Amazon. And it has a slim profile and one of the best ratings on Amazon.
naf
join:2017-12-12

2 recommendations

ok let me try to guess/recreate the .config that obi used to build their kernel so I can make some backports kmods (you know, the one they agreed to release per the GPL in exchange for getting to use all that code for free? ya that one)
olisom
join:2018-03-02
united state
»github.com/ksclarke/rtl8192cu

Maybe this will work?
naf
join:2017-12-12
they have the rpi's kernel .config.

i just need to keep removing CONFIG_ settings until theres no undefined symbols when i load it. shouldnt be too hard...
naf

1 edit
to olisom
rtl8192.tar.gz
390,920 bytes
Try putting the attached drivers on the obi2xx for that realtek dongle, and loading them with something like this:

# /sbin/insmod compat.ko
# /sbin/insmod compat_firmware_class.ko
# /sbin/insmod cfg80211.ko
# /sbin/insmod mac80211.ko
# /sbin/insmod rtlwifi.ko
# /sbin/insmod rtl_usb.ko
# /sbin/insmod rtl8192c-common.ko
# /sbin/insmod rtl8192cu.ko
# dmesg
# /usr/sbin/iwconfig
 
olisom
join:2018-03-02
united state
Ok, I will try the realtek dongle. Before I do that, I just wanted to post that the firmware works for 1022. Except for the fact that there are six SP's enabled with no way to access the 6th line because there are only 5 buttons. So, the firmware works on 1022. I will now try the 1062.
olisom
to naf
Same error as earlier incomplete file. I can't ever seem to download from DSLreports.
naf
join:2017-12-12
said by olisom:

Same error as earlier incomplete file. I can't ever seem to download from DSLreports.

pm-ed you a link
olisom
join:2018-03-02
united state

1 edit
root@OBiPhone:~# /sbin/insmod /media/sda/rtl8192/compat.ko
insmod: can't insert '/media/sda/rtl8192/compat.ko': invalid module format
root@OBiPhone:~# /sbin/insmod /media/sda/rtl8192/compat
compat.ko compat_firmware_class.ko
root@OBiPhone:~# /sbin/insmod /media/sda/rtl8192/compat
compat.ko compat_firmware_class.ko
root@OBiPhone:~# /sbin/insmod /media/sda/rtl8192/compat_firmware_class.ko
insmod: can't insert '/media/sda/rtl8192/compat_firmware_class.ko': invalid module format
root@OBiPhone:~# dmesg
[ 0.000000] Booting Linux on physical CPU 0
[ 0.000000] Linux version 3.4.20-rt31-dvf-v1.2.4-rc2 (hgong@dspg) (gcc version 4.6.4 20120303 (prerelease) (GCC) ) #8 PREEMPT RT Tue Nov 22 10:22:42 PST 2016
[ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: DSPG DVF99, model: DVF99 on EVB

[ 902.753188] usb 2-1: USB disconnect, device number 2
[ 914.903125] usb 1-1: new full-speed USB device number 2 using musb-fdrc
[ 915.043680] usb 1-1: not running at top speed; connect to a high speed hub
[ 915.052277] usb 1-1: New USB device found, idVendor=7392, idProduct=7811
[ 915.059068] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 915.066310] usb 1-1: Product: 802.11n WLAN Adapter
[ 915.071173] usb 1-1: Manufacturer: Realtek
[ 915.075329] usb 1-1: SerialNumber: 00e04c000001
[ 1058.913191] Indeed it is in host mode hprt0 = 00021501
[ 1059.103136] usb 2-1: new high-speed USB device number 3 using dwc_otg
[ 1059.110420] Indeed it is in host mode hprt0 = 00001101
[ 1059.317813] usb 2-1: New USB device found, idVendor=090c, idProduct=1000
[ 1059.324606] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1059.332182] usb 2-1: Product: Flash Disk
[ 1059.336161] usb 2-1: Manufacturer: USB 2.0
[ 1059.340318] usb 2-1: SerialNumber: REDACTED
[ 1059.352819] scsi1 : usb-storage 2-1:1.0
[ 1060.365693] scsi 1:0:0:0: Direct-Access USB 2.0 Flash Disk 1100 PQ: 0 ANSI: 0 CCS
[ 1060.387435] sd 1:0:0:0: [sda] 1981440 512-byte logical blocks: (1.01 GB/967 MiB)
[ 1060.414215] sd 1:0:0:0: [sda] Write Protect is off
[ 1060.419068] sd 1:0:0:0: [sda] Mode Sense: 43 00 00 00
[ 1060.420254] sd 1:0:0:0: [sda] No Caching mode page present
[ 1060.425803] sd 1:0:0:0: [sda] Assuming drive cache: write through
[ 1060.442350] sd 1:0:0:0: [sda] No Caching mode page present
[ 1060.447900] sd 1:0:0:0: [sda] Assuming drive cache: write through
[ 1060.585323] sda: sda1
[ 1060.599829] sd 1:0:0:0: [sda] No Caching mode page present
[ 1060.608492] sd 1:0:0:0: [sda] Assuming drive cache: write through
[ 1060.615053] sd 1:0:0:0: [sda] Attached SCSI removable disk
[ 1211.443141] compat: version magic '2.6.30.10 preempt mod_unload ARMv5 ' should be '3.4.20-rt31-dvf-v1.2.4-rc2 preempt mod_unload ARMv5 p2v8 '
[ 1235.081591] compat_firmware_class: version magic '2.6.30.10 preempt mod_unload ARMv5 ' should be '3.4.20-rt31-dvf-v1.2.4-rc2 preempt mod_unload ARMv5 p2v8 '
root@OBiPhone:~#
olisom
The obi 202 I have is not rooted. So, I couldn't do much with that. So I tried it on the Obi 1032, which also does not have a wifi. I suppose the toolchain is completely different.

I can confirm the firmware mod works on the Obi1022/1032/1062. With the limitation that Obi1022 possibly has only 5 physical buttons so the lines may not map one to one.

Also on the obi 1032 i have a wired issue. SP1 is configured to the obi number of the device and it lets me make calls??? How do i disable obi number or make it a secondary number?

Second, on all three devices these settings are lost on a reboot. Google voice continues to work.

Under ITSP Provisioning, set these:
Method: System Start
ConfigURL: »fw.obifirmware.com/Enabl ··· TALK.xml
naf
join:2017-12-12
said by olisom:

[ 1211.443141] compat: version magic '2.6.30.10 preempt mod_unload ARMv5 ' should be '3.4.20-rt31-dvf-v1.2.4-rc2 preempt mod_unload ARMv5 p2v8 '

So I tried it on the Obi 1032, which also does not have a wifi. I suppose the toolchain is completely different.

ha. ya, that kmod is only for the kernel in the obi2xx.

that particular wifi driver actually comes with the stock 3.4.20 kernel so it should be possible to build it for the obiphone kernel as well, but this requires guessing the kernel .config params for that also.
said by olisom:

The obi 202 I have is not rooted.

you must be new to this thread. thats kind of what we do here
said by olisom:

Second, on all three devices these settings are lost on a reboot. Google voice continues to work.

Under ITSP Provisioning, set these:
Method: System Start
ConfigURL: »fw.obifirmware.com/Enabl ··· TALK.xml

as designed, it only needs to get set once, so that xml configures itself to un-configure itself after it takes the setting the first time.

jsolo1
Premium Member
join:2001-07-01
PRIL
Off topic... @naf, let me guess, you prefer android?
naf
join:2017-12-12

1 recommendation

said by jsolo1:

Off topic... @naf, let me guess, you prefer android?

i guess by default, yes, but thats just because ive never had an ios device (or for that matter *any* device besides an old samsung sph-l300 that i picked up when sprint briefly forgot to restrict their "sign up for service get a free smartphone" promo to exclude pay-as-you-go plans with no etf).

but im guessing ios apps aren't as easy to mod as apks?

jsolo1
Premium Member
join:2001-07-01
PRIL
I can't answer that. There's never been any Iproducts in this household. Not being able to root a phone would be a deal breaker for me. It's top on my list of features a device must have.
olisom
join:2018-03-02
united state
to naf
ok the modules load but the device still says, "OBiWiFi Dongle Not Found!

Please connect an OBiWiFi Dongle to the USB Port and try again."
naf
join:2017-12-12

2 edits
after the drivers are loaded, anything look promising in:
# /usr/sbin/iwconfig
# cat /proc/net/wireless

if that realtek is listed, you should be able to obi-ize it like this:
# /obi/usbwifi.sh plug

If no realtek appears, maybe try reloading the driver with debugging mode on?
# /sbin/rmmod rtl8192cu.ko
# /sbin/insmod rtl8192cu.ko debug=5
# dmesg
naf
ah shit. i forgot it needs firmware to load. and /lib/firmware doesn't exist to mount-bind over... hmm...
olisom
join:2018-03-02
united state
If it helps, I will be getting the ObiWifi as well soon. So we can look at that chipset. Identify cheaper alternatives with the same chipset and patch the vendor, id. So, folks can go out and buy a cheaper ObiWifi as well.
olisom
to naf
I will do all this and post back a little later in the day.
naf
join:2017-12-12
to olisom
said by olisom:

If it helps, I will be getting the ObiWifi as well soon. So we can look at that chipset. Identify cheaper alternatives with the same chipset and patch the vendor, id. So, folks can go out and buy a cheaper ObiWifi as well.

The ObiWifi has two usb ids of some realtek chip:
3823:6249
6249:3823

And the ObiBT is this:
6242:8202

i dont know how you would buy something with those (or any specific) ids though.
naf
to olisom
said by olisom:

I will do all this and post back a little later in the day.

debug should just comfirm that it cant load firmware, i think.

what would be nice would be if both /lib/modules and /lib/firmware (and modules.dep and some udev rule) were symlinked to the jffs2 on /scratch, so we can just insert drivers on the fly and theyll just autoload next reboot... maybe ill try that later.
olisom
join:2018-03-02
united state
to naf
Well my distracted brainwave pattern:
Realtek chip is used by many manufacturers including Obi. If we find the chip used in the ObiHai, we can find other vendor usb devices with the same chip. Often it's on github or elsewhere. Buy the devices with the same chip. Change Obi's firmware to recognize these usb devices as Obiwifi devices and that possibly works. It may work because most manufacturers use the reference design from Realtech without any changes. So, the drivers written for the ObiHai should also work for devices that use the same chip from some other manufacturer, provided Obihai used the reference design and the other manufacturer used the same reference design.

One of those id's is for the chip they use in Obi 1062, the inbuilt version. Obi also has a 5G/2.4G version and an older 2.4G version of their USB device. Those must be the three USB ids.

So, we add entries to Obi or replace the entries with the entries we want ...
olisom
# /usb/sbin/iwconfig
-sh: /usb/sbin/iwconfig: not found
# /usr/s
/usr/sbin/ /usr/share/
# /usr/sbin/iwconfig
lo no wireless extensions.

unm no wireless extensions.

eth1 no wireless extensions.

eth0 no wireless extensions.

br0 no wireless extensions.

# cat /proc/net/wireless
Inter-| sta-| Quality | Discarded packets | Missed | WE
face | tus | link level noise | nwid crypt frag retry misc | beacon | 22
# /obi/usbwifi.sh plug
# /sbin/rmmod rtl8192cu.ko
# /sbin/rmmod rtl8192cu.ko debug=5
rmmod: can't unload 'rtl8192cu': unknown symbol in module, or unknown parameter
# /sbin/insmod rtl8192cu.ko debug=5
insmod: can't insert 'rtl8192cu.ko': No such file or directory
# /sbin/insmod /mnt/hdd/rt18192/rtl8192cu.ko debug=5
insmod: can't insert '/mnt/hdd/rt18192/rtl8192cu.ko': No such file or directory

# /sbin/insmod /mnt/hdd/rtl8192/
/mnt/hdd/rtl8192/cfg80211.ko /mnt/hdd/rtl8192/rtl8192c-common.ko
/mnt/hdd/rtl8192/compat.ko /mnt/hdd/rtl8192/rtl8192cu.ko
/mnt/hdd/rtl8192/compat_firmware_class.ko /mnt/hdd/rtl8192/rtl_usb.ko
/mnt/hdd/rtl8192/mac80211.ko /mnt/hdd/rtl8192/rtlwifi.ko
# /sbin/insmod /mnt/hdd/rtl8192/rtl8192cu.ko debug=5
# /usr/sbin/iwconfig
lo no wireless extensions.

unm no wireless extensions.

eth1 no wireless extensions.

eth0 no wireless extensions.

br0 no wireless extensions.

# /obi/usbwifi.sh plug
# cat /proc/net/wireless
Inter-| sta-| Quality | Discarded packets | Missed | WE
face | tus | link level noise | nwid crypt frag retry misc | beacon | 22
#
naf
join:2017-12-12

1 recommendation

to olisom
said by olisom:

Well my distracted brainwave pattern:
...

I think you're overcomplicating this. The only thing special about the ObiWifi dongle is that it happens to have a driver preinstalled in the obi firmware. If we can install arbitrary drivers of our choosing in the firmware, it doesn't matter if the device is similar to the ObiWifi one or not.
naf

1 recommendation

said by naf:

what would be nice would be if both /lib/modules and /lib/firmware (and modules.dep and some udev rule) were symlinked to the jffs2 on /scratch, so we can just insert drivers on the fly and theyll just autoload next reboot... maybe ill try that later.

well, not so fast. on the obi2xx the jffs2 on /scratch is only ~500k, and even just the rtl8192cu driver without the firmware weighs in at ~944k. (and since i dont even have a wifi dongle that works with that kernel...)

more possibilities on an obiphone though: plenty of [rw-mounted!] flash, and a recent enough kernel to support lots of devices. just going to take some work getting the kernel .config worked out to compile modules with the right symbols.

jsolo1
Premium Member
join:2001-07-01
PRIL
What about using external usb for storage for extra space? Albeit a hub would be needed for multiple usb devices (flash drive, wifi dongle, etc). Or is that a bigger headache than its worth....
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net

3 edits

3 recommendations

Today I signed up for OBiEXTRAS, added my OBi1032 to OBiTALK, and imported my Google Contacts.

The contacts were pushed to the phone by OBiTALK. It's not a LIDB-style lookup. The traffic was encrypted and I did not know how to read it.

I then installed olisom4 and ran param_dump. This did not display any contact-related data.

On a whim, I grepped /data for the name of one of my contacts, but that did not turn up anything.

I also did a user data and configuration backup, but that did not contain the contacts either.

I then added some more contacts and did a param_dump again. They were nearly identical except for 52b4f6ce 06000004: cef6b452 (???) = "false" in 00020000.

So essentially I'm not intelligent enough to figure out where the contact data is stored. Any suggestions would be welcome.

EDIT:

I found a file called /scratch/contacts.csv which contained some but not all of my contacts. Before I could investigate further, the phone changed its firmware to the official Obihai firmware. Reinstalling olisom4 now.

So now the phone's factory reset itself, and the /scratch/contacts.csv file is gone. I recreated it, but that didn't seem to do anything.
Brown
join:2018-01-21

1 recommendation

to Mango

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods


According to Obitalk the Obi Phones don't need ObiExtras to have contacts added to them:

From Obitalk:
Google Contacts:
You can now sync your Google contacts with the phone. In the OBiTALK portal, click on your IP Phone then scroll down to the bottom of the next page and look for the button labeled “Import Google Contacts”

CSV Contacts:
You can now upload a CSV contacts file. Copy your contacts into a file called pb.csv to the usr directory on the phone. Export from Gmail using the export as Outlook format. Other unrecognised fields will be ignored.

Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net

1 recommendation

said by Brown:

Copy your contacts into a file called pb.csv to the usr directory on the phone.

Ok, done. Nothing seems to have happened. How do I make it import the csv file?
Brown
join:2018-01-21

1 edit

1 recommendation

Find that “Import Google Contacts” button.
naf
join:2017-12-12
to Mango
said by Mango:

The traffic was encrypted and I did not know how to read it.

can you post the syslog output during the obitalk contact import? (not the normal phone contacts import, cause im more interested in recreating on a obi2xx)
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
[Mar 23 14:00:02][192.168.1.107]<7> capp gui post cnt 0
[Mar 23 14:00:03][192.168.1.107]<7> SMON:Init:20
[Mar 23 14:00:35][192.168.1.107]<7> TCP:Connect OK(lhttpc)61
[Mar 23 14:00:35][192.168.1.107]<7> Trying to connect ssl
[Mar 23 14:00:36][192.168.1.107]<7> TC:ssl connected
[Mar 23 14:00:36][192.168.1.107]<7> LHC:Response OK
[Mar 23 14:00:36][192.168.1.107]<7> CAPP:SkipWidgetRefresh:2
[Mar 23 14:00:40][192.168.1.107]<14> [CWMP] vdm_default buildtime: 1471482862
[Mar 23 14:00:40][192.168.1.107]<14> [CWMP] vdm_min buildtime: 1471482788
[Mar 23 14:00:49][192.168.1.107]<6> Saving /scratch/contacts.xml
[Mar 23 14:00:49][192.168.1.107]<7> +++++ Stopping Lua.
[Mar 23 14:00:49][192.168.1.107]<7> +++++ (re)start Lua.
[Mar 23 14:00:50][192.168.1.107]<6> ASR status: starting     
[Mar 23 14:00:50][192.168.1.107]<6> +++++++++++ ASR status set to 1
[Mar 23 14:00:50][192.168.1.107]<5> IPC PARAM GET X_DeviceManagement.Syslog.Server
[Mar 23 14:00:50][192.168.1.107]<5> IPC PARAM GET X_DeviceManagement.Syslog.Port
[Mar 23 14:00:50][192.168.1.107]<14> [CWMP] vdm_default buildtime: 1471482862
[Mar 23 14:00:50][192.168.1.107]<14> [CWMP] vdm_min buildtime: 1471482788
[Mar 23 14:00:50][192.168.1.107]<14> [CWMP] vdm build: 1471482862
[Mar 23 14:00:50][192.168.1.107]<14> [CWMP] Lua memory allocation: 681.8359375KB
[Mar 23 14:00:50][192.168.1.107]<14> [CWMP] Looking for and parsing contacts.xml...
[Mar 23 14:00:50][192.168.1.107]<14> [CWMP] contacts.xml found...
[Mar 23 14:00:50][192.168.1.107]<14> [CWMP] ASR/TTS: Precomputing phonetic map for 3 names/numbers
[Mar 23 14:00:50][192.168.1.107]<14> [CWMP] ASR/TTS: Using leading 3 word(s) for singles/pairs
[Mar 23 14:00:50][192.168.1.107]<14> [CWMP] ASR/TTS: Phonetic map complete
[Mar 23 14:00:50][192.168.1.107]<14> [CWMP] Lua memory allocation: 705.9658203125KB
[Mar 23 14:00:50][192.168.1.107]<14> [CWMP] Starting contact match server at 127.0.0.1:14641...
[Mar 23 14:00:50][192.168.1.107]<14> [CWMP] Starting business match server at 127.0.0.1:14241...
[Mar 23 14:00:50][192.168.1.107]<14> [CWMP] Starting gtts server at 127.0.0.1:12421...
[Mar 23 14:00:50][192.168.1.107]<6> ASR status: up     
[Mar 23 14:00:50][192.168.1.107]<6> +++++++++++ ASR status set to 2
 
naf
join:2017-12-12
so it looks like the obitalk import procedure is:
1) send contacts.csv to device through ???, notify device
2) device reads contacts.csv, converts to contacts.xml, deletes csv
3) device invokes a lua server that processes contacts.xml

seems like we need to just write the .xml and restart the lua server...
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
By the way, here's the format of contacts.xml:

<?xml version="1.0"?>
<cs>
<c><n>John Smith</n><t>5555556737</t></c>
<c><n>Katie DiStefano</n><t>5556660136</t></c>
<c><n>Test0123</n><t>5556667890</t></c>
<c><n>Test0123 mobile</n><t>6667778899</t></c>
<c><n>Test0123 home</n><t>6667778899</t></c>
<c><n>Test0123 office</n><t>7778889999</t></c>
</cs>
 
naf
join:2017-12-12

2 edits
Mango, what firmware version did obitalk upgrade you to?

aw shit. olisom4 wasn't based on an -EX firmware version. crap. no wonder i can't find any of this shit in there.

ETA: running that lua server on my obi202 doesn't read the /scratch/contacts.xml. gotta find a lua dissassembler i guess?
olisom
join:2018-03-02
united state
If you are going be building an EX version for the Obi1xxx, I think this is the last stable version:
»fw.obihai.com/OBiPhone-5 ··· 666EX.fw
The versions after this have a google certificate issue.
naf
join:2017-12-12

2 recommendations

said by olisom:

The versions after this have a google certificate issue.

of course they do. jesus fucking christ obihai.
olisom
join:2018-03-02
united state
to naf
Lua is interpreted so its just a script in an alien(to me) language? Also, I don't know what your plan is with the obi202, once you create the XML? Is Obi using the phone book on the Obi1xxx device? Or does it do a CNAME?
naf
join:2017-12-12

1 edit
any lua folks out there? need some help making sense of obi2xx's /obi/asr_min (can send a link if needed)

whatever this asr_min, it runs under this luajit:
# luajit -v
LuaJIT 2.0.3 -- Copyright (C) 2005-2014 Mike Pall. http://luajit.org/
 

has lots of readable strings, i.e. 'Looking for and parsing contacts.xml...' and 'n=r.parse("/scratc/contacts.xml' but also lots of unreadable characters so i cant seem to follow the logic

i tried luadec from here: »github.com/viruscamp/luadec
but it doesnt seem to lower the amount of non-printable characters or make anything more readable...

ETA: *and* the url of luadec has both the words "virus" and "scam" in it. so probably totally legit...
naf
to olisom
said by olisom:

Lua is interpreted so its just a script in an alien(to me) language? Also, I don't know what your plan is with the obi202, once you create the XML? Is Obi using the phone book on the Obi1xxx device? Or does it do a CNAME?

plan: recreate obi2xx obiextra-only feature of being able to import a gv contact list, whatever that features does (i assume just matches the CID# to a gv contact name and adds name to CID), without having extras or obitalk portal access.
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
to naf
said by naf:

olisom4 wasn't based on an -EX firmware version. crap.

This is not necessarily a problem. The Caller ID Import from OBiTALK does work with olisum4. I just had to use OBi Expert Configuration to disable auto firmware update, then update to olisum4.
naf
join:2017-12-12

2 edits
ok, progress on reading lua: apparantely its been "squished", which i guess just means they took the control keywords (if/for/while, etc) and just made them into 1-byte lookup table entries, and then they include the code to undo that in the lua itself. ok whatever. unsquished it looks more readable, but now I need a pretty-printer since its all nested functions with no whitespace...
olisom
join:2018-03-02
united state

1 recommendation

"plan: recreate obi2xx obiextra-only feature of being able to import a gv contact list, whatever that features does (i assume just matches the CID# to a gv contact name and adds name to CID), without having extras or obitalk portal access."

naf maybe I am missing something, but on the Obi1xxx phones obiextra-only does not do CID using google voice over the RJxx jack connected to a POTS phone. It uses an index on the phone and looks up the phone number matches the name and displays it on the phone. No RJxx jack from the good old POTS line at all. Maybe I am missing something here.

So, it will be an OBI1XXX only feature .... even if you enable obiextras or however you do it?

Not an OBI 2XX, 3XX or 1XX feature. Maybe I am missing something here. Even if you copy the code from OBI1XXX it will not have the code to convert the name into a CNAME entry for delivery through a POTS RJxx line to the good old POTS phone ...
naf
join:2017-12-12

1 edit

1 recommendation

Ignoring the fact that I don't know the technical names for things in this area, the general idea is:
currently on a obi2xx, gv calls that are routed to the RJxx line get presented on the attached phone with a caller id # only, no name.
with obiextras (i imagine), gv calls that are routed to the RJxx line get presented on the attached phone with a caller id *and* the corresponding contact name [if one exists]
the goal is to do the obiextras stuff without obiextras [and without giving obi your google contacts access]

its confusing since Mango tested the obiextras import path on an obiphone, where the gv-contact import doesnt require obiextras at all (ive read) and obviously doesnt pass them along to a RJxx line. but yes, the obi2xx already have this feature, its just hidden behind obiextras.
olisom
join:2018-03-02
united state

1 recommendation

@naf the phone Mango tested on is an Obi1022/32/62. It imports the contacts into its address book. Then a call comes in, it matches the phone number against a look up ---> displays on the obi1022/32/62 display. This module does not have a bling bling bling code to convert the name to a CNAME for transmission .... It just has to display the name on its own LCD.

On an obi202/102/200/300 there is no display. Therefore, the name has to be sent via a CNAME (bling bling bling) code ... Like morse code with the ring ... The CNAME bling bling bling isn't on the Obiextras code for the Obi202 as its advertised as a Obi1022/32/62 only feature ... AFAIK.

So, I am perplexed.
Brown
join:2018-01-21

said the Obitalk site:
Super-charge your OBi200, OBi202, OBi1022, OBi1032 or OBi1062 device into the most advanced multi-service, service-agnostic VoIP device available today! Gain access to premium features such as OBi Voice Command, Custom Call Blocking, Caller ID Name & Number, OBiFAX, Alarm Monitor and Nest Integration.

OBiEXTRAs makes your OBi device the most powerful home and small business phone solution a smart VoIP user can buy.

naf
join:2017-12-12

1 recommendation

to olisom
said by olisom:

The CNAME bling bling bling isn't on the Obiextras code for the Obi202 as its advertised as a Obi1022/32/62 only feature ... AFAIK.

I think that the obi2xx *does* have the means of adding the name info in addition to the phone #, but its just disabled unless an obiextra's subscription is purchased and used to send down a phone#-->name mapping in this case from google contacts.

But hopefully soon I will be able to prove it one way or the other. Just gotta figure out why my lua doesnt get to the "read contacts.xml" part (and maybe also see if the code that has to query that xml is disabled and i have to patch it out - but somehow im better at reading ARM assembly than freakin interpreted lua)
naf
the more i look at this, the more im confused. so my obi2xx does run that lua script, and it does open the contact match/business match/gtts servers on ports 14641/14241/12421 (but doesn't log that it does so, annoyingly enough)

theres code in the main obiapp to connect to those local servers, but the servers themselves just (attempt to) relay the requests to various public web APIs:
wget --output-document=/tmp/details.html -q --timeout=4 --no-check-certificate "https://maps.googleapis.com/maps/api/place/details/xml?key=<KEY>&placeid='
wget --output-document=/tmp/corppage.html -q --timeout=4 --no-cookies --user-agent="Lynx/2.8.8rel.2 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/1.0.2a" --referer="http://www.bing.com/" --header="Accept-Language: en" --header="Accept: text/html, text/plain, text/sgml, text/css, application/xhtml+xml, */*;q=0.01" "http://www.bing.com/search?q='..t..'&go=Submit&qs=ds&form=QBLH"'
wget --output-document=/tmp/page.html -q --timeout=4 --no-cookies --user-agent="Mozilla/5.0 (Linux; U; en-US) AppleWebKit/528.5+ (KHTML, like Gecko, Safari/528.5+) Version/4.0 Kindle/3.0 (screen 600x800; rotate)" --referer="http://www.google.com/" --header="Accept-Language: en" --header="Accept: text/html, text/plain, text/sgml, text/css, application/xhtml+xml, */*;q=0.01" "http://www.google.com/search?ie=UTF-8&hl=en&source=hp&q='..e..'&btnG=Google+Search&gbv=1"'
wget --output-document=/tmp/page.html -q --timeout=4 --no-cookies --user-agent="Lynx/2.8.8rel.2 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/1.0.2a" --referer="http://www.yahooo.com/" --header="Accept-Language: en" --header="Accept: text/html, text/plain, text/sgml, text/css, application/xhtml+xml, */*;q=0.01" "http://search.yahooo.com/search?p='..e..'
wget --output-document=/tmp/page.html -q --timeout=4 --no-check-certificate "https://maps.googleapis.com/maps/api/place/textsearch/xml?query='..e..'&key=<KEY>"'
wget --output-document=/tmp/speech.mp3 -q --timeout=4 --user-agent="Test/1.0" "http://'..l..'/tts?text='..n..'&dg='..t..'"'
 

and some of those fail, because the included wget doesn't support the "--no-check-certificate" option, haha nice obihai

meanwhile, where the fuck are the contacts.xml read? :-)
naf

1 edit
does this command work for anyone that has syslog running (especially Mango, cause i see his lua logging)?

# /obi/obicmd PARAM_GET X_DeviceManagement.Syslog.Server
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
root@OBiPhone:~# /obi/obicmd PARAM_GET X_DeviceManagement.Syslog.Server
Result: 192.168.1.4
 
olisom
join:2018-03-02
united state
@Mango did you try the import option on your phone LCD screen?
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
No, it's disabled because I don't have a Bluetooth phone paired with it. According to the manual the feature is only for Bluetooth, and I don't have an OBiBT to test with.
Mango
So if anyone's curious, /obi/obicmd PARAM_GET * makes the phone reboot.
naf
join:2017-12-12
said by Mango:

So if anyone's curious, /obi/obicmd PARAM_GET * makes the phone reboot.

atleast yours works at all. on my obi202:
# /obi/obicmd PARAM_GET X_DeviceManagement.Syslog.Server
#
 

big fat nothing. and yes, i do have that param configured. atleast that explains why *my* lua doesnt log anything.
olisom
join:2018-03-02
united state
to naf
[ 5.948585] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 5.952026] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 5.955719] usb usb2: Product: DWC OTG Controller
[ 5.958104] usb usb2: Manufacturer: Linux 3.4.20-rt31-dvf-v1.2.4-rc2 dwc_otg_hcd
[ 5.961860] usb usb2: SerialNumber: 300000.usb
[ 5.970628] hub 2-0:1.0: USB hub found
[ 5.972585] hub 2-0:1.0: 1 port detected
[ 6.173266] Indeed it is in host mode hprt0 = 00021501
[ 6.342436] RTL871X: module init start
[ 6.344348] RTL871X: rtl8821au v4.3.19.5_17672.20160506_BTCOEX20150921-58
[ 6.347786] RTL871X: build time: Dec 9 2016 18:40:42
[ 6.350352] RTL871X: rtl8821au BT-Coex version = BTCOEX20150921-58
[ 6.356902] usbcore: registered new interface driver rtl8821au
[ 6.359862] RTL871X: module init ret=0
[ 6.373210] PHY: fixed-0:01 - Link is Up - 100/Full
[ 6.413268] usb 2-1: new high-speed USB device number 2 using dwc_otg
[ 6.419593] Indeed it is in host mode hprt0 = 00001101
[ 6.472899] UBI: attaching mtd9 to ubi2
[ 6.477881] UBI: physical eraseblock size: 131072 bytes (128 KiB)
[ 6.481050] UBI: logical eraseblock size: 126976 bytes
[ 6.488631] UBI: smallest flash I/O unit: 2048
[ 6.491010] UBI: VID header offset: 2048 (aligned 2048)
[ 6.499339] UBI: data offset: 4096
[ 6.673516] UBI: max. sequence number: 174
[ 6.695357] usb 2-1: New USB device found, idVendor=3823, idProduct=6249
[ 6.698765] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6.702383] usb 2-1: Product: 802.11ac WLAN Adapter
[ 6.702747] UBI: attached mtd9 to ubi2
[ 6.702762] UBI: MTD device name: "scratch"
[ 6.702778] UBI: MTD device size: 40 MiB
[ 6.702791] UBI: number of good PEBs: 320
[ 6.702803] UBI: number of bad PEBs: 0
[ 6.702815] UBI: number of corrupted PEBs: 0
[ 6.702828] UBI: max. allowed volumes: 128
[ 6.702840] UBI: wear-leveling threshold: 4096
[ 6.702852] UBI: number of internal volumes: 1
[ 6.702865] UBI: number of user volumes: 1
[ 6.702876] UBI: available PEBs: 0
[ 6.702889] UBI: total number of reserved PEBs: 320
[ 6.702902] UBI: number of PEBs reserved for bad PEB handling: 3
[ 6.702919] UBI: max/mean erase counter: 3/1
[ 6.702931] UBI: image sequence number: 518814046
[ 6.710604] UBI: background thread "ubi_bgt2d" started, PID 248
[ 6.773163] usb 2-1: Manufacturer: Realtek
[ 6.775283] usb 2-1: SerialNumber: 00e04c000001
[ 6.776351] UBIFS: recovery needed
[ 6.911487] UBIFS: recovery completed
[ 6.913636] UBIFS: mounted UBI device 2, volume 0, name "scratch"
[ 6.916724] UBIFS: file system size: 38600704 bytes (37696 KiB, 36 MiB, 304 LEBs)
[ 6.920626] UBIFS: journal size: 1904640 bytes (1860 KiB, 1 MiB, 15 LEBs)
[ 6.925545] UBIFS: media format: w4/r0 (latest is w4/r0)
[ 6.928514] UBIFS: default compressor: lzo
[ 6.930582] UBIFS: reserved for root: 1823206 bytes (1780 KiB)
[ 6.995426] UBI: attaching mtd10 to ubi10
[ 6.997461] UBI: physical eraseblock size: 131072 bytes (128 KiB)
[ 7.000631] UBI: logical eraseblock size: 126976 bytes
[ 7.004901] UBI: smallest flash I/O unit: 2048
[ 7.007278] UBI: VID header offset: 2048 (aligned 2048)
[ 7.010325] UBI: data offset: 4096
[ 7.129577] UBI: max. sequence number: 424
[ 7.157884] UBI: attached mtd10 to ubi10
[ 7.159866] UBI: MTD device name: "misc"
[ 7.162338] UBI: MTD device size: 20 MiB
[ 7.164944] UBI: number of good PEBs: 159
[ 7.167275] UBI: number of bad PEBs: 1
[ 7.169529] UBI: number of corrupted PEBs: 0
[ 7.171784] UBI: max. allowed volumes: 128
[ 7.174931] UBI: wear-leveling threshold: 4096
[ 7.177307] UBI: number of internal volumes: 1
[ 7.179560] UBI: number of user volumes: 1
[ 7.181815] UBI: available PEBs: 0
[ 7.184891] UBI: total number of reserved PEBs: 159
[ 7.187357] UBI: number of PEBs reserved for bad PEB handling: 2
[ 7.190407] UBI: max/mean erase counter: 10/3
[ 7.192615] UBI: image sequence number: 1724392696
[ 7.195159] UBI: background thread "ubi_bgt10d" started, PID 252
[ 7.325099] UBIFS: mounted UBI device 10, volume 0, name "misc"
[ 7.328107] UBIFS: file system size: 17776640 bytes (17360 KiB, 16 MiB, 140 LEBs)
[ 7.331992] UBIFS: journal size: 2666496 bytes (2604 KiB, 2 MiB, 21 LEBs)
[ 7.335732] UBIFS: media format: w4/r0 (latest is w4/r0)
[ 7.338687] UBIFS: default compressor: zlib
[ 7.340806] UBIFS: reserved for root: 0 bytes (0 KiB)
[ 7.443925] drivers/net/wireless/rtl8821au/hal/rtl8812a/rtl8812a_hal_init.c@2609: Efuse size(512)
[ 7.454780] drivers/net/wireless/rtl8821au/hal/hal_com.c@163: hw_channel_plan(67) sw_channel_plan(53) def_channel_plan(127)
[ 7.460446] drivers/net/wireless/rtl8821au/hal/rtl8812a/rtl8812a_hal_init.c@1801: ChannelPlan(53)
[ 7.480001] drivers/net/wireless/rtl8821au/core/rtw_mlme_ext.c@925: ChannelPlan(53)
[ 7.489748] RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=9c:ad:ef:ff:92:bf
[ 12.087345] UBIFS: un-mount UBI device 10, volume 0
[ 12.129679] UBI: mtd10 is detached from ubi10
[ 14.321966] css 8200000.css: loading DVF99 CSS image
[ 14.325051] css 8200000.css: MD5 sum of ELF file: 0x42FE9480601D484B5DB742973FC0E247
[ 14.421453] css 8200000.css: successfully loaded CSS firmware
[ 14.493272] voice: character device initialized (major=246)
[ 14.504337] asoc: PCMHD_codec_dai CSS mapping ok
[ 14.508040] asoc: PCMFD_codec_dai CSS mapping ok
[ 14.511237] asoc: TRACE1_codec_dai CSS mapping ok
[ 14.515169] asoc: USB_plug CSS mapping ok
[ 14.518075] asoc: TRACE2_codec_dai CSS mapping ok
[ 14.521504] asoc: ANYFD_codec_dai CSS mapping ok
[ 14.524925] asoc: PCMHD_DClass_codec_dai CSS mapping ok
[ 14.528532] asoc: PCMFD_DClass_codec_dai CSS mapping ok
[ 14.586314] snd-dvf99-mach-drv snd-dvf99-mach-drv.15: DVF99 ASoC card registered
[ 14.593704] DVF99-BT asoc Mach-drv: dspg_snd_probe():
[ 14.593867] snd-dvf-evb-bt dvf99-bt-mach-drv.11: DVF99 BT ASoc Card registred
[ 15.132933] usbcore: registered new interface driver snd-usb-audio
[ 15.667319] dspg_wdt 5700000.watchdog: timer started
[ 53.654506] obiapp pid = 0
[ 156.659174] dspg_wdt 5700000.watchdog: timer started
[ 165.523465] obiapp pid = 0
[ 191.658380] dspg_wdt 5700000.watchdog: timer started
[ 198.730656] obiapp pid = 0
naf
join:2017-12-12
said by olisom:

[ 6.695357] usb 2-1: New USB device found, idVendor=3823, idProduct=6249

looks like you got a real obiwifi dongle.
is your place just like floor-to-ceiling phone equipment now?
olisom
join:2018-03-02
united state

2 edits

1 recommendation

Pretty much But the idea is now we get a rtl8821au usb device and patch the vendor id and product id.
So far the options seem to be:
D-Link Wireless Dual Band AC600 Mbps USB Wi-Fi Network Adapter (DWA-171)
Mailiya 600

@Naf. Can you patch the Obi2xx firmware such that when I plugin the Edimax the Obi2xx thinks its the rtl8821au?
Realtek has the same driver for rtl8821 and rtl8812.
Edimax the usb wifi we were trying to get working is an rtl8812 chipset.
If we can spoof this, the options available will be hundreds of usb WiFi devices.
A huge percentage of the wifi devices in the market are rtl8812 based.
naf
join:2017-12-12
to olisom

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

Yes, but it still involves guessing the kernel .config right to rebuild the drivers. Its doable, but it was a lot faster when I actually had the kernel running locally to quickly build/load module/read missing symbol error/rebuild/repeat. But if you're willing to load modules i send you repeatedly, then im game.

In this way it still won't matter if its a similar device to the obiwifi or not, with a good .config we can build any driver in the kernel tree (or backports even)
naf
arrynrob5: bsdiff for OBi202-3-2-1-5757EX.fw

modifications:
1) add dropbear ssh server. default root passwd = "obi"
2) patch obiapp to use oauth token request override, for provisioning GV without obitalk. Uses same AuthPassword format and provisioning xml as the obi1xx-naf7
3) patch obiapp to bypass "zero touch" forced configuration. added clear_zt_params util to clear old zero touch params [param_dump available separately due to size]
4) patch obiapp to use /scratch/contacts.xml for caller id number to name translation lookup. format like:
<?xml version="1.0"?>
<cs>
<c><n>Display Name 1</n><t>5555556737</t></c>
<c><n>Display Name 2</n><t>5556660136</t></c>
</cs>
 

md5sum OBi202-3-2-1-5757EX-arrynrob5.fw = 3c422a801174427167d0981ee3bba9cd
naf

1 recommendation

now if somebody that's smart could post a tool to convert google contacts into that contacts.xml format...
OBi1FW
join:2017-12-27
Vienna, VA

1 edit
I can do this soon.

What is the format when there are multiple numbers?
naf
join:2017-12-12
said by OBi1FW:

What is the format when there are multiple numbers?

See Mango's example on the previous page. Looks like they just append "mobile" or whatever to the name to form a longer display name
Brown
join:2018-01-21

1 edit
I wrote a quick conversion program. It works on my contact file.

Edit: The file did not attach. Maybe it needs mod approval? It's a ZIP. I'll pm it to naf.
olisom
join:2018-03-02
united state
to naf
Sure. It can test the different configurations. Can you build it for the Obi1022/32/64 series? Couple of reasons for this, it's faster to transfer the modules via usb and the 1022/32/64 has two usb ports. (Also Obi202 won't let me save anything on the device.) And, I can leave the Edimax plugged into the second usb port.
naf
join:2017-12-12
to Brown
said by Brown:

I wrote a quick conversion program. It works on my contact file.

Edit: The file did not attach. Maybe it needs mod approval? It's a ZIP. I'll pm it to naf.

no attachments came through in the pm
naf

1 edit
to olisom
said by olisom:

Sure. It can test the different configurations. Can you build it for the Obi1022/32/64 series? Couple of reasons for this, it's faster to transfer the modules via usb and the 1022/32/64 has two usb ports. (Also Obi202 won't let me save anything on the device.) And, I can leave the Edimax plugged into the second usb port.

ok, here's the in-kernel driver for that edimax from the 3.4.20 kernel of an obiphone.

try to load them in this order.
on the first insmod that errors, just capture the dmesg output and stop:

# mkdir /lib/firmware/rtlwifi
# ln -s /media/sda/rtl8192cufw.bin /lib/firmware/rtlwifi/rtl8192cufw.bin
# dmesg -c >/dev/null
# insmod /media/sda/rtlwifi.ko
# dmesg
# insmod /media/sda/rtl8192c-common.ko
# dmesg
# insmod /media/sda/rtl8192cu.ko debug=5
# dmesg
# iwconfig
 

ETA: sent you a link also in case you still cant download attachments for whatever reason
Brown
join:2018-01-21

said by naf:
no attachments came through in the pm

Is it because it's a EXE program inside the ZIP? Can I email it to you?
naf
join:2017-12-12
said by Brown:

Is it because it's a EXE program inside the ZIP? Can I email it to you?

sent you email address in pm
Brown
join:2018-01-21
Okay, I sent it to you.

It will not run in 64 bit Windows.

You may post it anywhere you want. I could not upload it here.
naf
join:2017-12-12
said by Brown:

Okay, I sent it to you.

no email. post/pm link to google drive or somewhere?
Brown
join:2018-01-21

3 edits
I just tried Google Drive "share" with your email. Maybe that will work. Edit: This worked!

I also sent an email without the attachment to test if that gets through. Edit: Empty test email made it through.
naf
join:2017-12-12
Brown, i tried your converter. It worked, but for my use case at least, it would need to handle multiple phone numbers per contact also. (and not run on windows :-P)
Brown
join:2018-01-21

1 edit
Mangos XML format only shows one phone number per person. Where should additional numbers go?
naf
join:2017-12-12
said by Brown:

Mangos XML format only shows one phone number per person. Where should additional numbers go?

I might do something like:
- If only 1 phone number in GV contact:
<c><n>Steve Smith</n><t>5555556737</t></c>
- If multiple phone numbers in GV contact (i.e. work, mobile)
<c><n>Steve Smith work</n><t>5556660136</t></c>
<c><n>Steve Smith mobile</n><t>5556667890</t></c>

or however you want them displayed.
having two identical name values with different phone numbers wouldnt hurt either, i imagine

someone might wanna check 9-digit vs 10-digit matching too. (ive only tried a 10-digit number)
olisom
join:2018-03-02
united state
to naf
root@OBiPhone:~# insmod /media/sda/rtl8192cu-3.4.20/rtlwifi.ko
insmod: can't insert '/media/sda/rtl8192cu-3.4.20/rtlwifi.ko': unknown symbol in module, or unknown parameter
root@OBiPhone:~#
Brown
join:2018-01-21

1 edit
to naf
If anyone wants to try my CSV to XML converter here is the link:

Edit: removed, see link to newer version below.

Click the download button.

You can run it from the command prompt or double click it in Windows.
naf
join:2017-12-12
to olisom
said by olisom:

root@OBiPhone:~# insmod /media/sda/rtl8192cu-3.4.20/rtlwifi.ko
insmod: can't insert '/media/sda/rtl8192cu-3.4.20/rtlwifi.ko': unknown symbol in module, or unknown parameter
root@OBiPhone:~#

need that dmesg output to see which symbols
Brown
join:2018-01-21
to naf
Here is a link to a new version that does all the numbers for each contact:
»drive.google.com/file/d/ ··· =sharing
'https://drive.google.com/file/d/1LMkiCSX2m7W1HU2Jgz2H8-cWr5oCyTU2/view?usp=sharing'

I'll remove the other one.
naf
join:2017-12-12
said by naf:
said by olisom:

root@OBiPhone:~# insmod /media/sda/rtl8192cu-3.4.20/rtlwifi.ko
insmod: can't insert '/media/sda/rtl8192cu-3.4.20/rtlwifi.ko': unknown symbol in module, or unknown parameter
root@OBiPhone:~#

need that dmesg output to see which symbols
olisom, i still need the dmesg output after attempting to load the module, but also can you dump all the kernel symbols to maybe save a roundtrip or two:
# cat /proc/kallsyms
(cause im not smart enough to do it from the kernel image apparently)
olisom
join:2018-03-02
united state
dump.txt
105,832 bytes
Ok. I tried reloading the module and checking using the same computer I used for the previous dmesg output. But apparently, dmesg has nothing other than resolving root.pnn.obihai.com over and over with an SNTP: request.
Nothing about the kernel module or otherwise.
naf
join:2017-12-12
if dmesg is full of crap, just clear it right before loading the module, like:
# dmesg -c >/dev/null
# insmod /media/sda/rtlwifi.ko
# dmesg

also, did that kallsyms dump get cut off? it appears the top part is missing?
maybe just output it straight to a file:
# cat /proc/kallsyms > /media/sda/kallsyms.txt
olisom
join:2018-03-02
united state

1 edit
kallsyms.txt
1,242,608 bytes
BASE:resolving root.pnn.obihai.com
BASE:resolving root.pnn.obihai.com
BASE:resolving root.pnn.obihai.com
BASE:resolving root.pnn.obihai.com
BASE:resolving root.pnn.obihai.com
BASE:resolving root.pnn.obihai.com
BASE:resolving root.pnn.obihai.com
BASE:resolving root.pnn.obihai.com
BASE:resolving root.pnn.obihai.com
SNTP->pool.ntp.org
BASE:resolving root.pnn.obihai.com
BASE:resolving root.pnn.obihai.com
BASE:resolving root.pnn.obihai.com
BASE:resolving root.pnn.obihai.com
BASE:resolving root.pnn.obihai.com
BASE:resolving root.pnn.obihai.com
BASE:resolving root.pnn.obihai.com
BASE:resolving root.pnn.obihai.com
BASE:resolving root.pnn.obihai.com
These are the only entries in dmesg.

Also tried:
root@OBiPhone:~# /sbin/insmod /media/sda/rtl8192cu-3.4.20/rtlwifi.ko
insmod: can't insert '/media/sda/rtl8192cu-3.4.20/rtlwifi.ko': unknown symbol in module, or unknown parameter
root@OBiPhone:~# /sbin/insmod /media/sda/rtl8192cu-3.4.20/rtlwifi.ko debug=5
insmod: can't insert '/media/sda/rtl8192cu-3.4.20/rtlwifi.ko': unknown symbol in module, or unknown parameter
root@OBiPhone:~#

No change in dmesg entries
OBi1FW
join:2017-12-27
Vienna, VA
to naf
The site is updated with arrynrob5 now.

I made »www.obifirmware.com/contacts/. Once the file is made, how to use it? Use SSH and copy to /scratch/contacts.xml? And anything else?
naf
join:2017-12-12
said by OBi1FW:

Once the file is made, how to use it? Use SSH and copy to /scratch/contacts.xml? And anything else?

Yep. Its only read during startup, so you just gotta restart from the web gui after scp'ing it to /scratch/contacts.xml.
naf
to olisom
said by olisom:

These are the only entries in dmesg.

well shit. this is going to be hard if it wont say *which* symbol.
but let me try to use the kallsyms dump as a guide and make another driver attempt.

[meanwhile, i did send out a couple feelers about gpl release to the dsp group (who sells the board and the bsp) and panasonic (who sells a different ip phone with the same board). not expecting anything of it though]
naf
said by naf:

well shit. this is going to be hard if it wont say *which* symbol.
but let me try to use the kallsyms dump as a guide and make another driver attempt.

progress so far:
$ find . -name \*.ko -exec ./needs.sh {} \;
$ find . -name \*.ko -exec ./provides.sh {} \;
$ ./find_missing_symbols.sh cfg80211.ko.needs kallsyms.txt
0 __mutex_init
0 __put_net
$ ./find_missing_symbols.sh mac80211.ko.needs kallsyms.txt cfg80211.ko.provides
0 ewma_add
0 ewma_init
0 __mutex_init
$ ./find_missing_symbols.sh rtlwifi.ko.needs kallsyms.txt cfg80211.ko.provides mac80211.ko.provides
0 __mutex_init
$ ./find_missing_symbols.sh rtl8192c-common.ko.needs kallsyms.txt cfg80211.ko.provides mac80211.ko.provides rtlwifi.ko.provides
$ ./find_missing_symbols.sh rtl8192cu.ko.needs kallsyms.txt cfg80211.ko.provides mac80211.ko.provides rtlwifi.ko.provides rtl8192c-common.ko.provides
 

ewma* i can patch out, and im not sure whats up with __put_net, but no __mutex_init? wtf?
i guess this is why 3.4.20-rt31-dvf-v1.2.4-rc2 != 3.4.20
naf
ok, found the -rt31 patchset. down to these:
$ ./find_missing_symbols.sh cfg80211.ko.needs kallsyms.txt
0 __put_net
$ ./find_missing_symbols.sh mac80211.ko.needs kallsyms.txt cfg80211.ko.provides
0 ewma_add
0 ewma_init
$ ./find_missing_symbols.sh rtlwifi.ko.needs kallsyms.txt cfg80211.ko.provides mac80211.ko.provides
$ ./find_missing_symbols.sh rtl8192c-common.ko.needs kallsyms.txt cfg80211.ko.provides mac80211.ko.provides rtlwifi.ko.provides
$ ./find_missing_symbols.sh rtl8192cu.ko.needs kallsyms.txt cfg80211.ko.provides mac80211.ko.provides rtlwifi.ko.provides rtl8192c-common.ko.provides
 
naf
join:2017-12-12

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

ok, fixed __put_net by disabling some config setting, and i just copied the two ewma_ functions into mac80211.ko, so now my script claims theres no unresolved symbols, for whatever that's worth...

olisom, give this new one a try:
# mkdir /lib/firmware/rtlwifi
# ln -s /media/sda/rtl8192cufw.bin /lib/firmware/rtlwifi/rtl8192cufw.bin
# dmesg -c >/dev/null
# insmod /media/sda/cfg80211.ko
# insmod /media/sda/mac80211.ko
# insmod /media/sda/rtlwifi.ko
# insmod /media/sda/rtl8192c-common.ko
# insmod /media/sda/rtl8192cu.ko debug=5
# dmesg
# iwconfig
 
olisom
join:2018-03-02
united state
root@OBiPhone:~# insmod /media/sda/rtl8192cu/rtl
rtl8192c-common.ko rtl8192cu.ko rtl8192cufw.bin rtlwifi.ko
root@OBiPhone:~# insmod /media/sda/rtl8192cu/cfg80211.ko
Segmentation fault
root@OBiPhone:~# insmod /media/sda/rtl8192cu/rtlwifi.ko
Segmentation fault
root@OBiPhone:~# insmod /media/sda/rtl8192cu/mac80211.ko

The last command just hangs in the air ... nothing happens.
naf
join:2017-12-12

2 edits
strace.tar.gz
109,950 bytes
Segfault. Interesting. (hey, atleast it found all the symbols...)
Anything insightful in /var/log/messages or dmesg?

maybe try strace and see how far it got (not sure this is useful assuming it gets inside the syscall to init_module, but maybe worth a try?)

# /media/sda/strace /sbin/insmod /media/sda/cfg80211.ko

ETA:
[or just open ssh to the internet and let me log in remotely]
[[or just send me one of those obi1032's if you were going to give them away anyway]]
olisom
join:2018-03-02
united state
Sure I will a 1062 your way. But it will take me a week or so. I won't send you the 1032 because I think its still registered and active. And I really don't know how to get obi to pull the plug on this guy. So, I leave it offline.
naf
join:2017-12-12
said by olisom:

Sure I will a 1062 your way. But it will take me a week or so. I won't send you the 1032 because I think its still registered and active. And I really don't know how to get obi to pull the plug on this guy. So, I leave it offline.

cool. i would offer to name the firmware after you in exchange, but i guess i already did.

feel free to try strace or check dmesg or /var/log/messages [or gdb!] before then though if you'd like. maybe we can get it knocked out before the week is up.
olisom
join:2018-03-02
united state
I will drive a "hard" bargain now! Rename the firmware after "naf" this cool guy I know and the 1062 is yours! Send me your address via PM and I will get the 1062 when I can get away to the post office.
naf
join:2017-12-12
man, nobody likes the naming rights idea. arrynrob even changed his username to avoid it...

jsolo1
Premium Member
join:2001-07-01
PRIL
Just call it obi20x_mod_Vx.y.z
Brown
join:2018-01-21

2 edits
naf
join:2017-12-12

1 edit

3 recommendations

If anyone is interested, I tried to dump my notes for how to re-build the firmware/toolchain and the source to the tools I added out to github: »github.com/naf419/obi-fi ··· re-tools

Mock at your leisure.

ETA: Just pretend its obi's gpl release packet
amb
join:2018-04-08

1 recommendation

to naf
This is truly awesome. Thank you all!

If anybody else is (like me) coming to this recently and trying to follow the instructions for the gvoice-without-obitalk setup, note that the "API Credentials" link has moved from the per-project page to the top-level Google Developers dashboard. (Look for the same key icon, now just labelled "Credentials", and you'll be prompted as to which project it's for.)

I also had to re-check "Forwards calls to Google Chat" in my gchat config, but that was my own doing. (XMPP, SIP, it's all the same, right Google?)
OBi1FW
join:2017-12-27
Vienna, VA
I think I update it and now it's correct.

I have another question. For the first time I saw the message about how many projects I can create. It linked me to this: »cloud.google.com/free/do ··· itations

Are we using the Google Cloud Platform Free Tier? Will this continue to work after one year?
naf
join:2017-12-12
said by OBi1FW:

Are we using the Google Cloud Platform Free Tier? Will this continue to work after one year?

No, the 1-year trial / Always Free talk is about using their cloud resources to host your own custom services on their servers. It just happens to be configured on the same page where API access to google services are also configured.

So no, these oauth client keys wont expire in 1 year (with the usual caveat that google could change *any* of their free services at any time for any reason, although history shows they probably wont)
valley_nomad
join:2012-11-26
New York, NY

4 edits
to naf

Re: Obihai OBi200/202 firmware mod

said by naf:
said by valley_nomad:

Is there any successful case for Obi302? These can be bought for less than $30 from eBay.

depends what you mean by successful...

i believe with 5757-arrynrob4 you can unlock a vendor-configured obi302 to do anything an obi202 can (including GV) except that you can't configure it via obitalk's website, but you can use the local web gui instead [rant]which you should have been doing anyway[/rant]

if you do get one, report back your success/failure.
Finally have some time to do it on my 302 from eBay. Got some questions:
Is the latest firmware for 302 OBi2-3-2-1-5757EX-arrynrob5.fw?
I flashed the firmware via 302's web interface with any error . Is it the correct way to do it for 302?
I tried to enable GV by following the description in "Google Voice on OBi ATA Manual Configuration" (»www.obifirmware.com/OAuth2/). But I don't see SignalProtocol under ITSP Profile X. What did I do wrong?

Update: I just noticed that the change notes of OBi2-3-2-1-5757EX-arrynrob5.fw indicates that GV is already enabled by the firmware. If so, should I still be able to see SignalProtocol under ITSP Profile X and select the Google Voice as its value?
Brown
join:2018-01-21
On the status screen is it showing the SoftwareVersion as ...arrynrob5?

And, what does it show for CustomizationStatus?
valley_nomad
join:2012-11-26
New York, NY
said by Brown:

On the status screen is it showing the SoftwareVersion as ...arrynrob5?

And, what does it show for CustomizationStatus?

SoftwareVersion: 3.2.1 (Build: 5757EX-arrynrob5)
CustomizationStatus: Phonepower

Maybe I should re-flash the firmware?

jsolo1
Premium Member
join:2001-07-01
PRIL

1 recommendation

to naf

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

Based on the news that's come down the line, the firmware mod may be short lived.

Naf you ready for the next challenge?
Brown
join:2018-01-21

1 edit
to valley_nomad

Re: Obihai OBi200/202 firmware mod

said by valley_nomad:
CustomizationStatus: Phonepower

Uh oh, that's not good.

I would try a button reset without the internet attached. Connect a PC to the LAN port on Obi. See if it boots up as "Generic" instead of PhonePower.
Brown
to jsolo1

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

said by jsolo1:
Based on the news that's come down the line, the firmware mod may be short lived.

Yeah, we have a month and a half to "party like it's 1999" (RIP Prince)
valley_nomad
join:2012-11-26
New York, NY
to Brown

Re: Obihai OBi200/202 firmware mod

No luck. It still shows PhonePower.
Brown
join:2018-01-21
Try reloading the firmware. To do that you'll need to first load an older stock version. You can download version 3-0-1-4350 from Obitalk. Then load stock 5757 (also from Obitalk). Then load arrynrob5.
Do all the downloads first or on another computer and update the firmware without the internet attached.
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
to valley_nomad
Did you SSH in and run clear_zt_params yet? If not, give that a shot.
valley_nomad
join:2012-11-26
New York, NY
to Brown
Still no luck after re-flashing all three firmware in the order you mentioned. Time to try SSH
valley_nomad

4 edits
to Mango
said by Mango:

Did you SSH in and run clear_zt_params yet? If not, give that a shot.

Is it just a sh script I can run with root? But it seems not in arrynrob5. Do I have to load it from somewhere?

Update: I loaded clear_zt_params from this thread and it worked. Now CustomizationStatus shows Generic and Google Voice can be selected for SignalProtocol under ITSP Profile X. So it seems that at least for my version of OBi302 (PhonePower with Hardware V1.4) clear_zt_params still needs to be run manually with SSH in order to make GV selectable.

One more question: Should I do anything about Auto Provisioning? Currently both Firmware Update and OBiTalk Provisioning are disabled by default. Both LUA Script Update and ITSP Provisioning are set to System Start with ConfigURL of tftp://$DHCPOPT66/$DM.xml;$DHCPOPT66.
Brown
join:2018-01-21
Excellent, Yes leave Firmware update and ObiTalk disabled and just follow the ObiFirmware.com site to generate your own credentials and it's finished.
valley_nomad
join:2012-11-26
New York, NY

3 edits
Thanks for all you guys' help. However I am getting "no service configured error". Tried twice to make sure that I followed the procedure correctly, but still got the same error. The GV account itself should be OK as it was working on my other Obi202 with official fw. I already deleted the account from that ATA to avoid possible competing situation from two ATAs. I set ITSP Profile A to GV protocol and associated it with SP1. But SP1 on the System Status page indicates "Service Not Configured". Is there a way to debug this problem?
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
The way to solve that is the ITSP Provisioning step with the ConfigURL described at »www.obifirmware.com/OAuth2/ . Did you do that yet?
valley_nomad
join:2012-11-26
New York, NY

1 recommendation

said by Mango:

The way to solve that is the ITSP Provisioning step with the ConfigURL described at »www.obifirmware.com/OAuth2/ . Did you do that yet?

Thank you! It solved the issue. I did it once when I still had the issue with PhonePower stuff. Later when I solved that issue I mistakenly thought this step is not needed as it just brings the GV option to ITSP profile config which is somehow already done by installing arrynrob5 fw....I am quite ignorant on VOIP

Thanks again for all these great work you guys have done here.
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
said by valley_nomad:

I am quite ignorant on VOIP

That's ok; just hang out here a while
naf
join:2017-12-12
to jsolo1

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

said by jsolo1:

Based on the news that's come down the line, the firmware mod may be short lived.

Naf you ready for the next challenge?

am i to assume that this is the one I want to look at? »fw.obihai.com/OBi202-3-1 ··· -5804.fw
taoman
Premium Member
join:2013-09-13
Seattle, WA

1 recommendation

to naf

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

said by naf:

am i to assume that this is the one I want to look at? »fw.obihai.com/OBi202-3-1 ··· -5804.fw

No. But release of the new firmware for the OBi20x series is apparently imminent.

»www.obitalk.com/forum/in ··· msg88859
Pufferty
Perpetual Newbie
join:2014-07-07
Rockville, MD

2 recommendations

Who is this "SteveinWA" and why does he seem to have an insider connection to both Obihai and Google?
taoman
Premium Member
join:2013-09-13
Seattle, WA

1 recommendation

said by Pufferty:

Who is this "SteveinWA" and why does he seem to have an insider connection to both Obihai and Google?

He's been a Google Voice and Hangouts support volunteer for years. In that capacity he apparently has direct access to Google engineers.

Likewise for Obihai. I knew he was a beta tester of new Obihai products (along with others) but he apparently also tests beta firmware. He also has direct contact with Obihai personnel. That's all I know.
Pufferty
Perpetual Newbie
join:2014-07-07
Rockville, MD

1 recommendation

That's pretty impressive given that both Google and Obihai are like black-holes.
azrobert
join:2015-02-07
Fountain Hills, AZ

1 recommendation

to naf
OBiHai is rolling out the new firmware.
»www.obitalk.com/forum/in ··· msg89107

You can download the firmware, but I don't know if you can install it yourself or wait for OBiHai. It looks like some proxies have changed.

»fw.obihai.com/OBi202-3-2 ··· 853EX.fw
naf
join:2017-12-12

2 recommendations

Tried 5853. Installed manually, configured GV via obitalk. Works fine without XMPP.

New super-secret parameter named "X_GoogleClientInfo". Gotta check out what the crap this is doing...
phonesimon
join:2014-10-08
Pennsylvania

1 recommendation

said by naf:

New super-secret parameter named "X_GoogleClientInfo". Gotta check out what the crap this is doing...

In the Android app, it's the SIP user agent string, base64-encoded.
azrobert
join:2015-02-07
Fountain Hills, AZ
to naf
said by naf:

Tried 5853. Installed manually, configured GV via obitalk. Works fine without XMPP.

Did you change the Proxy and Transport settings? See screenshots here:
»www.obitalk.com/forum/in ··· msg89124
naf
join:2017-12-12
said by azrobert:

Did you change the Proxy and Transport settings? See screenshots here:
»www.obitalk.com/forum/in ··· msg89124

obitalk provisioned them that way.
azrobert
join:2015-02-07
Fountain Hills, AZ
said by naf:
said by azrobert:

Did you change the Proxy and Transport settings? See screenshots here:
»www.obitalk.com/forum/in ··· msg89124

obitalk provisioned them that way.
I upgraded to 5853 and GV connected, but none of those settings changed. I then deleted and re-defined GV and the new settings were used. Does the new fw support both XMPP and SIP?
Anon2c873
@184.75.209.x
to azrobert
said by azrobert:

You can download the firmware, but I don't know if you can install it yourself or wait for OBiHai. It looks like some proxies have changed.

»fw.obihai.com/OBi202-3-2 ··· 853EX.fw

Broken link?

jsolo1
Premium Member
join:2001-07-01
PRIL
to azrobert
Robert does your google account show the old google chat as a forwarding option? If so, then I'd say new firmware supports both.

Ideally, it'd be nice to still be able to bypass obitalk to provision the SPx profile on the device while using one's own oauth2 creds.
RonR
join:2003-10-10
Ash Flat, AR
to Anon2c873
said by Anon2c873 :
said by azrobert:

You can download the firmware, but I don't know if you can install it yourself or wait for OBiHai. It looks like some proxies have changed.

»fw.obihai.com/OBi202-3-2 ··· 853EX.fw

Broken link?
I successfully used this link 12 hours ago, but it appears the link is no longer functional.

brg
Premium Member
join:2001-01-03
Chicago, IL
said by RonR:

I successfully used this link 12 hours ago, but it appears the link is no longer functional.

Huh. I used it 5 hours ago and it was working then...

hapollo
join:2007-05-13
WesterOS
Yep, no longer a working link. Probably just another means for Obi to try to take back control from people wanting to upgrade/mod their own firmware and move it back to the Obitalk portal in some way and keep modified firmware from being reverse engineered to keep the revenue flowing to newer models.
naf
join:2017-12-12

2 edits
said by hapollo:

Probably just another means for Obi to try to take back control from people wanting to upgrade/mod their own firmware and move it back to the Obitalk portal in some way and keep modified firmware from being reverse engineered to keep the revenue flowing to newer models.

nah. they still gotta provision the new firmware through http.

relax, i imagine we'll see a shell'd version of 5853 up in a hot minute anyway...

EDIT: ah shit, they changed the checksum algorithm... ?
naf
WARNING: appears that there is some sort of pki cert checking going on in the logic to upgrade firmware from the webgui in 5853. So I wouldn't (let obitalk force an) upgrade to this version unless you want to be stuck with stock firmware (or have an SPI programmer connected to the flash chip already) until we get this figured out...
Pufferty
Perpetual Newbie
join:2014-07-07
Rockville, MD

1 recommendation

to phonesimon
said by phonesimon:

In the Android app, it's the SIP user agent string, base64-encoded.

Same on voice.google.com (if you go to the Legacy GV), the Google Chat option is entirely removed. "@obihai.sip.google.com" is the trailing domain.

jsolo1
Premium Member
join:2001-07-01
PRIL

1 recommendation

to naf
Looks like they're cleaning house over there.

Got email notification for the following:

Topic removed: New third-party OBi1xx and OBi2xx firmware
Topic removed: Simon GVGW issue with Obi110 (calls Rejected Error 500)
Topic removed: GV Manual config after taking firmware update on 110

Probably some others I'm not subscribed to. I think it was also mentioned the rollout now is in full effect.

Maybe time to change Service providers/ITSP provider x/Sip/X_UserAgentName to something other than obi....?
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net

6 recommendations

Amusingly, threads like "Best Price To Buy NBA 2K19 MT,Delivery Fast", "Where can I buy a college degree?", and "BUYING FAKE PASSPORTS ONLINE" remain. So apparently they don't mind if their forum is full of spam. But, users trying to make their devices continue to perform as well as they did when they were first purchased? Oh, HELL no.

jsolo1
Premium Member
join:2001-07-01
PRIL

5 recommendations

Berating of users by beta testers is also acceptable.

I realize it gets annoying answering the same questions day in/day out, but either don't answer or be polite. No one likes hall monitors.
Brown
join:2018-01-21

4 edits
to naf
On an older subject: I'm working on a Obi1022 phone with Olisom4 and getting the "Backing off" error with a "TCP connection to 1??.21.???.?? failed" message (the ? are digits). The same oAuth2 credentials work in my Obi ATA's. Any ideas?

Edit: Update, I was not waiting long enough for Google Voice to connect. It's up and running now with Google Voice and "HD" Audio.
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
I'm getting Backing Off on my 110 with stock, but my naf7 is connected.
naf
join:2017-12-12

2 edits
said by naf:

WARNING: appears that there is some sort of pki cert checking going on in the logic to upgrade firmware from the webgui in 5853. So I wouldn't (let obitalk force an) upgrade to this version unless you want to be stuck with stock firmware (or have an SPI programmer connected to the flash chip already) until we get this figured out...

FUCK. and they set the uboot bootdelay to 0. no serial console.
5853 is a bad mothafucka.

so i guess it is time to figure out how to attach some wires to those stupid WSON pins... or give up :-(
Brown
join:2018-01-21

1 edit
to Mango

said by Mango:
I'm getting Backing Off on my 110 with stock, but my naf7 is connected.

Almost the same here. My 110 with stock can't receive calls but it can call out. My 100 with naf7 is working great.

hapollo
join:2007-05-13
WesterOS
to jsolo1
said by naf:
said by hapollo:

Probably just another means for Obi to try to take back control from people wanting to upgrade/mod their own firmware and move it back to the Obitalk portal in some way and keep modified firmware from being reverse engineered to keep the revenue flowing to newer models.

nah. they still gotta provision the new firmware through http.

relax, i imagine we'll see a shell'd version of 5853 up in a hot minute anyway...

EDIT: ah shit, they changed the checksum algorithm... ?
said by jsolo1:

Looks like they're cleaning house over there.

Got email notification for the following:

Topic removed: New third-party OBi1xx and OBi2xx firmware
Topic removed: Simon GVGW issue with Obi110 (calls Rejected Error 500)
Topic removed: GV Manual config after taking firmware update on 110

Probably some others I'm not subscribed to. I think it was also mentioned the rollout now is in full effect.

Yeah, I'm sure OBi noticed how their sales dropped after 3rd party firmware was being posted and now making sure to make it more difficult to do so going forward. Money talks for Obi not user loyalty. Probably more so now that Polycom wants to make sure they make their money back from acquiring Obi.
Brown
join:2018-01-21
to naf

said by naf:
FUCK. and they set the uboot bootdelay to 0. no serial console.
5853 is a bad mothafucka.

so i guess it is time to figure out how to attach some wires to those stupid WSON pins... or give up :-(

Here's an idea: Edit the 5853 and change the version to a higher number then take out the inability to load earlier versions. Then install it onto the device. After that, any version can be loaded and you can then make further changes to it.
naf
join:2017-12-12

2 edits
said by Brown:

Here's an idea: Edit the 5853 and change the version to a higher number then take out the inability to load earlier versions. Then install it onto the device. After that, any version can be loaded and you can then make further changes to it.

cant flash anything from 5853's web gui that aint signed. version number or not. try it and see: 5853 rejects stock 5757 as "bad checksum" without getting as far as the version number check.

i can make a version of 5853 that doesnt check a signature, but i cant test it myself because my 202 has stock 5853 already.

jsolo1
Premium Member
join:2001-07-01
PRIL
Didn't obi pull the same thing with the 1xx series when oauth2 capable firmware was released. Once flashed you couldn't downgrade to firmware supporting plaintext.

@naf, I think releasing a version of 5853 which doesn't check sigs is a good idea. If someone's account gets migrated to the new format, at least they can continue using GV while retaining the ability to still flash unsigned firmware.
Brown
join:2018-01-21

1 edit
to naf

said by naf:
cant flash anything from 5853's web gui that aint signed. version number or not.

Maybe Obitalk will release a newer version soon.
naf
join:2017-12-12

1 edit

5 recommendations

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

UPDATE: DONT FLASH!!!

WARNING: completely untested. bricks, killed cats, etc...

arrynrob6: bsdiff for OBi202-3-2-2-5853EX.fw

modifications:
1) add dropbear ssh server. default root passwd = "obi"
2) patch obiapp to use oauth token request override, for provisioning GV without obitalk. Uses same AuthPassword format and provisioning xml as the obi1xx-naf7 [unknown if this works with new non-XMPP GV]
3) patch obiapp to bypass "zero touch" forced configuration. added clear_zt_params util to clear old zero touch params
4) patch obiapp to use /scratch/contacts.xml for caller id number to name translation lookup.
5) patch obiapp to bypass signed firmware check when loading new fw, and modify uboot params to re-enable bootdelay

md5sum OBi202-3-2-2-5853EX-arrynrob6.fw = 92b842e6d46c76c5989f00c3c7b437eb

UPDATE: DONT FLASH!!!
naf

1 recommendation

now, lets see who is bold/stupid enough to try that mod...

[strangely requires someone who doesnt have 5853 installed already, but did download it during the 12 hours it was available on the fw website to apply the diff...]

jsolo1
Premium Member
join:2001-07-01
PRIL
Lol.. I got both, just can't take the obi down right now. Waiting on an important fax.

A thread on obi's forum says 5859EX is latest, but doesn't seem to be downloadable.

»fw.obihai.com/OBi202-3-2 ··· 859EX.fw
naf
join:2017-12-12

1 edit
Anybody use this obi_share crap?

I'm trying to use it to upload some totally legitimate files to the totally legitimate usb drive, but the fucking javascript upload button doesn't work in the first place? wtf?

ReferenceError: upload is not defined
Brown
join:2018-01-21
Via its web address such as: 'http://192.168.1.104/obi_share/'
naf
join:2017-12-12

1 edit
said by Brown:

Via its web address such as: 'http://192.168.1.104/obi_share/'

Ya, but can you get the upload function to work?

Lets debug this shit:
ReferenceError: upload is not defined
because
Loading failed for the <script> with source “»192.168.1.104/obi_share_ ··· js.js”
because its actually named
anonymous_public_js.js

ETA: so the javascript works on the anonymous login page, but of course anonymous can't write anyway... looks like its time to just send POSTs...

[this is dumb]
phonesimon
join:2014-10-08
Pennsylvania

2 recommendations

said by naf:

[this is dumb]

This is why you don't use an ATA for file sharing.
Brown
join:2018-01-21
to naf
Here's a link with info:
»www.obitalk.com/forum/in ··· 2.0;wap2
naf
join:2017-12-12

1 edit
too lazy to figure out POST params, but i did fix it in the javascript console by just executing
document.body.appendChild(document.createElement("script")).src = "http://192.168.1.104/anonymous_public_js.js"
to get the correct script loaded so i can use the pretty gui.

ok, so i can upload to /scratch... now how to get a shell...
naf

2 edits

3 recommendations

said by naf:

WARNING: appears that there is some sort of pki cert checking going on in the logic to upgrade firmware from the webgui in 5853. So I wouldn't (let obitalk force an) upgrade to this version unless you want to be stuck with stock firmware (or have an SPI programmer connected to the flash chip already) until we get this figured out...

good news: although my fingers were too fat to get a flash programmer connected to those WSON leads, i now have a software-only method to shell 5853/5859.

bad news: arrynrob6 bricked my 202. :-( so i guess i better work on that flash programmer some more...
naf

3 edits
postmortem: arrynrob6 attempted to change the uboot environment argument from bootdelay=0 back to bootdelay=1 as in previous firmware revs to allow a serial console to interact with uboot before linux booted (from which you could tell the kernel to have a serial shell)

unfortunately, im a moron so i just modified the text string in the params section (and re-calced the md5s for the firmware packing) instead of just grabbing an old working param section from an older firmware.

so i must have fucked up uboot, since i dont seem to boot a kernel anymore :-(
utsc
join:2017-12-08

1 recommendation

to jsolo1
Well the ONLY answer repeatedly posted by the Beta Testers for the Last 6 Months is:

OLD Device DEAD, DEAD, DEAD. Buy a New Device lol

jsolo1
Premium Member
join:2001-07-01
PRIL
I'd imagine it's part of the beta tester's role to promote buying currently supported (albeit old) products. I'd also imagine beta testers getting these products for free or greatly reduced cost to test....

Not sure how this applies to certain testers being belligerent to other members on the site.
Brown
join:2018-01-21

2 recommendations

to naf

said by naf:
good news: although my fingers were too fat to get a flash programmer connected to those WSON leads, i now have a software-only method to shell 5853/5859.

bad news: arrynrob6 bricked my 202. :-( so i guess i better work on that flash programmer some more...

I have used a file on the soldering iron tip to make it like a needle. Then, with a illuminated magnifier, solder 3" of wire-wrap wire onto each pin. Time consuming but fulfilling in the end.
naf
join:2017-12-12

1 edit
currently trying to see if theres JTAG on the 20pin empty header on the other side...

ETA: you know you have a shit life when your parallel port cant drive pin 3 high for no apparent reason. yawn. this is tiresome.
Pufferty
Perpetual Newbie
join:2014-07-07
Rockville, MD

1 recommendation

I'd love to watch YouTube videos of your mad scientist work! Seriously!
naf
join:2017-12-12
Anybody got a link to 5859? I was running it for a hot minute before I trashed my box (and I stashed a copy of the obiapp executable while it was running) but I wasn't capturing packets at the time to see the new firmware url...
Brown
join:2018-01-21

1 edit
The firmware is coming directly from Obihai to auto-update the 2xx boxes and not to Obitalk for download.

If someone leaves Syslog running will it capture the URL when the auto-update occurs?
naf
join:2017-12-12

2 edits
...
naf

6 recommendations

Quick status update: thanks to another generous hardware donation, i have a working obi200 again.

Currently running a shelled 5853 fw image (with 5757's uboot) with a custom ca cert to MITM the ssl traffic from the box. Gotta extract that private key from UNIT_INFO first for ssl client auth.

Still expecting to have release a 5859 shelled image sometime, I just wanted to sniff the upgrade first
naf

2 recommendations

OK, so I think my sniffing setup is OK. (apparantely sslsplit doesnt do client certs so i did those manually, and i couldnt get the 200 to respect my custom ca certs, so i just patched obiapp to not verify host certs at all). Now I guess I just wait for whatever magic brings 5859...

I thought this was an interesting request:
GET /obhsnprov/sync/autoupdate?model=OBi200&mac=9cadefXXXXXX&fwv=3.2.2.5853 HTTP/1.1
Host: prov.obitalk.com:443
...
 
HTTP/1.1 200 OK
...
 
<?xml version="1.0" encoding="UTF-8"?>
<ParameterList>
 <Object>
  <Name>X_DeviceManagement.AutoFirmwareUpdate.</Name>
   <ParameterValueStruct>
    <Name>AvailableRule</Name>
    <Value>Newer</Value>
   </ParameterValueStruct>
   <ParameterValueStruct>
    <Name>NewVersion</Name>
    <Value>3.2.1.5757</Value>
   </ParameterValueStruct>
   <ParameterValueStruct>
    <Name>NewVersionURL</Name>
    <Value>http://fw.obihai.com/OBi202-3-2-1-5757EX.fw</Value>
   </ParameterValueStruct>
  </Object>
</ParameterList>
 

im assuming this is the mechanism that firmware gets pushed out without changing the GUI firmware URL... ?
naf

2 edits

3 recommendations

OBi202-3-2-2-5859EX-arrynrob7.fw: no diff, but hopefully obi1fw can do his thing. [EDIT: up now on obifirmware.com]
(wont flash from stock 5853+ due to x509 signature check in stock upgrade. you were warned...)

modifications:
1) add dropbear ssh server. default root passwd = "obi"
2) patch obiapp to use oauth token request override, for provisioning GV without obitalk. Uses same AuthPassword format and provisioning xml as the obi1xx-naf7 [unknown if this works with new non-XMPP GV]
3) patch obiapp to bypass "zero touch" forced configuration. added clear_zt_params util to clear old zero touch params
4) patch obiapp to use /scratch/contacts.xml for caller id number to name translation lookup.
5) patch obiapp to bypass signed firmware check when loading new fw, and reuse old uboot without bootdelay=0 and silent=1 madness

md5sum OBi202-3-2-2-5859EX-arrynrob7.fw = 64fc58c0001d48e513898612a34433b0
OBi1FW
join:2017-12-27
Vienna, VA

1 recommendation

There, it's.

I guess, now we need to learn how to configure non-XMPP GV without Obitalk, so that Obitalk can't force firmware upgrade to version with signature check.
naf
join:2017-12-12

3 recommendations

said by OBi1FW:

I guess, now we need to learn how to configure non-XMPP GV without Obitalk, so that Obitalk can't force firmware upgrade to version with signature check.

ya, i imagine we just need the proper scope URI corresponding to the "Configure your device to make and receive voice calls" permission to get a proper refresh_token, but I haven't tried it yet, busying looking through some sniffed logs.

speaking of, i found a link to stock 5859: »www.obitalk.com/images/O ··· 37473.fw
phonesimon
join:2014-10-08
Pennsylvania

1 recommendation

said by naf:

ya, i imagine we just need the proper scope URI corresponding to the "Configure your device to make and receive voice calls" permission to get a proper refresh_token, but I haven't tried it yet, busying looking through some sniffed logs.

Turns out that the googletalk scope actually works for this, at least for now.

hapollo
join:2007-05-13
WesterOS
to naf
said by naf:

speaking of, i found a link to stock 5859: »www.obitalk.com/images/O ··· 37473.fw

confused. link description says stock 5859 but files says OBi202-3-2-2-5857EX-19283837473. I'm thinking 5859 is a typo.
naf
join:2017-12-12

1 recommendation

said by hapollo:
said by naf:

speaking of, i found a link to stock 5859: »www.obitalk.com/images/O ··· 37473.fw

confused. link description says stock 5859 but files says OBi202-3-2-2-5857EX-19283837473. I'm thinking 5859 is a typo.
no typo. check the actual build string at offset 0x40...

hapollo
join:2007-05-13
WesterOS
said by naf:

no typo. check the actual build string at offset 0x40...

Got it. My bad. You're skills are amazing to behold. Thanks naf.
naf
join:2017-12-12
said by hapollo:
said by naf:

no typo. check the actual build string at offset 0x40...

Got it. My bad. You're skills are amazing to behold. Thanks naf.
well you should also behold my 202 and olisom's 1062 [and an important fax away from jsolo1's obi2xx?] in the trash
(what the hell happened to olisom anyway?)
Brown
join:2018-01-21
My Obi1022 phone with olisom4 has trouble connecting. And when it does connect it never rings on incoming. Outgoing calls work fine. I'm using same oAuth2 credentials as with my Obi302. I only connect one at a time BTW.

jsolo1
Premium Member
join:2001-07-01
PRIL
to naf

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

said by naf:

well you should also behold my 202 and olisom's 1062 [and an important fax away from jsolo1's obi2xx?] in the trash
(what the hell happened to olisom anyway?)

Lol. I see the obifirmware site has the patched 5859 already up. Is it safe to flash that?

I've been holding off because yes, I deal with those who still consider fax vital. Maybe they're too cheap to set up secure email or other means of secure document exchange (maybe not hipaa compliant¿?)
naf
join:2017-12-12

3 recommendations

OK, here's a config example for a non-obitalk non-XMPP GV setup on SP1 using 5859-arrynrob7. ITSP this in and then set your AuthPassword as before:

<?xml version="1.0" encoding="UTF-8"?>
<!--OBi Configuration File-->
<ParameterList>
  <Object>
    <!--Disable ITSP Provisioning because this only-->
    <!--needs to be done once.-->
    <Name>X_DeviceManagement.ITSPProvisioning.</Name>
    <ParameterValueStruct>
      <Name>Method</Name>
      <Value>Disabled</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>ConfigURL</Name>
      <Value></Value>
    </ParameterValueStruct>
  </Object>
  <Object>
    <Name>VoiceService.1.VoiceProfile.1.</Name>
    <ParameterValueStruct>
      <Name>Name</Name>
      <Value>Google Voice</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>SignalingProtocol</Name>
      <Value>Google Voice</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>DTMFMethod</Name>
      <Value>Auto</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>STUNServer</Name>
      <Value>stun.l.google.com</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_STUNServerPort</Name>
      <Value>19302</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>GVSIP</Name>
      <Value>true</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_ICEExpiresIn</Name>
      <Value>2000</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_IgnoreSTUNCheckError</Name>
      <Value>true</Value>
    </ParameterValueStruct>
  </Object>
  <Object>
    <Name>VoiceService.1.VoiceProfile.1.SIP.</Name>
    <ParameterValueStruct>
      <Name>ProxyServer</Name>
      <Value>obihai.sip.google.com</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>ProxyServerPort</Name>
      <Value>0</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>OutboundProxy</Name>
      <Value>obihai.telephony.goog</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>OutboundProxyPort</Name>
      <Value>5061</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_OutboundProxyTransport</Name>
      <Value>TLS</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_UserAgentContactFollowProxyServerTransport</Name>
      <Value>true</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>RegistrationPeriod</Name>
      <Value>3600</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>TimerA</Name>
      <Value>32000</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>TimerE</Name>
      <Value>32000</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_InsertPrivacyHdr</Name>
      <Value>true</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_SessionRefresh</Name>
      <Value>false</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_ProxyServerRedundancy</Name>
      <Value>true</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_DnsSrv</Name>
      <Value>false</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_Sticky18x</Name>
      <Value>false</Value>
    </ParameterValueStruct>
  </Object>
  <Object>
    <Name>VoiceService.1.VoiceProfile.1.Line.1.</Name>
    <ParameterValueStruct>
      <Name>X_GApiRefreshToken</Name>
      <Value>blam</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_GApiInitAccessToken</Name>
      <Value>blorg</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>Enable</Name>
      <Value>true</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_ServProvProfile</Name>
      <Value>A</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_RingProfile</Name>
      <Value>A</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_CodecProfile</Name>
      <Value>A</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_RegisterEnable</Name>
      <Value>true</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_KeepAliveEnable</Name>
      <Value>true</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_KeepAliveMsgType</Name>
      <Value>custom</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_CustomKeepAliveMsg</Name>
      <Value>%0d%0a%0d%0a</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_UserAgentPort</Name>
      <Value>5080</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_GoogleClientInfo</Name>
      <Value>CgZPQklIQUkSE09CaTIwMC0zLjIuMi41ODU5RVgYByoGT0JpMjAw</Value>
    </ParameterValueStruct>
  </Object>
  <Object>
    <Name>VoiceService.1.VoiceProfile.1.Line.1.SIP.</Name>
    <ParameterValueStruct>
      <Name>AuthUserName</Name>
      <Value>${DSN}_1</Value>
    </ParameterValueStruct>
  </Object>
  <Object>
      <Name>VoiceService.1.VoiceProfile.1.Line.1.CallingFeatures.</Name>
    <ParameterValueStruct>
      <Name>MWIEnable</Name>
      <Value>false</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_VMWIEnable</Name>
      <Value>false</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_SkipCallScreening</Name>
      <Value>true</Value>
    </ParameterValueStruct>
  </Object>
</ParameterList>
 
OBi1FW
join:2017-12-27
Vienna, VA

1 recommendation

said by Gosset:

This is only a suggestion. As a precaution, perhaps you could disable Auto Firmware Update and clear the FirmwareURL in your XML file.

Since latest stock firmware prevents installation of arrynrob, now, maybe we should reconsider this. I propose following XML. I don't have OBi2xx so please someone test it and ensure it disables Obitalk Service, Obitalk Provisioning, ITSP Provisioning, and Auto Firmware Update.

Unless you object I'll put this on the site.

<?xml version="1.0" encoding="UTF-8"?>
<!--OBi Configuration File-->
<ParameterList>
  <Object>
    <!--Disable ITSP Provisioning because this only-->
    <!--needs to be done once.-->
    <Name>X_DeviceManagement.ITSPProvisioning.</Name>
    <ParameterValueStruct>
      <Name>Method</Name>
      <Value>Disabled</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>ConfigURL</Name>
      <Value></Value>
    </ParameterValueStruct>
  </Object>
  <Object>
    <!--Disable OBiTALK Provisioning, you want to-->
	<!--configure this device manually.-->
	<Name>X_DeviceManagement.Provisioning.</Name>
    <ParameterValueStruct>
      <Name>Method</Name>
      <Value>Disabled</Value>
    </ParameterValueStruct>
  </Object>
  <Object>
    <!--Disable Auto Firmware Update, currently you can't-->
	<!--install arrynrob from latest versions of stock.-->
    <Name>X_DeviceManagement.FirmwareUpdate.</Name>
    <ParameterValueStruct>
      <Name>Method</Name>
      <Value>Disabled</Value>
    </ParameterValueStruct>
  </Object>
  <Object>
    <!--Disable OBiTALK Service, for same reason as Auto-->
	<!--firmware update.-->
    <Name>VoiceService.1.X_P2P.1.</Name>
    <ParameterValueStruct>
      <Name>Enable</Name>
      <Value>false</Value>
    </ParameterValueStruct>
  </Object>
  <Object>
    <Name>VoiceService.1.VoiceProfile.1.</Name>
    <ParameterValueStruct>
      <Name>Name</Name>
      <Value>Google Voice</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>SignalingProtocol</Name>
      <Value>Google Voice</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>DTMFMethod</Name>
      <Value>Auto</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>STUNServer</Name>
      <Value>stun.l.google.com</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_STUNServerPort</Name>
      <Value>19302</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>GVSIP</Name>
      <Value>true</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_ICEExpiresIn</Name>
      <Value>2000</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_IgnoreSTUNCheckError</Name>
      <Value>true</Value>
    </ParameterValueStruct>
  </Object>
  <Object>
    <Name>VoiceService.1.VoiceProfile.1.SIP.</Name>
    <ParameterValueStruct>
      <Name>ProxyServer</Name>
      <Value>obihai.sip.google.com</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>ProxyServerPort</Name>
      <Value>0</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>OutboundProxy</Name>
      <Value>obihai.telephony.goog</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>OutboundProxyPort</Name>
      <Value>5061</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_OutboundProxyTransport</Name>
      <Value>TLS</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_UserAgentContactFollowProxyServerTransport</Name>
      <Value>true</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>RegistrationPeriod</Name>
      <Value>3600</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>TimerA</Name>
      <Value>32000</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>TimerE</Name>
      <Value>32000</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_InsertPrivacyHdr</Name>
      <Value>true</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_SessionRefresh</Name>
      <Value>false</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_ProxyServerRedundancy</Name>
      <Value>true</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_DnsSrv</Name>
      <Value>false</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_Sticky18x</Name>
      <Value>false</Value>
    </ParameterValueStruct>
  </Object>
  <Object>
    <Name>VoiceService.1.VoiceProfile.1.Line.1.</Name>
    <ParameterValueStruct>
      <Name>X_GApiRefreshToken</Name>
      <Value>blam</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_GApiInitAccessToken</Name>
      <Value>blorg</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>Enable</Name>
      <Value>true</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_ServProvProfile</Name>
      <Value>A</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_RingProfile</Name>
      <Value>A</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_CodecProfile</Name>
      <Value>A</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_RegisterEnable</Name>
      <Value>true</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_KeepAliveEnable</Name>
      <Value>true</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_KeepAliveMsgType</Name>
      <Value>custom</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_CustomKeepAliveMsg</Name>
      <Value>
 
</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_UserAgentPort</Name>
      <Value>5080</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_GoogleClientInfo</Name>
      <Value>CgZPQklIQUkSE09CaTIwMC0zLjIuMi41ODU5RVgYByoGT0JpMjAw</Value>
    </ParameterValueStruct>
  </Object>
  <Object>
    <Name>VoiceService.1.VoiceProfile.1.Line.1.SIP.</Name>
    <ParameterValueStruct>
      <Name>AuthUserName</Name>
      <Value>${DSN}_1</Value>
    </ParameterValueStruct>
  </Object>
  <Object>
      <Name>VoiceService.1.VoiceProfile.1.Line.1.CallingFeatures.</Name>
    <ParameterValueStruct>
      <Name>MWIEnable</Name>
      <Value>false</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_VMWIEnable</Name>
      <Value>false</Value>
    </ParameterValueStruct>
    <ParameterValueStruct>
      <Name>X_SkipCallScreening</Name>
      <Value>true</Value>
    </ParameterValueStruct>
  </Object>
</ParameterList>
 
GusHerb
join:2011-11-04
Chicago, IL

1 recommendation

to naf
said by naf:
said by Brown:

Here's an idea: Edit the 5853 and change the version to a higher number then take out the inability to load earlier versions. Then install it onto the device. After that, any version can be loaded and you can then make further changes to it.

cant flash anything from 5853's web gui that aint signed. version number or not. try it and see: 5853 rejects stock 5757 as "bad checksum" without getting as far as the version number check.

i can make a version of 5853 that doesnt check a signature, but i cant test it myself because my 202 has stock 5853 already.
I found my Obi202 on 5859EX after having rolled it back to 5264 a month back after finding it on 5794EX and finding auto update was turned on. Now I can't roll back and see this was intentional.
Obihai can go F itself.
Pufferty
Perpetual Newbie
join:2014-07-07
Rockville, MD
to naf
Naf, are you attempting as part of your efforts here, to get around the signature check for those of us (which I assume is the great majority of OBi users) who have already had the latest firmware applied? I know nothing about the Obi's architecture, but I do know that with respect to Android, as an example, there is a need to unlock the bootloader and root the phone in order to bypass signature checks and allow for custom ROMs and firmware to be applied.

Is there any hope of such a solution being obtained in any way, or is the nature of Obi's architecture such that there simply isn't the possibility of a loophole to be leveraged to obtain root?

It would truly be amazing if we could do with the Obi boxes, what Toro and Mackey did with the BasicTalk ATA.
naf
join:2017-12-12

5 recommendations

said by Pufferty:

Is there any hope of such a solution being obtained in any way, or is the nature of Obi's architecture such that there simply isn't the possibility of a loophole to be leveraged to obtain root?

There's more than hope: I've already said that I had to develop an exploit myself that worked on 5853/9 (not published so as not to get it removed before I find another).

I'm guessing their shitty 3MB executable that runs as root has plenty of others to be found...
Pufferty
Perpetual Newbie
join:2014-07-07
Rockville, MD
said by naf:
said by Pufferty:

Is there any hope of such a solution being obtained in any way, or is the nature of Obi's architecture such that there simply isn't the possibility of a loophole to be leveraged to obtain root?

There's more than hope: I've already said that I had to develop an exploit myself that worked on 5853/9 (not published so as not to get it removed before I find another).

I'm guessing their shitty 3MB executable that runs as root has plenty of others to be found...
This is great news! And thus begins the cat-and-mouse game that Obi has started. Smart of you to not reveal the exploit until it's worth it to burn that one.

Very grateful for your efforts, Naf!

WhyADuck
Premium Member
join:2003-03-05
to naf
said by naf:
said by Pufferty:

Is there any hope of such a solution being obtained in any way, or is the nature of Obi's architecture such that there simply isn't the possibility of a loophole to be leveraged to obtain root?

There's more than hope: I've already said that I had to develop an exploit myself that worked on 5853/9 (not published so as not to get it removed before I find another).

I'm guessing their shitty 3MB executable that runs as root has plenty of others to be found...
That is fantastic news. I actually had no great interest in installing third party firmware until Obihai pulled this latest stunt, but now I am highly motivated to replace the stock firmware in this thing if it becomes possible to do so. I just hope that it will either be something that doesn't require a great deal of technical expertise to install (no more than a normal firmware update that you manually install from the device's web interface) or alternately that you will document the steps required to install it. Thank you for all your effort on this!
System to naf

(topic move) Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

Moderator Action
The post that was here (and all 29 followups to it), has been moved to a new topic .. »SPLIT - OBI auto updates
naf
join:2017-12-12
to OBi1FW

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

said by OBi1FW:

Since latest stock firmware prevents installation of arrynrob, now, maybe we should reconsider this. I propose following XML. I don't have OBi2xx so please someone test it and ensure it disables Obitalk Service, Obitalk Provisioning, ITSP Provisioning, and Auto Firmware Update.

Unless you object I'll put this on the site.

Might add a disable for LUA updates as well (X_DeviceManagement.LUAupdate.), otherwise looks good.
naf

1 recommendation

to Brown
said by Brown:

My Obi1022 phone with olisom4 has trouble connecting. And when it does connect it never rings on incoming. Outgoing calls work fine. I'm using same oAuth2 credentials as with my Obi302. I only connect one at a time BTW.

"Outgoing GV calls only" sounds like the obi is using XMPP on an account that has been converted to use GV-SIP. You can verify by seeing that "google chat" is no longer on option on the legacy GV settings page.

Luckily for you, i believe the arrynrob7 will work with your 30x doing GV-SIP. Try it and see (use provisioning xml above)

I haven't started looking at the obiphone firmware that supports GV-SIP (I don't have a device). Anyone got a link?
Brown
join:2018-01-21

3 edits
No, my Google is still xmpp. My Obi302 (arrynrob5) works perfectly fine but the Obi1022 has problems connecting.

When it's trying to connect it has a short timeout that will show as "Backing off (3) tcp xxxxxxx failed". If I refresh the screen over and over the value is between 0 and 4 (4 seconds). I don't see a parameter set to 4 that I could change.

My initial thought was it needed a different XML than the Obi302 uses. I looked through this thread and could not find one. Is there a special XML file needed for the Obi phones?
naf
join:2017-12-12
said by Brown:

No, my Google is still xmpp.

I don't know that your going to get a lot of help debugging XMPP at this point. Might as well move on to GV-SIP...
Brown
join:2018-01-21

2 edits
I'm keeping XMPP as long as possible because I don't think any of my Obi's are compatible with Obitalk as a fallback method of connecting. I'll be trying your arrynrob7 on the Obi302 first thing if Google shuts down XMPP. I would like to get Olisom4 working on the Obi1022 phone as another option. It was Phonepower so it's probably red-tagged on Obi's site as not compatible.

I don't know how I would get GV-SIP anyway. That is being done by Obihai on compatible devices.

Edit: I suppose Google already has GV-SIP and Obihai is just blocking users out of XMPP (which breaks the Obi1xx models).
naf
join:2017-12-12
anybody got an obiphone with the new GV firmware (since olisom disappeared)?
i just need to grab the firmware image off of one...
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
I'm still running olisom. I can try to update mine, if you're at least 50% confident I'll be able to put olisom back on it later
naf
join:2017-12-12

1 edit
ya, as long as its an -EX version it upgrades to, then I feel pretty good about being able to root it.

we can do a dry run first on olisom to test the root method if you're up for it.

ETA: ah shit. i never made an -EX version of olisom did I? crap. so much for dry run.
naf

1 edit

1 recommendation

ok, now that we're up on 5-1-11-4858EX, lets open up the hood...

gather up some info:
# dmesg | grep -B15 -A20 "MTD partitions"
# cat /proc/mtd
# mount
# ubinfo
# ls -l /dev/ubi*
# free
# df -h
# fw_printenv
# mtdinfo /dev/mtd2
 

and take some flash dumps:
if you have a usb flash drive in the phone, use that:
# umount /dev/sda1
# mount /dev/sda1 /media/sda
# cat /dev/mtd11 > /media/sda/dump-mtd11
# cat /dev/ubi0_0 > /media/sda/dump-ubi0_0
# cat /dev/ubi1_0 > /media/sda/dump-ubi1_0
# cat /dev/ubi2_0 > /media/sda/dump-ubi2_0
 

if not, just dump to ram, netcat the file off the device (see »nakkaya.com/2009/04/15/u ··· ansfers/)
for mtd 0-8 and 10:
# dd if=/dev/mtd0 of=/var/volatile/dump-mtd0 bs=$((0x10000))
(netcat file off of device, delete file to free space)
# dd if=/dev/mtd1 of=/var/volatile/dump-mtd1 bs=$((0x10000))
(netcat file off of device, delete file to free space)
... rinse and repeat...
 
mtd9 > 38MB, so it must be split into two, netcat off and delete in between:
# dd if=/dev/mtd9 of=/var/volatile/dump-mtd9a bs=$((0x10000)) count=$((0x140))
# dd if=/dev/mtd9 of=/var/volatile/dump-mtd9b bs=$((0x10000)) skip=$((0x140))
 
# dd if=/dev/ubi0_0 of=/var/volatile/dump-ubi0_0 bs=$((0x10000))
# dd if=/dev/ubi1_0 of=/var/volatile/dump-ubi1_0 bs=$((0x10000))
# dd if=/dev/ubi2_0 of=/var/volatile/dump-ubi2_0a bs=$((0x10000)) count=$((0x140))
# dd if=/dev/ubi2_0 of=/var/volatile/dump-ubi2_0b bs=$((0x10000)) skip=$((0x140))
 
Cinti
join:2016-08-04
Boston, MA
to naf
Hello, Naf.

I don't need Google Voice capability, but don't wish to lose the ability to load your FW (especially, because with it I can have ssh access).

My OBi302 FW is "3.2.1 (Build: 5757EX-arrynrob4)." Is it your latest and greatest FW prior to your experiments with GV SIP?

Thank you.
naf
join:2017-12-12

1 edit
5757-arryrob5 was actually the latest pre-SIP, but theres no reason to not just use 5859-arrynrob7. it has the pki signature checks removed anyway, so youll be able to flash onto future versions if you want. [just dont let obi flash stock 5853+ by (continuing to) disable obitalk service and provisioning and firmware upgrades]
Cinti
join:2016-08-04
Boston, MA
said by naf:

5757-arryrob5 was actually the latest pre-SIP, but theres no reason to not just use 5859-arrynrob7. . . .

Thank you, Naf.

Since I don't need GV and my OBi302 is sealed tight, is there any improvement in functionality between 5757-arryrob5 and 5859-arrynrob7?

Thank you, again.
naf
join:2017-12-12

2 recommendations

said by Cinti:

is there any improvement in functionality between 5757-arryrob5 and 5859-arrynrob7?

I dunno. Ask obi for their changelogs.
Cinti
join:2016-08-04
Boston, MA

1 recommendation

said by naf:
said by Cinti:

is there any improvement in functionality between 5757-arryrob5 and 5859-arrynrob7?

I dunno. Ask obi for their changelogs.
If we are entitled to get copies under the GPL, I will.
naf
join:2017-12-12
said by naf:

ok, now that we're up on 5-1-11-4858EX, lets open up the hood...

got the dumps, should be able to come up with a 5-1-11-4858EX-mod after I take a nap. (fatigue and hex math do not mix)
Brown
join:2018-01-21

2 edits
Edit: Here's a basic functionality question: If I install the new olisom on my Obi phone will it modify Google Voice and take XMPP away like Obitalk does?
naf
join:2017-12-12

3 recommendations

my impression is that the first time you register with GV-SIP, google removes the google chat option for routing calls to permanently (as far as i know) so youll never have incoming xmpp calls again on that google account.

that being said, the new firmware still has the xmpp code, so as long as you dont use the GV-SIP xml I posted (or similar config from obitalk) to tell the obi to register SIP-style, you can just use the old 'EnableGoogleVoiceWithoutOBiTALK.xml' provisioning and youll still have xmpp and the google chat option.
Brown
join:2018-01-21
Excerpt from your XML listing:
.
.
    <ParameterValueStruct>
      <Name>GVSIP</Name>
      <Value>true</Value>
    </ParameterValueStruct>
.
.
 
If set to false does it switch back to XMPP?
naf
join:2017-12-12
ha, i didnt even see the GVSIP setting. i was looking for which setting controlled the switch, but i was lazy and gave up and just copied all non-defaults from obitalk's provisioning.

if you want xmpp still you *only* need the X_GApiRefreshToken and X_GApiInitAccessToken set like this: »fw.obifirmware.com/Enabl ··· TALK.xml

but technically the answer to your question is: ya itll probably switch back the obi to use xmpp, but incoming calls wont work because google already deactivated incoming calls on its side the first time SIP was used.
naf

2 edits
OBiPhone-5-1-11-4858EX-olisom5 is ready. just needs a bold first tester before publishing [i dont have a device :-(]

modifications:
1) add dropbear ssh server. default root passwd = "obi"
2) patch obiapp to use oauth token request override, for provisioning GV without obitalk. Uses same AuthPassword format as always
3) patch obiapp to bypass "zero touch" forced configuration. added clear_zt_params util to clear old zero touch params
4) patch obiapp to bypass x509 signature check for new fw

md5sum OBiPhone-5-1-11-4858EX-olisom5.fw = 55c06861defd11ff85825e8f6e0546f0
Brown
join:2018-01-21

4 edits
I messed with olisom4 (the old version of olisom) some more and it just isn't working with my ZT Obi phone. I think the clear_ZT_params is not clearing everything that needs to be cleared for GV to work right. So I'll go ahead and try olisom5. One of the things I noticed is if I switch back to stock 4003 firmware the Phonepower comes back. That was not the case with the Obi302 when loading an old stock firmware version.

If you want to make a olisom4b with a new and improved clear_ZT_params utility I would be more comfortable with testing that. What do you think?
naf
join:2017-12-12
to Brown

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

what does param_dump look like?
Brown
join:2018-01-21

3 edits
mac: 7f0xxxxxxxxx, hw_vers: ffe46bf0
unknown hw_vers

Edits: the mac it showed does not match the mac on the case bottom. In the gui the hardware version is 1.1 and the mac matches the case bottom.

Hold on that was the wrong version of param_dump. Give me a minute to do it properly.
Brown

2 edits
to naf
mac: 9xxxxxxxxxxx, hw_vers: 000101ff
WARN: unknown hw_vers. assuming need_mask = true
using mac as rc4 key mask: true
-- params at 00020000 --
712c13d0 06000004: d0132c71 (???) = "false"
6a4218a7 05000005: a718426a (???) = "DHCP"
a3cc14ae 0c000001: ae14cca3 (???) = "192.168.1.3"
81191311 06000004: 11131981 (VS_1_VP_1_L_1_.xml/Calling Features/MessageWaiting) = "false"
561cdf29 02000001: 29df1c56 (???) = "0"
8d755f58 0d000005: 585f758d (DM_S_.xml/OBiTalk Provisioning/Method) = "Periodically"
WARN: unknown encrpytion type = ea
85ce1c39 20397b9f: 391cce85 (???) = >>
c1128daf 04000003: af8d12c1 (???) = 0x00000000
52b4f6ce 06000004: cef6b452 (???) = "false"
b67bdcf1 05000004: f1dc7bb6 (VS_1_X_P2P_1_.xml/OBiTALK Service Settings/Enable) = "true"
WARN: unknown encrpytion type = f1
c763021e 215ae352: 1e0263c7 (???) = >>
8585b9a3 04000003: a3b98585 (???) = 0x5a96f6b9
b03a2970 01000001: 70293ab0 (DI_NS_.xml/Internet Settings/DNSServer1) = ""
0dd1d679 09000005: 79d6d10d (DM_S_.xml/ITSP Provisioning/Method) = "Disabled"
b67bdcf1 06000004: f1dc7bb6 (VS_1_X_P2P_1_.xml/OBiTALK Service Settings/Enable) = "false"
f2d7e1f5 01000001: f5e1d7f2 (???) = ""
84233c2b 04000003: 2b3c2384 (???) = 0xd6a4c496
f1d7e1f5 0c000001: f5e1d7f1 (DHCP/DefaultGateway) = "192.168.1.1"
f1d7e1f5 01000001: f5e1d7f1 (DHCP/DefaultGateway) = ""
f1d7e1f5 0c000001: f5e1d7f1 (DHCP/DefaultGateway) = "192.168.1.1"
0dd1d679 0d000005: 79d6d10d (DM_S_.xml/ITSP Provisioning/Method) = "System Start"
f1d7e1f5 0c000001: f5e1d7f1 (DHCP/DefaultGateway) = "192.168.1.1"
561cdf29 04000001: 29df1c56 (???) = "200"
0dd1d679 09000005: 79d6d10d (DM_S_.xml/ITSP Provisioning/Method) = "Disabled"
411efdae 04000003: aefd1e41 (???) = 0x00000000
f1d7e1f5 0c000001: f5e1d7f1 (DHCP/DefaultGateway) = "192.168.1.1"
8e6e3fdc 0d000001: dc3f6e8e (VS_1_VP_1_.xml/General/Name) = "Google Voice"
2edc87ba 18000001: ba87dc2e (VS_1_VP_1_L_1_.xml/SIP Credentials/AuthUserName) = "my gmail address.com"
WARN: unknown encrpytion type = 54
0d28e60a 2dxxxxd: 0ae6xcx0d (???) = >>
f1d7e1f5 0c000001: f5e1d7f1 (DHCP/DefaultGateway) = "192.168.1.1"
f1d7e1f5 0c000001: f5e1d7f1 (DHCP/DefaultGateway) = "192.168.1.1"
-- params at 00340000 --
' I removed two lines here
'
25a4ed70 08000001: 70eda425 (???) = "Generic"

I noticed some of the answers above don't match the settings I currently have. Such as Obitalk being enabled. That is not true. Weird.
naf
join:2017-12-12

1 recommendation

said by Brown:

I noticed some of the answers above don't match the settings I currently have. Such as Obitalk being enabled. That is not true. Weird.

when you change a setting, it doesn't search for the key and change an entry, it just writes an additional entry for the same key. when reading, it just uses the last entry. a config reset clears the whole area. so the dump shows the complete history of your config settings, not just the current ones.

your dump shows that the zt params at 0x340000 are indeed cleared: "Generic", not "phonepower" and a bunch of other settings.
Brown
join:2018-01-21
Is it normal for Phonepower to reappear after going back to a stock firmware?
naf
join:2017-12-12

2 edits

1 recommendation

said by Brown:

Is it normal for Phonepower to reappear after going back to a stock firmware?

id think so, yes. the goal of stock firmware is to download that zt config from obi and force you to use it. so, unless you get into some sort of "i already downloaded it, so im good" logic (i dont know the exact details of stock), id expect it to download it over and over. thats what the mods are designed to avoid.

but back to your problem with GV on that phone - what i dont see in the config is X_GApiRefreshToken = 'blam' and X_GApiInitAccessToken = 'blorg' to get the GV config off of 'service not configured', or a ridiculously long AuthPassword for that matter... ?
Brown
join:2018-01-21
Yeah, the param_dump looks incomplete to me. I removed two lines as I mentioned in the comments because I was worried about my password being shown in some encrypted form but I really don't think it is in those two lines. Am I using the right param_dump program? It is dated 3-15-2018 and is 2277kb in size.

It is sitting in "Backing off (2) tcp xxxx failed" mode now and when I did the dump.
naf
join:2017-12-12
should be the one that comes on olisom4 in /usr/bin/param_dump

easy way to check: go save a bunch of junk in AuthPassword and look for it in the dump...

(that deleted line was just a random 8 digit number ;-P, see »github.com/naf419/obi-fi ··· params.c line 133)
Brown
join:2018-01-21

3 edits
Okay, this looks better:
naf
join:2017-12-12
oh crap. i know what the problem is: 5-1-4-4027 was so old it didn't have the GIAG3 certs for google (basically like an obi100)... duh.

so ya it would have stopped working recently when they switched the certs.
Brown
join:2018-01-21
And yet my Obi100 with naf7 still works.

Okay, should I try olisom5?
naf
join:2017-12-12
said by Brown:

And yet my Obi100 with naf7 still works.

the whole reason for the naf mods was to add that specific cert :-P
said by Brown:

Okay, should I try olisom5?

yes, olisom5 would work because its based off a newer fw with the certs, or copy the file i pm'd you to /scratch/customca.pem to add them to your olisom4 to test first (and enable them in the gui under Device Admin > Trusted Certificate Authorities)
Brown
join:2018-01-21

1 edit
I'll try that first, thanks.

naf, you're a genius. It's connected!
Brown

3 edits
Does this look normal? Does the Obihai cert have to be there?
naf
join:2017-12-12
said by Brown:

Does this look normal? Does the Obihai cert have to be there?

I just grabbed all 4 certs in the diff between 4027 and 4858. (GIAG3's root cert is the GlobalSign one)

Feel free to edit, just leave the extra 0x100 bytes at the end. That's where the pki signature goes, haha.
Brown
join:2018-01-21
I want to test the olisom5 for you so send it over. I have a lot of confidence in your abilities and think a brick is an unlikely outcome.
naf
join:2017-12-12
said by Brown:

I want to test the olisom5 for you so send it over. I have a lot of confidence in your abilities and think a brick is an unlikely outcome.

your funeral. link sent.
Brown
join:2018-01-21
Got it.
Should I put it on top of olisom4?
Should I reset without internet first?
Give me a strategy.
naf
join:2017-12-12
flashing from olisom4 will work. no internet is smart until you turn off provisioning and obitalk (if it boots back up)
Brown
join:2018-01-21

4 edits
(when it boots back up)

It gave a firmware update failed. Checksum error.
I did not reset it first, I just disconnected the internet.

Back connected with olisom4.
naf
join:2017-12-12
said by Brown:

It gave a firmware update failed. Checksum error.

try new link i sent
Brown
join:2018-01-21
It's up and running and connected with olisom5. Excellent.
Brown
to naf
Should I shut off the certs?
Brown

1 edit
Wait, it says connected but it can't make calls. Is that because I'm still XMPP?
Olisom4 worked for outgoing. I did not try incoming.
naf
join:2017-12-12

1 edit
said by Brown:

Should I shut off the certs?

ya, just delete /scratch/customca.pem
said by Brown:

Wait, it says connected but it can't make calls. Is that because I'm still XMPP?

lets look at the syslog
Brown
join:2018-01-21
Syslogd is listening to port# 514:
 
[May 19 19:44:24][192.168.1.3]<7> OFF hook
 
[May 19 19:44:24][192.168.1.3]<6> [DSPOBI] dspg_setAudioPathEx path 1 groupie 0
 
[May 19 19:44:24][192.168.1.3]<6> [DUA] Configuring DAIF for path 1. Groupie 0. fd 78.
 
[May 19 19:44:24][192.168.1.3]<6> [DSPG] WBHF ADD_E ADD_VOL1 set to 0x800.
 
[May 19 19:44:24][192.168.1.3]<6> [DSPG] UT_WBHF set to UT_WBHF_MODE_HANDSET. Status 0.
 
[May 19 19:44:24][192.168.1.3]<6> [DSPG] WBHF TX AG3_C_VOL set to 0xca6.
 
[May 19 19:44:24][192.168.1.3]<6> [DSPOBI] AEC for non-handsfree
 
[May 19 19:44:24][192.168.1.3]<6> check_EQ: path 1 which_tx 1 eq (nil)
 
[May 19 19:44:24][192.168.1.3]<6> check_EQ: path 1 which_rx 1 eq (nil)
 
[May 19 19:44:24][192.168.1.3]<6> [DSPG] enable_one_eeq 44 0.
 
[May 19 19:44:24][192.168.1.3]<6> [DSPOBI] TX EQ disabled
 
[May 19 19:44:24][192.168.1.3]<6> [DSPG] enable_one_eeq 43 0.
 
[May 19 19:44:24][192.168.1.3]<6> [DSPOBI] RX EQ disabled
 
[May 19 19:44:24][192.168.1.3]<6> [DSPOBI] dspg_setSpkVolume 562 0
 
[May 19 19:44:24][192.168.1.3]<6> [DSPOBI] Setting AG3 volume on unit 100.
 
[May 19 19:44:24][192.168.1.3]<6> [DSPOBI] dspg_setMicGain 2578
 
[May 19 19:44:24][192.168.1.3]<6> [DSPOBI] Setting pin_volume on the OPI of unit 100.
 
[May 19 19:44:24][192.168.1.3]<6> [DSPG] WBHF TX AG3_C_VL_MAX set to 0x194c.
 
[May 19 19:44:24][192.168.1.3]<6> [DSPOBI] Side tone level set to 256.
 
[May 19 19:44:24][192.168.1.3]<7> CORE_post_user_event@1580: CORE_post_event type(0) failed 'The buffer is empty'
 
[May 19 19:44:24][192.168.1.3]<7> TGlue_start_tone: Stream (nil), cpt ID 0, vol 0 cb 0x36c70 ctx 0x91f4b8
 
[May 19 19:44:24][192.168.1.3]<7> [1526784273.608369] TONE_END timer started. 20000 ms
 
[May 19 19:44:24][192.168.1.3]<6> [DSPTONE] dspg_playTone tone 0x3602b4 vol 4096.
 
[May 19 19:44:24][192.168.1.3]<6> [DSPTONE] Playing tone to Speaker unit 100.
 
[May 19 19:44:24][192.168.1.3]<7> CORE_post_user_event@1580: CORE_post_event type(5) failed 'The buffer is empty'
 
[May 19 19:44:24][192.168.1.3]<7> +++ core post failed; 15
 
[May 19 19:44:24][192.168.1.3]<7> +++ core post failed; 15
 
[May 19 19:44:24][192.168.1.3]<7> +++ core post failed; 31
 
[May 19 19:44:26][192.168.1.3]<6> [DSPTONE] dspg_stopTone (nil)
 
[May 19 19:44:26][192.168.1.3]<6> [DSPTONE] Stopping tone on Speaker unit 100.
 
[May 19 19:44:26][192.168.1.3]<6> [DSPTONE] dspg_playDTMF 1 120 2048
 
[May 19 19:44:26][192.168.1.3]<6> [DSPTONE] Playing DTMF to Speaker unit 0x100.
 
[May 19 19:44:27][192.168.1.3]<6> [DSPTONE] dspg_playDTMF 8 120 2048
 
[May 19 19:44:27][192.168.1.3]<6> [DSPTONE] Playing DTMF to Speaker unit 0x100.
 
[May 19 19:44:28][192.168.1.3]<6> [DSPTONE] dspg_playDTMF 0 120 2048
 
[May 19 19:44:28][192.168.1.3]<6> [DSPTONE] Playing DTMF to Speaker unit 0x100.
 
[May 19 19:44:28][192.168.1.3]<6> [DSPTONE] dspg_playDTMF 0 120 2048
 
[May 19 19:44:28][192.168.1.3]<6> [DSPTONE] Playing DTMF to Speaker unit 0x100.
 
[May 19 19:44:29][192.168.1.3]<6> [DSPTONE] dspg_playDTMF 5 120 2048
 
[May 19 19:44:29][192.168.1.3]<6> [DSPTONE] Playing DTMF to Speaker unit 0x100.
 
[May 19 19:44:29][192.168.1.3]<6> [DSPTONE] dspg_playDTMF 5 120 2048
 
[May 19 19:44:29][192.168.1.3]<6> [DSPTONE] Playing DTMF to Speaker unit 0x100.
 
[May 19 19:44:30][192.168.1.3]<6> [DSPTONE] dspg_playDTMF 5 120 2048
 
[May 19 19:44:30][192.168.1.3]<6> [DSPTONE] Playing DTMF to Speaker unit 0x100.
 
[May 19 19:44:30][192.168.1.3]<6> [DSPTONE] dspg_playDTMF 1 120 2048
 
[May 19 19:44:30][192.168.1.3]<6> [DSPTONE] Playing DTMF to Speaker unit 0x100.
 
[May 19 19:44:31][192.168.1.3]<6> [DSPTONE] dspg_playDTMF 2 120 2048
 
[May 19 19:44:31][192.168.1.3]<6> [DSPTONE] Playing DTMF to Speaker unit 0x100.
 
[May 19 19:44:31][192.168.1.3]<6> [DSPTONE] dspg_playDTMF 1 120 2048
 
[May 19 19:44:31][192.168.1.3]<6> [DSPTONE] Playing DTMF to Speaker unit 0x100.
 
[May 19 19:44:31][192.168.1.3]<6> [DSPTONE] dspg_playDTMF 2 120 2048
 
[May 19 19:44:31][192.168.1.3]<6> [DSPTONE] Playing DTMF to Speaker unit 0x100.
 
[May 19 19:44:48][192.168.1.3]<7> ON hook
 
[May 19 19:44:48][192.168.1.3]<6> [DSPOBI] dspg_setAudioPathEx path 0 groupie 0
 
[May 19 19:44:48][192.168.1.3]<6> [DUA] Configuring DAIF for path 0. Groupie 0. fd 78.
 
[May 19 19:44:48][192.168.1.3]<6> [DSPG] UT_WBHF set to UT_WBHF_MODE_IDLE. Status 0.
 
[May 19 19:44:48][192.168.1.3]<6> [DSPG] WBHF TX AG3_C_VOL set to 0x400.
 
[May 19 19:44:48][192.168.1.3]<6> [DSPOBI] AEC for non-handsfree
 
[May 19 19:44:48][192.168.1.3]<6> [DSPG] enable_one_eeq 44 0.
 
[May 19 19:44:48][192.168.1.3]<6> [DSPOBI] TX EQ disabled
 
[May 19 19:44:48][192.168.1.3]<6> [DSPG] enable_one_eeq 43 0.
 
[May 19 19:44:48][192.168.1.3]<6> [DSPOBI] RX EQ disabled
 
[May 19 19:44:48][192.168.1.3]<7> CORE_post_user_event@1580: CORE_post_event type(5) failed 'The buffer is empty'
 
[May 19 19:44:48][192.168.1.3]<7> +++ core post failed; 15
 
[May 19 19:44:48][192.168.1.3]<7> +++ core post failed; 15
 
[May 19 19:44:48][192.168.1.3]<7> +++ core post failed; 31
 
 
naf
join:2017-12-12
reboot with it syslog on. we're looking for the "XMPP: " lines...
Brown
join:2018-01-21
Syslogd is listening to port# 514:
 
[May 19 19:53:18][192.168.1.3]<145> Reboot is scheduled in 1 second(s)
 
[May 19 19:53:19][192.168.1.3]<150> PROV processing event(s): 4
 
[May 19 19:53:19][192.168.1.3]<0> Reboot checking.....
 
[May 19 19:53:19][192.168.1.3]<149> [PCAP]EVENT: Halt PCAP 
 
[May 19 19:53:19][192.168.1.3]<147> [PCAP]PCAP is not running !
 
[May 19 19:53:19][192.168.1.3]<0> Final Cleanup before reboot....
 
[May 19 19:53:19][192.168.1.3]<150> [PCAP]cleaning up
 
[May 19 19:53:19][192.168.1.3]<7> +++++ after clean up
 
[May 19 19:53:19][192.168.1.3]<133> Goodbye! Reboot Now. (reason: 9)
 
[May 19 19:53:19][192.168.1.3]<7> TCP:Broken Connection(xmpp) 77 -1
 
[May 19 19:53:20][192.168.1.3]<6> ****Signal 15 Received...
 
[May 19 19:53:20][192.168.1.3]<6> [DSPG] Cleaning up...
 
[May 19 19:53:20][192.168.1.3]<6> [DSPG] Freed VOIP unit 300. rc 0.
 
[May 19 19:53:20][192.168.1.3]<6> [DSPG] Freed VOIP unit 301. rc 0.
 
[May 19 19:53:20][192.168.1.3]<6> [DSPG] Freed VOIP unit 302. rc 0.
 
[May 19 19:53:20][192.168.1.3]<6> [DSPG] Freed VOIP unit 200. rc 0.
 
[May 19 19:53:20][192.168.1.3]<6> [DSPG] Freed VOIP unit 201. rc 0.
 
[May 19 19:53:20][192.168.1.3]<6> [DSPG] Freed VOIP unit 202. rc 0.
 
[May 19 19:53:20][192.168.1.3]<6> [DSPG] Freed VOIP unit 203. rc 0.
 
[May 19 19:53:20][192.168.1.3]<6> [DSPG] Free PCMHD unit 400.
 
[May 19 19:53:20][192.168.1.3]<6> [DSPG] Free PCMFD unit 500.
 
[May 19 19:53:20][192.168.1.3]<6> [DSPOBI] Disconnect WBHF unit 100 from node 0. Status 0.
 
[May 19 19:53:20][192.168.1.3]<6> [DSPOBI] 0 units remain connected.
 
[May 19 19:53:20][192.168.1.3]<6> [DSPG] Free WBHF unit 100.
 
[May 19 19:53:20][192.168.1.3]<6> [DSPG] Free TRACE unit 600.
 
[May 19 19:53:20][192.168.1.3]<6> [DSPG] Free TRACE unit 601.
 
[May 19 19:53:20][192.168.1.3]<6> [DSPG] Free all shared memory.
 
[May 19 19:53:20][192.168.1.3]<6> [DSPG] Shutting down AUC.
 
[May 19 19:53:20][192.168.1.3]<6> DAEV_AUC_SHUTDOWN
 
[May 19 19:53:20][192.168.1.3]<6> [DSPG] Clean up almost done
 
[May 19 19:53:20][192.168.1.3]<6> [DSPG] Clean up done
 
[May 19 19:53:24][192.168.1.3]<133> ==== Networking@eth0 is ready ====
 
[May 19 19:53:24][192.168.1.3]<0> IP Address= 192.168.1.3 
[May 19 19:53:24][192.168.1.3]<0> Gateway   = 192.168.1.1 
[May 19 19:53:24][192.168.1.3]<0> Netmask   = 255.255.255.0 
[May 19 19:53:24][192.168.1.3]<133> SYSTEM REBOOTED (Reason: 9, lifecycle: 591)
 
[May 19 19:53:24][192.168.1.3]<150> [RPCAPD]  Stopped
 
[May 19 19:53:24][192.168.1.3]<142> PARAM Cache Write Back(256 bytes)
 
[May 19 19:53:24][192.168.1.3]<5> OBI IPC SERVER start...
 
[May 19 19:53:26][192.168.1.3]<150> Random Delay Range: 30 
 
[May 19 19:53:26][192.168.1.3]<6> =============== _tone_det_path_init
 
[May 19 19:53:26][192.168.1.3]<150> Actual Random Delay: 14 
 
[May 19 19:53:26][192.168.1.3]<6> CPT_tone_rx_init: Detecting 2 freq: 0 0 
 
[May 19 19:53:26][192.168.1.3]<7> [AVCFG] --- Parameter initialization done! ---
 
[May 19 19:53:26][192.168.1.3]<6> [DSPOBI] Handset version 2
 
[May 19 19:53:26][192.168.1.3]<6> [DSPG] enable_one_eeq 44 0.
 
[May 19 19:53:26][192.168.1.3]<6> [DSPOBI] TX EQ disabled
 
[May 19 19:53:26][192.168.1.3]<6> [DSPG] enable_one_eeq 43 0.
 
[May 19 19:53:26][192.168.1.3]<6> [DSPOBI] RX EQ disabled
 
[May 19 19:53:26][192.168.1.3]<7> Voice Main
 
[May 19 19:53:26][192.168.1.3]<7> CODEC profile 0: 6 enabled codecs sorted by priority.
 
[May 19 19:53:26][192.168.1.3]<7> [ 0]codec fmt 146, pri  1, 0x0400, pt 109, OPUS
 
[May 19 19:53:26][192.168.1.3]<7> [ 1]codec fmt 145, pri  2, 0x0200, pt   9, G722
 
[May 19 19:53:26][192.168.1.3]<7> [ 2]codec fmt 128, pri  3, 0x0001, pt   0, PCMU
 
[May 19 19:53:26][192.168.1.3]<7> [ 3]codec fmt 129, pri  4, 0x0002, pt   8, PCMA
 
[May 19 19:53:26][192.168.1.3]<7> [ 4]codec fmt 132, pri  5, 0x0004, pt  18, G729
 
[May 19 19:53:26][192.168.1.3]<7> [ 5]codec fmt 136, pri  6, 0x0040, pt 104, G726-32
 
[May 19 19:53:26][192.168.1.3]<7> Remaining enabled special codecs:
 
[May 19 19:53:26][192.168.1.3]<7> [ 6]codec fmt 133, pri 0, 0x2000, pt 101, telephone-event
 
[May 19 19:53:26][192.168.1.3]<7> [ 7]codec fmt 139, pri 0, 0x0000, pt 107, encaprtp
 
[May 19 19:53:26][192.168.1.3]<7> [ 8]codec fmt 141, pri 0, 0x0000, pt 108, loopbkprimer
 
[May 19 19:53:26][192.168.1.3]<7> CODEC profile 1: 6 enabled codecs sorted by priority.
 
[May 19 19:53:26][192.168.1.3]<7> [ 0]codec fmt 146, pri  1, 0x0400, pt 109, OPUS
 
[May 19 19:53:26][192.168.1.3]<7> [ 1]codec fmt 145, pri  2, 0x0200, pt   9, G722
 
[May 19 19:53:26][192.168.1.3]<7> [ 2]codec fmt 128, pri  3, 0x0001, pt   0, PCMU
 
[May 19 19:53:26][192.168.1.3]<7> [ 3]codec fmt 129, pri  4, 0x0002, pt   8, PCMA
 
[May 19 19:53:26][192.168.1.3]<7> [ 4]codec fmt 132, pri  5, 0x0004, pt  18, G729
 
[May 19 19:53:26][192.168.1.3]<7> [ 5]codec fmt 136, pri  6, 0x0040, pt 104, G726-32
 
[May 19 19:53:26][192.168.1.3]<7> Remaining enabled special codecs:
 
[May 19 19:53:26][192.168.1.3]<7> [ 6]codec fmt 133, pri 0, 0x2000, pt 101, telephone-event
 
[May 19 19:53:26][192.168.1.3]<7> [ 7]codec fmt 139, pri 0, 0x0000, pt 107, encaprtp
 
[May 19 19:53:26][192.168.1.3]<7> [ 8]codec fmt 141, pri 0, 0x0000, pt 108, loopbkprimer
 
[May 19 19:53:26][192.168.1.3]<7> GTT:Init xmpp node ok
 
[May 19 19:53:27][192.168.1.3]<7> [SLIC] DAA callback registered.
 
[May 19 19:53:27][192.168.1.3]<158> [BT#0] BT_EVT_BT_DOWN @ 581
 
[May 19 19:53:27][192.168.1.3]<7> my hostname = 630671217.pnn.obihai.com
 
[May 19 19:53:27][192.168.1.3]<6> sys guid is:1
 
[May 19 19:53:27][192.168.1.3]<6> Checking font map /scratch/phone/fonts/font.map...
 
[May 19 19:53:27][192.168.1.3]<6> Font map /scratch/phone/fonts/font.map does not exist
 
[May 19 19:53:27][192.168.1.3]<6> Checking font map /scratch/itsp/fonts/font.map...
 
[May 19 19:53:27][192.168.1.3]<6> Font map /scratch/itsp/fonts/font.map does not exist
 
[May 19 19:53:27][192.168.1.3]<6> Checking font map /data/fonts/font.map...
 
[May 19 19:53:27][192.168.1.3]<6> Checking font map /data/fonts/eastern-font.map...
 
[May 19 19:53:27][192.168.1.3]<6> Font map enlarged to 40 entries.
 
[May 19 19:53:27][192.168.1.3]<6> Final font map has 33 entries.
 
[May 19 19:53:27][192.168.1.3]<6>    0: ptsans ====> PTS55F.ttf
 
[May 19 19:53:27][192.168.1.3]<6>    1: ptsans-bold ====> PTS75F.ttf
 
[May 19 19:53:27][192.168.1.3]<6>    2: ptsans-italic ====> PTS56F.ttf
 
[May 19 19:53:27][192.168.1.3]<6>    3: ptsans-bold-italic ====> PTS76F.ttf
 
[May 19 19:53:27][192.168.1.3]<6>    4: aleo ====> Aleo-Light.otf
 
[May 19 19:53:27][192.168.1.3]<6>    5: aleo-bold ====> Aleo-Bold.otf
 
[May 19 19:53:27][192.168.1.3]<6>    6: aleo-italic ====> Aleo-LightItalic.otf
 
[May 19 19:53:27][192.168.1.3]<6>    7: aleo-bold-italic ====> Aleo-BoldItalic.otf
 
[May 19 19:53:27][192.168.1.3]<6>    8: banksia ====> Banksia-Regular.otf
 
[May 19 19:53:27][192.168.1.3]<6>    9: banksia-bold ====> Banksia-Bold.otf
 
[May 19 19:53:27][192.168.1.3]<6>   10: droidsans ====> DroidSans.ttf
 
[May 19 19:53:27][192.168.1.3]<6>   11: droidsans-bold ====> DroidSans-Bold.ttf
 
[May 19 19:53:27][192.168.1.3]<6>   12: libre-caslon ====> LibreCaslonText-Regular.ttf
 
[May 19 19:53:27][192.168.1.3]<6>   13: libre-caslon-bold ====> LibreCaslonText-Bold.ttf
 
[May 19 19:53:27][192.168.1.3]<6>   14: libre-caslon-italic ====> LibreCaslonText-Italic.ttf
 
[May 19 19:53:27][192.168.1.3]<6>   15: opensans ====> OpenSans-Regular.ttf
 
[May 19 19:53:27][192.168.1.3]<6>   16: opensans-bold ====> OpenSans-Bold.ttf
 
[May 19 19:53:27][192.168.1.3]<6>   17: opensans-italic ====> OpenSans-Italic.ttf
 
[May 19 19:53:27][192.168.1.3]<6>   18: opensans-bold-italic ====> OpenSans-BoldItalic.ttf
 
[May 19 19:53:27][192.168.1.3]<6>   19: quattrocento ====> Quattrocento-Regular.ttf
 
[May 19 19:53:27][192.168.1.3]<6>   20: quattrocento-bold ====> Quattrocento-Bold.ttf
 
[May 19 19:53:27][192.168.1.3]<6>   21: terminal-dosis ====> TerminalDosis-Regular.ttf
 
[May 19 19:53:27][192.168.1.3]<6>   22: terminal-dosis-bold ====> TerminalDosis-Bold.ttf
 
[May 19 19:53:27][192.168.1.3]<6>   23: eastern ====> Eastern-Regular.ttf
 
[May 19 19:53:27][192.168.1.3]<6>   24: eastern-bold ====> Eastern-Regular.ttf
 
[May 19 19:53:27][192.168.1.3]<6>   25: chinese-simplified ====> Eastern-Regular.ttf
 
[May 19 19:53:27][192.168.1.3]<6>   26: chinese-simplified-bold ====> Eastern-Regular.ttf
 
[May 19 19:53:27][192.168.1.3]<6>   27: chinese-traditional ====> Eastern-Regular.ttf
 
[May 19 19:53:27][192.168.1.3]<6>   28: chinese-traditional-bold ====> Eastern-Regular.ttf
 
[May 19 19:53:27][192.168.1.3]<6>   29: korean ====> Eastern-Regular.ttf
 
[May 19 19:53:27][192.168.1.3]<6>   30: korean-bold ====> Eastern-Regular.ttf
 
[May 19 19:53:27][192.168.1.3]<6>   31: japanese ====> Eastern-Regular.ttf
 
[May 19 19:53:27][192.168.1.3]<6>   32: japanese-bold ====> Eastern-Regular.ttf
 
[May 19 19:53:27][192.168.1.3]<6> ++++ Loading /obi/tomáš_entry.xml
 
[May 19 19:53:27][192.168.1.3]<6> ++++ /var/tmp/_pp_tomáš_entry.xml exist.
 
[May 19 19:53:27][192.168.1.3]<6> ++++ Parsing...2007133
 
[May 19 19:53:30][192.168.1.3]<6> [DICT] New entry English-US.
 
[May 19 19:53:30][192.168.1.3]<6> [DICT] New entry English-UK.
 
[May 19 19:53:30][192.168.1.3]<6> [DICT] New entry Español.
 
[May 19 19:53:30][192.168.1.3]<6> [DICT] New entry Français.
 
[May 19 19:53:30][192.168.1.3]<6> [DICT] New entry Svenska.
 
[May 19 19:53:30][192.168.1.3]<6> [DICT] New entry Norsk.
 
[May 19 19:53:30][192.168.1.3]<6> [DICT] New entry Nederlands.
 
[May 19 19:53:30][192.168.1.3]<6> [DICT] New entry Suomalainen.
 
[May 19 19:53:30][192.168.1.3]<6> [DICT] New entry Dansk.
 
[May 19 19:53:30][192.168.1.3]<6> [DICT] New entry 简体中文.
 
[May 19 19:53:30][192.168.1.3]<6> [DICT] New entry 日本語.
 
[May 19 19:53:30][192.168.1.3]<6> [DICT] New entry 한국어.
 
[May 19 19:53:31][192.168.1.3]<6> [DICT] New entry 繁體中文.
 
[May 19 19:53:31][192.168.1.3]<6> Final dictionary map:
 
[May 19 19:53:31][192.168.1.3]<6>   English-US ---> /obi/dict.xml
 
[May 19 19:53:31][192.168.1.3]<6>   English-UK ---> /data/dict/uk.xml
 
[May 19 19:53:31][192.168.1.3]<6>   Español ---> /data/dict/spanish.xml
 
[May 19 19:53:31][192.168.1.3]<6>   Français ---> /data/dict/french.xml
 
[May 19 19:53:31][192.168.1.3]<6>   Svenska ---> /data/dict/nordic/swedish.xml
 
[May 19 19:53:31][192.168.1.3]<6>   Norsk ---> /data/dict/nordic/norwegian.xml
 
[May 19 19:53:31][192.168.1.3]<6>   Nederlands ---> /data/dict/nordic/dutch.xml
 
[May 19 19:53:31][192.168.1.3]<6>   Suomalainen ---> /data/dict/nordic/finnish.xml
 
[May 19 19:53:31][192.168.1.3]<6>   Dansk ---> /data/dict/nordic/danish.xml
 
[May 19 19:53:31][192.168.1.3]<6>   简体中文 ---> /data/dict/eastern/chinese-simplified.xml
 
[May 19 19:53:31][192.168.1.3]<6>   日本語 ---> /data/dict/eastern/japanese.xml
 
[May 19 19:53:31][192.168.1.3]<6>   한국어 ---> /data/dict/eastern/korean.xml
 
[May 19 19:53:31][192.168.1.3]<6>   繁體中文 ---> /data/dict/eastern/chinese-traditional.xml
 
[May 19 19:53:31][192.168.1.3]<6> ++++ Loading dictionary /obi/dict.xml for English-US, (null)
 
[May 19 19:53:31][192.168.1.3]<6> ++++ Parsing...38260
 
[May 19 19:53:31][192.168.1.3]<7> PHBK: can not open file '/scratch/phbk_data' since 'No such file or directory'
 
[May 19 19:53:31][192.168.1.3]<6> Preferred headset set to 3.5mm
 
[May 19 19:53:31][192.168.1.3]<6> No headset selected
 
[May 19 19:53:31][192.168.1.3]<6> LCD backlight level 6
 
[May 19 19:53:31][192.168.1.3]<6> [DSPOBI] dspg_enableAEC 2
 
[May 19 19:53:31][192.168.1.3]<6> [DSPOBI] AEC for non-handsfree
 
[May 19 19:53:31][192.168.1.3]<6> [DSPOBI] dspg_enableEQ_individual 1 0 1
 
[May 19 19:53:31][192.168.1.3]<6> [DSPOBI] dspg_enableEQ_individual 1 1 1
 
[May 19 19:53:31][192.168.1.3]<6> [DSPOBI] dspg_enableEQ_individual 2 0 1
 
[May 19 19:53:31][192.168.1.3]<6> [DSPOBI] dspg_enableEQ_individual 2 1 1
 
[May 19 19:53:31][192.168.1.3]<6> [DSPG] enable_one_eeq 44 0.
 
[May 19 19:53:31][192.168.1.3]<6> [DSPOBI] TX EQ disabled
 
[May 19 19:53:31][192.168.1.3]<6> [DSPG] enable_one_eeq 43 0.
 
[May 19 19:53:31][192.168.1.3]<6> [DSPOBI] RX EQ disabled
 
[May 19 19:53:31][192.168.1.3]<7> CORE_open@125: DirectFBCreate failed 'A general initialization error occured'
 
[May 19 19:53:31][192.168.1.3]<7> GUI_open@530: CORE_open failed
 
[May 19 19:53:31][192.168.1.3]<7> SNTP->pool.ntp.org
 
[May 19 19:53:31][192.168.1.3]<7> CORE_post_user_event@1580: CORE_post_event type(5) failed 'The buffer is empty'
 
[May 19 19:53:31][192.168.1.3]<7> +++ core post failed; 15
 
[May 19 19:53:32][192.168.1.3]<150> PROV: SNTP clock is ready
 
[May 19 19:53:32][192.168.1.3]<150> PROV: Timers adjusted according to SNTP clock
 
[May 19 19:53:32][192.168.1.3]<7> TCP:Connect OK(xmpp)77
 
[May 19 19:53:32][192.168.1.3]<7> XMPP:Enable reqto
 
[May 19 19:53:32][192.168.1.3]<7> XMPP_PROC:TLS required!
 
[May 19 19:53:32][192.168.1.3]<7> TC:ssl connected
 
[May 19 19:53:32][192.168.1.3]<7> XMPP:Enable reqto
 
[May 19 19:53:32][192.168.1.3]<7> XMPP:new stream restarted from remote, old state=1
 
[May 19 19:53:32][192.168.1.3]<7> GTT:xmpp service down: -996
 
[May 19 19:53:32][192.168.1.3]<7> GAPI:Refreshing tk
 
[May 19 19:53:32][192.168.1.3]<7> Using AuthPassword as token request override
 
[May 19 19:53:32][192.168.1.3]<7> XMPP:Authentication Error:Refresh token available
 
[May 19 19:53:32][192.168.1.3]<7> XMPP:restarting node:90000
 
[May 19 19:53:33][192.168.1.3]<7> TCP:Connect OK(lhttpc)77
 
[May 19 19:53:33][192.168.1.3]<7> Trying to connect ssl
 
[May 19 19:53:33][192.168.1.3]<7> TC:ssl connected
 
[May 19 19:53:33][192.168.1.3]<7> LHC:Response OK
 
[May 19 19:53:33][192.168.1.3]<7> GAPI:refresh tk ok
 
[May 19 19:53:33][192.168.1.3]<7> XMPP:restarting node:100
 
[May 19 19:53:34][192.168.1.3]<142> PARAM Cache Write Back(256 bytes)
 
[May 19 19:53:35][192.168.1.3]<7> TCP:Connect OK(xmpp)77
 
[May 19 19:53:35][192.168.1.3]<7> XMPP:Enable reqto
 
[May 19 19:53:35][192.168.1.3]<7> XMPP_PROC:TLS required!
 
[May 19 19:53:35][192.168.1.3]<7> TC:ssl connected
 
[May 19 19:53:35][192.168.1.3]<7> XMPP:Enable reqto
 
[May 19 19:53:35][192.168.1.3]<7> XMPP:new stream restarted from remote, old state=1
 
[May 19 19:53:35][192.168.1.3]<7> XMPP:Enable reqto
 
[May 19 19:53:35][192.168.1.3]<7> XMPP:new stream restarted from remote, old state=1
 
[May 19 19:53:35][192.168.1.3]<7> XMPP:Disable reqto
 
[May 19 19:53:35][192.168.1.3]<7> GTT:xmpp service up
 
[May 19 19:54:24][192.168.1.3]<7> OFF hook
 
[May 19 19:54:24][192.168.1.3]<6> [DSPOBI] dspg_setAudioPathEx path 1 groupie 0
 
[May 19 19:54:24][192.168.1.3]<6> [DUA] Configuring DAIF for path 1. Groupie 0. fd 78.
 
[May 19 19:54:25][192.168.1.3]<6> [DSPG] WBHF ADD_E ADD_VOL1 set to 0x800.
 
[May 19 19:54:25][192.168.1.3]<6> [DSPG] UT_WBHF set to UT_WBHF_MODE_HANDSET. Status 0.
 
[May 19 19:54:25][192.168.1.3]<6> [DSPG] WBHF TX AG3_C_VOL set to 0xca6.
 
[May 19 19:54:25][192.168.1.3]<6> [DSPOBI] AEC for non-handsfree
 
[May 19 19:54:25][192.168.1.3]<6> check_EQ: path 1 which_tx 1 eq (nil)
 
[May 19 19:54:25][192.168.1.3]<6> check_EQ: path 1 which_rx 1 eq (nil)
 
[May 19 19:54:25][192.168.1.3]<6> [DSPG] enable_one_eeq 44 0.
 
[May 19 19:54:25][192.168.1.3]<6> [DSPOBI] TX EQ disabled
 
[May 19 19:54:25][192.168.1.3]<6> [DSPG] enable_one_eeq 43 0.
 
[May 19 19:54:25][192.168.1.3]<6> [DSPOBI] RX EQ disabled
 
[May 19 19:54:25][192.168.1.3]<6> [DSPOBI] dspg_setSpkVolume 562 0
 
[May 19 19:54:25][192.168.1.3]<6> [DSPOBI] Setting AG3 volume on unit 100.
 
[May 19 19:54:25][192.168.1.3]<6> [DSPOBI] dspg_setMicGain 2578
 
[May 19 19:54:25][192.168.1.3]<6> [DSPOBI] Setting pin_volume on the OPI of unit 100.
 
[May 19 19:54:25][192.168.1.3]<6> [DSPG] WBHF TX AG3_C_VL_MAX set to 0x194c.
 
[May 19 19:54:25][192.168.1.3]<6> [DSPOBI] Side tone level set to 256.
 
[May 19 19:54:25][192.168.1.3]<7> CORE_post_user_event@1580: CORE_post_event type(0) failed 'The buffer is empty'
 
[May 19 19:54:25][192.168.1.3]<7> TGlue_start_tone: Stream (nil), cpt ID 0, vol 0 cb 0x36c70 ctx 0x91f478
 
[May 19 19:54:25][192.168.1.3]<7> [1526784874.63346] TONE_END timer started. 20000 ms
 
[May 19 19:54:25][192.168.1.3]<6> [DSPTONE] dspg_playTone tone 0x3602ac vol 4096.
 
[May 19 19:54:25][192.168.1.3]<6> [DSPTONE] Playing tone to Speaker unit 100.
 
[May 19 19:54:25][192.168.1.3]<7> CORE_post_user_event@1580: CORE_post_event type(5) failed 'The buffer is empty'
 
[May 19 19:54:25][192.168.1.3]<7> +++ core post failed; 15
 
[May 19 19:54:25][192.168.1.3]<7> +++ core post failed; 15
 
[May 19 19:54:25][192.168.1.3]<7> +++ core post failed; 31
 
[May 19 19:54:26][192.168.1.3]<7> ON hook
 
[May 19 19:54:26][192.168.1.3]<6> [DSPOBI] dspg_setAudioPathEx path 0 groupie 0
 
[May 19 19:54:26][192.168.1.3]<6> [DUA] Configuring DAIF for path 0. Groupie 0. fd 78.
 
[May 19 19:54:26][192.168.1.3]<6> [DSPG] UT_WBHF set to UT_WBHF_MODE_IDLE. Status 0.
 
[May 19 19:54:26][192.168.1.3]<6> [DSPG] WBHF TX AG3_C_VOL set to 0x400.
 
[May 19 19:54:26][192.168.1.3]<6> [DSPOBI] AEC for non-handsfree
 
[May 19 19:54:26][192.168.1.3]<6> [DSPG] enable_one_eeq 44 0.
 
[May 19 19:54:26][192.168.1.3]<6> [DSPOBI] TX EQ disabled
 
[May 19 19:54:26][192.168.1.3]<6> [DSPG] enable_one_eeq 43 0.
 
[May 19 19:54:26][192.168.1.3]<6> [DSPOBI] RX EQ disabled
 
[May 19 19:54:26][192.168.1.3]<6> [DSPTONE] dspg_stopTone (nil)
 
[May 19 19:54:26][192.168.1.3]<6> [DSPTONE] Stopping tone on Speaker unit 100.
 
[May 19 19:54:26][192.168.1.3]<7> CORE_post_user_event@1580: CORE_post_event type(5) failed 'The buffer is empty'
 
[May 19 19:54:26][192.168.1.3]<7> +++ core post failed; 15
 
[May 19 19:54:26][192.168.1.3]<7> +++ core post failed; 15
 
[May 19 19:54:26][192.168.1.3]<7> +++ core post failed; 31
 
naf
join:2017-12-12
said by Brown:

[May 19 19:53:32][192.168.1.3] Using AuthPassword as token request override

thats some handsome logging right there
said by Brown:

[May 19 19:53:35][192.168.1.3] GTT:xmpp service up

it thinks its connected ok. what does the log look like when you try to make a call?
Brown
join:2018-01-21
That was the first syslog above this one.
It has dial tones but blank after number is entered.
naf
join:2017-12-12
to Brown

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

said by Brown:

That was the first syslog above this one.
It has dial tones but blank after number is entered.

hm, nothing obvious there then. im guessing incoming doesnt work either?

(might be that XMPP mode just doesn't work in 4858, i imagine you are the first to try.)
Brown
join:2018-01-21

1 edit

said by naf: im guessing incoming doesnt work either?

It's my only phone. It's too late to be asking the neighbor to call me. You can call me if you want.
naf
join:2017-12-12

1 edit
said by Brown:

My only phone. It's too late to be asking the neighbor to call me. You can call me if you want.

i gotta laugh that you run experimental firmware from internet strangers on your only phone line
no wonder you worry about the GVSIP upgrade breaking things.

anyway, drinking time calls. there's always tomorrow...
Brown
join:2018-01-21

3 edits
Yeah, I will get another GV number soon.

I'm back on Olisom4 and connected. Both outbound and inbound are working.
Thank you for getting the XMPP version of olisom (olisom4) working. That certs file should be included with the firmware download.
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
to naf
I get stuck on the screen with "Loading application..."

Syslog is filled with lots of this:

11.322863000 11.322863000 192.168.1.205 192.168.1.4 Syslog 128 KERN.DEBUG: CORE_post_user_event@1580: CORE_post_event type(13) failed 'The buffer is empty'\n\000

HTTP and Telnet do work.

I tried to load the obiapp from the USB drive but get the same symptoms.
naf
join:2017-12-12
said by Mango:

I get stuck on the screen with "Loading application..."

HTTP and Telnet do work.

Try bind-mounting the stock obiapp for comparison (sent you a link)

You should have ssh as well.
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net

1 edit
Sorry it took all day to get to this.

I'm still stuck on "Loading application...". Now I can't Telnet in, but HTTP still works. Was SSH on port 22? If so, I was not able to connect on that port with either obiapp.

Edit: I can flash back to olisom4, which works. Flashing olisom5 took me back to "Loading application...".
naf
join:2017-12-12

2 edits
So to summarize:

Brown flashes olisom5, ssh works (cause its in the rootfs startup script) and the obiapp appears to function ok (other than XMPP which noone knows actually works anyway). obiapp is clearly the modded one because he can flash back to olisom4 with its lack of signature.

Mango flashes olisom5, ssh doesnt work (wtf?), lets ignore telnet for a sec (it was just part of the exploit to get off stock, not an olisom mod), obiapp doesnt get past loading a gui but its webserver still works. but still obiapp is clearly the modded one because he can flash back to olisom4 with its lack of signature. but the same modded obiapp worked fine when mount-bind'd over stock 4858

both have some "CORE_post_user_event@1580: CORE_post_event type(13) failed 'The buffer is empty'" errors from libdirect, but no way to know if thats normal or not.

wow im pretty perplexed...
Brown
join:2018-01-21

1 edit
The first olisom5 you sent me failed with a checksum error. Minutes later you sent me another olisom5 that flashed fine. Is that related to the Mango problem?

I pulled the internet cable out of the modem seconds before flashing olisom5 if that matters.
naf
join:2017-12-12
said by Brown:

The first olisom5 you sent me failed with a checksum error. Minutes later you sent me another olisom5 that flashed fine. Is that related to the Mango problem?

Nah that was just because I was putting together the final fw file by hand instead of using a script. That has since been rectified: »github.com/naf419/obi-fi ··· -pack.sh

I took a look at Mango's syslog. His shows the DirectFB init completely crapping out:
KERN.DEBUG:  CORE_open@125: DirectFBCreate failed &apos;A general initialization error occured&apos;\n\000
KERN.DEBUG:  GUI_open@530: CORE_open failed\n\000
 

That and the lack of ssh make me think that Mango is somehow not getting the right rootfs partition and using the backup or something? I wonder he has the files I added: does /bin/dropbear exist?
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
With the lack of SSH and Telnet, I can't tell
naf
join:2017-12-12
well lets fix that
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
naf helped me to get Telnet back.

root@OBiPhone:~# ls -lah /bin/dropbear
lrwxrwxrwx    1 root     root          13 May 19 03:36 /bin/dropbear -> dropbearmulti
 
naf
join:2017-12-12

1 edit
it exists. ok, why the fuck is it not running then?
try
$ dropbearkey -t rsa -f /etc/dropbear_rsa_host_key
$ dropbear -r /etc/dropbear_rsa_host_key

anything strange in dmesg?
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
root@OBiPhone:~# dmesg
[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Linux version 3.4.20-rt31-dvf-v1.2.4-rc2 (mchan@dspg) (gcc version 4.6.4 20120303 (prerelease) (GCC) ) #17 PREEMPT RT Tue Sep 19 17:33:26 PDT 2017
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: DSPG DVF99, model: DVF99 on EVB
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 30464
[    0.000000] free_area_init_node: node 0, pgdat c05c5324, node_mem_map c0603000
[    0.000000]   Normal zone: 254 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 30210 pages, LIFO batch:7
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 30210
[    0.000000] Kernel command line: console=ttyS1,384000 ubi.mtd=rootfs root=ubi0:rootfs rootfstype=ubifs mtdparts=dmw_nand:1m(u-boot),768K(u-boot-env),2304K(dev                                                                                                                                                         tree),4096K@0x400000(kernel),20480K@0x2800000(rootfs),8192K@0x1c00000(obiapp),4096K@0x2400000(kernel1),20480K@0x800000(rootfs1),8192K@0x3c00000(obiapp1),40m@0x44                                                                                                                                                         00000(scratch),20m@0x6c00000(misc)
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 115MB 4MB = 119MB total
[    0.000000] Memory: 114500k/114500k available, 15548k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xc8000000 - 0xff000000   ( 880 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc7f00000   ( 127 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc054fc58   (5408 kB)
[    0.000000]       .init : 0xc0550000 - 0xc0573000   ( 140 kB)
[    0.000000]       .data : 0xc0574000 - 0xc05c5d80   ( 328 kB)
[    0.000000]        .bss : 0xc05c5da4 - 0xc0602b38   ( 244 kB)
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4294967ms
[    0.000000] Console: colour dummy device 80x30
[    0.000561] Calibrating delay loop... 298.59 BogoMIPS (lpj=1492992)
[    0.069929] pid_max: default: 32768 minimum: 301
[    0.070592] Mount-cache hash table entries: 512
[    0.075764] CPU: Testing write buffer coherency: ok
[    0.076329] Setting up static identity map for 0x403f7590 - 0x403f75e8
[    0.079506] dummy:
[    0.080220] NET: Registered protocol family 16
[    0.120236] bio: create slab <bio-0> at 0
[    0.124979] gpiochip_add: registered GPIOs 0 to 159 on device: gpio-dspg
[    0.125016] gpio-dspg 5000000.gpio-controller: 5 banks
[    0.125626] 3v3: 3300 mV
[    0.126096] vbus1: 5000 mV
[    0.126511] vbus2: 5000 mV
[    0.128094] SCSI subsystem initialized
[    0.128869] usbcore: registered new interface driver usbfs
[    0.129019] usbcore: registered new interface driver hub
[    0.129391] usbcore: registered new device driver usb
[    0.130843] Linux video capture interface: v2.00
[    0.131326] Advanced Linux Sound Architecture Driver Version 1.0.25.
[    0.132311] Bluetooth: Core ver 2.16
[    0.132457] NET: Registered protocol family 31
[    0.132480] Bluetooth: HCI device and connection manager initialized
[    0.132505] Bluetooth: HCI socket layer initialized
[    0.132524] Bluetooth: L2CAP socket layer initialized
[    0.132590] Bluetooth: SCO socket layer initialized
[    0.132984] Switching to clocksource dspg-rtc
[    0.144110] NET: Registered protocol family 2
[    0.144615] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.145706] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.145904] TCP bind hash table entries: 4096 (order: 4, 98304 bytes)
[    0.146168] TCP: Hash tables configured (established 4096 bind 4096)
[    0.146189] TCP: reno registered
[    0.146211] UDP hash table entries: 64 (order: 0, 4096 bytes)
[    0.146284] UDP-Lite hash table entries: 64 (order: 0, 4096 bytes)
[    0.146852] NET: Registered protocol family 1
[    0.147873] RPC: Registered named UNIX socket transport module.
[    0.147906] RPC: Registered udp transport module.
[    0.147925] RPC: Registered tcp transport module.
[    0.147943] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.153240] NTFS driver 2.1.30 [Flags: R/O].
[    0.153718] msgmni has been set to 223
[    0.158070] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    0.158106] io scheduler noop registered
[    0.158127] io scheduler deadline registered (default)
[    0.165113] dspgfb 6b00000.display: fb0: dspgfb frame buffer, rocktech (480x272, 16 bpp, 510k)
[    0.165777] 5a00000.serial: ttyS0 at MMIO 0x5a00000 (irq = 23) is a DSPG_UART
[    0.166318] 5b00000.serial: ttyS1 at MMIO 0x5b00000 (irq = 24) is a DSPG_UART
[    0.381476] console [ttyS1] enabled
[    0.417186] galcore 600000.gpu: GPU initialized, clocked at 300MHz
[    0.432571] brd: module loaded
[    0.440563] loop: module loaded
[    0.444632] dvf9a 6300000.dvf9a: successfully registered (DVF9A version 2)
[    0.450535] NAND device: Manufacturer ID: 0xc2, Chip ID: 0xf1 (Macronix NAND 128MiB 3,3V 8-bit)
[    0.455009] Scanning device for bad blocks
[    0.470127] Bad eraseblock 169 at 0x000001520000
[    0.506942] Bad eraseblock 622 at 0x000004dc0000
[    0.510160] Bad eraseblock 634 at 0x000004f40000
[    0.513600] Bad eraseblock 648 at 0x000005100000
[    0.525932] Bad eraseblock 779 at 0x000006160000
[    0.532133] Bad eraseblock 830 at 0x0000067c0000
[    0.541332] Bad eraseblock 922 at 0x000007340000
[    0.551337] 12 cmdlinepart partitions found on MTD device dmw_nand
[    0.554469] Creating 12 MTD partitions on "dmw_nand":
[    0.557064] 0x000000000000-0x000000100000 : "u-boot"
[    0.561356] 0x000000100000-0x0000001c0000 : "u-boot-env"
[    0.565616] 0x0000001c0000-0x000000400000 : "devtree"
[    0.569617] 0x000000400000-0x000000800000 : "kernel"
[    0.573767] 0x000002800000-0x000003c00000 : "rootfs"
[    0.577874] 0x000001c00000-0x000002400000 : "obiapp"
[    0.581868] 0x000002400000-0x000002800000 : "kernel1"
[    0.585991] 0x000000800000-0x000001c00000 : "rootfs1"
[    0.590224] 0x000003c00000-0x000004400000 : "obiapp1"
[    0.594527] 0x000004400000-0x000006c00000 : "scratch"
[    0.598749] 0x000006c00000-0x000008000000 : "misc"
[    0.602792] 0x000000000000-0x000008000000 : "all"
[    0.607049] dmw_nand 5400000.nand: initialized
[    0.609894] UBI: attaching mtd4 to ubi0
[    0.611830] UBI: physical eraseblock size:   131072 bytes (128 KiB)
[    0.615016] UBI: logical eraseblock size:    126976 bytes
[    0.617772] UBI: smallest flash I/O unit:    2048
[    0.620140] UBI: VID header offset:          2048 (aligned 2048)
[    0.623195] UBI: data offset:                4096
[    0.694713] UBI: max. sequence number:       2737
[    0.705330] UBI: attached mtd4 to ubi0
[    0.707224] UBI: MTD device name:            "rootfs"
[    0.709782] UBI: MTD device size:            20 MiB
[    0.712257] UBI: number of good PEBs:        160
[    0.714608] UBI: number of bad PEBs:         0
[    0.716855] UBI: number of corrupted PEBs:   0
[    0.719110] UBI: max. allowed volumes:       128
[    0.721452] UBI: wear-leveling threshold:    4096
[    0.723848] UBI: number of internal volumes: 1
[    0.726096] UBI: number of user volumes:     1
[    0.728350] UBI: available PEBs:             6
[    0.730605] UBI: total number of reserved PEBs: 154
[    0.733087] UBI: number of PEBs reserved for bad PEB handling: 2
[    0.736134] UBI: max/mean erase counter: 36/17
[    0.738390] UBI: image sequence number:  970107512
[    0.740835] UBI: background thread "ubi_bgt0d" started, PID 67
[    0.748569] Fixed MDIO Bus: probed
[    0.751041] tun: Universal TUN/TAP device driver, 1.6
[    0.753600] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    0.759942] RTL8306m is probed
[    0.761988] stmmac - user ID: 0x20, Synopsys ID: 0x37
[    0.764553]  DMA HW capability register supported
[    0.766843]  Normal descriptors
[    0.768520]  RX Checksum Offload Engine supported
[    0.770907]  TX Checksum insertion supported
[    0.773090]  Wake-Up On Lan supported
[    0.793123] stmmac: probed
[    0.794487] eth0: No PHY found
[    0.796224] PPP generic driver version 2.4.2
[    0.798708] PPP BSD Compression module registered
[    0.801082] PPP Deflate Compression module registered
[    0.805353] PPP MPPE Compression module registered
[    0.807783] NET: Registered protocol family 24
[    0.810092] RTL8723: module init start
[    0.811979] RTL8723: rtl8723as v4.1.10_10648.20140227_BTCOEX20131115_ver3.4
[    0.815516] RTL8723: build time: Jun 19 2017 22:26:43
[    0.818202] RTL8723: module init ret=0
[    0.820248] usbcore: registered new interface driver rtl8192cu
[    0.823199] Initializing USB Mass Storage driver...
[    0.825856] usbcore: registered new interface driver usb-storage
[    0.828891] USB Mass Storage support registered.
[    0.831235] musb-fdrc: version 6.0, ?dma?, otg (peripheral+host)
[    0.841737] musb-fdrc musb-fdrc: MUSB FDRC host driver
[    0.844362] musb-fdrc musb-fdrc: new USB bus registered, assigned bus number 1
[    0.848238] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[    0.851679] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.855353] usb usb1: Product: MUSB FDRC host driver
[    0.857869] usb usb1: Manufacturer: Linux 3.4.20-rt31-dvf-v1.2.4-rc2 musb-hcd
[    0.861489] usb usb1: SerialNumber: musb-fdrc
[    0.864682] hub 1-0:1.0: USB hub found
[    0.866615] hub 1-0:1.0: 1 port detected
[    0.869160] musb-fdrc musb-fdrc: USB Host mode controller at c8100000 using PIO, IRQ 30
[    0.874233] input: DSPG keypad as /devices/50002b0.keypad/input/input0
[    0.879010] input: DSPG hookswitch as /devices/hookswitch.3/input/input1
[    0.884044] dspg-rtc 5600000.rtc: rtc core: registered dspg-rtc as rtc0
[    0.887696] dspg-rtc 5600000.rtc: initialized
[    0.890127] i2c /dev entries driver
[    0.892962] dspg_wdt 5700000.watchdog: initialized, not started
[    0.896201] Bluetooth: Virtual HCI driver ver 1.3
[    0.898919] usbcore: registered new interface driver btusb
[    0.902358] usbcore: registered new interface driver usbhid
[    0.905177] usbhid: USB HID core driver
[    0.907122] NET: Registered protocol family 40
[    0.909641] coma-dvf9a dvf9a-coma.16: successfully registered
[    0.913969] coma-sharedmem sharedmem.2: successfully registered
[    0.918264] dw_mmc_dspg 900000.mmc: Using internal DMA controller.
[    0.924024] dw_mmc_dspg 900000.mmc: DW MMC controller at irq 31, 32 bit host data width, 32 deep fifo
[    0.930219] dspg-crypto 6c00000.secure: DSPG cryptographic security module (revision 5/0)
[    0.934948] dspg-ocf-crypto ocf.19: OCF frontend for DSPG cryptographic security module
[    0.940743] dvf9a-alsa dvf9a-alsa.17: successfully registered
[    0.943182] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, actual 403225HZ div = 62)
[    0.951011] Netfilter messages via NETLINK v0.30.
[    0.953423] nfnl_acct: registering with nfnetlink.
[    0.957115] ip_tables: (C) 2000-2006 Netfilter Core Team
[    0.960003] TCP: bic registered
[    0.961589] NET: Registered protocol family 17
[    0.964082] Distributed Switch Architecture driver version 0.1
[    0.968472] eth0[0]: detected a rtl8363sb switch
[    0.973841] dsa slave smi: probed
[    0.980803] Bluetooth: RFCOMM socket layer initialized
[    0.983420] Bluetooth: RFCOMM ver 1.11
[    0.985312] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    0.988528] 8021q: 802.1Q VLAN Support v1.8
[    0.991332] dvf-pm pm.0: idle driver not registered: -19
[    0.993229] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 300000Hz, actual 297619HZ div = 84)
[    1.001444] dspg-rtc 5600000.rtc: setting system clock to 1970-01-01 00:00:01 UTC (1)
[    1.005626] ALSA device list:
[    1.007115]   No soundcards found.
[    1.043224] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 200000Hz, actual 200000HZ div = 125)
[    1.051030] UBIFS: recovery needed
[    1.103121] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 100000Hz, actual 100000HZ div = 250)
[    1.113691] UBIFS: recovery completed
[    1.115551] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[    1.118598] UBIFS: file system size:   17522688 bytes (17112 KiB, 16 MiB, 138 LEBs)
[    1.122487] UBIFS: journal size:       2666496 bytes (2604 KiB, 2 MiB, 21 LEBs)
[    1.126210] UBIFS: media format:       w4/r0 (latest is w4/r0)
[    1.129164] UBIFS: default compressor: zlib
[    1.131421] UBIFS: reserved for root:  0 bytes (0 KiB)
[    1.135535] VFS: Mounted root (ubifs filesystem) on device 0:11.
[    1.139138] Freeing init memory: 140K
[    1.183201] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, actual 403225HZ div = 62)
[    1.233160] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 300000Hz, actual 297619HZ div = 84)
[    1.283165] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 200000Hz, actual 200000HZ div = 125)
[    1.343204] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 100000Hz, actual 100000HZ div = 250)
[    5.028334] eth0: device MAC address [redacted]
[    5.030958] PHY stmmac-0:ffffffff not found
[    5.047466]  No MAC Management Counters available
[    5.977581] UBI: attaching mtd5 to ubi1
[    5.979527] UBI: physical eraseblock size:   131072 bytes (128 KiB)
[    5.982703] UBI: logical eraseblock size:    126976 bytes
[    5.985465] UBI: smallest flash I/O unit:    2048
[    5.987843] UBI: VID header offset:          2048 (aligned 2048)
[    5.990890] UBI: data offset:                4096
[    6.022522] UBI: max. sequence number:       1009
[    6.041041] UBI: attached mtd5 to ubi1
[    6.042933] UBI: MTD device name:            "obiapp"
[    6.045519] UBI: MTD device size:            8 MiB
[    6.047939] UBI: number of good PEBs:        64
[    6.050235] UBI: number of bad PEBs:         0
[    6.052489] UBI: number of corrupted PEBs:   0
[    6.054772] UBI: max. allowed volumes:       128
[    6.057110] UBI: wear-leveling threshold:    4096
[    6.059489] UBI: number of internal volumes: 1
[    6.061744] UBI: number of user volumes:     1
[    6.064255] UBI: available PEBs:             2
[    6.066497] UBI: total number of reserved PEBs: 62
[    6.068928] UBI: number of PEBs reserved for bad PEB handling: 2
[    6.071985] UBI: max/mean erase counter: 36/16
[    6.074262] UBI: image sequence number:  703586338
[    6.076724] UBI: background thread "ubi_bgt1d" started, PID 311
[    6.134103] UBIFS: recovery needed
[    6.158650] UBIFS: recovery completed
[    6.160512] UBIFS: mounted UBI device 1, volume 0, name "obiapp"
[    6.164040] UBIFS: file system size:   5840896 bytes (5704 KiB, 5 MiB, 46 LEBs)
[    6.167750] UBIFS: journal size:       1269760 bytes (1240 KiB, 1 MiB, 10 LEBs)
[    6.171460] UBIFS: media format:       w4/r0 (latest is w4/r0)
[    6.174444] UBIFS: default compressor: zlib
[    6.176567] UBIFS: reserved for root:  0 bytes (0 KiB)
[    6.232993] Module dwc_common_port init
[    6.297795] dwc_otg: version 2.92a 15-NOV-2010 (IGX 2.1e DEC 2011)
[    6.301760] Core Release: 2.94a
[    6.303951] Setting default values for core params
[    6.407916] Using Descriptor DMA mode
[    6.409774] Periodic Transfer Interrupt Enhancement - disabled
[    6.412729] Multiprocessor Interrupt Enhancement - disabled
[    6.415587] OTG VER PARAM: 0, OTG VER FLAG: 0
[    6.417819] Dedicated Tx FIFOs mode
[    6.424818] dwc_otg 300000.usb: DWC OTG Controller
[    6.427316] dwc_otg 300000.usb: new USB bus registered, assigned bus number 2
[    6.431227] dwc_otg 300000.usb: irq 29, io mem 0x00000000
[    6.434129] Init: Port Power? op_state=1
[    6.436111] Init: Power Port off, setting it ON
[    6.438635] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    6.442076] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.445769] usb usb2: Product: DWC OTG Controller
[    6.448154] usb usb2: Manufacturer: Linux 3.4.20-rt31-dvf-v1.2.4-rc2 dwc_otg_hcd
[    6.451908] usb usb2: SerialNumber: 300000.usb
[    6.460626] hub 2-0:1.0: USB hub found
[    6.462579] hub 2-0:1.0: 1 port detected
[    6.767852] RTL871X: module init start
[    6.769758] RTL871X: rtl8821au v4.3.19.5_17672.20160506_BTCOEX20150921-58
[    6.773914] RTL871X: build time: Jan 14 2017 01:01:48
[    6.776474] RTL871X: rtl8821au BT-Coex version = BTCOEX20150921-58
[    6.782158] usbcore: registered new interface driver rtl8821au
[    6.785139] RTL871X: module init ret=0
[    6.863838] UBI: attaching mtd9 to ubi2
[    6.865783] UBI: physical eraseblock size:   131072 bytes (128 KiB)
[    6.868955] UBI: logical eraseblock size:    126976 bytes
[    6.871696] UBI: smallest flash I/O unit:    2048
[    6.874258] UBI: VID header offset:          2048 (aligned 2048)
[    6.877305] UBI: data offset:                4096
[    7.021263] UBI: max. sequence number:       2271
[    7.035259] PHY: fixed-0:01 - Link is Up - 100/Full
[    7.042900] UBI: attached mtd9 to ubi2
[    7.044810] UBI: MTD device name:            "scratch"
[    7.047412] UBI: MTD device size:            40 MiB
[    7.049886] UBI: number of good PEBs:        315
[    7.052228] UBI: number of bad PEBs:         5
[    7.054668] UBI: number of corrupted PEBs:   0
[    7.056911] UBI: max. allowed volumes:       128
[    7.059252] UBI: wear-leveling threshold:    4096
[    7.061639] UBI: number of internal volumes: 1
[    7.064249] UBI: number of user volumes:     1
[    7.066491] UBI: available PEBs:             0
[    7.068750] UBI: total number of reserved PEBs: 315
[    7.071222] UBI: number of PEBs reserved for bad PEB handling: 3
[    7.074299] UBI: max/mean erase counter: 9/8
[    7.076454] UBI: image sequence number:  2082116991
[    7.078969] UBI: background thread "ubi_bgt2d" started, PID 327
[    7.133698] UBIFS: recovery needed
[    7.223315] UBIFS: recovery completed
[    7.225174] UBIFS: mounted UBI device 2, volume 0, name "scratch"
[    7.228265] UBIFS: file system size:   37965824 bytes (37076 KiB, 36 MiB, 299 LEBs)
[    7.232154] UBIFS: journal size:       1904640 bytes (1860 KiB, 1 MiB, 15 LEBs)
[    7.235895] UBIFS: media format:       w4/r0 (latest is w4/r0)
[    7.238851] UBIFS: default compressor: lzo
[    7.240927] UBIFS: reserved for root:  1793219 bytes (1751 KiB)
[    7.286674] UBI: attaching mtd10 to ubi10
[    7.288709] UBI: physical eraseblock size:   131072 bytes (128 KiB)
[    7.291966] UBI: logical eraseblock size:    126976 bytes
[    7.294714] UBI: smallest flash I/O unit:    2048
[    7.297092] UBI: VID header offset:          2048 (aligned 2048)
[    7.300140] UBI: data offset:                4096
[    7.373243] UBI: max. sequence number:       3117
[    7.392128] UBI: attached mtd10 to ubi10
[    7.394116] UBI: MTD device name:            "misc"
[    7.396586] UBI: MTD device size:            20 MiB
[    7.399057] UBI: number of good PEBs:        159
[    7.401398] UBI: number of bad PEBs:         1
[    7.404335] UBI: number of corrupted PEBs:   0
[    7.406582] UBI: max. allowed volumes:       128
[    7.408922] UBI: wear-leveling threshold:    4096
[    7.411316] UBI: number of internal volumes: 1
[    7.414218] UBI: number of user volumes:     1
[    7.416462] UBI: available PEBs:             5
[    7.418715] UBI: total number of reserved PEBs: 154
[    7.421191] UBI: number of PEBs reserved for bad PEB handling: 2
[    7.424269] UBI: max/mean erase counter: 58/20
[    7.426520] UBI: image sequence number:  703221986
[    7.428967] UBI: background thread "ubi_bgt10d" started, PID 331
[    7.502577] UBIFS: mounted UBI device 10, volume 0, name "misc"
[    7.505592] UBIFS: file system size:   17522688 bytes (17112 KiB, 16 MiB, 138 LEBs)
[    7.509474] UBIFS: journal size:       2666496 bytes (2604 KiB, 2 MiB, 21 LEBs)
[    7.514057] UBIFS: media format:       w4/r0 (latest is w4/r0)
[    7.517015] UBIFS: default compressor: zlib
[    7.519133] UBIFS: reserved for root:  0 bytes (0 KiB)
[   15.230466] UBIFS: un-mount UBI device 10, volume 0
[   15.298252] UBI: mtd10 is detached from ubi10
[   18.629490] css 8200000.css: loading DVF99 CSS image
[   18.632027] css 8200000.css: MD5 sum of ELF file: 0x42FE9480601D484B5DB742973FC0E247
[   18.791200] css 8200000.css: successfully loaded CSS firmware
[   18.871358] voice: character device initialized (major=248)
[   18.884951] asoc: PCMHD_codec_dai <-> CSS mapping ok
[   18.889761] asoc: PCMFD_codec_dai <-> CSS mapping ok
[   18.894724] asoc: TRACE1_codec_dai <-> CSS mapping ok
[   18.901763] asoc: USB_plug <-> CSS mapping ok
[   18.907004] asoc: TRACE2_codec_dai <-> CSS mapping ok
[   18.913814] asoc: ANYFD_codec_dai <-> CSS mapping ok
[   18.918587] asoc: PCMHD_DClass_codec_dai <-> CSS mapping ok
[   18.924716] asoc: PCMFD_DClass_codec_dai <-> CSS mapping ok
[   18.980605] snd-dvf99-mach-drv snd-dvf99-mach-drv.15: DVF99 ASoC card registered
[   18.997374] DVF99-BT asoc Mach-drv: dspg_snd_probe():
[   18.997529] snd-dvf-evb-bt dvf99-bt-mach-drv.11: DVF99 BT ASoc Card registred
[   19.574324] usbcore: registered new interface driver snd-usb-audio
[   20.672091] dspg_wdt 5700000.watchdog: timer started
[   66.302723] obiapp pid = 0
[  607.953276] [sched_delayed] sched: RT throttling activated
[  752.686905] hrtimer: interrupt took 33000 ns
[  981.969934] dspg_wdt 5700000.watchdog: timer started
[  991.228203] obiapp pid = 0
[ 3955.449998] dspg_wdt 5700000.watchdog: timer started
[ 3964.517493] obiapp pid = 0
[ 4038.630584] dspg_wdt 5700000.watchdog: timer started
[ 4047.709013] obiapp pid = 0
[ 4126.890530] dspg_wdt 5700000.watchdog: timer started
[ 4135.937447] obiapp pid = 0
[ 4388.900359] dspg_wdt 5700000.watchdog: timer started
[ 4398.063542] obiapp pid = 0
[ 4418.780680] dspg_wdt 5700000.watchdog: timer started
[ 4428.056166] obiapp pid = 0
[ 4441.440533] dspg_wdt 5700000.watchdog: timer started
[ 4450.610046] obiapp pid = 0
[ 4602.220315] dspg_wdt 5700000.watchdog: timer started
[ 4611.359322] obiapp pid = 0
root@OBiPhone:~#
 
Mango
ok HERE we go with something useful.

root@OBiPhone:~# dropbearkey -t rsa -f /etc/dropbear_rsa_host_key
Generating key, this may take a while...
Couldn't create new file /etc/dropbear_rsa_host_key.tmp4178: No space left on device
Exited: Failed to generate key.
 
root@OBiPhone:~# dropbear -r /etc/dropbear_rsa_host_key
 

in case it's useful

root@OBiPhone:~# du -h -d 1 /
1.3M    /bin
4.0K    /dev
56.0K   /css
360.0K  /etc
9.8M    /lib
9.6M    /obi
0       /sys
18.5M   /var
19.4M   /usr
0       /boot
0       /home
0       /proc
772.0K  /sbin
0       /media
528.0K  /scratch
60.3M   /
 
naf
join:2017-12-12
said by Mango:

ok HERE we go with something useful.

root@OBiPhone:~# dropbearkey -t rsa -f /etc/dropbear_rsa_host_key
Generating key, this may take a while...
Couldn't create new file /etc/dropbear_rsa_host_key.tmp4178: No space left on device
Exited: Failed to generate key.
 
root@OBiPhone:~# dropbear -r /etc/dropbear_rsa_host_key
 
nice. assuming this means its mounted ro? lets see:

$ mount
$ df
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
root@OBiPhone:~# mount
rootfs on / type rootfs (rw)
ubi0:rootfs on / type ubifs (rw,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
none on /dev type tmpfs (rw,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
tmpfs on /var/volatile type tmpfs (rw,relatime)
tmpfs on /media/ram type tmpfs (rw,relatime)
none on /sys/kernel/debug type debugfs (rw,relatime)
ubi1:obiapp on /obi type ubifs (rw,relatime)
ubi2:scratch on /scratch type ubifs (rw,sync,relatime)
root@OBiPhone:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
ubi0:rootfs              15136     15136         0 100% /
none                     57320         4     57316   0% /dev
tmpfs                    57320     18904     38416  33% /var/volatile
tmpfs                    57320         0     57320   0% /media/ram
ubi1:obiapp               4584      4284       300  93% /obi
ubi2:scratch             33600        80     31768   0% /scratch
 
naf
join:2017-12-12

2 edits
said by Mango:

ubi0:rootfs 15136 15136 0 100% /

hm. not that i know anything about ubifs, but my math says that if the leb_size = 126976 and the max_leb_cnt = 150, that means a total space of ~19mb, of which its supposed to be using 142 lebs = ~18mb. (even the old rootfs used 134 lebs aka ~17mb).
All of these are greater than 15136kb... hmmm...

ETA: maybe its just too big? i sent you a link to olisom5b, same as before but ~1mb smaller after i removed param_dump and gdbserver
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net

1 recommendation

5b works! OBiExtras is UnLocked, GUI on phone functional, SSH server functional!
naf
join:2017-12-12
ok good. when you get a chance, can you try GV?
ITSP provisioning for GVSIP is a couple pages back, or if your still on and want to remain on XMPP just use the old EnableGoogleVoiceWithoutOBiTALK.xml
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net

1 recommendation

Confirmed working for XMPP GV, both incoming and outgoing calls.

I haven't converted to SIP yet, I guess out of curiosity to see exactly if/when my 110 will stop working. But I could convert to SIP if it would be helpful for testing.
naf
join:2017-12-12
said by Mango:

I haven't converted to SIP yet, I guess out of curiosity to see exactly if/when my 110 will stop working. But I could convert to SIP if it would be helpful for testing.

no need, i can just send you an AuthPassword string for my test account
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net

1 recommendation

I now have GVSIP on SP1 and GVXMPP on SP2, both working for incoming and outgoing calls.

I observed the behaviour that others have reported: if I place a GVSIP call on hold and pick it back up, the codec switches to OPUS. Until this is fixed, this is a good test to be sure I'm using SIP.

Anything else you want me to test before I clear out your credentials?
naf
join:2017-12-12

2 recommendations

said by Mango:

Anything else you want me to test before I clear out your credentials?

Nope, I'm going to call that good.
naf

1 edit
OBiPhone-5-1-11-4858EX-olisom5b (the b stands for 'besmallened')
EDIT: »fw.obifirmware.com/OBiPh ··· som5b.fw

modifications:
1) add dropbear ssh server. default root passwd = "obi"
2) patch obiapp to use oauth token request override, for provisioning GV without obitalk. Uses same AuthPassword format as always
3) patch obiapp to bypass "zero touch" forced configuration. added clear_zt_params util to clear old zero touch params
4) patch obiapp to bypass x509 signature check for new fw

md5sum OBiPhone-5-1-11-4858EX-olisom5b.fw = 9eef1e893b7835521a13bc5f328afe0e
Brown
join:2018-01-21

4 edits
Do you think the "b" version would make my ZT version work? I don't have a need now but probably later.

Maybe just for the "EXtras". Does it use the same method for saving the Google Contacts as the 200-302 models? That is:
pscp -scp -l root -pw obi contacts.xml 192.168.10.1:/scratch
 
Edit: I just remembered, the Obi phones don't need ObiExtras for the Google contacts to work.
naf
join:2017-12-12
said by Brown:

Do you think the "b" version would make my ZT version work? I don't have a need now but probably later.

Possibly. You did start getting those same "CORE_post_event type(13) failed 'The buffer is empty'" errors when trying to make calls.

Only one way to find out for sure...
Brown
join:2018-01-21
It's not on the site yet, do you want to 'pm' it to me?
OBi1FW
join:2017-12-27
Vienna, VA

1 edit
Now, it's

Soon I will update the instructions. For now: »fw.obifirmware.com/Enabl ··· TALK.xml
Brown
join:2018-01-21

1 recommendation

to OBi1FW

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

Thanks.
Are you going to give people the choice of XMPP and GV-SIP provisioning? I vote yes.
naf
join:2017-12-12
to OBi1FW
X_CustomKeepAliveMsg should be % 0 d % 0 a % 0 d % 0 a without spaces (hard to format in this forum software)
OBi1FW
join:2017-12-27
Vienna, VA
Fixed now?
naf
join:2017-12-12
ya looks good
Brown
join:2018-01-21

2 edits
Olisom5b is running good in XMPP mode on my ZT device. Calls work both ways.
ObiExtras is 'Locked'
My contacts aren't being read using the 200-302 style /scratch/contacts.xml.
No param_dump which you mentioned.
naf
join:2017-12-12

2 edits
param_dump.zip
546,441 bytes
param_dump for obi10xx

src on github: »github.com/naf419/obi-fi ··· m_dump.c

if anyone wants to convert it to c89 that would save static compiling libstdc++ and like a meg or so...

jsolo1
Premium Member
join:2001-07-01
PRIL
to OBi1FW
said by OBi1FW:

Now, it's

Soon I will update the instructions. For now: »fw.obifirmware.com/Enabl ··· TALK.xml

Is this just for sp1 or all?
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
Looks like it's just for SP1, but if you want to change it, it doesn't look like you have to edit too many places.
Brown
join:2018-01-21

3 edits
@Mango: Were you able to figure out where to save the Google contacts file on the Obi phones?

I found this command:
find / -type f -exec grep -l 'Susan' {} \;
 
It will search the entire drive for a name in a file and display the directory and filename. It takes a long time (hours).

Edit: It runs out of memory on the command above. If we try one directory at a time maybe we can find it. The directories in the root are: bin, css, dev, home, media, proc, scratch, tmp, var, boot, data, etc, lib, obi, sbin, sys, usr
grep -rl "Susan" /media
 
I'm asking because I believe you mentioned you used ObiExtras to successfully transfer the contacts.
naf
join:2017-12-12
said by naf:

(what the hell happened to olisom anyway?)

User: olisom Last seen: 2018-05-23 16:01:45

Must be the ghost of olisom's dead 1062 haunting the forum...
naf

2 edits
i think im pretty close to a 2nd method to root stock 5859, but i need a little help...
anyone with linux shell network configuration knowledge care to assist?
naf

1 edit

6 recommendations

nevermind, it was just more bugs in obi crap software that i needed to work around. (hard writing exploits when the sw doesn't work in the first place...)

OK. i got two unrelated exploits.
Pufferty
Perpetual Newbie
join:2014-07-07
Rockville, MD
No malware injections, please! But on a serious note, isn't the fact that you have two independent vulnerabilities found, cause for concern if a malicious actor wanted to do some harm to our boxes? Or does the fact that we presumably have these behind the DMZ and firewalled off damper that concern?
naf
join:2017-12-12

1 edit

2 recommendations

said by Pufferty:

does the fact that we presumably have these behind the DMZ and firewalled off damper that concern?

Yes. you should be fine.

The 1,544 boxes that are exposed to the internet, on the other hand...

ETA: atleast now with the signature check it takes a *little* work to take over the boxes
naf

2 edits

1 recommendation

Strange: if you manually flash a squashfs image over the flash mtd where the rootfs is stored (as opposed to updating via the flash interface), you boot up into the recovery partition instead (where the webserver has no authentication and the only option is to flash a different fw file).

how the hell does that work? is it in uboot? the only way i see to check the image integrity is by looking at the checksums in the firmware file header it saves in flash from the last proper firmware update?

ETA: to answer my own question: that aint no stock uboot

U-Boot 2010.06 (Aug 23 2012 - 16:23:19)
 
SoC:   FireFoxAV
DRAM:  128 MiB
Flash: 16 MiB
CPU:   400 MHz
DDR:   400 MHz
SYS:   200 MHz
OBi: Partition 4 is not verified
     Checksum::532813b64de573e0742060c77fb4703d
       Digest::056c86d0b07279e69b36b4e26a2ac1e1
OBi is starting in safe mode
Using default environment
 
In:    serial
Out:   serial
Err:   serial
Net:   mv_enet
Hit any key to stop autoboot:  0
 

so much for creating a firmware that can simultaneously keep the shell across updates and take the obi-pushed updates automatically :-(
twinclouds
join:2010-06-12
San Diego, CA
Hi, naf:
I updated my OBI-200 to your firmware. Will it work with GV after 06/17? If not should/can I upgrade the firmware to OBI's official latest firmware? Thanks.
naf
join:2017-12-12

1 edit
said by twinclouds:

I updated my OBI-200 to your firmware. Will it work with GV after 06/17? If not should/can I upgrade the firmware to OBI's official latest firmware? Thanks.

yes, arrynrob7 is based on the latest (aint nothin official with obi) 5859 firmware, so you can use it to:
1) continue using GV XMPP until 6/18 [if anything actually happens then] without obitalk using this: »fw.obifirmware.com/Enabl ··· TALK.xml
2) switch to using GV_SIP without obitalk at your leisure using this: »fw.obifirmware.com/Enabl ··· TALK.xml (NOTE: google doesnt allow going back to XMPP after initially registering with SIP)
3) use obitalk to configure GV_SIP (NOTE: obi doesn't allow [easily] flashing 3rd-party firmwares anymore, and they'll flash a new firmware on your device even if you have 'Auto Firmware Update' disabled if you use their provisioning from the obitalk portal)
twinclouds
join:2010-06-12
San Diego, CA
naf:
Both seemed work (I tried XMPP XML and then GV_SIP XML files.) Let's hope it will work after 06/18.
One questions: In both cases, are we using Oauth2.0 or not?
Thanks.
naf
join:2017-12-12
said by twinclouds:

One questions: In both cases, are we using Oauth2.0 or not?

both use oauth2, yes
twinclouds
join:2010-06-12
San Diego, CA
Great! Thanks.

jsolo1
Premium Member
join:2001-07-01
PRIL
to naf
@Naf, just to confirm, it is possible to use gvsip (on a obi20x) with oauth2 with the arrynrob7 (5859) firmware? That is, obitalk portal is entirely bypassed and all settings are done through xml.
naf
join:2017-12-12
said by jsolo1:

@Naf, just to confirm, it is possible to use gvsip (on a obi20x) with oauth2 with the arrynrob7 (5859) firmware? That is, obitalk portal is entirely bypassed and all settings are done through xml.

confirmed. from a reset, throw in EnableGVSIPWithoutOBiTALK.xml (or modify appropriately for non-SP1), throw in an AuthPassword string. good to go.

[dont know about important faxes though :-P]

jsolo1
Premium Member
join:2001-07-01
PRIL
Thanks! Faxes are a crap shoot. With some have no problems sending/receiving, others crap out. Maybe sip will help with that, maybe not.
jsolo1
Updated the 202 to the 5859 naf7 firmware. Account on sp1 updated correctly and calls work both ways. After updating sp2, calls work in both directions but sp1 inbound is now broken. The obi doesn't even register the inbound call attempt. As soon as I disable sp2, sp1 inbound starts working again.

My guess is it has to do something with the ports.

The only lines referencing ports in the xml are as follows:

X_STUNServerPort
19302

ProxyServerPort
0

OutboundProxyPort
5061

X_UserAgentPort
5080

Best I can tell all of these refer to ports on the remote system.

Suggestions?

Edit: Or, better question is what needs to be changed in the xml to reference sp2, sp3, sp4?
naf
join:2017-12-12

1 recommendation

basic check of SP1 hooked to ITSP A, SP2 to B and not (the default) of it being all pointed to A.

the lazy way (always my preferred method) would be for someone with stock 5859 to just config both SP1 and SP2 at obitalk with different GVSIPs and see what config it pushes you.

[or do it yourself and if you get sucked into stock 5859, I can get you back to arrynrob7]

jsolo1
Premium Member
join:2001-07-01
PRIL
@naf, thanks for the quick response.

Best I can tell the profiles (ITSP) are the same for each account. I did try duplicating the entries so each voice service points to a different ITSP profile (SP1 -> ITSP(A), SP2 -> ITSP(B) ) but get similar results or it won't connect at all.
jsolo1

2 edits
FIXED!

sp1
AuthUserName
${DSN}_1

Change to

sp2
AuthUserName
${DSN}_2

edit: Take that back.. After a reboot it gets jammed up again (trying to connect). There has to be some other parameters that get set.

Edit2: After more testing, it may be an issue of too many registrations within a short period of time. By changing the variable to 3, 4, 5, etc, that seems to make google happy and accept the registration. After a factory reset, reverting back to _1, _2, respectively for sp1/2, works too.
Stewart
join:2005-07-13

1 edit
Just fixing forum's garbling:
said by jsolo1:

FIXED!


sp1
<Name>AuthUserName</Name>
<Value>${DSN}_1</Value>

Change to

sp2
<Name>AuthUserName</Name>
<Value>${DSN}_2</Value>

edit: Take that back.. After a reboot it gets jammed up again (trying to connect). There has to be some other parameters that get set.

Edit2: After more testing, it may be an issue of too many registrations within a short period of time. By changing the variable to 3, 4, 5, etc, that seems to make google happy and accept the registration. After a factory reset, reverting back to _1, _2, respectively for sp1/2, works too.

jsolo1
Premium Member
join:2001-07-01
PRIL
Stewart, Thanks! You might want to edit out the bold tag in the last line. Doesn't seem to work within the code block.
Stewart
join:2005-07-13
said by jsolo1:

You might want to edit out the bold tag in the last line.

Sorry, I wasn't thinking and did the lazy thing. Should be ok now.

jsolo1
Premium Member
join:2001-07-01
PRIL
to Stewart

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

I've migrated both boxes successfully. Fax works!

I did run into some very bizarre weirdness on the obi200 with a single gv account provisioned.

In a nutshell it appears as though call waiting is broken. It'll make the call waiting sound while on a call. If it isn't acknowledged immediately (or say within 3-4 seconds), that call will end up going to voice mail eventually but could no longer be switched to.

Thinking it was something callcentric related (CC is used for inbound calls) I disabled that in the GV settings and left it to forward only to the gvsip/obitalk device. Same issue.

I wonder if this has something to do with the static/call waiting issue reported elsewhere.

Frankly I couldn't care less if call waiting works or not. I have it disabled on my cell phone. If a call is unanswered and it's important, leave a message, send a text, etc. The rest of the household wants call waiting to work!@#

Another oddity, after the firmware update all outbound had CID blocked. Had to *82 to unblock. This was also the behavior after a reset to defaults. On the 202 this issue did not exist.
Brown
join:2018-01-21
Since we have a choice of XMPP or GV-SIP I would like to see a comparison of the two. Here's how XMPP fares:

Model: Obi302
Firmware: 3-2-1-5757EX-arrynrob5
Service: Native GV
Protocol: XMPP
Using Obitalk: no
Caller ID number display: yes
Caller Name display from GV contacts: yes
Caller Name display not in contacts: Some display (mostly companies)
Max Call Duration: 3h 0m (allows immediate redial)
Voice latency: ~70ms (excellent)
Caller ID blocking for outbound (*67): yes
Call waiting: yes
Retreive voice messages: yes from handset or computer
Complex IVR (800-426-7378): pass
Early media (647-724-3504): pass

Here's how I measured latency: Dial out with ATA phone (phone 1) to yourself on another phone (phone 2) and use a stopwatch to measure how long the delay in your voice is talking on phone 1 and listening on phone 2. 1/10 second = 100ms.

The early media number came from a 2011 post: »Bi-Directional Early Media test
'http://www.dslreports.com/forum/r26634682-Bi-Directional-Early-Media-test'
It's a Toronto number but free for GV users.
taoman
Premium Member
join:2013-09-13
Seattle, WA

1 recommendation

said by Brown:

Early media (647-724-3504):

I doubt that number passes early media. When calling that number if you look at Call Status it will show State as being "connected." That shouldn't be if it was early media. Once connected billing begins which defeats one purpose of early media.

Try calling 631-265-0000 and notice the difference that Call Status-->State displays. If you are still using XMPP I'd be surprised if you hear the pay phone message.

jsolo1
Premium Member
join:2001-07-01
PRIL

2 recommendations

Tested the above # with 2 diff xmpp based gv accounts. Both pass the deposit coin announcement properly.

That would be a great # to forward spam calls to!
Brown
join:2018-01-21

1 edit
to taoman
said by taoman:

Try calling 631-265-0000 and notice the difference that Call Status-->State displays. If you are still using XMPP I'd be surprised if you hear the pay phone message.

Yes, pay phone message.
valley_nomad
join:2012-11-26
New York, NY
to naf
My Obi302 running 5757EX-arrynrob5 can no longer make call with non-GV numbers. It can still receive incoming calls. Does this have something to do with XMPP shutdown?
Brown
join:2018-01-21

1 edit
Yes, problems today. From my post above:
Complex IVR: fails
Early Media: fails
taoman early media: pass

However, latency has never been better (50ms) maybe because a million Obi users were switched off XMPP.

To successfully make a call you can dial your own GV number and wait for it to pickup then press 2 and then dial the number you wish to make followed by the # key.
gregg_a_g
join:2008-07-03
Pinon Hills, CA
So, I have an OBI302 that I'm trying to setup with a local service provider. I was able to install OBi2-3-2-2-5859EX-arrynrob7.fw on the device. I can get to the webpage and
all that. When I try to ssh into the device with "obi" as the password it doesn't let me in. I want to clear the zt params so I can register with OBITALK. Can anyone
help me with the correct password for this firmware? I got the OBI302 off ebay quite some time ago and hadn't tried to use it until this week. I think I should have gotten a 202 instead, but didn't know any better when I got it.
Brown
join:2018-01-21
I used PuTTY (Windows) then root and obi
Avoid Obitalk.
The Obi302 should do everything the 202 does.
valley_nomad
join:2012-11-26
New York, NY
to naf
It looks like that I have to update my Obi302 with 5859EX-arrynrob7. Do I just need to flash new firmware, enable GV SIP as described on the second page of www.obifirmware.com/OAuth2/ and I don't have to go through Oauth2.0 thingy again?

jsolo1
Premium Member
join:2001-07-01
PRIL
Your oauth2 credentials don't change when using gvsip. There are some additional parameters that do get established. Some are hidden and must be done through the xml file, others are not. The xml file takes care of both.

Review the file at »fw.obifirmware.com/Enabl ··· TALK.xml .

If you're using something other than sp1 for the gv account, the file will have to be modified to reflect this. I'm at at the computer with my notes for the changes at the moment, so let me know if you need them.
valley_nomad
join:2012-11-26
New York, NY
said by jsolo1:

....
If you're using something other than sp1 for the gv account, the file will have to be modified to reflect this. I'm at at the computer with my notes for the changes at the moment, so let me know if you need them.

Thanks. Yes, I do need to add another GV account to my Obi302. I would appreciate it if you could share the notes.
gregg_a_g
join:2008-07-03
Pinon Hills, CA

1 recommendation

to Brown
Hey, thanks Brown! I guess I forgot to login as user "root". Works fine now.
Why don't you like Obitalk - is it like Google where they just try and get your information? I used the local webpage to setup with my flowroute.com account
and it seems to be working more or less.

The reason I was trying to clear the zero touch was because I thought it might be
causing problems with the device on another service (looks like it was originally used with Phonepower). The LED light for Phone 1 is flashing and the webpage says "off hook". The LED light for Phone 2 is solid green and the webpage says "on hook". It doesn't matter if I plug my phone into Phone 1 or Phone 2 port - the LED light for Phone 1 keeps flashing and if I pick up the phone it gets weird static/noise but no dial tone. Phone 2 seems to sound okay. I wonder if I have a bad device, or if there is some kind of diagnostic I can do. I reset to factory default, and it's still the same.

On the webpage for Physical Interfaces, Phone Port 1 and Phone Port 2 have everything set to "default" and they both look the same.

Thanks for your reply!
Brown
join:2018-01-21

1 recommendation

Obitalk forces firmware updates that cannot be undone. So, if the new version breaks something, you cannot go back to a version you like. You would have to wait for them (only them) to come out with a fixed version.

The slow blinking phone light means off-hook. It sounds like that port is bad.
gregg_a_g
join:2008-07-03
Pinon Hills, CA
Ah, okay I get it. Once you get on Obitalk they "push updates", etc. Is that part of autoprovisioning? Anything good about Obitalk, like the direct calling?

So maybe I got a partially bum unit - with one port bad. I guess I'll try it for a while on Port 2 and see how the quality of the calls sound. Is the 222-222-222 number the best test number?

If the calls don't sound good, or if quality deteriorates over time, maybe the whole unit is suspect/bad? I was using a Grandstream GXV3000 and the sound quality was just not too good, so I decided to try a regular phone and an ATA. So far I have mixed results!
Brown
join:2018-01-21
I've read that even people that had auto provisioning off, Obitalk service disabled, and auto firmware off were still being pushed. If the device is registered with Obitalk they will sneak the firmware update onto your device.

They were also forcing people into GV-SIP (Google Voice) and that is a permanent change also. Now it looks like everyone using GV has to change anyway as XMPP is failing for many.

The 222... looks like an Obitalk number. That's not available without being registered. Same for the Obi number written on the bottom of the unit.

jsolo1
Premium Member
join:2001-07-01
PRIL

2 edits
to valley_nomad
sp4.xml.zip
1,244 bytes
Look at my earlier post in this thread - »Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

Attached is the xml for sp4. Adjust for sp2/3 accordingly.

@Brown,

I have everything under auto provisioning disabled as well as obitalk under voice services. Both obi's registered with obitalk. So far no obispam pushed to either box. I think it was determined earlier that having all the live update stuff disabled but obitalk enabled is what opened the door.

Remember, the official firmware prevent downgrading and only allows flashing of signed firmware going forward.

Edit: Since flashing the modded firmware I went ahead and divorced the device from obitalk entirely. Using custom generated oauth2 keys so no reliance on the portal entirely.
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
to Brown
said by Brown:

I've read that even people that had auto provisioning off, Obitalk service disabled, and auto firmware off were still being pushed.

The settings to disable auto firmware update are: Auto Firmware Update, ITSP Provisioning, OBiTALK Provisioning, and OBiTALK Service.

OBiTALK service is the one people usually leave on by accident.
gregg_a_g
join:2008-07-03
Pinon Hills, CA
to jsolo1
Why do you "register" with Obitalk, but then disable the service? What is the advantage of "registering"?

Do most people like the voice quality with the OBI 202 or 302? Or are the VOIP phones generally regarded as higher quality voice? If using an ATA I guess a lot has to do with the quality of the analog phone, yes?

jsolo1
Premium Member
join:2001-07-01
PRIL
A year ago there was no manual way of provisioning the google account on an obi device so one had no choice. I never bothered to remove them from the obitalk portal account.

Audio quality is as good as your weakest link. Voip- voip will generally provide the best quality.
Brown
join:2018-01-21

1 edit
to gregg_a_g
The Obi phones (1022, 1032, 1062) have the G722 codec for the best audio quality.

I'm using Google Voice which doesn't support G722 but some VoIP providers do.
zapattack
join:2012-07-02
CANADA
to taoman
Pay phone message no longer works on GV, even through dialing 2 on VM!
Does play busy tone after timeout.
Should 200 be removed from Obi Dashboard, or is that relevant?
Would be nice if re-boot flashed red led, to show progress.

Otherwise a great job!
naf
join:2017-12-12
If anyone gets upgraded to 5897EX and feels adventurous, let me know...

jsolo1
Premium Member
join:2001-07-01
PRIL
^^ From the reports over at the dark side, it sounds like it breaks more than it fixes. You got fixes for its 'fixes'?
naf
join:2017-12-12

1 recommendation

Mostly just want to check for any 'security' upgrades.

Can't know anything without a link or a live victim since they won't auto-upgrade me :-(
Brown
join:2018-01-21
Gregg_a_g asked about voice quality in the ATA's (above). The 200-302 models are only pots quality. How difficult would it be to add Opus? The Obi phones have it and GV supports it. Maybe replace one of the lesser codecs if it's easier doing that.
Brown
Happy Birthday United States. 242 years young.
DJB628
join:2018-05-28
Delray Beach, FL
to jsolo1
I assume this XLM file applies to all versions of the OBI ??

Since I'm getting my OBI 202 in the next day or so I want to make sure.
DJB628
to Brown
So if all of this is disabled, what other steps do I take to make sure it's not registered with OBItalk, since I'm receiving a new 202 tomorrow in the box. Do I need to make sure something else is disabled before I connect it to a working internet ?? Other then the below described ??

"" The settings to disable auto firmware update are: Auto Firmware Update, ITSP Provisioning, OBiTALK Provisioning, and OBiTALK Service.

OBiTALK service is the one people usually leave on by accident. ""

jsolo1
Premium Member
join:2001-07-01
PRIL
to DJB628
said by DJB628:

I assume this XLM file applies to all versions of the OBI ??

Since I'm getting my OBI 202 in the next day or so I want to make sure.

It's xml file, and yes, to the obi2xx/3xx series (as indicated on obifirmware.com).

See attached pdf's for what to disable.
DJB628
join:2018-05-28
Delray Beach, FL
to jsolo1

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

Thanks

XML was a typo, LOL
dotrat
join:2001-03-08
Madison, WI
to naf
My OBI200 has been connected to GVGW and until recently it's been fine. Lately I am having trouble making outbound calls. I started poking around at obifirmware.com and ran across new firmware. I'm currently on 3.1.0 (Build: 5264). I do not use the obi portal. Can I just simply upgrade to "arrynrob - for OBi200/OBi202/OBi300/OBi302 (Untested: OBi212)" and then reauthorize GV. I've read through the posts but can't tell if I can go from my current firmware version to the user developed one. Thanks and sorry about the PM.
DJB628
join:2018-05-28
Delray Beach, FL
From what I have read the answer is NO, if you were pushed the latest FW, but I'll let the expert confirm this.

But I assume if there is a new update that will resolve your outbound calls, you'll need a reboot. Wait until someone more experience responds.
Brown
join:2018-01-21
to dotrat
said by dotrat:

My OBI200 has been connected to GVGW and until recently it's been fine. Lately I am having trouble making outbound calls. I started poking around at obifirmware.com and ran across new firmware. I'm currently on 3.1.0 (Build: 5264). I do not use the obi portal. Can I just simply upgrade to "arrynrob - for OBi200/OBi202/OBi300/OBi302 (Untested: OBi212)" and then reauthorize GV. I've read through the posts but can't tell if I can go from my current firmware version to the user developed one. Thanks and sorry about the PM.

The general steps are as follows:

On the Simonics site you should 'Deauthorize Google Voice Connection'.
If you're using Obitalk, log in and remove the device from your account.
You probably should 'reset' the Obi by holding the button (with a straightened paper clip) until the lights change.
On your Obi's local gui turn off all the Obitalk stuff (autoprovisioning, voice services). Also turn off autofirmware update.
Then download and update the firmware from Obifirmware.com.
Provision for XMPP or GV-SIP (your choice):

There may be no going back to XMPP if you choose GV-SIP. Right now XMPP is flaky for outbound in that you need to dial your own GV number, then press 2 and dial the desired phone number and press #. This might not ever change back to normal. The GV-SIP method is working for most people now. I'm still on XMPP which is enjoying very low latency right now probably because most Obihai boxes were switched over to GV-SIP and with relatively few users XMPP is fast.

The most time consuming step is obtaining a oAuth2.0 password for your GV account. You could start with this step if you want. Copy and paste each section of it to a Notepad because it never expires. It can be used for other Obi's you may purchase in the future that you want to have access to that same GV account.

You'll then paste the new oAuth2 password into the Obi 'SP1 Service' AuthPassword and type your gmailname@gmail.com into AuthUserName.

Keep us informed of success or failure, we're all learning.
dvpatel
join:2007-08-11
Pineville, NC
If GV-SIP is working fine, why are folks still trying to hang on to XMPP? What are the downsides to switching to GV-SIP if someone nolonger wants to tinker around?

Trying to determine a course of action for myself and my down OBi200

jsolo1
Premium Member
join:2001-07-01
PRIL
If you only use the gv # on an obi box I don't see a downside. For those of us running the account on a pbx, the downside is for now we're still able to receive calls via xmpp without any changes. Direct outbound is partially broken - some (most) numbers have only one way audio.
zapattack
join:2012-07-02
CANADA
Help!
Upgraded successfully to -7.fw yesterday.
Today Status is 'Connected' but only incoming works (when device selected in GV).
OG gets '488 Not Acceptable Here'.
Do I need a new token or.....?

jsolo1
Premium Member
join:2001-07-01
PRIL
Some googling of what 488 means suggests a codec mismatch. Is G711U enabled in the codec profile you have specified?

Maybe other have more details on resolving a 488 error.
dvpatel
join:2007-08-11
Pineville, NC
to jsolo1
said by jsolo1:

If you only use the gv # on an obi box I don't see a downside. For those of us running the account on a pbx, the downside is for now we're still able to receive calls via xmpp without any changes. Direct outbound is partially broken - some (most) numbers have only one way audio.

Thank you. Yes. I have me and a bunch of family on the OBI 200s. I can find time and tinker. But the rest barring a couple of 'em are not able to tinker so I can walk them through the process of just re-setting the Obi after I do mine in the next couple of days.
zapattack
join:2012-07-02
CANADA
to jsolo1
Many thanks!.
My SPA942 had 711u and 711a as 1st and 2nd preferred.
By accidentally enabling 729a, calls failed until I checked
'Use Preferred Only'.
Bizarre?
So Google rejected the connection merely because the codec was available?
gtb
Premium Member
join:2016-05-16
united state
to Brown
said by Brown:

The Obi phones (1022, 1032, 1062) have the G722 codec for the best audio quality.

I'm using Google Voice which doesn't support G722 but some VoIP providers do.

Actually, the Obi phones also support Opus, and GV supports that (so if you have end-to-end Opus you can get good quality).
Brown
join:2018-01-21
Yes, the phones are great. I wish the Obi ATA's had G722 or Opus. I'm hoping naf can add one of them. Maybe copy from phone and paste into ATA over one of the lesser codecs. If only it was that simple
DJB628
join:2018-05-28
Delray Beach, FL

1 edit
to Brown
said by Brown:

There may be no going back to XMPP if you choose GV-SIP. Right now XMPP is flaky for outbound in that you need to dial your own GV number, then press 2 and dial the desired phone number and press #. This might not ever change back to normal. The GV-SIP method is working for most people now. I'm still on XMPP which is enjoying very low latency right now probably because most Obihai boxes were switched over to GV-SIP and with relatively few users XMPP is fast.

Just curious I did do the dialing of my GV # and using the prompts with my OBI 100 and worked NP. You mentioned about the OBI 202 to setup up for Naf, during setup to choose the Provision for either GV-SIP or XMPP, I thought you could only use SIP if your GV was converted, so once I get my OBI 202 today, I can set it up for GV-SIP right away and have no issues with the dialing out process ?? I have both refresh tokens setup for my 2 numbers for when my OBI 202 arrives, so want to make sure before I set it up that I don't make a mistake and can't go back to something if needed.

Thanks in advance,
Brown
join:2018-01-21
I believe GV-SIP is working normal for most users. When you use the provisioning XML file for GV-SIP (at Obifirmware.com) your GV account will be converted to GV-SIP if it wasn't already.
OZO
Premium Member
join:2003-01-17
to naf
I'm trying to convert my OBi200 to new GV XMPP and setup OBi200 as a proxy for my FreeSWITCH server. Updated FW to 3.2.2 (Build: 5859EX-arrynrob7) and trying to set OBi200 to be ready for accepting OAuth token. In order to do so, I'm following the instructions from Google Voice on OBi ATA Manual Configuration. Second page tells, that I have to set System Management, Auto Provisioning, ConfigURL (if you want to use XMPP) to »fw.obifirmware.com/Enabl ··· TALK.xml.
I did it. Then it tells that "These settings will disappear after you reboot". And " OBi will reboot twice. The second time, Google Voice is enabled.".

My OBi has rebooted only once, the setting in ConfigURL still there and nothing happened...

What should I do now?

And to make things a bit more complicated, I'd like to set OBi200 as proxy server using "ITSP Profile D" with "Voice Services | SP4 Service". Should I edit the XML file provided and change VoiceService.1.VoiceProfile.1.Line.1 to VoiceService.4.VoiceProfile.1.Line.1?

Appreciate any advice
Brown
join:2018-01-21
It will boot twice if any changes were made to the settings.
The XML at Obifirmware for GV-SIP is only for ITSP Profile A. To make your own XML for profile D it would be VoiceService.1.VoiceProfile.1.Line.4.
OZO
Premium Member
join:2003-01-17
to naf
Thank you, Brown See Profile for looking at it.

My OBi200 had rebooted only once. And ConfigURL string still the same... I've rebooted many times since that to make configuration changes preparing to GV. Where should I look at to see any signs that XML file was actually accepted?

In order to prepare OBi to GV with ITSP-D/Voice Servie-4 I've made changes:
ITSP-3 | General - SignalingProtocol: Google Voice
Voice Service-4 - AuthUserName - (my GV address) and AuthPassword (long string for OAuth).
But after reboot status for SP4 is still "Service Not Configured"...
Brown
join:2018-01-21
To do the XML file correctly compare the GV-SIP version to the XMPP version which provisions A-D. Maybe try provisioning profile A while hosting your own XML (using stock XML file) to make sure your host is setup right.

jsolo1
Premium Member
join:2001-07-01
PRIL
Review the XML file I posted earlier in this thread for sp4. Modify for what ever SPx slot you're using.
Brown
join:2018-01-21
to OZO
said by OZO:

In order to prepare OBi to GV with ITSP-D/Voice Servie-4 I've made changes:
ITSP-3 | General - SignalingProtocol: Google Voice
Voice Service-4 - AuthUserName - (my GV address) and AuthPassword (long string for OAuth).
But after reboot status for SP4 is still "Service Not Configured"...

In Voice Services, SP4, X_ServProvProfile set it to 'D' because you provisioned ITSP-4.
What are the plans for ITSP-3 ?
OZO
Premium Member
join:2003-01-17
It was a typo for ITSP-3. Please read it as ITSP-4. Sorry for confusion...

It should be:
ITSP-4 | General - SignalingProtocol: Google Voice
Voice Service-4 - AuthUserName - (my GV address) and AuthPassword (long string for OAuth).

ITSP-3 was used with GV earlier and now it's disabled. SP3 service X_ServProvProfile was correctly set to C.
OZO
to jsolo1
I've downloaded your sp4.xml file. Thanks! But now I don't know how to load it into OBi configuration. What should be set in "ConfigURL" for "ITSP Provisioning"?

jsolo1
Premium Member
join:2001-07-01
PRIL
Easiest is with a local tftp server.

»tftpd32.jounin.net/tftpd ··· oad.html

Stick the xml in the same folder as the tftpd executable.

In obi, use tftp://192.168.1.69/sp4.xml . Replace the ip with the ip address of the machine tftpd is executed on.
Brown
join:2018-01-21
to OZO
said by OZO:

I'm trying to convert my OBi200 to new GV XMPP and ...

Did you mean GV-SIP ?
OZO
Premium Member
join:2003-01-17
to jsolo1
Thanks! I'll try it a bit later.
OZO
to Brown
No, I want to keep XMPP as long as I can. This time I'm preparing OBi200 as a proxy between GV and FreeSWITCH.
Brown
join:2018-01-21
The jsolo1 XML is for GV-SIP as a reminder.

jsolo1
Premium Member
join:2001-07-01
PRIL
If you have an obi20x, there's little reason to keep xmpp. I'm keeping it on one particular account because it's only configured in the pbx, not obi. For now I can still receive calls through, and place calls by dialing my own gv #, then 2 to place a call.

Edit: Actually this is to OZO.
Brown
join:2018-01-21
I was worried OZO was confused about whether he wanted XMPP or GV-SIP. I'm certainly confused now
OZO
Premium Member
join:2003-01-17
to Brown
That means I'm back on square 1... trying to set GV XMPP in SP4 / ITSP-4. And so far, I can't even upload EnableGoogleVoiceWithoutOBiTALK.xml file.
Brown
join:2018-01-21
to OZO

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

The XMPP XML does all 4 at the same time. I'm thinking you may have not given the Obi enough time to finish the provisioning.

jsolo1
Premium Member
join:2001-07-01
PRIL
to OZO
OZO, tell us exactly what you're trying to accomplish (and why). We can then try to point you in the right direction.

Also tell us if your gv legacy forwarding still shows google chat?

Based on your post in »Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods , it appears you do what gv sip, not gv xmpp because with the latter you'll only have one way audio for most calls.
OZO
Premium Member
join:2003-01-17
I'm trying configure SP4 / ITSP-4 as proxy for FreeSWITCH (thus to upload EnableGoogleVoiceWithoutOBiTALK.xml file as a first step).

And, yes, my GV legacy forwarding shows Google's Chat.

jsolo1
Premium Member
join:2001-07-01
PRIL

1 edit

1 recommendation

If you're using the obi as a proxy, why is xmpp important?

Also, it's my understanding that when used as a proxy, you really only have 3 functioning voice service provider slots, the 4th is used as the proxy. That is SP1..SP3 can have gv configured, SP4 will be what freepbx/freeswitch/etc will log into to use the other 3 trunks.

-------------------

Edit: I feel for all the souls stuck with the obi locked firmware and unable to get their devices functional because of broken software and/or ongoing changes at google voice. This is a good reminder about waiting before updating. An update may indeed be great - fix bugs, introduce new features, etc. Or it may introduce new bugs and break features
OZO
Premium Member
join:2003-01-17
SP1 used to connect to FreeSWITCH (currently connected with GV), SP2 used with VoIP VSP, SP3 currently keeps old configuration with GV. Therefore I want to try to use SP4 as proxy.

As I mentioned, I want to use XMPP as long as I can, because conversion to GV-SIP is irreversible. I'm afraid to jump into it as it's a big uncertainty...

jsolo1
Premium Member
join:2001-07-01
PRIL
@azrobert, maybe you can point to one of the recent obi proxy guides you made? I can't seem to find one of the newer ones.

@ozo, see this. See how sp4 is being used as the proxy trunk for the ip phone to connect to, which then uses the sp1 gv to actually make/receive calls.

»www.obitalk.com/forum/in ··· =12492.0
jsolo1
to OZO
I think this is what you want.

»[Asterisk] How to turn your OBi20x device into a SIP-to-GVSIP bridge
OZO
Premium Member
join:2003-01-17
jsolo1 See Profile, thank you for the links.
Here is yet another set of instructions how to do that - Creating an OBi200 Google Voice Trunk to Use with Asterisk – Nerd Vittles.
OZO
Here is a good news. After yet another rebooting of my OBi200 ConfigURL in Provisioning finally got cleaned and the status for SP4 Service shows Status = Connected. I don't know what does it means and how to test that, but it looks promising...
DJB628
join:2018-05-28
Delray Beach, FL

1 edit
to Brown
OK, got it, but to make sure I'm not messing up before I set this up later today, and yes, I'll connect the OBI 202 later with no internet to make sure I update to Naf FW 1st, then disable all before I connect the internet back.

Since I had already set up the OBI for XMPP, I now have to go back into the Web portal, and change

1) ITSP provisioning too, Method system start and add the SIP XML file URL, then reboot
2) My refresh token stays the same, so I don't have to worry about that again.
3) Then in the final step again of the OBI ATA manual configuration, I go to Voice services SP1, and I delete the Gmail address, which is no longer needed because of SIP ?? and simply leave the current Auth Password I had or enter it again ??

Also curious while I'm here, if I do the same above on my OBI 100, will the dial out work normal again, if Yes I'll keep the 100 as a backup or use somewhere else.

Don
Brown
join:2018-01-21
1) correct
2) correct
3) No. Just leave it be.

Obi100 - will NOT work natively with GV-SIP. You'll need naf Asterisk or azroberts link-to-Obi202 method.
DJB628
join:2018-05-28
Delray Beach, FL
I'm running into a snag, I'm trying to install the FW from Naf, for the OBI 202, I disconnected the modem to the router and connected the OBI 202 to the router, I'm trying to access the OBI web portal, but it won't open, I first used the OBI 100 IP address, that didn't work, I then dialed *** and after the prompt I press 1, to obtain the IP address, I entered that and still can't access the web portal. Says requested URL not found. Any suggestions, so I can install the Naf FW before I connect it to the internet, so it doesn't install the OBI FW ?? and I can disable all I need to do first
Brown
join:2018-01-21
The 202 has a LAN. Just connect a computer directly to it instead of through the router and WAN.

jsolo1
Premium Member
join:2001-07-01
PRIL
to DJB628
Or you can do this:

»www.obitalk.com/info/faq ··· from-WAN
DJB628
join:2018-05-28
Delray Beach, FL
to Brown
I feel like a spaz here, Ive'd both way, from router as I mentioned, then I did as you mentioned from the Lan port direct to the PC, and typed the IP address I got from calling, and still does not connect. I also enabled and disabled Wan, and still no luck connecting to the web portal.

Maybe the step of press to enter a new value, am I suppose to enter something for the value. ??
Brown
join:2018-01-21
Use a static IP on the computer for now.
DJB628
join:2018-05-28
Delray Beach, FL
Meaning ??
Brown
join:2018-01-21
Static means fixed (not dynamic). Google for the steps on your OS. It's easy.

jsolo1
Premium Member
join:2001-07-01
PRIL
to DJB628
From a factory reset state, following the steps above has always worked for me.

Specifically:

- Dial ***0 from the phone connected to the OBi202
- Enter 30#
- Press 1 to Enter a New Value
- Press 1# to Enable
- Press 1 to Save

Look to your router or dhcp server to determine what IP is assigned. Or you can pick up a handset and dial ***1.

Try a different pc/browser?
DJB628
join:2018-05-28
Delray Beach, FL
I did do ***1 and said your IP address is not available, then it said DCHP is enabled.
DJB628
Maybe I need to do a Factory Reset, before it said the IP address was 192.168.1.104, now says not available.
DJB628
to jsolo1
Remember i'm not connected to the router now, I was told to go direct from PC to the OBI 202, so router won't show IP assigned.

jsolo1
Premium Member
join:2001-07-01
PRIL
I missed that part. Well, if the device is assigned to get ip via dhcp and it's not connected to any dhcp server, it's not going to get an IP!

I've seen obi dhcp issues before, rebooting is not enough, a power cycle is required.
DJB628
join:2018-05-28
Delray Beach, FL
Power cycle meaning to unplug the power cord ?
DJB628
If I connect it quickly to the internet, will that give it an IP address ??

BTW, I did try 3 different browsers

jsolo1
Premium Member
join:2001-07-01
PRIL
Power cycle = unplug power, plug back in. Do not connect it to the internet until all the auto update options are disabled.
DJB628
join:2018-05-28
Delray Beach, FL
Did that, and still says IP address not available. I'm lost for words here.

jsolo1
Premium Member
join:2001-07-01
PRIL
Factory reset the obi with the reset button. Disconnect the router from the internet. Connect the obi to it. Attempt the *** codes above.
DJB628
join:2018-05-28
Delray Beach, FL
Got it, tried FR and couldn't get the damn thing to reset, put the paperclip in the small hole but couldn't feel anything.

Anyways I decided to google on You Tube, and found the default IP address is 192.168.10.1, and it worked.
DJB628

1 recommendation

OK, updated FW, and disabled all, will connect to the router now and set the rest up.
DJB628
join:2018-05-28
Delray Beach, FL

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

OK, now I set up SP2 for my fax line for the 2nd GV line, will that work or now ?? or is this good only for one line. ?? or did I get a 202 for nothing ??
Brown
join:2018-01-21
The XML just does ITSP-A. You'll need to edit it and host it locally to configure ITSP-B. See jsolo1's downloadable version which he edited for ITSP-D. You could leave it and use SP4 (or SP2 pointing to ITSP-D) or edit it.
DJB628
join:2018-05-28
Delray Beach, FL
OK, I'll have to check it out and see. In the meantime the 2nd line can still call ??

And when you say I have to host it, what does that mean ??
Brown
join:2018-01-21
Not until it's provisioned with the XML. How's line 1 working? Good?

See jsolo1's post yesterday.
DJB628
join:2018-05-28
Delray Beach, FL
Got that, and when you say I'd have to host it, what does that mean, and how do I go about doing that, and thanks for all your help to both of you.

I also assume to edit the XML file, I have to use a special editor ??
Brown
join:2018-01-21

4 edits
jsolo1 posted yesterday (last night) how to use tftpd32 to host the XML.

Edit XML files with Notepad or any ASCII editor.

Edits:
@Obi1Fw - Do you want to host individual XML's for each ITSP ? Either 4 or 6 files (the Obi phones have 6). I think that would be awesome.
DJB628
join:2018-05-28
Delray Beach, FL
I'll have to check that out, do you have the link to that ??
Brown
join:2018-01-21
It's 2 pages back in this thread.

You should try out transferring your Google Contacts to the Obi202. This thread, much further back, has details on how to do that. It works great with XMPP and should work similarly with GV-SIP. The purpose is to display the callers name on the phone.

jsolo1
Premium Member
join:2001-07-01
PRIL

1 edit

2 recommendations

to Brown
sp1.xml.zip
1,237 bytes
sp3.xml.zip
1,242 bytes
sp2.xml.zip
1,242 bytes
sp4.xml.zip
1,243 bytes
   
Here's all the SP's.

Should be accurate. Used the sp4 from earlier as the template.

Link to previous post about how to serve this locally: »Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

Format for AuthPassword = client_id={CLIENT_ID}&client_secret={CLIENT_SECRET}&refresh_token={REFRESH_TOKEN}&grant_type=refresh_token

Items in the brackets are unique to your client_id, secret and refresh token. Do not enclose in brackets.

Example

client_id=abcd1234&client_secret=efgh5678&refresh_token=ijkl9abc&grant_type=refresh_token
Brown
join:2018-01-21
Excellent, thanks. I'm hoping Obifirmware (or someone) will host them to make it super easy for everyone.
Chrushev
join:2008-07-30
Newport Beach, CA
to jsolo1
which Codec is everyone using on their Obi and Google Voice?
Chrushev
to jsolo1
Hey @jsolo1 when I was going through the process of generating mine I noticed one of the pages had a countdown stating it would expire after like 3000 seconds. What does this mean? Is this long AuthPassword only needed once on setup? So its ok if it expires? Or is it used every time the Obi reboots?
Brown
join:2018-01-21
to Chrushev
The default codec order on my Obi302 is:
G711u
G711a
G729
G726R32
ILBC

jsolo1
Premium Member
join:2001-07-01
PRIL
to Brown
said by Brown:

Excellent, thanks. I'm hoping Obifirmware (or someone) will host them to make it super easy for everyone.

I don't think that's a good idea. Too easy for novices to let the device update to official firmware, thus locking the door permanently to this method. The tftpd program and method is super easy, requiring less than a minute to do.

@Chrushev, use G711U and call it a day.

The count down refers to Access token. Don't worry about it. The refresh token is the one we use.

The authpassword field will look like this after a reboot (see image above). I suggest pasting it in one of the itsp service provider profile/general fields. I use service provider info/URL. This way it gets saved in the backup and just a matter of copying/pasting when doing a restore.
DJB628
join:2018-05-28
Delray Beach, FL
to jsolo1
Thanks for the files, I download the SP2 zip file, and will check it out tomorrow. I'll edit it with my refresh token as you mentioned.

Then I'll look into the Tfptd link you posted and check it out, are their instructions on setting it up ?? I assume it's pretty easy.

Also for those that have the same issue I had to update the OBI 202 without internet with the latest FW from Naf, here is a screenshot of the default IP, if needed.

As for the contacts, I really don't need it as I only use the line as a backup and the 2nd line will be for a fax only, but thanks for the info

Thanks again.

jsolo1
Premium Member
join:2001-07-01
PRIL
There's nothing to edit in the SPx.xml files. You add your credentials to the respective fields by logging into the obi's local IP. You can do this before or after you load the xmls.

You can download the portable version of tftpd, extract to a folder, then copy the xml files to the same folder. Execute it, then point the obi to it and done. Close when done. Sorry, that's about as simple as it gets.
Chrushev
join:2008-07-30
Newport Beach, CA
to jsolo1
@jsolo1 yeah mine worked fine I was just a bit concerned with things expiring and stopping working. Good to hear that its all good though.

In regards to codecs. Id really love to use iLBC, it uses a quarter of the bandwidth of G711U and most importantly gracefully handles packet loss. Yet sounds almost exactly the same. But am not sure if GV supports it? Its googles codec now, so they should right?

Obviously Opus would be the best thing, but it appears that Obi200 doesnt support it. I dont know much about Opus, but its free and open source for use »opus-codec.org/license/

Is it possible to add Opus support to Obi200 ?

jsolo1
Premium Member
join:2001-07-01
PRIL
What you see is mostly what you get. Maybe naf can address if that's possible or not.

Calls use bandwidth in terms of kbps. Unless you're on a really slow dsl link, there should be plenty of bw for at least a few calls.

With this much bw, I don't care what codec it uses.
phonesimon
join:2014-10-08
Pennsylvania

1 recommendation

to Chrushev
With Google Voice your choices are G.711u and Opus. Therefore on the obi200 your only choice is G.711u. Don't bother with any other codecs because they won't be used.
Chrushev
join:2008-07-30
Newport Beach, CA
@phonesimon, what about compiling OPUS for Obi200. Is it possible?

OBI200 CPU is ARM, and OPUS's FAQ states it runs on ARM - »mf4.xiph.org/jenkins/view/opus/

(i sshd into my Obi200 really quick and heres cpuinfo)

===========================
Processor : ARM926EJ-S rev 5 (v5l)
BogoMIPS : 159.74
Features : swp half fastmult edsp java
CPU implementer : 0x41
CPU architecture: 5TE
CPU variant : 0x1
CPU part : 0x926
CPU revision : 5

Hardware : Marvell FFxAV

=========================

(more on that CPU - »infocenter.arm.com/help/ ··· _trm.pdf)

Opus provides the Source code with no strings attached. Seems like just a matter of compiling and putting it in? Im not going to pretend that its easy. Im merely curious if its possible.
Chrushev
Another question regarding contacts. Why do we need to convert contacts into .xml file and put it on the Obi? Custom firmware cant grab the contacts from our Google Voice contacts list?
Brown
join:2018-01-21
naf modified the firmware binary code. He does not have the source.
DJB628
join:2018-05-28
Delray Beach, FL
to Brown
Yes, line 1 is working great, no issues so far, tested both incoming and outgoing calls, thanks again
DJB628
to jsolo1
I too will give this a shot in a bit, thanks Jsolo.
DJB628
to jsolo1
OK, quick question for you

1) The OBI 202 I had already set up credentials for the SP 2 already, so that is done

2) I downloaded your SP 2 xml file

3) I downloaded the potable TFPT file, saved to a folder on my desktop, I extracted in that folder, I unzipped your SP2 xml file and put it in the same portable folder on my desktop.

4) I then got my IP address for the device I have TFTP folder on

Now I have to setup in settings for the TFPT to Bind to the IP address of my PC it's on ??

How do I point the OBI to it, and how do I get the SP2 xml file on the OBI now. I'm assuming since I have the xml SP 2 file in the TFPD folder, I have to direct the config url to that folder and I assume to do that I have to add the PC IP address in that field ?? which is what you meant by pointing the OBI to it ??

Am I missing anything else ??
DJB628
to jsolo1
OK, I set up the TFPTD as shown in this video,

»youtu.be/YdVEonLMWYs


If I did this wrong let me know.

Now I just need to know how to get the OBI to direct to the SP2 XML file.
Brown
join:2018-01-21
In the Auto Provisioning, ITSP Provisioning, Method, System Start and ConfigURL something like: tftp://192.168.10.1/sp2.xml
Replace the address with your own temporary servers address.
DJB628
join:2018-05-28
Delray Beach, FL
Got it, one more question, does PC always need to be on ?? If it does, doesn't this defeat the purpose to have the PC running 24/7. I usually keep the PC in Sleep mode when not in use.
Brown
join:2018-01-21
No, just for provisioning one time. The 'system start' will change to 'disabled' or you can change it yourself after provisioning is complete.
DJB628
join:2018-05-28
Delray Beach, FL
OK, let me give it a whirl and I'll test it out and report back.

Thanks
Anon4a2ae
@rr.com

1 recommendation

to Chrushev

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

said by Chrushev:

@phonesimon, what about compiling OPUS for Obi200. Is it possible?

The codec is on a dedicated chip. I do not believe it supports Opus.

Opus provides the Source code with no strings attached.

The source code is available. The license to use has some requirements.
DJB628
join:2018-05-28
Delray Beach, FL
to Brown
Still playing with this, somehow my desktop IP keeps getting changed, even though I have the address assigned in my Nighthawk Netgear router. Maybe I'll need to assign a static IP to it, let me figure this out.

Unless it's the TFTP app that keeps changing it ??
Brown
join:2018-01-21
What I would do, if you have another PC, is connect it to the LAN port on the Obi while leaving the other connections as is. Run tftpd32 on LAN PC.
DJB628
join:2018-05-28
Delray Beach, FL

1 edit
Well lets try this first, I have the router issue squared away. Netgear had an update this morning, so I manually updated and that's when I started having these issues, I reverted back to the previous FW and all is normal again.

OK have all the settings set like the video for the TFTP, and that is open now. I'm also using the portable version like Jsolo said. Now I check the ITSP settings in the portal, and it's back to disabled, which I assume is normal, since it says in the instructions that lt'll disappear after reboot.

So here is my confusion now, you gave me the link to edit for the Configurl, but I already did this for the 1st line with the Naf link which says works only for SP1, so now am I using my own URL and that'll wirk for both SP1 and SP2 now ?? or is there a separate place for the configurl for both SP 1 and SP 2 ??
Brown
join:2018-01-21
For second paragraph, set to 'System Start' (unless you already booted it up of course).
The XML will provision only whatever is in the XML. So, in this case only for SP2.
DJB628
join:2018-05-28
Delray Beach, FL
Got it, I'll give it a whirl, I'll report back
DJB628

1 edit
to Brown
OK, did it, and on the TFTP, I saw it said 100% progress, so it looked like that worked. I disconnected phone from line 1 and plug it in line 2 can called the 2nd number for that line, and it did not ring. So I put it back in line one and called line one and still works. Seems like I missed something ??

I did make sure I entered the proper info in SP1 and SP2

Now both lines don't work, LOL

Back to the drawing board, I'll the 1st line back up again and get that one working again. I'll go through the whole process again.
DJB628
to naf
OK, went back and did the Naf configurl link again for SP 1, and the 1st line is back working. I must be doing something wrong for SP2. I'll wait too see what else you guys suggest.

I do have the SP2 in the folder where the TFTP is, and I did create the link as you mentioned, 192.168.1.**/SP2

jsolo1
Premium Member
join:2001-07-01
PRIL
X_InboundCallRoute under Voice services/SPx Service determines which phone interface an inbound call gets sent to. Obi202 has 2, ph1 and ph2, corresponding to the respective port on the device.
DJB628
join:2018-05-28
Delray Beach, FL
That is correct, and I have SP1 set to the 1st GV number with the SIP credentials, and SP2 set to my 2nd GV number with the SIP credentials.

Once I did the configurl with the SP 2 info link as Brown mentioned, I say it say 100% on the TFTP app, I then closed it. I rebooted the OBI, and no line were working.

I went back and put the Naf Configurl back in the ITSP provisioning and the 1st line worked again after a reboot.

So I must be doing something wrong, or missing a step.

jsolo1
Premium Member
join:2001-07-01
PRIL

2 edits
Closed what? The obi will reboot on its own to apply the xml file.

After the final reboot after applying sp2.xml, what does it show under status/system status/SP1 Service Status & Sp2 Service status?

Edit: I also just reviewed the sp2.xml against the original one from obifirmware. I don't see anything out of the ordinary.

Edit2: After a reboot, you do need to give it some time to register all accounts. At least 30 seconds, before dialing.
DJB628
join:2018-05-28
Delray Beach, FL
Then I closed the TFTP app, I X it out.

OK, so you want me to enter the 192.168.1.**/SP2 URL again in the System Management/auto Provisioning/Configurl and change method to system start and simply hit submit ??

Edit, I did give it about a minute the first time I tried, on the OBI 202, usually the 2 lines are green, once I rebooted, neither line came on.
DJB628
I'll try again and report back and respond to your request.

jsolo1
Premium Member
join:2001-07-01
PRIL
to DJB628
Yes. Of course tftpd will need to be run again. You can leave it open until you're done.

After you hit submit and reboot, don't touch it for a few minutes. You'll see the 100% completed in the tftpd window, shortly after the obi will reboot. Give it a good minute from this point before you dial anything. Then review the status. It should show Connected for both (assuming correct credentials are used and url is properly formatted).
DJB628
join:2018-05-28
Delray Beach, FL
OK will do, and this is the URL I'm entering.

tftp://192.168.1.***/sp2.xml
DJB628
to jsolo1
OK, again, even though my main PC IP is assigned to my router, it changed again, WTF. It wired and assigned and should stay the same but it's not.

jsolo1
Premium Member
join:2001-07-01
PRIL
Sorry, your router issue is outside the scope of this thread. Just set your computer to a static ip within the same subnet as the obi.
DJB628
join:2018-05-28
Delray Beach, FL
Thanks, I'll have to deal with this another time. Appreciate all the help.

Before I go, if I set it up and get it to work, does the IP address always have to be the same, or is it only important for the original setup. If it is OK, then I can do it now, if not I'll have to figure out why my IP keeps changing and then try it again.
Brown
join:2018-01-21
I think I know what happened. Go to Voice Services, SP2, X_ServProvProfile, and set it to 'B' and both ports will come to life!
DJB628
join:2018-05-28
Delray Beach, FL
OK, I'll redo, but does the IP need to always be the same, or only having the current IP at the time of setting it up is important ??
Brown
join:2018-01-21
If you already provisioned you don't need to do it again unless you 'reset'.

jsolo1
Premium Member
join:2001-07-01
PRIL
to Brown
The xml does point to B. I wonder if this entry is not getting set/respected.

»i.imgur.com/AhVyuHY.jpg
DJB628
join:2018-05-28
Delray Beach, FL
to Brown
OK, I'll provision again, with current IP, and I'll also set to B once done.
DJB628
to Brown
OK, done, SP 1 says connected and SP 2 says Connecting to 64.9.242.108;Token Error

Could it be the credential error that I enterted, if it is, can I find those credentials again to C&P them. I did C&P it but maybe I made a mistake.

jsolo1
Premium Member
join:2001-07-01
PRIL
There you go.... I'm out.. Enjoy!
DJB628
join:2018-05-28
Delray Beach, FL
Thanks

I'll check my credentials for the 2nd line in the morning, as I have to run out, and I'll re enter them. I think the issue is with the Auth Pw, but I'll have to check in the AM.

Thanks again to both of you. appreciate the help.
DJB628
OK, I'll have to try to figure this out tomorrow morning, I tried both ports and made a call out, and both ports are going through, but showing the same number on the caller ID from my 1st GV number, so something is still off. I'll have to redo it all tomorrow.

I did go back into the SP2 and enters the credentials back for the 2nd line.
DJB628
to Brown
Still coming up with the Token error on the SP2 line, should I simply redo the 2nd Line again and get new credentials, or am I able to get my current credentials for that line to make sure i didn't make a mistake.
Brown
join:2018-01-21
That is a different Google Voice number (on a diff GV account), right?
And you did oAuth for both accounts?
And you set SP2 to 'B' as I mentioned?
DJB628
join:2018-05-28
Delray Beach, FL
Yes
Yes
Yes, both SP1 and SP2 now have B
Brown
join:2018-01-21
to DJB628

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

No, only SP2 is 'B', SP1 is 'A'
DJB628
join:2018-05-28
Delray Beach, FL
OK, I had done only SP2, but for some reason it's on both, I know I didn't do on both.

Could that be causing the token error ??

I'll do it again and report back.
DJB628
to Brown
OK, both are done.

still same error message.
Brown
join:2018-01-21
It doesn't like the oAuth on SP2. Have you tried the accounts separately to make sure they work?
DJB628
join:2018-05-28
Delray Beach, FL
NO, I know the numbers work. Isn't JSolo using this same system
DJB628
to Brown
I'll try them separate later to in the morning.

You don't think the credentials might be wrong on the 2nd acct ??
Brown
join:2018-01-21
Yes, but try each account on SP1 after clearing your credentials off SP2. There is no need to do the provisioning again. This will confirm that both accounts work and then we'll get them both working at the same time.
DJB628
join:2018-05-28
Delray Beach, FL
OK will do

To clear credential on the 2nd line, simply clear it out and submit and then reboot and then try each line individually afterwards
DJB628
No need to add the email address ? just the auth password
DJB628
to Brown
OK, seems like it is the credentials, same error message on the 2nd line, in SP 1
DJB628
to Brown
OK, here the scoop, tried putting back the 1st working credentials in SP1 and this time I got this error message, ( Connect Failed: 400 Bad Request (server=64.9.242.108; retry in 22s)

luckily I had the original working credentials opened on the page on my 2nd computer, and when I couldn't get the the one to work again, I simply reboot the 2nd PC and it put the settings back as it was.

Also here is a screenshot of the 1st credentials that work, it doesn't have my email address but a (DNS symbol)

I'll check in later or in the morning. I've had it, I know we're close, and we'll get it.

jsolo1
Premium Member
join:2001-07-01
PRIL

1 edit
$DSN expands to device serial #. Really, it can be any numeric sequence. I just put in my GV # and rebooted. Doing so generated a second SIP entry in the forwarding list on the gv legacy site. Interestingly, using a sequence other than ${DSN}_x results in the inability to dial your own gv # from the obi device (to listen to vm's or similar).

What's interesting, somehow the obi number (9 digit # used in obitalk) is still getting passed to gv! Maybe @naf or @phonesimon can explain why.

Something else to keep in mind. Too many registrations using the same AuthUserName within a short period of time will put a lock on the account for that name. You'll need to change it up. Change the _2 to _22 or similar. That too may be contributing to your issues. Eventually the lock does fall off. I don't know if it's an hour, several hours, etc.

More importantly, you need to get your credentials in order. The same client_id and secret can be used to generate refresh tokens for multiple accounts. It's not necessary to redo the whole process for each, simple skip to the part where the refresh token is created.
naf
join:2017-12-12
said by jsolo1:

$DSN expands to device serial #. Really, it can be any numeric sequence. I just put in my GV # and rebooted. Doing so generated a second SIP entry in the forwarding list on the gv legacy site. Interestingly, using a sequence other than ${DSN}_x results in the inability to dial your own gv # from the obi device (to listen to vm's or similar).

What's interesting, somehow the obi number (9 digit # used in obitalk) is still getting passed to gv! Maybe @naf or @phonesimon can explain why.

AuthUserName maps into the username/client_uri (the one that has to be some-magical-level-of unique).

The thing that shows up on the settings page is obn in the contact header. obi fw hardcodes this to your obi number.

P.S. i used your SP2.xml this morning. all good.
DJB628
join:2018-05-28
Delray Beach, FL

2 edits
to jsolo1
1) OK, I'll check this later today when I get back from errands. One question, I just went through looking at the whole OAuth process for the 2nd Gmail acct, and at the end, in the OBI ATA manual config it says to enter the AuthUserName, which I will with the new one I just created with my 2nd Client ID and secret. Is this correct ??

2) You say I can create refresh tokens for multiple accounts from one same Client ID and Secret, so I didn't need to use 2 gmail accounts to create a refresh token for each, I could of used one gmail account a create 2 refresh tokens and use each for the GV # ??
DJB628

1 edit
OK, I created a new Authpassword, for the 2nd account that we couldn't get to work. I have to run out for now.

When I get back, all I have to do is setup the SP2 account again and make sure the OBI is point to the SP2 xml file that is in my TFPT folder, leave the app open during this process, and then go ahead and setup the SP2 SIP credentials with the AuthUsername and Password and change the service profile to B if it has not already changed that when I upload the SP2 xml file

Edit, and of course I will verify both Auth Passwords on SP1 to make sure they both work first.
DJB628
to Brown
OK, just got back.

Any suggestions on what steps I should take to test again, or simply enter the authpassword on the 2nd line and try again.
DJB628
to jsolo1
Still no luck, line 1 connects, line 2 still has this below error message.

url was successful, SP2 is set to B, I made sure the token was redone.

Connecting to 64.9.242.108;Token Error

The only thing I can think of is simply doing a fresh token from scratch, unless you guys have any other suggestions.
c_gadfly
join:2008-05-23
Toronto
Hitron CDA3
Asus RT-AC68
Obihai OBi202
to naf
I am suffering from the one-way-audio on a GV line on a OBi202 running 3.2.2 (Build: 5859EX-arrynrob7). I am still on XMPP.

Supposedly patched build 3.2.2 (Build: 5898EX) has the fix:
»www.obitalk.com/forum/in ··· =14351.0

Just wondering if a new naf firmware is forthcoming? TIA.
valley_nomad
join:2012-11-26
New York, NY

1 recommendation

to jsolo1
said by jsolo1:

Here's all the SP's.

Should be accurate. Used the sp4 from earlier as the template.

Link to previous post about how to serve this locally: »Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

Format for AuthPassword = client_id={CLIENT_ID}&client_secret={CLIENT_SECRET}&refresh_token={REFRESH_TOKEN}&grant_type=refresh_token

Items in the brackets are unique to your client_id, secret and refresh token. Do not enclose in brackets.

Example

client_id=abcd1234&client_secret=efgh5678&refresh_token=ijkl9abc&grant_type=refresh_token

Thanks for sharing.

Configuration involves setting both Service Provider ITSP Profile X and Voice Service SPx. Do your config XML files have the default relationship between ITSP Profile X and SPx as follows?

ITSP Profile A -> SP1
ITSP Profile B -> SP2
ITSP Profile C -> SP3
ITSP Profile D -> SP4
naf
join:2017-12-12

1 edit
to c_gadfly
said by c_gadfly:

I am suffering from the one-way-audio on a GV line on a OBi202 running 3.2.2 (Build: 5859EX-arrynrob7). I am still on XMPP.

Supposedly patched build 3.2.2 (Build: 5898EX) has the fix:
»www.obitalk.com/forum/in ··· =14351.0

Just wondering if a new naf firmware is forthcoming? TIA.

5859EX-arrynrob7 can do gv-sip also. just configure it thay way: »fw.obifirmware.com/Enabl ··· TALK.xml

[and nobody has sent me a copy of 5898 yet, or a ip/password to a box that has it :-(]
valley_nomad
join:2012-11-26
New York, NY
said by naf:

[and nobody has sent me a copy of 5898 yet, or a ip/password to a box that has it :-(]

Could this be 5898 fw?
»www.obihai.com/firmware/ ··· atest.fw
naf
join:2017-12-12
said by valley_nomad:
said by naf:

[and nobody has sent me a copy of 5898 yet, or a ip/password to a box that has it :-(]

Could this be 5898 fw?
»www.obihai.com/firmware/ ··· atest.fw
haha no

$ od -c OBi2-latest.fw  | head
0000000   O   B   i   2   X   X   _   F   W   _   P   A   C   K   0   0
0000020  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
0000040 270   $ 335   T   4  \0 025  \f   f 016 257 036 033   e 372 333
0000060 274 274   t   | 264 214   g 347 212 314   l 033 245 253 202   v
0000100   3   .   1   .   1       (   B   u   i   l   d   :       5   4
0000120   6   3   E   X   )  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
0000140  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
*
0000200 006  \0  \0  \0 210 353 303  \0  \0  \0  \0  \0  \0  \0  \0  \0
0000220  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
 
gLaRYPosITri
join:2018-05-16
Little Rock, AR
to naf
said by naf:

[and nobody has sent me a copy of 5898 yet, or a ip/password to a box that has it :-(]

Please anyone running 3.2.2 (Build: 5898) post value of "FirmwareURL" listed in "Auto Provisioning" section of Obi local web management for @naf.
naf
join:2017-12-12

1 edit
said by gLaRYPosITri:
said by naf:

[and nobody has sent me a copy of 5898 yet, or a ip/password to a box that has it :-(]

Please anyone running 3.2.2 (Build: 5898) post value of "FirmwareURL" listed in "Auto Provisioning" section of Obi local web management for @naf.
no dice, they dont use that to push fw anymore. itll just say 5859 or whatever.
Brown
join:2018-01-21
to DJB628
said by DJB628:

Still no luck, line 1 connects, line 2 still has this below error message.

url was successful, SP2 is set to B, I made sure the token was redone.

Connecting to 64.9.242.108;Token Error

The only thing I can think of is simply doing a fresh token from scratch, unless you guys have any other suggestions.

Sorry about the delay.
I think I know what is going on with your setup and why it is failing.
Here are the steps I want you to follow to get both GV accounts connected:
I'm assuming SP1 is connected (working) and SP2 is not connecting.

1) Download the SP2.XML file that jsolo1 posted. Let it overwrite your old file.
2) Setup your tftpd32 computer.
3) In the Obi, setup ITSP Provisioning Method to System Start and Configurl with the tftp address as you did before.
4) Clear your authpassword and authUsername out of SP2 (So it cannot conflict before the provisioning takes place).
5) Reboot Obi and it will provision SP2 for GV.
6) Enter your authPassword for SP2. Don't change authUsername.
7) Reboot and voilla!
DJB628
join:2018-05-28
Delray Beach, FL
Let me give it a stab now, I'll report back.
DJB628
to Brown
NP my friend, your response is greatly appreciated.

One thing I just noticed going back to Jsolo post for the SP2 xml file i just downloaded again, he marked this in the notes of that thread to format the SP2 file with the below, I never did this, I assumed that the OBI once connecting to it it would add the info, see below what he wrote in quotes, and I suppose to enter this info manually ??

Jsolo notes below

( Format for AuthPassword = client_id={CLIENT_ID}&client_secret={CLIENT_SECRET}&refresh_token={REFRESH_TOKEN}&grant_type=refresh_token

Items in the brackets are unique to your client_id, secret and refresh token. Do not enclose in brackets.

Example

client_id=abcd1234&client_secret=efgh5678&refresh_token=ijkl9abc&grant_type=refresh_token )

Edit, for now I'll do it as you mentioned to see if it works, and if I'm suppose to format the SP2, I can redo this process later if it doesn't connect.
DJB628
to Brown
No luck as you mentioned, same error message. The only thing I didn't do was enter the info manually in the sp2, I will not do that until I hear back from you. See image, SP1 connected, SP2 error token again.
c_gadfly
join:2008-05-23
Toronto
Hitron CDA3
Asus RT-AC68
Obihai OBi202
to naf
said by naf:

5859EX-arrynrob7 can do gv-sip also. just configure it thay way: »fw.obifirmware.com/Enabl ··· TALK.xml

[and nobody has sent me a copy of 5898 yet, or a ip/password to a box that has it :-(]

Thanks for the reply.

There are so many pages to read here and I haven't read them all.

What isn't clear to me is the following.
1. If I'm on GV-XMPP now, would using »fw.obifirmware.com/Enabl ··· TALK.xml automatically force a "conversion" to GV-SIP?
2. Is there anything else besides attaching your OBi to obitalk.com that can force that conversion?

jsolo1
Premium Member
join:2001-07-01
PRIL

1 recommendation

^^
1) The conversion happens after the first reboot once the xml is actually applied/processed. You can monitor by logging in to the legacy site and refreshing the forwarding phones section while the obi is rebooting.

2) Being part of the google voice app beta test also migrates the account.

Bear in mind, each sip device (obi, android phone, etc) will have its own SIP.... entry in the forwarding list.

The process is straight forward, at least for sp1, but some thought must be applied when configuring other SP slots. The instructions at obifirmware are geared towards sp1, so don't forget to make respective changes for sp2...4.

@valley_nomad
Yes, the xml's are structured in that convention. It would be a cruel joke to do them any other way which would lead to mass confusion.
Brown
join:2018-01-21
to DJB628

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

said by DJB628:

The only thing I didn't do was enter the info manually in the sp2, I will not do that until I hear back from you.

Did you put your oAuth password into SP2? That's required.
As far as AuthUsername if it has something from the provision I think you can leave it alone. If it's blank put in your phone number without any non-digit info like '('.
naf
join:2017-12-12

3 recommendations

ok, i have obtained a copy of 5898. [no link yet, ill post if i find one]

changes from 5859 I happened to notice:
- recompiled BusyBox (to support /etc/shadow probably?)
- set a root password for once there ya go obi. security problems fixed!
- changed the all-important logo to polycom
- new settings X_ShareLine/X_ShareLineUserID/X_ShareLineMethod
- new settings X_CallInfoSubscribeExpires/X_LineSeizeSubscribeExpires
- removed settings for changing ObiTalk host/transport
- removed External USB Storage, aka ObiShare i hear it was a security risk, haha
- unknown binary changes (anybody used a diff tool successfully on IDA/radare2?)
DJB628
join:2018-05-28
Delray Beach, FL
to Brown
Yes sir!!

I did exactly as you requested. I also made sure I submit before each process and then rebooted.
c_gadfly
join:2008-05-23
Toronto
Hitron CDA3
Asus RT-AC68
Obihai OBi202
to jsolo1
said by jsolo1:

^^
1) The conversion happens after the first reboot once the xml is actually applied/processed. You can monitor by logging in to the legacy site and refreshing the forwarding phones section while the obi is rebooting.

I upgraded my OBi202 and GV to GV-SIP by using »fw.obifirmware.com/Enabl ··· TALK.xml without any issues.

Happy to report that with 3.2.2 (Build: 5859EX-arrynrob7) and GV-SIP, one way audio problem is fixed.

In legacy google voice settings, I do see OBiTALK Device as checked. I also see Google chat as checked. I will be leaving that alone, as is, for now.
valley_nomad
join:2012-11-26
New York, NY
to jsolo1
said by jsolo1:

....
Yes, the xml's are structured in that convention. It would be a cruel joke to do them any other way which would lead to mass confusion.

Thanks for the confirmation.
But as we are talking about GV here, it may not be a cruel joke at all to define only one ITSP Profile and let it be shared by multiple SPs (lines) that all use GV service.

jsolo1
Premium Member
join:2001-07-01
PRIL

1 edit
^^I thought about that, but the concern is the RTP ports used range. I don't know enough about SIP protocol to know if this would create issues or not.

I suppose the obi is smart enough _not_ to use the same port if it's already in use by another voice service¿?
jsolo1
to DJB628
See my PM. Your authPassword must include everything, including client_id, secret and refresh token. Missing any of these elements will result in errors.
valley_nomad
join:2012-11-26
New York, NY
to jsolo1
said by jsolo1:

^^I thought about that, but the concern is the RTP ports used range. I don't know enough about SIP protocol to know if this would create issues or not.

I suppose the obi is smart enough _not_ to use the same port if it's already in use by another voice service¿?

Yes.

From OBi Device Provisioning Guide:

"If you want to configure two accounts on the OBi, you must select a different SP Service slot for each account (say SP1 and SP2). Now you have the choice of using just one ITSP Profile for both accounts, or have a different profile for each. The choice is simple: If the parameters in the ITSP profile can be set to the same for both accounts, then using the same ITSP profile for both is more efficient and convenient. But if at least one parameter has to be made different, such as the DigitMap (under ITSP Profile x/General on the device web page), you will have to use a different ITSP Profile for each SP account. Similar comments can be made regarding Tone Profile, Ring Profile and Codec Profile. "
DJB628
join:2018-05-28
Delray Beach, FL

3 edits
to jsolo1
Thanks for all the help, and I'll post where I'm at so others can follow if need be.

OK, here is the scoop.

1) Entered my AutherPW string in SP2 and put my email address in the username, submitted and rebooted, check again and was a different error message this time. Did not connect

2) Went back into the SP2 and then instead of email address I entered the phone number for that account, entered PW string again, and submitted and rebooted and waited.

3) refreshed and checked after reboot, both SP1 and 2 showed connected now. Yay

4) I then unplugged my phone from the line port 1 and plugged it into line port 2, and made a test call, it went through, only issue is, instead of that the SP2 number showing on my caller ID to my phone, it is showing the Line 1 SP1 number. I tested both Line port 1 and 2 and both call out from the same number. I am at a complete lost for words here. I know I'm not loosing it.

5) I will try one more thing now. Brown suggested a while back to clear out the Username and authPW, then redirect the TFPT back to the SP2 file again, let it do it's thing, then reboot, then enter the AuthPW only and leave the name generated by the URL setup.

If you all have any other suggestions let me know, I will also check in GV to see if it generated a SIP in my legacy account .

Edit, yes the SP2 account did create a SIP account in my GV legacy Acct

See attached SP2 profile info, in case you all see something I'm missing.

One more thing, if I call the 2nd GV number, it does ring on the phone, but also rings line 1. Here is what I mean, Line 1 is connected to the phone, and line 2 is connected only to my fax line. When i call the SP2 number, the phone line rings and not the fax, even if I'm calling to the SP2 number, so I'm even more confused now.

Edit: And yes I also did a hard reboot just in case.
zapattack
join:2012-07-02
CANADA
My 200 shows both checked as active
X_RegisterEnable
X_AcceptSipFromRegistrarOnly
I assume it was done automatically by the -7 SIP change as XMPP didn't need it.
naf
join:2017-12-12
I rebased arrynrob7 on top of 5898. Looks for it in the usual places soon...

I'm not sure 5898 has any benefits compared to 5859 other than a higher version number, but you can flash back and forth if you want to try it out.

jsolo1
Premium Member
join:2001-07-01
PRIL
@naf, ref »Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

Any thoughts on where those new parameters might be used?

Thanks for your efforts. I'll download it once available, but not having any issues currently, so not much to gain by flashing.
naf
join:2017-12-12

3 recommendations

said by jsolo1:

Any thoughts on where those new parameters might be used?

Dunno, but I think the majority are being ported over from the phone's firmware to the ATAs. might check in the phone's docs/forums/whatever for info.

ETA: or just ask SteveInWhereverTheFuck if you want the wrong answer
valley_nomad
join:2012-11-26
New York, NY
to DJB628
Did you check two Phone Ports' settings under Physical Interface? Make sure set the PrimaryLine value is correct for each port. Remember that the ports are not hardwired with any SP. They are totally independent.

Your screen shot also shows that the incoming call for SP2 is ringing both phones as X_InboundCallRoute value includes both ph and ph2
DJB628
join:2018-05-28
Delray Beach, FL
OK, so how do I do this, to make both independent, which I thought would normally happens once you directed the Sp2 XML file. I'm a novice at this so guidance would be greatly appreciated to get both line independent.
valley_nomad
join:2012-11-26
New York, NY
SP2 xml file just configs SP2 and ITSP Profile B. It doesn't do anything about Phone Ports which both are set to use SP1 as PrimaryLine by default. So you just need to set Primary Line of PHONE2 Port under Physical Interfaces to "SP2 Service".
DJB628
join:2018-05-28
Delray Beach, FL
Bingo, problem solved, thanks again Valley-Nomad, greatly appreciated.

And a big Thank You to jsolo1 and Brown, without both of you I'd have no hair, LOL

jsolo1
Premium Member
join:2001-07-01
PRIL
Congrats! Hair is over rated anyways.
DJB628
join:2018-05-28
Delray Beach, FL
to valley_nomad
1 more things I need to figure out if possible.

1) My main phone is connected to Port 1, when I call line 2, even though I have port 2 connected to my fax, the phone on port 1 still rings from that number. Can I get port 1 to ring only on the line from port 1, so if I receive a fax, I don't hear the main phone plugged into port 1 rings from someone calling line 2 connected to port 2. If not, can the ringer be silenced from the interface for line 2 ??

I have another questions, but it'll be based on the above answer, so I'll wait to see what is said.
DJB628
to jsolo1
Congrats, you did all the hard work, LOL
valley_nomad
join:2012-11-26
New York, NY
to DJB628
As I mentioned above, the inbound call routing is controlled by the value of parameter X_InboundCallRoute in corresponding SPx Service settings.
i.e.
SP1: X_InboundCallRoute = ph
SP2: X_InboundCallRoute = ph2
DJB628
join:2018-05-28
Delray Beach, FL

1 edit
I have that set, but if I run line 2 to the Fax and line 1 to my cordless phone and I call the Fax line it still rings on the cordless line even though it's connected to Line 1 and SP 2 is set to ring only on SP2 for that port.

If I'm calling line 2 my cordless phone should nothing ring, unless I'm missing what you're saying.

jsolo1
Premium Member
join:2001-07-01
PRIL
What's the contents of AuthUserName for each SPx?
valley_nomad
join:2012-11-26
New York, NY
to DJB628
said by DJB628:

I have that set, but if I run line 2 to the Fax and line 1 to my cordless phone and I call the Fax line it still rings on the cordless line even though it's connected to Line 1 and SP 2 is set to ring only on SP2 for that port.

If I'm calling line 2 my cordless phone should nothing ring, unless I'm missing what you're saying.

Not sure what happened as X_InboundCallRoute is the only place for controlling incoming call routing.
Can you check Call History under Status to see where that incoming call went (e.g. SPx, PHx)
DJB628
join:2018-05-28
Delray Beach, FL
Not sure what happened here, I checked again this morning when I got up, and the X_inboundCallRoute were changed again to ph,ph2 in both again. I know I submitted and rebooted the last time I did it, unless I'm loosing it, LOL. I'll edit it again and submit and reboot and report later as I have to run for work as I'm late.

Anything else that needs to be changed there before I change this again. Ring and Codec profile both say A, do I need to also separate those so that SP1 says A and SP2 says B ??
DJB628
to jsolo1
Sorry just saw this.

SP1 has the ${DSN}_1 (from default from the SP2 xml file)

SP2 with the email address as I mentioned I had the new error message I mentioned to you before, once I entered the phone number in the SP2 slot it connected.
OBi1FW
join:2017-12-27
Vienna, VA
to naf
said by naf:

I rebased arrynrob7 on top of 5898. Looks for it in the usual places soon...

8d7026f5ee5284af718828d1f0189239 OBi2-3-2-2-5898EX-arrynrob7.fw

This is right?
naf
join:2017-12-12
said by OBi1FW:
said by naf:

I rebased arrynrob7 on top of 5898. Looks for it in the usual places soon...

8d7026f5ee5284af718828d1f0189239 OBi2-3-2-2-5898EX-arrynrob7.fw

This is right?
that would be the one, yes. (out of practice, forgot i used to post md5s)

perhaps it could be posted in parallel with 5859 instead of superseding it?
OBi1FW
join:2017-12-27
Vienna, VA
It's done now. I updated the OAuth2 instructions too with workaround for outgoing calls on OBi1.

jsolo1
Premium Member
join:2001-07-01
PRIL

1 recommendation

to naf
said by naf:

perhaps it could be posted in parallel with 5859 instead of superseding it?

I think that would be a good idea. I don't recall reading of any major issues with 5859. Who knows what sneaky shenanigans those obi engineers are up to.
valley_nomad
join:2012-11-26
New York, NY
to DJB628

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

You have to click Submit AND Reboot after changing the parameters for each SP.

Ring and Codec profiles can be shared by both SPs unless they are required to use different ring or codec. Actually as you use GV for both SPs, they can also use the same ITSP Profile (e.g. A).
DJB628
join:2018-05-28
Delray Beach, FL
OK, all good now.

Maybe that was it, I might of changed one and then change the other and rebooted only once, It's working fine now. Thanks.
System to naf

(topic move) Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

Moderator Action
The post that was here (and all 2 followups to it), has been moved to a new topic .. »Obihai 110 - PhonePower
Cinti
join:2016-08-04
Boston, MA
to naf

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

said by naf:

I rebased arrynrob7 on top of 5898. Looks for it in the usual places soon...

I'm not sure 5898 has any benefits compared to 5859 other than a higher version number, but you can flash back and forth if you want to try it out.

Good day, naf See Profile.

My current firmware for my OBi302 is 3.2.1 (Build: 5757EX-arrynrob4).

I do not need Google Voice on this ATA. Anything to be gained by upgrading to arrynrob7?

If so, which is the official repository for the rebased arrynrob7 FW?

Thank you.
zapattack
join:2012-07-02
CANADA

1 recommendation

to naf
At a loss with 200.
using -7, tried both versions, status Connected.
Device does not show up in GV.
All calls fail with recording 'cannot be completed'.
What next?
Brown
join:2018-01-21
I'll give you a couple things to check and try and hopefully someone will be here in the morning to help further.

The following assumes you are using ITSP profile A and SP1 Service:
Check Physical Interfaces, Phone 1 port, Primary Line, SP1 Service (default).
Check Voice Services, SP1 Service, X_ServProvProfile, 'A' (default).

Both are defaults but if the box was not reset prior to setting up GV they could be set differently.

In your GV account: If you provisioned for GV-SIP check that "Chat" service is not checked. If you provisioned for XMPP make sure "Chat" is checked.
zapattack
join:2012-07-02
CANADA
Did work on XMPP SP1 as before (one way transmissiion) with new -7 until properly changed to new GV options.
Chat un-checked.
All settings appear identical to another working unit.
Unit has been reset several times from menu.
XML and PWD code re-installed.
SP2 is (successfully) configured to connect to 3CX.
Calls from phone attached to unit all reach same recording -cannot be completed.
Log shows connected then disconnect with no error code.
Brown
join:2018-01-21
to OBi1FW
@OBi1FW
I can confirm that Google Voice works with Obi302 ZT using GV-SIP. On your site it is #6 on the listing of changes. I'm using firmware version OBi2-3-2-2-5859EX-arrynrob7 and used the sites GVSIP XML for SP1.
kehi66
join:2014-09-05
2 days ago I was able to setup a new Obi200 using the instructions from the Obi OAuth2/ website. Was able to test both inbound and outbound and both worked that evening. I attempted to make a call today and neither in or out work..Just gives me the recording "call cannot be completed". Configuration has not been changed and SP1 status shows connected with all lights on the Obi. Any assistance would be greatly appreciated
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
Please confirm that you used »fw.obifirmware.com/Enabl ··· TALK.xml to configure your ATA.

As of this week, »fw.obifirmware.com/Enabl ··· TALK.xml does not work.
kehi66
join:2014-09-05

1 edit
to Mango:

Yes that is exactly what I used. Does an updated file exist? What options do I have other than going to obi FW?
Brown
join:2018-01-21
to kehi66
Did you remember to switch off all the Obitalk stuff. If not it will connect to them and (probably) ruin your setup. Check under Auto Provisioning and Voice Services. I also think it's a good plan to remove the device from the Obitalk web site.

Let us know what you find out.
kehi66
join:2014-09-05
Yes all Obitalk stuff was turned off. Device was never listed on the Obitalk portal/site...Just tested another call and now getting ERROR 500
Brown
join:2018-01-21
naf has two arrynrob7 versions. I'm using 5859 and it is working fine. If you're using the later one maybe it has issues. I think it has only been available for a week or two.
kehi66
join:2014-09-05
I am currently on 5898
Brown
join:2018-01-21
You can downgrade (upgrade?).
kehi66
join:2014-09-05
I would try but if the XML file is not working as Mango stated would this even help?
Brown
join:2018-01-21
I think he means the XMPP version of Google is no longer working. The GVSIP XML file is working good.
kehi66
join:2014-09-05

2 edits
I just put version 5859 on the obi, rebooted, made sure all obistuff is still off and config with AuthPassword was saved...Still getting ERROR 500 even after several reboots

Phone WORKING Now (thanks very much Brown):

Apparently after the flash to 5859 I needed to reenter the ITSP config URL and place Method back to System Start
Brown
join:2018-01-21

1 edit
Redo the ConfigURL steps and use the GVSIP XML. The Obi will boot twice on its own and then should connect. I'm thinking you used the XMPP version last time.

Oh good, I just saw your edits above.
jj94tt
join:2018-07-27

1 recommendation

It took me a while to find this tidbit of information - but I too had to redo the ITSP Provisioning step with the ConfigURL after following the instructions - to the letter - on obifirmware.com, or else I would repeatedly get Error:500 - despite the device showing as connected.

Let me just say - you guys are good.
TheDoctah
join:2008-06-17
Brampton, ON
to naf
Thanks to all the contributors on this project.

I updated from OBiTalk firmware 3.2.1 to OBi2-3-2-2-5859EX-arrynrob7.fw

Followed instructions on the website for OAuth2 credentials and used jsolo's sp2.xml file via tftp and everything worked first try!

It retained my SP1 settings and digit maps and fixed GV on SP2 without obitalk portal.

Thanks again everyone.
ShiftDelete
Premium Member
join:2011-11-16
CA
to naf
1) First and foremost, a huge thanks for helping free our digital shackles from current and future planned product obsolescence. After some hoops, OBI200 rocking and rolling on 5859EX-arrynrob7. Some additional details below. Thank you!!

2) On the OBI200, I persistently ran into ERROR 500 Announcement - No matter what I tried (spent the last 4 hours scouring this thread , no matter the suggestion (from TFTP, to new .xml link, to factory reset, etc...) for the life of me I could not get 3.2.2 (Build: 5898EX-arrynrob7) to work with GV . Each time, the GV SP1 status would show connected without token error, however I'd receive a verbal error message 500 when dialing out.

OBI200 ERROR 500 FIX (What solved it for me-->): I reverted to 5859EX-arrynrob7 via web UI FW downgrade and followed again the directions to the tee along with removing all traces of OBIHAI from both Google Permissions (Listed as "Google Voice" with OBI Logo") and removing the unit from OBITALK website (even though it was disabled on the unit itself). No clue if it was the FW, or permissions, or the fact I went faster when generating the keys in the OAuth Playground. Either way, the above solved my problem. Rolling back FW from 5898EX-arrynrob7 to 5859EX-arrynrob7 along with the other permissions items above, VIOLA problem solved! I can see a new client in Google Voice web and dial out works without issue.

FYI: SSH password (if set to something other than the default) is retained (and not reverted) even after factory reset (via HW button)
FYI: Although factory reset did not solve my issue, it worked fine while on this custom FW

3) OBI202 on Stock FW 3.2.2 (Build: 5859EX) - Anyone find a way to rollback FW > 5853 yet? Happy to help test on my 202 if needed.
Like an idiot, when GV stopped working, I manually updated the firmware to 5859 stock to see if that solved the problem. But then of course, I found this thread.
naf
join:2017-12-12

3 recommendations

said by ShiftDelete:

OBI202 on Stock FW 3.2.2 (Build: 5859EX) - Anyone find a way to rollback FW > 5853 yet?

not one that we post here. sent you a pm, though.
ShiftDelete
Premium Member
join:2011-11-16
CA
PM sent. Thanks.

bitseeker
join:2014-03-05
to naf
I finally took the plunge and updated my Obi202 to 5859EX-arrynrob7. Got GVSIP working on SP1 so far. Thanks naf and everyone who contributed to the effort. Great stuff.

What's different between 5859 and 5898?
ShiftDelete
Premium Member
join:2011-11-16
CA
to naf
@Naf, thanks for working your magic! I’m I’ll all set now and upgraded to latest custom FW thanks to you! I greatly appreciate your help.
spfautsch
join:2018-08-02
to ShiftDelete
said by ShiftDelete:

2) On the OBI200, I persistently ran into ERROR 500 Announcement - No matter what I tried Each time, the GV SP1 status would show connected without token error, however I'd receive a verbal error message 500 when dialing out.

I had the same issue with my 200 both with obitalk provisioning on version 3.2.1 and with 598EX-arrynrob7 and following the "manual" setup steps. Downgrading to 5859EX-arrynrob7 and re-provisioning using the same refresh token generated previously worked and I'm finally able to see the ATA in google voice. I've yet to test incoming our outgoing calls but this seems promising.
turk
join:2009-03-10
canada
to naf
Having problems getting token using manual method. I have Client ID and Secret but can't find googletalk api
How do i enable it?

hapollo
join:2007-05-13
WesterOS
said by turk:

Having problems getting token using manual method. I have Client ID and Secret but can't find googletalk api
How do i enable it?

Do you follow this tutorial? If you have your ID and Secret, you need to start from step 17 to get token

»[Asterisk] OAuth 2.0 Support for Asterisk 13 or Asterisk 14

What kind of error message are you getting?
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
to turk

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

Are you following the directions at »www.obifirmware.com/OAuth2/ ? If so, let us know the title of the page and the specific step number where you get stuck, and what happens when you try to follow the directions.
turk
join:2009-03-10
canada
said by Mango:

Are you following the directions at »www.obifirmware.com/OAuth2/ ? If so, let us know the title of the page and the specific step number where you get stuck, and what happens when you try to follow the directions.

Google Voice on OBI ATA Manual Configuration
Step 6
»www.googleapis.com/auth/ ··· ogletalk
When Authorize Api is clicked it returns with url not found

jsolo1
Premium Member
join:2001-07-01
PRIL
You are pasting "»www.googleapis.com/auth/ ··· ogletalk" into the "input your own scopes" box before clicking authorize?

And more importantly, you've already pasted your client_id and secret into the respective box under the gear icon (top right)?
turk
join:2009-03-10
canada
said by jsolo1:

You are pasting "»www.googleapis.com/auth/ ··· ogletalk" into the "input your own scopes" box before clicking authorize?

And more importantly, you've already pasted your client_id and secret into the respective box under the gear icon (top right)?

Yes and Yes

jsolo1
Premium Member
join:2001-07-01
PRIL
I tried it before posting in firefox. After clicking authorize it asked me to sign in.

Try a different browser maybe? Or post a screen shot of where it's failing.
turk
join:2009-03-10
canada
said by jsolo1:

I tried it before posting in firefox. After clicking authorize it asked me to sign in.

Try a different browser maybe? Or post a screen shot of where it's failing.

I will try Chrome
turk

jsolo1
Premium Member
join:2001-07-01
PRIL
I just tried again, went all the way through successfully.

Sounds like maybe your clientid/secret are invalid?

hapollo
join:2007-05-13
WesterOS

1 edit

2 recommendations

to turk
did you paste the following url in step 14 in my link above? That error usually results when the URI is missing from step 14.

14. Enter »developers.google.com/oa ··· ayground at Authorized redirect URIs

15. Click Create

Re-read the 1st page of the link I posted. Especially the 3rd post down by WhyaDuck. While you are not using asterisk, the steps and discussion for getting a refresh token are listed in detail and the same whether using asterisk or obi.
turk
join:2009-03-10
canada
said by hapollo:

did you paste the following url in step 14 in my link above? That error usually results when the URI is missing from step 14.

14. Enter »developers.google.com/oa ··· ayground at Authorized redirect URIs

15. Click Create

Re-read the 1st page of the link I posted. Especially the 3rd post down by WhyaDuck. While you are not using asterisk, the steps and discussion for getting a refresh token are listed in detail and the same whether using asterisk or obi.

I will redo steps I must have missed one
DownSouth
join:2018-08-12
45800

1 edit
to naf

Obihai OBi200/202/212/302 firmware mods. Fixed, answer below. photos removed

If I'm posting this incorrectly I apologize but I did read the "Posting Tutorial" and nothing looks like shown.

For me this is the only only thing that works.
With my dial plan Mexico cell were ignored, Mexico LD calls went to PSTN, US & Canada to GV and international to Callcentric automatically.
Hooked to my Panasonic DECT with Link2Cell all calls worked with the 5 handsets and the cell phone incoming or outgoing.

Reset the Obi212 to factory just in case, then
Followed the instructions at OBi2-3-2-2-5898EX-arrynrob7.fw
Flashed the 5898EX FW and followed the sequence.
Checked FW level and enabled Wan port using IVR 30#.
Accessed the web portal and looked at all the pages.

Then »www.obifirmware.com/OAuth2/. Provisioned GV, submit, reboot,
All went as expected until.

When generating the Refresh and Access tokens they fill in then disappear, but are in the text to the right so I copied the Refresh token from there and continued.
Same result in Firefox, Chrome and IE11.

Generated and copied the AUTHPassword into Voice Services, SP1 Service SIP Credentials, AuthPassword, then submitted and rebooted. I noticed a message Note: The OAuth access token in Step 2 will be added to the Authorization header of the request. Does the Request token need that Access token added for the next step? Looking at the post above it seems not.
Everything is the same EXCEPT I see no "token access will expire in" and of course both tokens are different but about the same length.

No dial plan yet. 2 LED's green. Power solid. Network pulses about every 2 sec. Take phone off hook Phone LED flashes about 1/sec.
Make call and get message "There is no service available to complete your call".
DNS is the same as my Obi110 which was hooked up and working on a different port of my router with GV and Callcentric before and CC and Localphone now..
In System Management, Auto Provisioning all 4 are disabled.
Changed Phone Port, Primary Line from PSTN to SP1 Service now call goes out which makes sense but never rings.

Noticed the ITSP Profile A, SIP, OutboundProxy had Goog instead of Google.com so changed it to Google.com. Green Network pulses about every 2 sec. Same problem but now Phone LED is green on hook and slow flashes off hook about 1/sec,

Any help or ideas greatly appreciated. Especially helpful would be snapshots of a correct ITSP Profile
and any other screens changed by this process so I can compare them to mine.
Rich S.

Problem with 5898EX FW. Didn't work. Came from stock 5735 FW bought from Newegg. Might be too large a leap? Shouldn't be.
Except for ITSP and final step no internet connection. Isolated LAN.
Downgraded to 5859EX but when ITSP Provisioning mine it did NOT reboot twice.
Sp1 Service Status is connected, 1 active call but call status shows NO voice packets.
Did a second reboot, and I have voice. No other steps needed.
Set Primary line back to PSTN and installed my DigitMaps in ITSP A & B. Submit, reboot and it all seems to work.
My Obi110 is going with me to the Philippines next month for use in a friends resort.
Any recommendations besides Callcentric for VOIP providers?
Want another with the second DID in Canada.
RonR
join:2003-10-10
Ash Flat, AR

1 recommendation

said by DownSouth:

Noticed the ITSP Profile A, SIP, OutboundProxy had Goog instead of Google.com so changed it to Google.com.

OutboundProxy shoulod be: obihai.telephony.goog
DownSouth
join:2018-08-12
45800
Thank you, The new FW changed it back so I thought if it works leave it alone.
Nice to have it confirmed.
turk
join:2009-03-10
canada
to hapollo

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

said by hapollo:

did you paste the following url in step 14 in my link above? That error usually results when the URI is missing from step 14.

14. Enter »developers.google.com/oa ··· ayground at Authorized redirect URIs

15. Click Create

Re-read the 1st page of the link I posted. Especially the 3rd post down by WhyaDuck. While you are not using asterisk, the steps and discussion for getting a refresh token are listed in detail and the same whether using asterisk or obi.

Finally got it to work Yes I had not pasted the url in step 14.
I now have an access token and refresh token If I don't use it for 24 hours does it expire? I guess I can go through these steps again to regenerate
DJB628
join:2018-05-28
Delray Beach, FL
I don't believe so.
turk
join:2009-03-10
canada
to naf
How do i go back and get client id and secret after completing creating project. I was able to get token and refresh token but now when I go into OAuth 2.0 Playground I need to input that data again and don't seem to have that info. Or do I need to start over and create another project?
Brown
join:2018-01-21
There are a number of write ups on it. This one has lots of screen shots that may help: »community.freepbx.org/t/ ··· ip/51187
turk
join:2009-03-10
canada

2 edits
said by Brown:

There are a number of write ups on it. This one has lots of screen shots that may help: »community.freepbx.org/t/ ··· ip/51187

I have already successfully created credentials for a project and was looking for a method to retrieve these credentials. That tutorial is for the creation of the credentials.
I do have the client id and refresh token. I also have the JSON file
Brown
join:2018-01-21
Point your browser to this after adding your ID to the end:
https://accounts.google.com/o/oauth2/v2/auth?scope=https://www.googleapis.com/auth/googletalk&response_type=code&redirect_uri=urn:ietf:wg:oauth:2.0:oob&client_id=
 
zapattack
join:2012-07-02
CANADA
Google Error response:
The redirect URI in the request, urn:ietf:wg:oauth:2.0:oob, can only be used by a Client ID for native application. It is not allowed for the WEB client type.
Brown
join:2018-01-21

1 edit
Yep, sorry, wrong one. I forgot, they don't consider GV a 'native app'. It's not on their pull down.
https://console.developers.google.com/apis/credentials/oauthclient?
 
This will get to your project listing.
turk
join:2009-03-10
canada

1 edit
Thanks Brown Still getting token error but some confusion here because I have three different OAuth 2.0 client IDs showing on Credential page
turk

1 edit
Can I use either of the Web client 2 to create credentials?
None of these worked still getting token error will delete all projects and start over
turk
Finally got it working. Started over and followed instructions . Thanks for your help all.
obient78
join:2018-08-18
Bellevue, WA
to naf
I got an obi302. I setup the first GV account and it worked. I then tried to add the second one; I applied the url for sp2 in auto provisioning. The he first is not working anymore and no other account I tried. Obi reboots four times on hard reboot or when I apply new Authorization password for any sp. While it reboots, twice my phone switches from Check tel line to having dial tone from obi302 and after 2-3 seconds check tel line appears again. After it reboots the final time, the two phone lines are flashing green and check tel line is there again. I tried reset by pressing the pin underneath and the soft one too. I also cycled back and forth between two firmwares always with the result above. How do I get this working again?
Brown
join:2018-01-21
To keep the two GV accounts independent check: Voice Services, SP2 Service, X_ServProvProfile, B (assuming SP1 service is 'A').
DJB628
join:2018-05-28
Delray Beach, FL
to turk
Good job, I would of simply deleted all the others and started from fresh step by step, we usually miss a step without realizing it, it happened to me also, thanks to the members here I was also able to get it resolved and have not had an issue since. When in doubt do without and start from fresh.
obient78
join:2018-08-18
Bellevue, WA
to Brown
I am not even getting there. It reboots up to 7 times and once booted, Lua script is again enabled along with itps provisioning. I cannot enable WAN access because my phones are not connected (physically they are.) Is my obi talking to Obi network? I bought it used. How do I remove it from Obi network? The setting in UI keeps enabling itself after reboots.
Brown
join:2018-01-21
Is it a ZT model (ZT in serial number)? If so, you'll need to run clear_zt_params to convert it to "generic". Use PuTTY in Windows to log into it as root, obi then run the command.
obient78
join:2018-08-18
Bellevue, WA
It is a ZT model. I tried with putty but the reboots continue. I did it once while logged into obi and once with browser closed. I ran "clear_zt_params" and Putty asked me to press yes to write to flash which I did and then typed in exit. Am I doing anything wrong? Btw, I do get access with root and obi and I use SSH.
Brown
join:2018-01-21

1 edit
to obient78

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

What does it show for CustomizationStatus in the Status page. Also the firmware version.
obient78
join:2018-08-18
Bellevue, WA
SoftwareVersion 3.2.2 (Build: 5859EX-arrynrob7)
CustomizationStatus Generic
obient78
to Brown
I would like to send you the complete Product Information portion but I am blocked from sending private messages.
Brown
join:2018-01-21
Okay, those are good, I'm running the same except just one GV account.

Have you tried setting up SP2 first to confirm it is working fine on its own. Try that and fully test it before adding SP1.
obient78
join:2018-08-18
Bellevue, WA
Well, I fixed it and I am still not over how much was I frustrated for the last three days. It was my bloody HP Officejet Pro 8600 plus printer/fax. As I continued to thinker with my Obi aimlessly, I decided to unplug one of the phone lines and bam!; no rebooting and both phone lines stayed solid with dial tone on. I then plugged in again the line that has printer/fax hooked up and the second phone hooked up to the printer, both phone lines started to flash right away and I lost dial tone on both - just like before. I then plugged the cord directly into the second phone and rebooted. Again, both lines came on and both were live. Both SP1 and SP2 are connected and dial tone is on on both. How can a printer/fax cause so much headache? I hope my incompetence (or stupidity?) will help other users who might run into the same issue. I will read into how to connect the fax/printer to Obi but for now I am so happy with having my two GV lines back alive! Thank you Brown so much for looking into my problem and if another unfortunate soul ends up with the same issue, please pass it on.
obient78
Btw, I used your advice and changed service profile to B for SP2. I also set inbound call route to ph for sp1 and ph2 for sp2. I now have two completely independent phone lines. I can also call my Gv number from the other one. If you can advise me where to look into my problem with the fax/printer that would be awesome. Thanks!
OzarkEdge
join:2014-02-23
USA
·voip.ms

1 recommendation

said by obient78:

Btw, I used your advice and changed service profile to B for SP2. I also set inbound call route to ph for sp1 and ph2 for sp2. I now have two completely independent phone lines. I can also call my Gv number from the other one. If you can advise me where to look into my problem with the fax/printer that would be awesome. Thanks!

Some phone cord/jack connection pointers that might be relevant...

The OBi302 Phone1 4-conductor analog jack is wired for lines L1+L2. The two center conductors are L1; the two outer conductors are L2. A standard 4-conductor cord will connect both L1 and L2 to a 2-line device or network similarly wired. A standard 2-conductor cord will connect only L1.

The OBi302 Phone2 4-conductor analog jack is wired for line L2. The two center conductors are L2 (not L1); the two outer conductors are not used. Both a 4-conductor cord and a two conductor cord will connect only L2.

If your OBi is simply configured to connect digital Voice Service SP1 to analog line L1, and digital Voice Service SP2 to analog line L2; then you can consider line L1 to be SP1, and line L2 to be SP2.

So, review your analog cords and connections to be sure you are not mis-connecting the OBi and the printer... probably not but worth considering.

OE
obient78
join:2018-08-18
Bellevue, WA
Let me be easy on my self and just say that I do not feel very smart right now. After reading your post, I thought why not switch the lines and have fax/printer and a phone attached to it plug into Phone 2 port. So I hooked up the printer again and the phone line led's started flashing again. Unplugged immediately and switched the cords and voila, everything works. You saved me from googling the issue and solved my problem in two minutes. I have a working fax and two phone lines now. Thanks!
OzarkEdge
join:2014-02-23
USA
Cool! Sounds like it might have been a wiring issue.

OE
amb
join:2018-04-08
to naf
Once again, thank you all for this awesomeness.

This is already strongly implied above, but here's another data point: for my Obihai 200 and my utterly vanilla GV setup, OBi2-3-2-2-5898EX-arrynrob7.fw did not work. OBi2-3-2-2-5859EX-arrynrob7.fw works great. In case it matters, my upgrade path was 5757 (my old working xmpp config) to 5898 to 5859, and I redid the ITSP provisioning each time, changing nothing else.

tl;dr: stick to 5859.

(Also, Google didn't get around to killing my xmpp setup until a couple of weeks ago, but it's dead now! No going back.)
obient78
join:2018-08-18
Bellevue, WA
to OzarkEdge
Absolutely. I can hard restart it 10 times and it boots every time without any problem. I still have another small issue though. For incoming calls sp1 and sp2 ring at assigned phone ports. For outgoing calls, it always uses one GV account. How do I separate that?
Anon7b9a5
@verizon.net
to naf
I got Obi200 from Newegg (thanks for the heads up on the sales event!). I followed instructions in this thread and was able to set up GV on SP1.

I have:
SoftwareVersion 3.2.2 (Build: 5898EX-arrynrob7)
CustomizationStatus Generic
and SP1 Service Status says connected

However, I only hear the dial tone but can't dial out or receive calls. After I dial a number, there is no sound at all. I would be grateful for some help.
Brown
join:2018-01-21
I've read some bad stories about version 5898. Try 5859 and see if that fixes it. Both versions are at Obifirmware.com.
paperclip
join:2018-09-01
:
I was Anon7b9a5. Thanks for the reply. I changed to 5859 with the same result. Through out the set up, the only thing that didn't go exactly as the instruction on "www.obifirmware.com/OAuth2/" was that obi didn't reboot twice after I put in the xml for SP1. Although, I did manually click reboot 2 times. Not sure if this matters?
Brown
join:2018-01-21
It will boot twice if it was able (or needed) to change any of the params that it sets. If it shows 'connected' then it must have provisioned it but it won't hurt to do the provisioning step again. Give it a few minutes.

Does it show in your GV account as an 'Obitalk Device'?
paperclip
join:2018-09-01
:
I don't see any mentioning of Obitalk in my GV account. I also looked in legacy GV. I will try again from step one.
Brown
join:2018-01-21
If you go to 'Legacy Google Voice' then click on the gear icon, then settings it should show 'ObiTalk Device'.
paperclip
join:2018-09-01
:

1 edit

1 recommendation

Update: I restarted from Step 1, and everything is working now!!! Thank you!!!

I went to legacy GV, Settings, and look at every tab (Phones, Voicemail & Text, Calls, Groups & Circles, Billing, Account) however, could not find 'Obitalk Device'.
cudos01
join:2018-08-30
to naf
Is it possible to downgrade the official firmware once it is installed on the obi? I want to downgrade, so I can install this custom firmware. Thanks
Gosset
join:2018-01-18

1 recommendation

Perhaps we should convey this sentiment collectively to Obihai and regain control of our devices.
naf
join:2017-12-12

1 edit

3 recommendations

to cudos01
said by cudos01:

Is it possible to downgrade the official firmware once it is installed on the obi? I want to downgrade, so I can install this custom firmware. Thanks

its possible, assuming you mean 5898 on an obi20x.
i sent you a pm.
Anon984af
@192.109.92.x
Great work everybody in here! I am currently facing the beast that is obi302, mine is an ebay purchase(by my boss) and it appears to have ZT enabled, unfortunately, the ZT provisions an admin AND user password, so i have zero access to the IVR or web GUI. Even after a factory reset while plugged only into my laptop(NO internet access) the ZT password remains. I read this entire thread to see if there is a workaround because the obifirmware.com site says "allows unlocking of vendor-customized devices" but that only applies if you have web GUI access, am i right? Thanks for the advice in advance.

jsolo1
Premium Member
join:2001-07-01
PRIL
I *vaguely* recall the obi having serial console access. Maybe that's how access is gained? I can't remember where I read that because we only have the 200/202 boxes here so I didn't pay that much attention to it. Hopfully this points you in the right direction.

Of course, assuming this is the proper direction, you'll need one of those usb serial modules. They're pretty cheap on amazon or ebay.

I have a "FT232RL 3.3V 5.5V FTDI USB to TTL Serial Adapter". It was something like $8 on ebay. Have used it with several routers and vonage boxes.
Anon984af
@192.109.92.x
Jsolo1 - I have not heard that or seen it anywhere before, or when searching for serial console access to the OBIs directly at this moment. I already have the USB-> serial cable, if you can recall where you got that information i would be interested to know the pinout on the OBI.

jsolo1
Premium Member
join:2001-07-01
PRIL
I knew I wasn't imagining.... Google !!!!

»randywestergren.com/reve ··· -part-2/
naf
join:2017-12-12

1 edit
to Anon984af
said by Anon984af :

Jsolo1 - I have not heard that or seen it anywhere before, or when searching for serial console access to the OBIs directly at this moment. I already have the USB-> serial cable, if you can recall where you got that information i would be interested to know the pinout on the OBI.

Might not require serial (which was removed in fw rev 5853, not that you know what version you have), or flashing the chip directly (not that i could ever do it on a 202, pins too small for my fat hands): if it polls a non-https network address to get provisioning configuration. just see what url it asks for and spoof it?
arihan
join:2018-09-19
Rolla, MO
to naf
Hi,
I am trying to install the install "OBi2-3-2-2-5898EX-arrynrob7.fw " on my Obi200 which currently has version OBi2-3-2-2-5898EX firmware on it. But I am getting sum check error. is there any work around to by pass this or downgrade the current one?

Thanks!
naf
join:2017-12-12
said by arihan:

I am trying to install the install "OBi2-3-2-2-5898EX-arrynrob7.fw " on my Obi200 which currently has version OBi2-3-2-2-5898EX firmware on it. But I am getting sum check error. is there any work around to by pass this or downgrade the current one?

Sent you a pm.
zapattack
join:2012-07-02
CANADA
Has any one successfully configured a 200 to work with 3CX?
Random ring then lockup problem.
I am getting a second unit and will use obi fw,
but would like to revert to arrynrob7 if no difference.
What are my options?
ssyspro
join:2018-09-21
to naf
Looks like lots of devices are now supported can you look into adding OBi5vs Series please.
naf
join:2017-12-12
to ssyspro

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

said by ssyspro:

Looks like lots of devices are now supported can you look into adding OBi5vs Series please.

My notes on the 50x firmware say that they added pki cert checks at/before 5872.
If you are running a fw older than that, sure. If not, gotta find an exploit or get that flash programmer out...
ssyspro
join:2018-09-21
said by naf:
said by ssyspro:

Looks like lots of devices are now supported can you look into adding OBi5vs Series please.

My notes on the 50x firmware say that they added pki cert checks at/before 5872.
If you are running a fw older than that, sure. If not, gotta find an exploit or get that flash programmer out...
My device is reporting Build: 5235
naf
join:2017-12-12

1 recommendation

Adding a shell to the 50x fw is trivial since the stock image actually includes dropbear and has just moved the init script to a dir named 'unused' ;-)

Should be as simple as:
wget http://fw.obihai.com/OBi500-4-0-1-5235.fw
fw-unpack.sh OBi500-4-0-1-5235.fw
cd _OBi500-4-0-1-5235.fw/
sudo unsquashfs -d squashfs-4-rootfs 4-body
mv 4-body 4-body.orig
sudo mv squashfs-4-rootfs/etc/unused/S50dropbear squashfs-4-rootfs/etc/init.d/
sudo sed -i 's/root::/root:RjzQVrYR2O2vw:/g' squashfs-4-rootfs/etc/shadow
sudo mksquashfs squashfs-4-rootfs 4-body
cd ..
fw-pack.sh _OBi500-4-0-1-5235.fw OBi500-4-0-1-5235.modded.fw
 

Not sure what other features one would want in a modded 50x box... ?

I'll choose a more recent version and add a way to change the hardcoded root password and publish an official unofficial one when I get around to it...
coaster
join:2009-09-29
to naf
Is there anyway to revert a configured Google Voice SPX back to a regular SIP device and have this work correctly?

Using the 'Use Defaults Only' on the SPX Service and ITSP Profiles, saving and rebooting doesn't seem to allow the use of a SIP setup anymore. You may configure everything as SIP but you will get token errors on connection even though the Google Voice setup should have been purged at this point.

The only way I was able to get this to work was to reset the entire Obihai 202 device. Surely there must be a better way than this or is this intended behaviour?
naf
join:2017-12-12
said by coaster:

Is there anyway to revert a configured Google Voice SPX back to a regular SIP device and have this work correctly?

Using the 'Use Defaults Only' on the SPX Service and ITSP Profiles, saving and rebooting doesn't seem to allow the use of a SIP setup anymore.

obi doesn't make all available settings accessible in the gui. specifically, the ITSP-General setting named 'GVSIP' and the SP settings 'X_GApiRefreshToken' and 'X_GApiInitAccessToken' can only be set through provisioning xml.

you might try provisioning with something similar to EnableGVSIPWithoutOBiTALK.xml but setting those values to defaults as well.
coaster
join:2009-09-29
said by naf:

you might try provisioning with something similar to EnableGVSIPWithoutOBiTALK.xml but setting those values to defaults as well.

I set the following entries to defaults in a new provisioning xml:

X_GApiRefreshToken
X_GApiInitAccessToken
X_GoogleClientInfo

I reset the entries using the default button, saved and re-provisioned with the new xml.

Now the new SIP configuration is working as it should. Thanks for the tip.
ssyspro
join:2018-09-21
to naf
said by naf:

Adding a shell to the 50x fw is trivial since the stock image actually includes dropbear and has just moved the init script to a dir named 'unused' ;-)

Should be as simple as:

wget http://fw.obihai.com/OBi500-4-0-1-5235.fw
fw-unpack.sh OBi500-4-0-1-5235.fw
cd _OBi500-4-0-1-5235.fw/
sudo unsquashfs -d squashfs-4-rootfs 4-body
mv 4-body 4-body.orig
sudo mv squashfs-4-rootfs/etc/unused/S50dropbear squashfs-4-rootfs/etc/init.d/
sudo sed -i 's/root::/root:RjzQVrYR2O2vw:/g' squashfs-4-rootfs/etc/shadow
sudo mksquashfs squashfs-4-rootfs 4-body
cd ..
fw-pack.sh _OBi500-4-0-1-5235.fw OBi500-4-0-1-5235.modded.fw
 

Not sure what other features one would want in a modded 50x box... ?

I'll choose a more recent version and add a way to change the hardcoded root password and publish an official unofficial one when I get around to it...
Thank you naf, I now have ssh access. My mission is to provision multiple google voice lines on this device it is replacing some 200's. I picked it up cheap and when I got it I discovered its provider customized.
naf
join:2017-12-12

1 edit
said by ssyspro:

I now have ssh access.

That was easy.
said by ssyspro:

My mission is to provision multiple google voice lines on this device it is replacing some 200's.

I think we have the knowledge to bypass the provider customization (assuming its anything like the 30x's), but even if we did I'm guessing you'll need newer firmware than 5235 to use current sip-based GV at all...

5872 is the latest i've got a copy of. anybody got anything newer?

caution: i have no exploits to bypass the pki cert checks in 5872-ish firmwares so i would recommend waiting till i release a firmware with that check bypassed to try 5872+

if you want, pm me a link to a dump of your flash and i'll take a look-see on the customization part (i.e. cat /dev/mtd5 > /var/tmp/mtd5-dump, etc)
ssyspro
join:2018-09-21
said by naf:

if you want, pm me a link to a dump of your flash and i'll take a look-see on the customization part (i.e. cat /dev/mtd5 > /var/tmp/mtd5-dump, etc)

pm sent , and `thank you` your help and work is very much appreciated
naf
join:2017-12-12

1 edit
-- params at 000b0000 --
318c16d1 04000003: d1168c31 (???) = 0x74010000
318c16d1 00007003: d1168c31 (???) = 0x
25a4ed70 1b000001: 70eda425 (???) = "Granite Telecommunications"
25a4ed70 00007001: 70eda425 (???) = ""
a780dddb 11000001: dbdd80a7 (???) = "4a85c22dd951fba0"
a780dddb 00007001: dbdd80a7 (???) = ""
e645eb46 0d000005: 46eb45e6 (DM_S_.xml/Auto Firmware Update/Method) = "System Start"
cadb64b2 04000003: b264dbca (DM_S_.xml/Auto Firmware Update/Interval) = 0x80510100
87d2f847 09000001: 47f8d287 (DM_S_.xml/Auto Firmware Update/TimeofDay) = "00:00+30"
4259c2b4 04000003: b4c25942 (DM_S_.xml/Auto Firmware Update/RandomDelayRange) = 0x1e000000
15a84ce6 5c000001: e64ca815 (DM_S_.xml/Auto Firmware Update/FirmwareURL) = "IF ($FWV < 4.0.4.5729 ) http://phone.granitevoip.com/sip-ps/4.0.4.5729/OBi500-4-0-4-5729.fw"
75017d7f 31000001: 7f7d0175 (DM_S_.xml/ITSP Provisioning/ConfigURL) = "https://phone.granitevoip.com/sip-ps/OBi$MAC.xml"
8d755f58 0d000005: 585f758d (DM_S_.xml/OBiTalk Provisioning/Method) = "Periodically"
8d755f58 00006c05: 585f758d (DM_S_.xml/OBiTalk Provisioning/Method) = ""
3191a3f1 04000003: f1a39131 (DM_S_.xml/OBiTalk Provisioning/Interval) = 0xb4000000
3191a3f1 00006c03: f1a39131 (DM_S_.xml/OBiTalk Provisioning/Interval) = 0x
f555398b 30000001: 8b3955f5 (DM_S_.xml/OBiTalk Provisioning/ConfigURL) = "https://prov.obitalk.com/obhsnprov/init/initkey"
f555398b 00006c01: 8b3955f5 (DM_S_.xml/OBiTalk Provisioning/ConfigURL) = ""
 

format same as it ever was. should be able to wipe those by just changing the offsets from clear_zt_params...
naf

1 edit
to ssyspro
ssyspro - i sent you a pm with a link to param_dump and clear_zt_params for a 50x (untested, might brick your box or kill your dog, etc)

if you are so bold as to run them: use param_dump to see whats there, then make sure clear_zt_params shows the correct mac before confirming flash write, then param_dump again to make sure it says 'Generic'...

ETA: o yea, i almost forgot that im gonna have to patch obiapp so it doesn't just download them again, duh... (and to config GV without the portal, and to bypass the pki checks, blah blah blah)
ssyspro
join:2018-09-21

1 recommendation

Okay, I was so bold - I cleared it now shows Generic I rebooted and still shows Generic
naf
join:2017-12-12

1 recommendation

So far so good.

I'll take a crack at patching the binary when I get some time in the next couple days...
naf

1 edit
to ssyspro
ok, sent you a link to a my proposed obiapp mod, based on 5903 which i found scanning obi fw site. it includes: zt bypass + fw cert bypass + oauth from password field.

to test, scp it onto the box and mount-bind it over the one at /obi/obiapp, then use the web gui to "restart", which should just re-run with the modded exe (until next hard boot). Should be able to test GV connection from there. syslog should show which oauth method its using if you turn it on.
ssyspro
join:2018-09-21
Well that was interesting, I powered the device on this morning to give this a try.

I scp the file over, verified still at Generic then after bind I must have hit a trip wire because the power light went amber and device flashed its firmware returning to custom state.

So I blocked all url's and the ip address found in firmware for updates and provisioning in my firewall then flashed it back and tried again this time I decided to try executing obiapp on cli and got an error " /obi/obiapp: can't load library 'liblldpctl.so.4' " so I think I will need to load a newer firmware with the required library's to run the patched obiapp.
naf
join:2017-12-12

1 edit
two choices:
- upgrade to a shelled version of 5677 (»fw.obihai.com/OBi500-4-0 ··· -5677.fw) which does have that lib and retry mount-bind test
- say fuck it and just flash the 5903 variant i sent you a link to, hoping that i either screwed up obiapp thus killing the webgui *or* i screwed up dropbear killing the shell, *but not both* which would be bad
ssyspro
join:2018-09-21
Tried the safe way and after reload I get

XML Parsing Error: not well-formed
Location: »10.0.16.189/DI_S_.xml
Line Number 341, Column 65:
value hash="405ea263" type="input" default="Unlocked" current="�

Then I said what the hell and tried to flash the firmware package and get
Firmware package checksum error
naf
join:2017-12-12

1 edit
said by ssyspro:

Tried the safe way and after reload I get

XML Parsing Error: not well-formed
Location: »10.0.16.189/DI_S_.xml
Line Number 341, Column 65:

"405ea263" is CustomizationStatus. must have fucked that up somehow.

ill send you a link to a patched obiapp *without* any zt/customization changes, see if that works better...
said by ssyspro:

Then I said what the hell and tried to flash the firmware package and get
Firmware package checksum error

Ha, apparently *I* was too stupid to run fw-pack.sh correctly. judging by above, i guess thats a good thing this time though
ssyspro
join:2018-09-21

4 edits
Okay patched obiapp is working now but have a new issue on ITSP I can select google voice as signaling protocol until I load the xml file then signaling protocol is set to sip with default checked and grayed out if I try to change it back to google voice I get this message ' OBi device is currently busy, your requests can not be completed. '

edit.. thought I could select it on itsp that i didn't load xml on but seems to be giving same message I will need to recheck this

edit 2.. Okay it does not seem to be allowing google voice to be set via xml or gui for any itsp profile.

edit 3.. last edit I promise -- Okay not sure why those values were being set read only and could not be changed via xml or gui nothing I tried corrected it so I ended up removing the block in firewall to prov.obitalk.com and let it clear itself and set all the custom settings then started over blocking all the provisioning url's loading a modded firmware binding the opiapp now the values can be set and I have one voice line working in gui says connected I will test calls in morning. So looking good naf

jsolo1
Premium Member
join:2001-07-01
PRIL
Even if you could select GV signaling protocol, you still need the xml file read so the hidden settings can be applied.
ssyspro
join:2018-09-21
Thanks jsolo1 any idea why it seems to be read only and how to return it to read/write

jsolo1
Premium Member
join:2001-07-01
PRIL
Look at the xml file use. Some settings control visible paramters, others hidden. Look at how many hidden ones there are. More than likely this arrangement is used to keep users from breaking things. Users are stuck using the obitalk portal if they don't flash the custom firmware or get a unit with already updates firmware. The portal is ok but very dumbed down. Most of us here insist on full control over our devices.
naf
join:2017-12-12
to ssyspro
i believe when you're unable to save any setting, its because you're stuck in 'retrieving ZT config' mode until the box can contact »prov.obitalk.com/obhsnpr ··· touch/zt to update its vendor-locked ZT config. makes sense that it would go into a low-functionality mode until it can access the url, otherwise people would just block it like you tried

check syslog to confirm. should be stuff like "ZT: Prepare to contact server", etc and i think the in-progress status might be shown in the CustomizationStatus field on the gui.

on the other firmwares, ive had to patch obiapp to bypass the 'retrieving ZT config' mode altogether (in addition to the clear_zt_params util to delete anything that was already downloaded to the device).
naf
to ssyspro
ah, i think i spotted how i screwed up the zt bypass in obiapp5903mod: i short circuited a temp getting set that later gets used where it is assumed to be zero.

sent you a link to obiapp5903mod3 that should successfully bypass the zt crap *without* breaking the DI_S_ webgui page.
ssyspro
join:2018-09-21
Thank you naf I loaded it on the device and gui seems to be working, awesome job. I didn't have much time to test but I did try some calls all failed incoming and outgoing but I may have goofed something up. I have had something come up so I will away for a few days and will check in next week and do some testing then I will also have syslogs I know they will help.
naf
join:2017-12-12

1 edit
ya, i dont think GV calls will work using obiapp5903mod3 on top of 5677, cause there's some additional files added in 5903 that it would be missing (hardcoded dtls certs, for example).

when you get back, i would recommend testing the pki cert bypass in obiapp5903mod3 by using it to flash the fully modded 5903 that ill post here in a minute. (if i fucked up the oauth stuff we can just fix it in another version, as long as the pki cert bypass works)
naf

2 edits

Re: OBi504/OBi508 firmware mod releases

[untested as of yet, but here goes nothin...]

bsdiff for OBi500-4-0-5-5903EX.fw (»fw.obihai.com/OBi500-4-0 ··· 903EX.fw)

modifications:
1) enable dropbear ssh server. default root passwd = "obi".
2) patch obiapp to use oauth token request override, for provisioning GV without obitalk
3) patch obiapp to bypass "zero touch" forced configuration. added clear_zt_params util to clear old zero touch params.
4) patch obiapp to bypass signed firmware check when loading new fw

md5sum OBi500-4-0-5-5903EX-ssyspro3.fw = 13cdfda8bb844d134044e4f482b927cf
brennan
join:2018-10-01
to naf

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

hi,

my obi200 is on 3.2.2 (Build: 5898EX). i understand it is not possible to directly install/downgrade to OBi2-3-2-2-5859EX-arrynrob7.fw.
can you please let me know how to go about it?
naf
join:2017-12-12
said by brennan:

my obi200 is on 3.2.2 (Build: 5898EX). i understand it is not possible to directly install/downgrade to OBi2-3-2-2-5859EX-arrynrob7.fw.

sent you a pm
arihan
join:2018-09-19
Rolla, MO
to naf

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

Hi,
I have obi200 and thanks to naf for helping with the firmware update. Now the google voice is working perfectly fine with it. The only problem that I have is some random ringings! it just keeps ringing like someone is calling! does anybody have the same problem?!

Thanks!
ssyspro
join:2018-09-21
to naf

Re: OBi504/OBi508 firmware mod releases

Thank you, naf

I have patched the firmware with the diff and flashed successfully, everything looks good I can configure a GV account and gives status of connected but still having same issue as before I can not call out or receive calls.

I will pm you the syslog to take a look at it covers a reboot and attempt to place a call.
naf
join:2017-12-12
log shows its still trying to use the now-defunct XMPP protocol.

should be able to kick it over to the new protocol by provisioning with »fw.obifirmware.com/Enabl ··· TALK.xml (for SP1). more instructions at »www.obifirmware.com/OAuth2

[that also disables ObiTalk, because if obi forces a firmware update to you through obitalk, i currently have no exploits to bypass the pki cert check for recent 50x fws...]
ssyspro
join:2018-09-21
Forgot to say I did follow that already several times. After a fail I retried in case I goofed. I then tried reset button and retried the process. I then tried 2 other google accounts just in case it was an issue there. Then tried sp2 still failing.

It does set obitalk services to disable also sets all correct parameters that are visible in web gui only thing I have not noticed happening is the double reboot mentioned.

other suggestions ?

Can I see all current values set by xml on cli by chance to verify?
naf
join:2017-12-12
said by ssyspro:

Can I see all current values set by xml on cli by chance to verify?

Possibly, try using param_dump from the tgz i sent you before. But if you say the gui-visible items from the xml worked (ITSP/SIP/ProxyServer for example) then it atleast took the provisioning file.

And although i don't think we have any 50x users around here, i assume that 5903 fw version supports GVSIP, atleast based on it containing similar strings that were added in the 20x series fw when GVSIP support was introduced there.

normally i would just steal the proper config from obitalk (if 50x's even work with obitalk?) but it seems pretty risky if they also flash a stock fw. maybe i can make a fw that rejects all fw upgrades and see how obitalk thinks the device should be configured?

other than that its down to peaking through the binary and figuring out what triggers the switch between XMPP and GVSIP...
Brown
join:2018-01-21
Any chance it's low on mem like the olisom5/5b experience > »Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods
naf
join:2017-12-12
said by Brown:

Any chance it's low on mem like the olisom5/5b experience

dont think so, sounds like both shell and obiapp are acting normally. just normal xmpp instead of normal gvsip for an as-yet-unknown reason.
ssyspro
join:2018-09-21
to naf
Well I checked obi site for the 504 and 508 both seem to be missing GVSIP as an option should be listed right under signaling protocol like other devices.
»www1.obitalk.com/Downloa ··· i508.xml
naf
join:2017-12-12
could just be that link is out of date?

note how "X_EarlyICEEnable" appears on the ITSP webgui screen but not in the 'data model' xml, for example.
ssyspro
join:2018-09-21
yeah I see posts in the obi forum that say gvsip was enabled as of build 5903.

I don't know if it should be there or not but noticed the OBIExtras line is missing from product information in gui on this device everything else seems to look as it should do you need any more information from me to help figure this out?
naf
join:2017-12-12

1 edit
did you ever try to add it to obitalk portal and confirm that it can't be added due to vendor customization? (when the portal itself was actually working, that is)
ssyspro
join:2018-09-21
Yes I did try to add but could not.
naf
join:2017-12-12

1 edit
well, i found a test box, so i can atleast confirm that its not something you are doing wrong cause i get the same xmpp crap.

quick notes to myself: i fucked up that password change stuff by putting it too early, and where the hell is the logging for the AuthPassword override?

UPDATE: wait, that EnableGVSIPWithoutOBiTALK_SP4.xml doesn't work on an obi20x either. something funky going on here... ??

jsolo1
Premium Member
join:2001-07-01
PRIL
Figure it out? I don't see any differences between the obifirm sp4.xml and the one i'm using. Maybe something else changed?
arihan
join:2018-09-19
Rolla, MO
to naf

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

Is it possible to clone/change the serial number/Obi number of a obi200?
naf
join:2017-12-12
to jsolo1

Re: OBi504/OBi508 firmware mod releases

said by jsolo1:

Figure it out? I don't see any differences between the obifirm sp4.xml and the one i'm using. Maybe something else changed?

ok, things are becoming a little clearer:
- in 5859, the obifirmware-provided xml works fine (for all SP#s).
- upgrading from 5859 to 5898 without clearing config, everything still works.
- clearing config in 5898 and using the obi-provided xml, falls back to XMPP
- obitalk can provision a 5898 config that uses GVSIP from cleared config
conclusion: need to clone the 5898 config from obitalk

guess this explains all the "5859 works better than 5898" and "i cant make/receive calls in 5898" complaints that i ignored. my bad.

good news is that i expect that when we get a good config for 5898+ (i see 5921 is out as well), we'll fix that *and* the obi5xx build
naf
said by naf:

conclusion: need to clone the 5898 config from obitalk

easier said than done. i poked around on this some today, and i can't get gvsip even when i use the goddamn obitalk-provided xml. some other magic going on here...

might help if i understood the format of the param sections when they store multiple settings *or* what the damn hash method is to get from param name to hash.

on the other hand i did make a 5921-arrynrob7 (so I can use portal intermittently without it trying to flash the fucker up to this jank 'i dont have a shell' stock crap.)
Brown
join:2018-01-21
I'm hoping one of those new params is the key for unlocking ringback for Asterisk. Do you think there's a chance of that?
naf
join:2017-12-12

1 edit

1 recommendation

said by Brown:

I'm hoping one of those new params is the key for unlocking ringback for Asterisk. Do you think there's a chance of that?

nah, different things entirely.

in the obi its the X_Sticky18x bit i believe.

[and its not like we don't know what to do in asterisk: its just that the spec explicitly says 'you shouldn't do it like that and if you do clients should ignore it anyway'. obis dont have sip clients (in this case) so they don't have to worry about any out-of-spec ringback workarounds they implement being ignored by a spec-following client]
naf
said by naf:

might help if i understood the format of the param sections when they store multiple settings *or* what the damn hash method is to get from param name to hash.

ok, fixed param_dump with knowledge of multi-param sections. now i can actually see what im doing.

as we sorta guessed, the only difference between provisioning the EnableGVSIPWithoutOBiTALK.xml with 5859 and 5898/5921 is that 5859 saves the setting named 'GVSIP' where later fws dont save it (but somehow do read it to be backwards compatible?)

maybe worst case i can just smash in that value manually, similar to clear_zt_params? (since i still have no clue as to the name->hash mapping for things that aren't in the webgui)

jsolo1
Premium Member
join:2001-07-01
PRIL
Do these newer (5898+) fw's somehow enabled gvsip functionality using different means then?

Can the firmware be spoofed? That is, make it report a certain version but still be downgradeable, have ssh, etc..?
naf
join:2017-12-12

1 edit
its the same means because i can see the GVSIP setting in flash. when its set, it uses GVSIP, when its not, it uses XMPP. i just cant set it anymore.

here why im perplexed:
- i can see all the configuration settings that are stored in flash
- i can see & decrypt all the provisioning that obitalk sends
- in 5859 the obifirmware provisioning saves the GVSIP setting in flash
- in 5898/5921 the obifirmware provisioning doesn't get saved in flash (all other settings do)
- obitalk provisioning saves the GVSIP setting in both 5859 and 5898/5921
- but when i replay the same provisioning files that obitalk sends [albeit with the provisioning settings removed] the GVSIP setting still doesn't get saved

WTF? ill post the tools if somebody wants to see what idiotic mistake im making...
naf

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

OBi202-3-2-2···diff.zip
775,373 bytes
param_dump.zip
1,316,685 bytes
bsdiff for OBi202-3-2-2-5921EX.fw (»fw.obihai.com/OBi202-3-2 ··· 48940.fw)

modifications:
same as other arrynrob7 mods, just rebased to 5921: shell, oauth, zt bypass, yada yada

md5sum OBi202-3-2-2-5921EX-arrynrob7.fw = 09889c6c75acb95492d5dbe22c3d6935

BONUS: updated param_dump

jsolo1
Premium Member
join:2001-07-01
PRIL
to naf

Re: OBi504/OBi508 firmware mod releases

Maybe they're sending some other provisioning tidbit using some other means? Does packet inspection reveal anything useful?
naf
join:2017-12-12
said by jsolo1:

Maybe they're sending some other provisioning tidbit using some other means? Does packet inspection reveal anything useful?

But the params are saved in order, and its in the same order as the obitalk provisioning, so theres pretty good evidence thats where its coming from.

I do know a lot of useless crap now though, like the setting name hash function is djb2:
# ./param_dump  | grep GVSIP
b61aa863 05000004: 63a81ab6 (SP1.GVSIP) = "true"
# ./hash_djb2 VoiceService.1.VoiceProfile.1.GVSIP
63a81ab6
 
nguyenhoang
join:2018-10-11
to naf

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

Hi naf,
You are great. This post is long. I read first 6 pages and last 5 pages. I am new to this forum. I still need a lot to learn. If I ask something that doesn't make sense, please feel free to clarify or correct me.
I bought obi302 with ZT in serial number. I followed the instruction below from obifirmware.
OBi2-3-2-2-5859EX-arrynrob7.fw
OBi2-3-2-2-5898EX-arrynrob7.fw
1. add dropbear ssh server. default root passwd = "obi". [Hint: login and change the SSH root password asap. Now started by custom startup script in /scratch/etc/rc.custom, change as you please.]
2. patch obiapp to use oauth token request override, for provisioning GV without obitalk. [unknown if this works with new non-XMPP GV]
3. patch obiapp to bypass "zero touch" forced configuration. added clear_zt_params util to clear old zero touch params [param_dump available separately due to size]
4. patch obiapp to use /scratch/contacts.xml for caller id number to name translation lookup.
5. patch obiapp to bypass signed firmware check when loading new fw, and reuse old uboot without bootdelay=0 and silent=1 madness
6. OBi300/OBi302: enable Google Voice.

#1 where is the dropbear ssh server? Is it inside the firmware? Do I need to start the script /scratch/etc/rc.custom?
#2 where is obiapp? what is clear_zt_params? If I go through oauth token request override, I don't need to execute the clear_zt_params from SSH client console. Is that right?
#6 OBi300/OBi302 only is enabled after all 1-5 step are done. Is it correct statement?

I upgraded my Obi302 (bought from eBay) by the firmware above. I went to step #2. I followed OAuth2 page1 and page2. The Obi302 reboot but the SP1 showing "not configured". I read this thread and knew my Obi302 is Zero Touch. I need to force it to generic. I used Putty and SSH to Obi302. I ran the clear_zt_params, it asked for confirmation. I typed y. I power cycle the obit302. The serial number still shows ZT and the SP1 still shows "not configured". Please help . Thanks.
naf
join:2017-12-12
said by nguyenhoang:

I power cycle the obit302. The serial number still shows ZT and the SP1 still shows "not configured".

Use 5859EX-arrynrob7.fw. You can verify that clear_zt_params worked by checking CustomizationStatus on the status page, should be Generic after running clear_zt_params (serial number wont change). Then ITSP Provision the xml provided by obifirmware, which should get SP1 to show something other than 'not configured'.
naf

2 edits
ok, i believe i found a solution to the GVSIP enable crap. theres a new section that appears right after loading params that sets some unknown param-related setting (lock? readonly? obi-only?) on all the SPx.GVSIP param entries. So I just NOOP'd all of those and it appears to work using the same provisioning as always.

Works in both 20x and 50x. (Also fixed the password changing bug and the no-syslog bug in 50x)

Firmware releases below. OBi1FW See Profile, if you would do the honors please...
naf
bsdiff for OBi500-4-0-5-5903EX.fw (»fw.obihai.com/OBi500-4-0 ··· 903EX.fw)

modifications:
1) enable dropbear ssh server. default root passwd = "obi".
2) patch obiapp to use oauth token request override, for provisioning GV without obitalk
3) patch obiapp to bypass "zero touch" forced configuration. added clear_zt_params util to clear old zero touch params.
4) patch obiapp to bypass signed firmware check when loading new fw
5) patch obiapp to bypass GVSIP provisioning lock

md5sum OBi500-4-0-5-5903EX-ssyspro4.fw = d03600cd95e7b31898ef52c347aee153
naf
bsdiff for OBi202-3-2-2-5921EX.fw (»fw.obihai.com/OBi202-3-2 ··· 48940.fw)

modifications:
1) enable dropbear ssh server. default root passwd = "obi".
2) patch obiapp to use oauth token request override, for provisioning GV without obitalk
3) patch obiapp to bypass "zero touch" forced configuration. added clear_zt_params util to clear old zero touch params
4) patch obiapp to use /scratch/contacts.xml for caller id number to name translation lookup
5) patch obiapp to bypass signed firmware check when loading new fw
6) patch obiapp to bypass GVSIP provisioning lock

md5sum OBi202-3-2-2-5921EX-arrynrob8.fw = cfcf8bf7955fbcfd4db0c2d726cb5df5
OBi1FW
join:2017-12-27
Vienna, VA
to naf
said by naf:

OBi1FW , if you would do the honors please...

It's done!
ssyspro
join:2018-09-21
to naf

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

This seems to be working for me.
Great Job!!
Thank you naf.
nguyenhoang
join:2018-10-11
to naf
Thank you, naf. Please answer some of my questions above.
arihan
join:2018-09-19
Rolla, MO
to naf
Is it possible to clone/change the serial number/Obi number of an obihai (e.g. obi200)?
naf
join:2017-12-12
said by arihan:

Is it possible to clone/change the serial number/Obi number of an obihai (e.g. obi200)?

the serial appears in a x509 certificate signed by obihai.
so it would be possible to clone one from another existing box, but not create arbitrary values.
[also, why?]
nguyenhoang
join:2018-10-11
to naf
Hi naf,
My Obi302 still shows CustomizationStatus = generic but I still see SP1 service is not configured. Should I continue to do all the way to #6?
naf
join:2017-12-12
said by nguyenhoang:

My Obi302 still shows CustomizationStatus = generic but I still see SP1 service is not configured. Should I continue to do all the way to #6?

The numbered bullets you keep quoting aren't steps for you to follow. They are just a list of changes I made to the firmware.

Assuming your firmware version is now 5859-arrynrob7 or 5921-arrynrob8, you need to follow the instructions at »www.obifirmware.com/OAuth2/ about ITSP provisioning to get SP1 configured.
nguyenhoang
join:2018-10-11
Hi naf,

sorry, I am new to this stuff. That's why you see I asked many questions.

Now, I understand # is the list of changes. When I went through page 2 of www.obifirmware.com/OAuth2/ , I got stuck at step 4. I didn't see SP1 was Google Voice.

"4. Submit, reboot. Your OBi will reboot twice. The second time, Google Voice is enabled."

Do I need to go through www.obifirmware.com/OAuth2/ in order to see Google voice enabled on SP1? Thanks.
nguyenhoang
to naf
I got error after clicking click Authorize APIs of OAuth2.

400. That’s an error.
Error: redirect_uri_mismatch
nguyenhoang
to naf
I don't see 400 error anymore, and I can get the Authpassword. I copied and pasted it to ob302. I submitted and rebooted but my Obi302 still didn't work. I checked the SP1 status. It showed "Service not configured".
andre2
join:2005-08-24
Brookline, MA
to naf
After upgrading my OBi200 to 5921EX-arrynrob8, I noticed that a nonfunctional GV forwarding phone "OBiTALK Device" is added (the working one that's added after running EnableGVSIPWithoutOBiTALK.xml is called "OBiTALK Device - XXXXXXXXX", where XXXXXXXXX is the device's OBi number). Even if I delete it, it gets readded within a few minutes. I tried deleting all forwarding phones and rerunning the script, but no improvement (it recreates the working phone, but shortly after the nonworking phone appears as well). The two phones have different SIP addresses, both ending in "===@obihai.sip.google.com". This issue did not happen with 5898EX-arrynrob7. It seems cosmetic only.

jsolo1
Premium Member
join:2001-07-01
PRIL
^^Chances are something changed in your config. Just delete both from your google voice legacy profile. Reboot the obi then check your profile again. There should only be a single obitalk device added.
andre2
join:2005-08-24
Brookline, MA
I did what you suggested, but the extra phone eventually showed up again. I'll just ignore it.

jsolo1
Premium Member
join:2001-07-01
PRIL
In that case, perhaps you have to slots configured to the same gv account?
andre2
join:2005-08-24
Brookline, MA
I've only ever used SP1.
Brown
join:2018-01-21
Is it registered with Obitalk? It doesn't need to be.
andre2
join:2005-08-24
Brookline, MA

4 edits
It's not. I removed the device from the Obitalk dashboard a while back, and disabled a bunch of things in the settings to prevent auto provisioning or auto updating of firmware.

Edit: I downgraded to OBi2-3-2-2-5898EX-arrynrob7.fw, but the extra phone still appears after a while. I'm at a loss.

Edit: The two SIP addresses end with the same 35 characters, followed by "===@obihai.sip.google.com". The working SIP address has an additional 26 characters in front, the nonworking address has an additional 18 characters. Both addresses stay the same even when deleted and recreated.
naf
join:2017-12-12

1 recommendation

said by andre2:

The two SIP addresses end with the same 35 characters, followed by "===@obihai.sip.google.com". The working SIP address has an additional 26 characters in front, the nonworking address has an additional 18 characters.

Just for curiousity sake, base32-decode them and take a look: »emn178.github.io/online- ··· ode.html

Format should be something like "\r\n"+SERIAL+ "_" + SP# + some other garbage

jsolo1
Premium Member
join:2001-07-01
PRIL
^^Is that other garbage useful in any way?
naf
join:2017-12-12
said by jsolo1:

^^Is that other garbage useful in any way?

dont think so.

the first section is just whatever username is provided in the SIP REGISTER message that creates the entry. obi just happens to use SERIAL+ "_" + SP#. (asterisk/gvsip specify whatever they want in pjsip.conf client_uri/username)

the rest is generated by google, and is apparently constant for an individual GV account, but other than that no clue what it means or is useful for
andre2
join:2005-08-24
Brookline, MA
to naf
The decoded version of the working address (just the 26+35=61 chars) starts with the OBi's serial number, with some Unicode chars before and after, then 20 decimal digits. The decoded version of the nonworking address starts with the username of the Gmail address associated with the GV account, then some Unicode chars, then the same 20 decimal digits.

Edit: BTW, I upgraded back to 5921 after noticing that downgrading didn't help.
MooreR
join:2018-10-22
Spokane, WA
to naf
First off thanks for all your awesome work... amazing... that's all I will even say..

I'm one of the unfortunate users stuck on 3.2.2 5898EX for the obi202. Would it be possible to get some help on that downgrade method? Would be so grateful... Thanks so again for your awesome hardwork making this device something more for us all!
turk
join:2009-03-10
canada
to naf
Have OBi2-3-2-2-5859EX-arrynrob7.fw installed and working fine with GV. Now wish to add another voip provider but seem to have lost the admin password (I probably changed it from the default) What is the best procedure to retrieve or change password without losing data?
naf
join:2017-12-12
to MooreR
said by MooreR:

Would it be possible to get some help on that downgrade method?

sent you a pm.
naf

2 edits

2 recommendations

to turk
said by turk:

Have OBi2-3-2-2-5859EX-arrynrob7.fw installed and working fine with GV. Now wish to add another voip provider but seem to have lost the admin password (I probably changed it from the default) What is the best procedure to retrieve or change password without losing data?

normally id say just reset, but ok ill bite just for fun:

# wget http://www.dslreports.com/r0/download/2370808~9f32a5010ac4a31a72ad6485bb27737e/param_dump.zip -O - | gzip -d > /var/tmp/param_dump
# chmod +x /var/tmp/param_dump
# /var/tmp/param_dump | grep AdminPassword
b6f5e118 09000001: 18e1f5b6 (DM_MISC_.xml/Web Server/AdminPassword) = "notadmin"
 

EDIT: stealing jsolo1's idea of wget-ing straight from the attachment
turk
join:2009-03-10
canada
Thanks naf but what do I do with that?

jsolo1
Premium Member
join:2001-07-01
PRIL
to naf
So much for security.. It's all right there in plain text!!!
turk
join:2009-03-10
canada
It may be plain text but it doesn't give me access

jsolo1
Premium Member
join:2001-07-01
PRIL
Are you saying you can't access ssh or the password it shows doesn't work?
turk
join:2009-03-10
canada
The password it shows doesn't work. I am not trying to access SSH. Just entering pw when device asks to log in

jsolo1
Premium Member
join:2001-07-01
PRIL
So you were able to successfully execute param_dump? That's odd, because for me it shows the correct webadmin password.
turk
join:2009-03-10
canada
to jsolo1

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

I did not execute a param_dump. Not sure how to do that? That is why I asked what to do with that

jsolo1
Premium Member
join:2001-07-01
PRIL

1 recommendation

Oh..........

You need to ssh into the obi box.

Unless you changed it, the default login is "root", pass "obi" (without quotes).

Once there you need to SCP (winscp works well) the param_dump file into /tmp. Make it executable (chmod +x), then run the line naf posted. It will output the password.

----

You could also use wget directly from within the ssh session.

# cd /tmp
# wget »/r0/do ··· dump.zip
»/r0/do ··· ump.zip: HTTPS support not compiled in.
# wget »/r0/do ··· dump.zip
--2018-10-23 11:29:55-- »/r0/do ··· dump.zip
Resolving www.dslreports.com... 64.91.255.98
Connecting to www.dslreports.com|64.91.255.98|:80...

My obi is blocked from any web access by the upstream firewall, so port 80/443/8080 and a few others are inaccessible to it.

gzip -d param_dump.zip should extract it.
turk
join:2009-03-10
canada

1 edit
Sorry I don't know how to SSH into the box. I have not done that so unless you are willing to lead me through step by step I don't know the procedure.
Maybe it would be easier to reset it.

jsolo1
Premium Member
join:2001-07-01
PRIL

1 recommendation

I would recommend learning how to do so.

Here's one that came up in a google search

»mediatemple.net/communit ··· n-putty-

If all of this seems complicated and you don't want to learn then perhaps it's best to just stick with the stock/obiportal provisioning.
turk
join:2009-03-10
canada
I don't mind learning something new as long as the learning curve is not prohibitive and I will use it again in the future. I'll give it a shot.
turk

1 edit
to jsolo1
Have been trying to use putty but have run into a snag due to my lack of knowledge of using SSH. What is the user name and pw when trying to connect through putty?
Guess I need to study somemore!
turk

1 edit
to jsolo1
Finally SSH into box. Ran "# wget »/r0/do ··· dump.zip -O - | gzip -d > /var/tmp/param_dump. Seemed to complete 1.26M Says written to stdout Then prints a group of "PuTTY" and then says file name too long. Would send screenshot if I could figure out how to.

Finally got it to work, the dump did show the password ,one of the characters was an l but it looked like a 1 when I used l it let me into the box.
arihan
join:2018-09-19
Rolla, MO
to naf
Hi All,
I tried this at least 10 times (clean install of the arrynrob and following the instruction carefully) but still, I'm getting the following error:

SP4 Service Status
Parameter Name Value
Status Connecting to 0.0.0.0

what can be possibly wrong here?
Thanks!
naf
join:2017-12-12
said by MooreR:

is there any ways that I could look into, or you could point me at for investigation that would allow for possible CNAM lookup of incoming callers via API's (ex: opencam or custom API's?)

i pm'ed you a test obiapp that replaces the 'go lookup incoming number in contacts.xml' function with a 'call custom script at /scratch/cid.sh with a single argument of the incoming phone number, expecting the name to be returned in the first 31 characters of stdout from the script'.

ideally, the firmware could provide a default script that just searches contacts.xml like it would have otherwise and let people overwrite it as they please...
Gosset
join:2018-01-18
to naf
"Feds Say Hacking DRM to Fix Your Electronics Is Legal"
»motherboard.vice.com/en_ ··· o-repair

'the federal government has ruled that consumers and repair professionals have the right to legally hack the firmware of “lawfully acquired” devices for the “maintenance” and “repair” of that device'
MooreR
join:2018-10-22
Spokane, WA
to naf
So, I tried the mount binding again, and using the alternative method for soft-rebooting with killall obiapp but it just killed the app and didn't restart it, doesn't look like it even tried to. The web method still is restarting ssh and everything else, and removing all files from tmp, so a full reboot from what you explained to me.

Without mount binding the modified obiapp, the web-gui does indeed do a simple web based restart without kicking me off ssh or clearing temp files. So I am assuming it's something that's happening that my obi202 does not agree with that modified version? Do you want to see the syslogs?
naf
join:2017-12-12
said by MooreR:

So, I tried the mount binding again, and using the alternative method for soft-rebooting with killall obiapp but it just killed the app and didn't restart it, doesn't look like it even tried to.

Ah, I bet I forgot to say to make it executable before mount-binding? (it tries to re-run it, it just can't haha)

# chmod +x /var/tmp/obiapp5921mod3
# mount --bind /var/tmp/obiapp5921mod3 /obi/obiapp
# killall obiapp
 
MooreR
join:2018-10-22
Spokane, WA
OH DER. Basics get forgotten in time when you get older and older, well, for some of us they do. Alzheimer or dumbtimers. One of those, probably the latter.

That worked perfectly
MooreR
to naf
Ok, so now that it worked fine... How did you say I could test this without actually making calls? I am actually making spoofed calls to get it to execute the script on call incoming. Or is this the wrong way to approach this right now? I know you showed me how you were testing it before, but I did not quite understand how that was showing it was working at all, maybe it was because it wasn't even working at all without making the script executable. I should probably go back and test that again.

ALSO, I noticed that the contacts.xml file is not even used at all. Is there a reason for this, or is it like under a development stage or just not something that's being looked at right now? I updated a contact on my google contact page, under the "Phonetic first" value, and this is what the Obi is actually picking up and displaying on my phone.
naf
join:2017-12-12

1 edit
So the current CID flow is:
- Call goes to GV, where GV sets CID to whatever it likes (we can't see into their system, but it obviously uses your contact list and some list of business it knows about)
- Call gets to obi, which sees the number and incoming GV-specified CID, and
- (if stock and no obiextras) just uses the GV-specified CID
- (if arrynrob7+ or obiextras) looks up number in in-memory cache of contacts.xml (read at obiapp starttime) to possibly override GV-specific CID if any was present
- (if obiapp5921mod3) runs /scratch/cid.sh and if such a script exists and execution produces a non-zero-length string to stdout before the first linefeed or EOF, replaces the GV-specific CID if any with the first 31 chars of that string

for testing the /scratch/cid.sh script is valid, you could just run the same command that obiapp5921mod3 executes: /bin/ash /scratch/cid.sh #########

jsolo1
Premium Member
join:2001-07-01
PRIL
So if one has freepbx/asterisk with CID superfecta, is it possible to pass the request on to it for lookup?
DJB628
join:2018-05-28
Delray Beach, FL

1 edit
to naf
I've been out of the loop for a bit as I've been busy. I just noticed there was a new release by Naf (OBi2-3-2-2-5921EX-arrynrob8.fw), the FW my OBI 202 is on is 3.2.2 (Build: 5859EX-arrynrob7), I'm not having any issues, just curious if I should upgrade the FW, or is it not required or needed ?

This question is to anyone that knows.
Anon1dabe
@199.15.87.x
Hi, I got a used obi302 off craigslist (yeah bad idea, I know) and it appears to be locked - can't add it in obitalk as it wants admin password and the default one won't work. Will loading the custom firmware allow me to find or change that password so that I can actually use this voip adapter?
naf
join:2017-12-12
said by Anon1dabe :

Hi, I got a used obi302 off craigslist (yeah bad idea, I know) and it appears to be locked - can't add it in obitalk as it wants admin password and the default one won't work. Will loading the custom firmware allow me to find or change that password so that I can actually use this voip adapter?

yes, but its going to be hard to flash a firmware without access to admin webgui.

some ideas to try:
- reset via button on bottom of device
- sniff traffic to find existing ITSP config URL, spoof that dns/url to provision a new password
- flash the chip directly via SPI
qfertig
join:2018-11-01
North Lawrence, OH
to naf
I'm sorry for asking this but I have been looking everywhere and this may be kinda of a noob question, but what exactly does "arrynrob" offer in terms of new features for my obi200. I was expecting to see a list somewhere of the features but none. Thank you for any input, and I apologize again for being a noob here.

jsolo1
Premium Member
join:2001-07-01
PRIL

1 recommendation

»www.obifirmware.com/#cta

Read #1...7
DJB628
join:2018-05-28
Delray Beach, FL
Any thoughts on my question ? or am I fine with the FW I have installed ?
QBZappy
join:2012-05-10
to jsolo1
I've tried several times setting up the "Refresh token" using the instructions on above mentioned web site. I never get passed this step.

Error: redirect_uri_mismatch

The redirect URI in the request, »developers.google.com/oa ··· ayground, does not match the ones authorized for the OAuth client.

Request Details

redirect_uri=https://developers.google.com/oauthplayground
prompt=consent
response_type=code
client_id=1000XXXXXXXXX-XXXXXXXXXXjafjirbq5045c0klp90u9.apps.googleusercontent.com
scope=https://www.googleapis.com/auth/googletalk
access_type=offline

In the final step of the "Google Voice on OBi ATA Manual Configuration" I do get a "Set the following AuthPassword:" text string. If I enter this AuthPassword string in the OBi202 AuthPassword I get "Connecting to 64.9.243.108;Token Error" message.

I have deleted the project and started over several times paying attention to each step. It seems to always fails after "click Authorize APIs".

I would very much appreciate your insight in why I fail setting this up as per those instructions.
TYIA

jsolo1
Premium Member
join:2001-07-01
PRIL
It's been a long time since I did everything from scratch. From what I recall, you need to provide your client_id and secret on the playground site to generate the refresh token.

Once you have everything you structure a string as outlined earlier in thread which includes the refresh token, client_id, and secret.

Make sure you are inputting the proper string for the scope when creating the refresh token.
ssyspro
join:2018-09-21
to QBZappy
After pasting the uri you may need to press the enter key to ensure it has actually been added.
QBZappy
join:2012-05-10
to jsolo1
I attached print screen of original O Auth error message. I tried using another Google voice number which I had. I received the same error message. I could find the web page to re-apply the uri. I get a new error message requesting to add the uri to the authorized domain. From what I can tell, to authorize it you must own the domain. Here is the follow up error message:

Authorized redirect URIs

For use with requests from a web server. This is the path in your application that users are redirected to after they have authenticated with Google. The path will be appended with the authorization code for access. Must have a protocol. Cannot contain URL fragments or relative paths. Cannot be a public IP address.
Invalid Redirect: domain must be added to the authorized domains list before submitting.

Has anyone located in Canada been able to get a refresh token using these instructions unto an OBi202?
zapattack
join:2012-07-02
CANADA
Works fine in Canada.
Note comment from QBZappy.
Don't just paste.
Click to highlight/enter before going to next step.

jsolo1
Premium Member
join:2001-07-01
PRIL
to QBZappy
Tried it successfully . Take a look.
QBZappy
join:2012-05-10
Thanks guys! Finally was able to make a call with Google Voice. Note in the image above where we need to Authorize APIs. I always failed here. Before clicking "Authorize APIs", I needed to press TAB. After pressing TAB a delete garbage can shows up next to the URI. Only once you see that delete can, you should go ahead and press "Authorize APIs". Another word of caution. The refresh token appears only for a short time in that rectangle. The web page changes to a "Request / Response" page showing various HTTP connections to Google. If you are not fast enough to grab the REFRESH TOKEN in the initial rectangle, you can grab it off that "Request / Response" page. It is the last line. Copy the REFRESH TOKEN back into STEP 9 of the Google Voice on OBi ATA Manual Configuration and continue with the instructions to configure the OBi202.

I haven't been using the OBi Google Voice since it stopped working on the OBi202. My wife can now resume calling her family in South America.

jsolo1
Premium Member
join:2001-07-01
PRIL
No need to be quick about anything. If it closes that section you can always reopen it by clicking on the arrow.

Pressing tab might be a function of the browser you use. Simply clicking worked fine for me in firefox/opera/chrome.

This whole setup is definitely not for the faint of heart, but only really needs to be done once. I haven't touched the main config in our obi's for many months now.
Anona99b0
@107.77.216.x
to naf

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

I tried doing the steps for the custom firmware on an Obi302, as I've done before. Some tiny hiccups since it's been a while from last time I did it. had trouble with the device doing the calls. 400 Bad Request. I tried a bunch of things. Concluded it's something to do with the last firmware arrynrob8. Found arrynrob7 on my computer so I decided to use that one. Worked like a charm. I don't know where I can report this so I make this little post for whomever might have the same problem. arrynrob8 does not work with my current set up/devices. arrynrob7 worked just fine.
sam61n2
join:2009-01-20
2203
Asus RT-AC68
Obihai OBi200
Obihai OBi302
to naf
I just noticed the possibility of updating to the modified firmware for a OBi302 to enable use of Google Voice etc., my OBi302 has later firmware than the warning, "arrynrob - for OBi200/OBi202/OBi300/OBi302 (Untested: OBi212)
(wont flash from stock 5853+ due to x509 signature check in stock upgrade. you were warned...)" so I'm probably out of luck, but I will ask anyway, is there anyway back to a firmware that can then update with the modified one?
Thanks
Sam
naf
join:2017-12-12
said by sam61n2:

is there anyway back to a firmware that can then update with the modified one?

sent you a pm.
Anon55714
@77.247.181.x
to naf
In the other thread I saw Simon's post about Obihai now using a new "voice calls" OAuth scope. Does this make it simple for Google to identify OBi devices running modified firmware i.e. those using the googletalk scope? Can it be construed as being in violation of Google or Obihai TOS?
Anon60c22
@69.162.230.x
to naf
I have a brand new OBi200. Is there an easy way (i.e. no soldering required) to extract my device cert and private key? I just want to use it for my naf-GVsip setup to minimize my changes.
naf
join:2017-12-12

4 recommendations

extract_keys.zip
8,443 bytes
Here's a tool to dump the private key and obi-signed certs from an obi20x/30x.
tbishop1
join:2003-02-26
San Diego, CA

1 edit
to naf
I moved my post was not sure it belonged in this subject area, thanks!

Thank you!
Tom Bishop
j623
join:2018-11-17
Blaine, WA
to naf
:hat tip: to you sir!
Anon60c22
@69.162.230.x
to naf
Thanks naf. Do I need to install any custom firmware first or can I just ssh into the box and run the executable?
j623
join:2018-11-17
Blaine, WA
Yes you need custom firmware because you need to ssh to the box
Anon03b77
@70.121.1.x
Hello, my OBI200 went into red/green flashing mode. I can access the device by IP address and it shows firmware update page. When i try updating firmware manually, it says update successful but after boot up, it goes to red/green flashing mode on power led. But device is accessible from ip address. Is there anyway to recover this device? I dont think device is bricked as i can access the recovery page. I tried downloading custom firmware from obifirmware.com but that doesnt work as well. Hoping you can provide me some insights..
jon82
join:2007-08-10
Fayetteville, AR
to naf
Looking at installing OBi2-3-2-2-5921EX-arrynrob8.fw on my obi200. Is there a FAQ to read through?

Specifically, will I be able to revert back to original obihai firmware if I choose to and if so does this require a specific version to load and/or a factory reset? Also from what I understand, google voice has a negative stance on gvsip use with asterisk, does this impact arrynrob/obifirmware use with google voice? Skimmed through the first 7 or so pages of posts and didn't see an answer to these questions.
jebs
join:2018-06-30
North Vancouver, BC
to naf
i've also got 3.2.2 (Build: 5898EX)
how can i flash?
Anonbb5ab
@24.186.59.x
Unfortunately, you can't flash from stock 5853+ due to x509 signature check in stock upgrade.
tbishop1
join:2003-02-26
San Diego, CA

1 edit
to naf
Hey, read most of the pages, got SP1 to work and went through works great now with GV. Is it possible to put multiple GV lines on it i.e. SP1, SP2, SP3 all google voice accounts? Thanks!

I have an OBi1022, BTW..

Tom..
Anon26867
@199.15.87.x
to naf
Yeah I just realized what you meant - it seems to be impossible to flash the firmware without being able to access web interface. So you're saying factory reset and then using i.e. wireshark to sniff traffic might help?
naf
join:2017-12-12
said by Anon1dabe :
said by naf:
said by Anon1dabe :

Hi, I got a used obi302 off craigslist (yeah bad idea, I know) and it appears to be locked - can't add it in obitalk as it wants admin password and the default one won't work. Will loading the custom firmware allow me to find or change that password so that I can actually use this voip adapter?

yes, but its going to be hard to flash a firmware without access to admin webgui.

some ideas to try:
- reset via button on bottom of device
- sniff traffic to find existing ITSP config URL, spoof that dns/url to provision a new password
- flash the chip directly via SPI
Yeah I just realized what you meant - it seems to be impossible to flash the firmware without being able to access web interface. So you're saying factory reset and then using i.e. wireshark to sniff traffic might help?
Before going the harder routes, start by performing a factory reset with the device disconnected from the internet (to prevent it from downloading the manufacturer-specified config on first boot).

(i seem to remember that the device goes into some limited-functionality mode until it can get the manufacturer-specified config, but i can't remember what that entails exactly)

without connecting it the the internet, check for webgui access. note the firmware version and see if you can flash custom firmware from there.
cole123456
join:2018-11-27
united state
to naf
said by naf:
said by sam61n2:

is there anyway back to a firmware that can then update with the modified one?

sent you a pm.
also interested in this.. am i too late to the party if my obi200 was autoupgraded ot a polycom version
naf
join:2017-12-12
said by cole123456:

also interested in this.. am i too late to the party if my obi200 was autoupgraded ot a polycom version

nope, still partying. pm headed your way.
wildbillpdx
join:2018-11-28
Newberg, OR
I'm another late adopter and have version 3.2.2 (Build: 5921EX)...brand new system from Amazon. Can I be saved?

bill
naf
join:2017-12-12
said by wildbillpdx:

I'm another late adopter and have version 3.2.2 (Build: 5921EX)...brand new system from Amazon. Can I be saved?

pm sent.
wildbillpdx
join:2018-11-28
Newberg, OR
Unable to reply because of new member delay restrictions.
wildbillpdx

1 edit
to naf
Never mind...cut & paste was somehow picking up spaces in the lines. Now have, I think, two working google voice lines. Excellent work, NAF!

Trying to generate GV credentials (following the guide) I get the following error:

Error: redirect_uri_mismatch

The redirect URI in the request, »developers.google.com/oa ··· ayground, does not match the ones authorized for the OAuth client.

What am I missing?
wildbillpdx
After installing the NAF firmware (3.2.2 (Build: 5921EX-arrynrob8)), I've gone through all the steps to create a GV-SIP bridge following these instructions: »nerdvittles.com/?p=25846 and I still have the same problem I had with stock firmware...OBI200 reboots when a call goes through.

Is there a way to access any logs on the obi to try and determine why it crashes?
naf
join:2017-12-12

1 edit
said by wildbillpdx:

Is there a way to access any logs on the obi to try and determine why it crashes?

as far as logging, not really. most logging that the app does goes to the webgui-configured syslog server.

from a technical perspective, ideas to see why it crashes:
- run /obi/obiapp manually in the shell to see what im guessing is a segfault
- attach gdb to obiapp (imagine their surprise when the support ticket has a backtrace attached...)

from a practical perspective, you might try older firmware versions (although 5853 is the minimum with the new GV interface)

the problem sounds familiar though, didn't someone else have this issue?
Brown
join:2018-01-21
I had the reboot issue when I installed arrynrob4 over arrynrob3 (or similar). I solved it by installing an earlier stock version then a clean install of arrynrob4. At that time you weren't convinced so maybe the first install just didn't finish cleanly.
wildbillpdx
join:2018-11-28
Newberg, OR

2 edits
Well, I guess the question for me is how to revert to stock? Just activate the obitalk service and connect to the portal? Download and flash? I'm thinking of returning the thing.

I found an older version of the stock firmware. What's the risk of bricking the device if I install:
OBi202-3-2-2-5859EX-198839.fw This is a brand new obi200.
Brown
join:2018-01-21
I've been using the naf 5859 (arrynrob7) for months and it has been solid. I would certainly try that version first.
rwl408
join:2016-12-17
Fremont, CA
Where can one find the naf 5859 (arrynrob7) firmware? I can't find it at obifirmware.com.
wildbillpdx
join:2018-11-28
Newberg, OR

1 edit
I found it here:

fw.obifirmware.com/OBi2-3-2-2-5859EX-arrynrob7.fw

Installed it on my obi200 and still get reboot when I dial through the sip-gv bridge.
Brown
join:2018-01-21
to wildbillpdx

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

When I had reboot issues it was only on incoming calls. Outbound worked fine.
RonR
join:2003-10-10
Ash Flat, AR

2 recommendations

to wildbillpdx
said by wildbillpdx:

OBI200 reboots when a call goes through.

There's an excellent chance the source of your reboots is a faulty dialplan. A recursive or looping path in the dialplan will cause the OBi to reboot when executed.

There's absolutely no error checking done by the OBi to prevent such occurrences. It's up to the implementer of the dialplan to ensure that recursion and looping does not occur.
naf
join:2017-12-12
@RonR, you ever get arrynrob8 installed?
o4romn
join:2018-11-30
Saddle Brook, NJ
to naf
Hello, i finally restored almost bricked OBI200 and it auto downloaded 5921EX. I want to use arryrob (custom firmware). Can naf or someone send me instructions on how to flash custom firmware and not deal with polycom anymore? I appreciate the help.
naf
join:2017-12-12
said by o4romn:

Hello, i finally restored almost bricked OBI200 and it auto downloaded 5921EX. I want to use arryrob (custom firmware). Can naf or someone send me instructions on how to flash custom firmware and not deal with polycom anymore? I appreciate the help.

pm sent.

the sad part is that if by 'almost bricked' you mean you've been to the firmware recovery webgui, i believe you could have actually just flashed directly to custom without any exploits cause theres no cert checks there. (not the recommended method, btw)
cole123456
join:2018-11-27
united state
to naf
to make sure that auto updates don't happen to confirm i need to:

System Management - Auto Provisioning - Auto Firmware Update - Method = Disabled
System Management - Auto Provisioning - OBiTalk Provisioning - Method = Disabled
Voice Services - OBiTALK Service - OBiTALK Service Settings - Enable = Unchecked
RonR
join:2003-10-10
Ash Flat, AR
to naf
said by naf:

@RonR, you ever get arrynrob8 installed?

No, I've decided to hold off at this time, but thanks!
wildbillpdx
join:2018-11-28
Newberg, OR
to RonR
If that is the case, would the obi200 dial out and make a connection? Reboot seems to occur after the call connects. Besides, I'm using default dial plans on the Google Voice connections.
wildbillpdx
to naf
I've finally gotten some log information from my obi200 when it reboots. Here's the relevant section of the log:

2018-12-01T13:19:57.424104-08:00 192.168.5.32  CCTL:NewCallOn Term 10[0] ->,18436060555
2018-12-01T13:19:59.644880-08:00 192.168.5.32  RTP:DtmfTxMtd:1(1),0
2018-12-01T13:19:59.644880-08:00 192.168.5.32  SIP/DLG:Start Early ICE on 18x
2018-12-01T13:19:59.684394-08:00 192.168.5.32  RTP:Start->4a7d273a:19305(80 0);0;0;0:0:0;0(47)
2018-12-01T13:19:59.684394-08:00 192.168.5.32  RTP:Set actpass 2
2018-12-01T13:19:59.694116-08:00 192.168.5.32  DTLS:Setup active
2018-12-01T13:19:59.965027-08:00 192.168.5.32  DTLS:Handshake Success
2018-12-01T13:20:00.964739-08:00 192.168.5.32  RTP:PeerRflxAddr=4a7d273a:19305
2018-12-01T13:20:01.246446-08:00 192.168.5.32  RTP:DtmfTxMtd:1(1),0
2018-12-01T13:20:01.345251-08:00 192.168.5.32  RTP:Start->c0a8051c:15794(80 0);0;0;0:0:0;0(45)
2018-12-01T13:20:01.345251-08:00 192.168.5.32  Signal 11 (LR:7cbb8cac PC:d7828) !!!
2018-12-01T13:20:01.375910-08:00 192.168.5.32  TDM_stop_dma: fd #18
2018-12-01T13:20:01.375910-08:00 192.168.5.32  TDM_stop_dma: done
2018-12-01T13:20:01.375910-08:00 192.168.5.32  TDM_stop_dma: fd #19
2018-12-01T13:20:01.375910-08:00 192.168.5.32  TDM_stop_dma: done
2018-12-01T13:20:08.844473-08:00 192.168.5.32  DNS SERVER: 192.168.x.xxx 
2018-12-01T13:20:08.952063-08:00 192.168.5.32  ==== Networking is ready ====
2018-12-01T13:20:08.952063-08:00 192.168.5.32  IP Address= 192.168.x.xxx
2018-12-01T13:20:08.952063-08:00 192.168.5.32  Gateway   = 192.168.x.xxx 
2018-12-01T13:20:08.952063-08:00 192.168.5.32  Netmask   = 255.255.255.0 
2018-12-01T13:20:08.952063-08:00 192.168.5.32  PARAM: Daemon is up ... state: 9 (d7828)
2018-12-01T13:20:09.008401-08:00 192.168.5.32  BASESSL:Load custom CA certs
2018-12-01T13:20:09.008401-08:00 192.168.5.32  BASESSL: Can not find custom CA file 0 0 
2018-12-01T13:20:09.008401-08:00 192.168.5.32  ZT: CustomID 1
2018-12-01T13:20:09.008401-08:00 192.168.5.32  SYSTEM REBOOTED (lifecycle: 133)
 
 
Does this give any clue as to why the thing reboots when a call is placed? I believe Signal 11 is a memory issue????
RonR
join:2003-10-10
Ash Flat, AR

1 edit
to wildbillpdx
said by wildbillpdx:

If that is the case, would the obi200 dial out and make a connection? Reboot seems to occur after the call connects.

If the call is actually completing prior to the OBi rebooting, it's less likely to be a dialplan problem.
said by wildbillpdx:

Besides, I'm using default dial plans on the Google Voice connections.

Just for info...

There's only ONE dialplan in an OBi200: Physical Interfaces -> Phone Port -> DigitMap

All other DigiMaps are simply extensions of the Phone Port DigitMap. They may be located in different areas and appear to be limited to a particular ITSP, but that's strictly for convenience and readability. Unless they're actually referred to in the Phone Port DigitMap, they're orphans and don't do anything. IOW, every DigitMap in an OBi could be moved/combined into the Phone Port DigitMap and nothing would change. The point is you can have problems regardless of where bad DigitMap logic is located because it's all a single entity.
pancakes
join:2018-12-01
Merrick, NY
to naf
I too am late to the party, as my brand new Obi202 already has 3.2.2 on it. How can I flash 3rd party firmware so I can get that coveted SSH server and extract certs?
wildbillpdx
join:2018-11-28
Newberg, OR
to RonR
I never modified the dialplan, only digit maps and only when not using the obi200 as a bridge. Only changes I made were to the inbound routes per the setup guides.

As of yesterday there is a new firmware version: 3.2.2 (Build: 5932EX). Didn't help me, the system still rebooted. I've got a replacement coming from Amazon to see if this is just a bad unit, though I suspect not.
lemong
join:2018-12-15

2 edits
hello. thank you for allowing me to use google voice with my obi1022, which is locked to Phone power. This firmware allows me to painlessly use the phone for incoming and outgoing calls.

Unfortunately, it works for one of my obi1022s but not for another. I had tried to backup the configuration from the working 1022 and restore it on the one not working. By not working, I mean I can get it to ring when using obitalk and dialing the device id, but it does not ring when I call my google voice number.

EDIT: for some reason, this issue went away for the second phone by adding it to google voice as I had previously disabled all associated numbers. Not sure why though.

I was also wondering if there's a way to ssh into the device to assign it a random mac address or serial number such that the obi1022 isn't picked up as a phone power device and doesn't allow me to add it using obitalk. Thanks!
db2
Premium Member
join:2009-10-12
New York, NY

1 recommendation

to naf
Thanks guys. I got the custom firmware and configured gvoice without obitalk. I didn't even know that my obi202 was getting autoupdated by obi.
videobruce
join:2002-05-14
Buffalo, NY
to naf

Re: Obihai OBi202

Does anyone know when (date) the last official F/w v3.2.2 (5898EX) came out for the 202?

The other question, PhonePower is my provider (but I didn't buy the adapter from them). Does the F/W come from them or Polycom?
marcello
join:2019-01-08
to naf

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

Hi Guys... I am on this same situation. Can you please provide some guidance. Thank you.
naf
join:2017-12-12
said by marcello:

I am on this same situation. Can you please provide some guidance.

Which situation?
marcello
join:2019-01-08
Sorry.. I guess I had a copy/paste problem..

I am on version stock 3.2.2 (Build: 5921EX)... new device OBi200 and unable to move to OBi2-3-2-2-5921EX-arrynrob8.fw

Not sure whether there is a solution.

Thanks.
naf
join:2017-12-12
said by marcello:

I am on version stock 3.2.2 (Build: 5921EX)... new device OBi200 and unable to move to OBi2-3-2-2-5921EX-arrynrob8.fw

Sent you a pm.
arihan
join:2018-09-19
Rolla, MO
to naf
I have a locked Obi1062 when i am trying to it to obitak portal it says it is locked and you cant add it. if i change the obinumber/serial # i think i can add it.
phreich
join:2017-07-21
Portland, OR
Linksys EA8500

1 recommendation

to naf
said by naf:
said by wildbillpdx:

I'm another late adopter and have version 3.2.2 (Build: 5921EX)...brand new system from Amazon. Can I be saved?

pm sent.
@NAF,

First of all I want to thank you for the great work you have done on opening up the firmware on the OBI devices, and making it possible to work without having to use the obitalk site! I have successfully reused an otherwise worthless OB302 with GV due to your efforts with the firmware, and @OBi1FW's efforts in setting up the hosting site at »www.obifirmware.com and creating the "howto's" there.

However, I too have an OBI202 that has the firmware with the check in it that prevents loading your modified firmware. It is currently running 3.2.2 (Build: 5898EX). Would you also PM me the instructions to get around this?

Thanks,

Philip
naf
join:2017-12-12
said by phreich:

...I too have an OBI202 that has the firmware with the check in it that prevents loading your modified firmware. It is currently running 3.2.2 (Build: 5898EX). Would you also PM me the instructions to get around this?

done
tylerhoot
join:2019-01-18
Henrietta, NY
to naf
i am too stuck with a obi200 got it used on eBay but has the last firmware 5921EX that you can't just flash to the custom one if some one is willing to pm me with the directions on how to get past this issue it would be greatly appreciated.
Anonfdfbb
@160.3.19.x
to naf
Hey, sorry I am new to this whole thing. I have been trying to follow along with your discussion on how to modify the Obihai 200 but it is not super clear. I understand that I need to download and flash the modded firmware, but beyond that I am unclear on how to proceed. I know I may sound like a noob, but is there a step by step guide?
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net

1 recommendation

We need to know what you are trying to do and why in order to give good advice.
Anonfdfbb
@160.3.19.x
I am trying to update to the modded firmware in hopes of enabling Google contacts to display for caller ID on my Obi200. Using Google voice.
Brown
join:2018-01-21
1) Download and flash the firmware (from Obifirmware.com) onto your Obi.
2) Follow all the steps at Obifirmware.com including generating oAuth2 credentials.
3) Confirm you can make and receive calls.
4) Download your contacts from your Google Voice (GV) account to your computer.
5) Convert them to XML format
6) Use PuTTY to transfer the contacts to your Obi:
pscp -scp -l root -pw obi contacts.xml 192.168.10.1:/scratch

Your password (-pw) will be different unless you haven't changed it.
Your Obi's IP may be different.
Anonfdfbb
@75.174.107.x
My current firmware is as follows: 3.2.2 (Build: 5898EX). Does this me that I am unable to flash the modded firmware? Thank you for all of your help.
Anonfdfbb
to naf
Will you PM me those same instructions or post them on the form.
azalea4va5
join:2009-06-05
Harrisonburg, VA
to naf
I upgraded to obi200 (from obi100) last April (2018). For a while, my phone's caller-id has been showing the names of callers who were in my GV address book. That recently has stopped. Is this because of an OBI firmware update (I am running 3.2.2, Build: 5921EX)?

Will changing to the OBi2-3-2-2-5921EX-arrynrob8.fw firmware restore the ability to display the names in my GV address book directly. Or does it only allow names that have been downloaded to the OBI device to be downloaded?

Given I currently have the dreaded 5921EX firmware, is there a way to install the OBi2-3-2-2-5921EX-arrynrob8.fw firmware. If so, can insturctions please be PM'ed or posted?

Thanks to everyone who has shared their efforts on this.
naf
join:2017-12-12
to azalea4va5

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

With the change to the GVSIP protocol, google gained the ability to fill in the CID names on their end, if they so choose. At one time, google chose to populate the names based on a combination of your personal google contacts and a generic list of business names. (I havent checked recently if this is still the case)

Separately, the obi device can override those names based on a local lookup, if you either pay them for Extras or use the modded firmware capability.

So using the modded firmware will only give you the ability to download the contacts to the device to override, but it can't change anything about google not populating them automatically in the first place.

That being said, I sent you a PM about the modded fw.
rwl408
join:2016-12-17
Fremont, CA
said by naf:

At one time, google chose to populate the names based on a combination of your personal google contacts and a generic list of business names. (I havent checked recently if this is still the case)

Separately, the obi device can override those names based on a local lookup, if you either pay them for Extras or use the modded firmware capability.

Just want to make sure that I understand it correctly. Do you mean that I might have gotten CNAM for some callers (not in my Google contacts) on an OBi200 with modded firmware when Google were populating them?
Brown
join:2018-01-21
to naf
said by naf:

With the change to the GVSIP protocol, google gained the ability to fill in the CID names on their end, if they so choose. At one time, google chose to populate the names based on a combination of your personal google contacts and a generic list of business names. (I havent checked recently if this is still the case)

They still send some business names through.
johnw
join:2019-02-25
6009

1 edit
to naf
sorry, duplicated posting
johnw
to naf
Seems like this is the place to obtain support for the third party firmware from obifirmware? If so, I would like a wee bit of advice. Regretfully now, I purchased an OBI302 from eBay in Australia and it seems to be permanently setup with auto-provisioning associated with bendigobanktelco. I have successfully flashed the firmware to several different versions including lately arrynrob8. I am apparently able to disable and default the various auto-provisioning settings, and this disabling seems to hold through a power cycle. But unfortunately all the bendigobanktelco stuff appears back again if I do a reset to factory default. I had really hoped that these customizations would be cleared out so I could have a clean uncustomized box. Any suggestions how to reach this uncustomized state, or is it impossible given its present state? Where is the customization stored if not in the flash firmware?
isotherm
join:2019-03-01
to naf
I have a new Obi200 with firmware 3.2.2 (Build: 5898EX). Is there some way I can load the modded firmware? Thank you!
naf
join:2017-12-12
to johnw
said by johnw:

Seems like this is the place to obtain support for the third party firmware from obifirmware? If so, I would like a wee bit of advice. Regretfully now, I purchased an OBI302 from eBay in Australia and it seems to be permanently setup with auto-provisioning associated with bendigobanktelco. I have successfully flashed the firmware to several different versions including lately arrynrob8. I am apparently able to disable and default the various auto-provisioning settings, and this disabling seems to hold through a power cycle. But unfortunately all the bendigobanktelco stuff appears back again if I do a reset to factory default. I had really hoped that these customizations would be cleared out so I could have a clean uncustomized box. Any suggestions how to reach this uncustomized state, or is it impossible given its present state? Where is the customization stored if not in the flash firmware?

if your CustomizationStatus is anything other than Generic, ssh into the obi (root/obi) and run 'clear_zt_params'
naf
to isotherm
said by isotherm:

I have a new Obi200 with firmware 3.2.2 (Build: 5898EX). Is there some way I can load the modded firmware? Thank you!

Sent you a pm. (You might have to wait 24 hours to response due to strange forum pm rules with new accounts)
yenots
join:2019-03-06
Carlisle, MA
Same here. I haven't gone through this entire thread, but I gather that 3.2.2 (Build: 5898EX) throws the checksum error.

Thanks!
yajrendrag
join:2018-05-13
US
to naf
I have 3.2.2 build 5898EX on an obi202 and 3.2.2 build 5921EX on a obi302... can these be modified via build at obifirmware.com or do i need special instructions?
Thanks.
naf
join:2017-12-12
said by yajrendrag:

I have 3.2.2 build 5898EX on an obi202 and 3.2.2 build 5921EX on a obi302... can these be modified via build at obifirmware.com or do i need special instructions?
Thanks.

Starting at 5853, custom firmware needs a little more finesse.
Sent you a pm.
azalea4va5
join:2009-06-05
Harrisonburg, VA
to Brown
said by Brown:

1) Download and flash the firmware (from Obifirmware.com) onto your Obi.
2) Follow all the steps at Obifirmware.com including generating oAuth2 credentials.
3) Confirm you can make and receive calls.
4) Download your contacts from your Google Voice (GV) account to your computer.
5) Convert them to XML format
6) Use PuTTY to transfer the contacts to your Obi:
pscp -scp -l root -pw obi contacts.xml 192.168.10.1:/scratch

Your password (-pw) will be different unless you haven't changed it.
Your Obi's IP may be different.

Add to these instruction that a reboot must be done after transfering the contacts.xml file.

Attached is a crude (and marginally tested) alternative. I have written a shell script that converts a contacts.vcf file into contacts.xml. The shell script, vcf2xml, can be downloaded and run on the OBI (or on a linux computer).

#!/bin/sh
 
##################################
# Copyright J. Archer Harris, 2019
# All rights reserved
##################################
 
{
Q="'"
echo '<?xml version="1.0"?>'
echo '<cs>'
while : ; do
	read line
	[ $? != 0 ] && break
	[ "$line" = "" ] && continue
 
	line3a=`echo "$line" | sed 's/\(...\).*/\1/'`			# Remove all but first 3 letters
	line3b=`echo "$line" | sed 's/...//'`				# Remove first 3 letters
	lineTel=`echo "$line" | sed 's/^item[0-9]*[.]TEL[:;]//'`	# Remove prefix that indicates a TEL number
	if [ "${line3a}" = "FN:" ] ; then
		# Get rid of unwanted characters, then get rid of extra spacing
		Name=`echo "${line3b}" | sed -e 's/[^'$Q'-+/_ A-Za-z0-9]//g'`
		Name=`echo "${Name}" | sed -e 's/  */ /g' -e 's/ *- */-/g' -e 's/ *+ */+/g' -e 's/ *,/,/g'`
	elif [ "${lineTel}" != "$line" ] ; then
		# Get rid of anything after a letter, then get rid of all but number, and get rid of leading 1
		Number=`echo "${lineTel}" | sed -e 's/[A-Za-z].*//g' -e 's/[^0-9]//g' -e 's/^1//'`
		echo "<c><n>$Name</><t>$Number</t></c>"
	fi
done <contacts.vcf
echo '</cs>'
} |  tee contacts.xml
 
JoeOIVOV8
join:2019-03-09
Osseo, MN

1 edit
to naf
-deleted.
yajrendrag
join:2018-05-13
US

3 edits
to naf
thanks, seeing some problems though..

obi 302 web gui shows 3.2.2 (Build: 5921EX-arrynrob8).

followed instructions from here: »www.obifirmware.com/OAuth2/ to completion without error (well i got stuck on the oauth playground step for a bit, the scopes didn't take for some reason,but eventually got past it and it finished fine - i picked my google account and allowed access).

GV portal shows an un-numbered obitalk device as a selected forwarding phone. unsure if this is newly configured phone from today's activity or if it is from last summers use of GVSIP in asterisk, although i sort of think it's new and that i didn't use this number in asterisk config..

Cannot place or receive calls. I get 3 tones while trying to place a call followed by a recording stating the the number hasn't received a response from the service provider. when calling into the GV number, i get ring/no answer and no activity on the obi.

SP1 status seems to point to the problem - "Connect Failed: 400 Bad Request (server=216.239.36.144; retry in 2s)"

& there's a repeating section in the syslog output - every 30 seconds:

2019-03-10T09:24:31.495575-06:00 obi302 SP1:Restart TCP Connect:abcdefgh:4648->ijklmnop:5061
2019-03-10T09:24:31.495575-06:00 obi302 TLS-EXT Hostname:obihai.telephony.goog
2019-03-10T09:24:31.509705-06:00 obi302 TCP:Connect OK(spreg)38
2019-03-10T09:24:31.509705-06:00 obi302 Trying to connect ssl
2019-03-10T09:24:31.781190-06:00 obi302 TC:ssl connected
2019-03-10T09:24:31.781245-06:00 obi302 REG:HandleTcpEvent 2;wc=1
2019-03-10T09:24:31.818617-06:00 obi302 TCP:Broken Connection(spreg) 38 -1
2019-03-10T09:24:31.821477-06:00 obi302 REG:HandleTcpEvent 3;wc=0

Connect specifics in 1st line masked except for what looks like the ports.

Should i redo the procedure and just replace the AuthPassword with the newly generated one, or should i do a factory reset of the obi first or?
thanks.
naf
join:2017-12-12
Can you also post the section of the syslog near the "GAPI:Refreshing tk" and "GAPI:refresh tk ok" lines? It should just occur once at startup.
yajrendrag
join:2018-05-13
US
there are no lines beginning with GAPI: at all or containing any of those 3 terms.
naf
join:2017-12-12
OK. So its not even trying to get an oauth token...

Zerotouch config overriding the GV provisioning perhaps? Verify that the CustomizationStatus = 'Generic'. If not, run clear_zt_params and redo the ITSP provisioning.
rwl408
join:2016-12-17
Fremont, CA
to yajrendrag
said by yajrendrag:

GV portal shows an un-numbered obitalk device as a selected forwarding phone. unsure if this is newly configured phone from today's activity or if it is from last summers use of GVSIP in asterisk, although i sort of think it's new and that i didn't use this number in asterisk config..

To be absolutely sure that it is a "new" device, you can just delete it in the Google Voice account and reboot the Obi device.
yajrendrag
join:2018-05-13
US
to naf
said by naf:

OK. So its not even trying to get an oauth token...

Zerotouch config overriding the GV provisioning perhaps? Verify that the CustomizationStatus = 'Generic'. If not, run clear_zt_params and redo the ITSP provisioning.

ok - it is set to N/A. will redo ITSP provisioning and report back.
yajrendrag
to rwl408
said by rwl408:
said by yajrendrag:

GV portal shows an un-numbered obitalk device as a selected forwarding phone. unsure if this is newly configured phone from today's activity or if it is from last summers use of GVSIP in asterisk, although i sort of think it's new and that i didn't use this number in asterisk config..

To be absolutely sure that it is a "new" device, you can just delete it in the Google Voice account and reboot the Obi device.
yes aware of that thanks, just wasn't sure if it might be related, but since redoing ITSP provisioning, will remove before i begin.
yajrendrag
to naf
said by naf:

OK. So its not even trying to get an oauth token...

Zerotouch config overriding the GV provisioning perhaps? Verify that the CustomizationStatus = 'Generic'. If not, run clear_zt_params and redo the ITSP provisioning.

ok, i did these steps, but no difference. CustomizationStatus does report Generic now. but still disconnects, no lines in syslog containing GAPI , refresh, or tk. no device gets provisioned to my GV account. when i ran through the ITSP provisioning, i reused the same project but generated a new secret. completed fine, and pasted the new AuthPassword to SP1
naf
join:2017-12-12
By redoing the provisioning, I meant setting the ITSP ConfigUrl to »fw.obifirmware.com/Enabl ··· TALK.xml and letting it reboot. (No need to get a new refresh token)

Goal is to get the ITSP-A SignalingProtocol to show as 'Google Voice' (instead of 'SIP'?). Might have to reset the devices config first for it to re-take the provisioning after the zt params are cleared?
yajrendrag
join:2018-05-13
US

1 edit
yes, i did that step too. ITSP-A signaling protocol does show as Google Voice. when you say "Might have to reset the devices config first?", what do you mean - to restore default config to ITSP A and SP1? EDIT: So i tried doing that just now - resetting both ITSPA and SP1 to default and then reapplied the ITSP provisioning URL into the ConfigUrl of ITSP Provisioning section in AutoProvisioning. It rebooted twice as it's supposed to. still no obi device at GV portal. applied the passwords to AuthPassword of SP1... still same. Same observations in the log.
naf
join:2017-12-12
Just that we should have reset the config completely (Device Update > Reset Configuration) after clearing the zt params, then re-provision against the obifirmware url (and then just stick the same AuthPassword string in again afterwards)

If that doesn't work, might try pm-ing me a full syslog from boot and/or a param_dump (»Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods) to see if anything sticks out
yajrendrag
join:2018-05-13
US
ok, did the full reset after clearning zt params again. then reprovisioned ibifirmware url and AuthPassword - still same results. syslog and param_dump headed headed your way in pm.
naf
join:2017-12-12
Your config looks fine, but logs just show the 302 not starting the token-retreival thread.
Perhaps I missed some 30x-specific change introduced in 5921?

Could someone with a 30x that has GV working tell us what fw version they are using? 5859EX-arrynrob7 perhaps?
Brown
join:2018-01-21
3.2.2 (Build: 5859EX-arrynrob7)
yajrendrag
join:2018-05-13
US
to naf
so after flashing
said by naf:

5859EX-arrynrob7

i can no longer access the web gui. sigh. the only way i can get to A webgui is via a locally attached PC to the obi's LAN port. but that doesn't seem to have the same view of the gui as from the WAN port. from using the param dump (i can still ssh to the box on the WAN port) i can see that an admin password other than the default is set and the syslog is also still getting dumped to my server. but the web gui accessible from the LAN port shows everything as system default. if i try and set the autoprovisioning ConfigURL from the lan port's web gui - will that work? how do i get the thing to be accessible from the network port again? I've rebooted my router and restarted computers etc..
yajrendrag
said by yajrendrag:

so after flashing

said by naf:

5859EX-arrynrob7

i can no longer access the web gui. sigh. the only way i can get to A webgui is via a locally attached PC to the obi's LAN port. but that doesn't seem to have the same view of the gui as from the WAN port. from using the param dump (i can still ssh to the box on the WAN port) i can see that an admin password other than the default is set and the syslog is also still getting dumped to my server. but the web gui accessible from the LAN port shows everything as system default. if i try and set the autoprovisioning ConfigURL from the lan port's web gui - will that work? how do i get the thing to be accessible from the network port again? I've rebooted my router and restarted computers etc..
ok, it all works now.
programming via the lan port worked fine. and then i remembered to enable access from wan. So must have been the earlier firmware preventing it from working.

thanks.
naf
join:2017-12-12
ok cool.

sometime ill get around to looking for the post-5859 change that kills the 30x's oauth token retrieval thread.
azalea4va5
join:2009-06-05
Harrisonburg, VA
to naf

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

I have downloaded the modified firmware and have it working with my first GV on SP1. I have two other GV numbers that I want to associate with SP2 and SP3. The instructions seem to be oriented toward just having a single GV number.

What do I use for ConfigURL? Will going through the process for configuring SP2 and SP3 to use different GV numbers corrupt the settings that allow the first GV number to work on SP1?
rwl408
join:2016-12-17
Fremont, CA
The ConfigURLs for other SPx are right under the line you used for SP1 on the same webpage.
azalea4va5
join:2009-06-05
Harrisonburg, VA
.
said by rwl408:

The ConfigURLs for other SPx are right under the line you used for SP1 on the same webpage.

No there are not. There is only ONE place to enter ITSP-Provisioning -> ConfigURL. Only one value can be entered.
OBi1FW
join:2017-12-27
Vienna, VA
rwl408 is correct, please look more carefully.

jsolo1
Premium Member
join:2001-07-01
PRIL
to azalea4va5
Buried somewhere in this thread is a xml containing all 4. However, with the files at obifirmware you just need to flash each one individually, one at a time.

»i.imgur.com/NU9L5vh.png
liz2391
join:2019-03-11
North Highlands, CA
to naf
hi I am new to this i was wondering if anyone out there maybe able to help me i bought a obi 302 and wanted to use it with google voice seem i am getting an error well hope i came to the right please thanks everyone
Brown
join:2018-01-21

2 edits

1 recommendation

What's the current firmware version?

vvv↓↓↓▼▼▼ naf will help you jimmy it!
liz2391
join:2019-03-11
North Highlands, CA
3.2.2 5921EX

I’ve reset to factory defaults and it’s still this same version
azalea4va5
join:2009-06-05
Harrisonburg, VA
to jsolo1
vcf2xml.zip
1,140 bytes
I had an earlier reply, but it seems to have disappeared. At any rate, I understand the disconnect. I was talking about only one place to enter the configURL. I knew there were 4 possible values to put in that entry. What I have now discovered is going back and resetting ConfigURL from 'http://fw.obifirmware.com/EnableGVSIPWithoutOBiTALK.xml' to 'http://fw.obifirmware.com/EnableGVSIPWithoutOBiTALK_SP2.xml' does not break what was set up for SP1. I have configured the other 2 SPs successfully.

For anyone interested, I have included here the latest version of 'vcf2xml, an alternative way of generating a contact.xml file. The input is a contact.vcf (vCard) file. I did have an issue with the online cvs2xml script, it was not picking up all the phone numbers, for example when a contact had many phone numbers and some of them were with custom labels. The names created in 'vcf2xml' consist of the first 6 letters of the first name followed by the last name. Anyone familiar with shell scripting can alter that as they see fit. The script uses just simple shell commands so it is capable of being downloaded and running on the OBI device (although it is slow).

#!/bin/sh
 
#############################################
# Copyright 2019, J. Archer Harris
# All rights reserved
#--------------------------------------------
# ./vcf2xml	# Version 190312.1552
#
# Converts ./contacts.vcf into ./contacts.xml
# This script uses limited features so it can
# run using the restricted shell on an OBI device.
#
# Only the initial name associated with a number is used.
# Only the first and last names are used.
# Only the first 6 characters in a first name are used.
#############################################
 
set -f
specials="-+@'/_" # All special characters except these are removed from a name (the - must be first)
 
{
echo '<?xml version="1.0"?>'
echo '<cs>'
while : ; do
	read line
	[ $? != 0 ] && break
	[ "$line" = "" ] && continue
 
	line2a=`echo "$line" | sed "s/\(..\).*/\1/"`			# Remove all but first 2 letters
	line2b=`echo "$line" | sed "s/..//"`				# Remove first 2 letters
	lineTel=`echo "$line" | sed -e "s/^item[0-9]*[.]*TEL/TEL/" -e "s/^TEL[:;]//"`	# Remove prefix that indicates a TEL number
	if [ "${line2a}" = "N:" ] ; then				# This line defines a name, remember the name
		# Get rid of unwanted characters, then get rid of extra spacing
		line2b=`echo "${line2b}" | sed -e "s/[^${specials}; A-Za-z0-9]//g" -e "s/  */ /g" -e "s/ *\([$specials]\) */\1/g"`
		Name2=`echo "${line2b}" | sed "s/\([^;]*\).*/\1/"`
		Name1=`echo "${line2b}" | sed "s/[^;]*;\([^;]*\).*/\1/"`
		if [ "$Name1" != "$Name2" -a "$Name1" != "" -a "$Name2" != "" ] ; then
			Name1=`echo $Name1 | sed -e "s/\(......\).*/\1/"`
			Name="$Name1 $Name2"
		elif [ "$Name1" != "" ] ; then
			Name="$Name1"
		else
			Name="$Name2"
		fi
	elif [ "${lineTel}" != "$line" ] ; then				# This line defines a tel number, output an xml entry for it
		# Get rid of all before semicolon/colon, then all after a letter, then all but numbers, then a leading 1
		# Remember each number, so can only output one name per number. 
		Number=`echo "${lineTel}" | sed -e "s/.*[:;]//" -e "s/[A-Za-z].*//g" -e "s/[^0-9]//g" -e "s/^1//"`
		eval repeat='$numbers'$Number
		[ "$repeat" != 1 ] && echo "<c><n>$Name</n><t>$Number</t></c>"
		eval numbers$Number=1
	fi
done <contacts.vcf
echo "</cs>"
} |  tee contacts.xml
 
naf
join:2017-12-12
to liz2391
said by liz2391:

hi I am new to this i was wondering if anyone out there maybe able to help me i bought a obi 302 and wanted to use it with google voice seem i am getting an error

Assuming that the error is "checksum incorrect" when flashing to a custom fw (which would be required for 30x's to use GV), the error string is misleading. its just rejecting it because (as of 5853 and above) the firmware refuses to flash custom firmwares that aren't signed by obi.

sent you a pm regarding workaround.
naf

3 recommendations

bsdiff for OBi202-3-2-2-5921EX.fw (»fw.obihai.com/OBi202-3-2 ··· 48940.fw)

modifications:
1) enable dropbear ssh server. default root passwd = "obi".
2) patch obiapp to use oauth token request override, for provisioning GV without obitalk
3) patch obiapp to bypass "zero touch" forced configuration. added clear_zt_params util to clear old zero touch params
4) patch obiapp to use /scratch/contacts.xml for caller id number to name translation lookup
5) patch obiapp to bypass signed firmware check when loading new fw
6) patch obiapp to bypass GVSIP provisioning lock
7) patch obiapp to bypass 30x models GV initialization block

md5sum OBi202-3-2-2-5921EX-arrynrob9.fw = 40896aa857d6509ac196e82525801b4c
naf

2 recommendations

said by naf:

sometime ill get around to looking for the post-5859 change that kills the 30x's oauth token retrieval thread.

arrynrob9 should fix this. looks like in 5898 they added some "if a 30x, don't do GV stuff" logic for some reason.

now you 30x users can enjoy GV with the ugly polycom color-scheme like the rest of us
yajrendrag
join:2018-05-13
US
Ah, thank you - that was quick. is the config retained post the firmware update or do you have to or is it recommended to reconfig from scratch?
naf
join:2017-12-12
config survives fw updates. should be able to just (bspatch and) flash it.
naf

2 edits
obi5xx update: it appears that OBi500-4-0-5-5903EX does not contain code to use SNI (TLSEXT_HOSTNAME) when attempting to connect via SSL to obihai.telephony.goog?

Am I smoking crack here, or has GV not worked at all on 50x boxes since last november? Or is there a newer firmware that I haven't seen? Something is fishy here...

ETA: apparantely 5921EX exists, but it don't work either: "Connect Failed: No Response (server=216.239.36.144; retry in 21s)"

ETA2: looks like obi provisions the 50x's to use port 443 instead of 5061. maybe that just broke recently? (id be rather embarrassed if thats all it took to bypass certs on GV for 5 months...)
naf
to ssyspro
ssyspro, i sent you a pm with a new version of obiapp to mount-bind and test on the 50x. it should fix your GV connection issues? (although it does just hardcode all TLS registrations to use 'obihai.telephony.goog' as the SNI name, gotta figure out where to get the configured outbound proxy name from...)
ssyspro
join:2018-09-21
naf, yes that did the trick GV lines are now connected
Hawkmeister
join:2019-03-13
Tampa, FL

2 edits
to naf
I understand that this is an old thread but I am having this issue now. Could you please PM the steps for flashing an OBI200 that is later than 5853?
To elaborate, I was able to use PJSip trunks directly from my IncrediblePBX implementation up until yesterday when they mysteriously stopped working with "Registration Rejected" errors. I had bought and configured an OBI200 some time ago to keep as a backup for the eventual day when pjsip stopped working (yesterday). Unfortunately, my OBI200 was configured to autoupdate and I got the newer firmware whether I wanted it or not. Now, I can make and receive calls but there is no audio and Asterisk drops the call after a few seconds. I did confirm that my OBI200 is rebooting when the call is answered. I am guessing that I am in the same situation as the others and need to flash to the custom firmware.
myce
join:2019-03-13
Germany
to naf
Just flashed a 302 with arrynrob9. It connects to GV now. Didn't connect using the previous version.
But: When I dial out with arrynrob9, nothing happens. See attached image for the call status.

Any ideas?
Hawkmeister
join:2019-03-13
Tampa, FL
to naf
to: NAF

The system is going to make me wait a few hours before letting me send a message. I will PM the details as soon as it will let me.
yajrendrag
join:2018-05-13
US

1 recommendation

to naf
said by naf:

now you 30x users can enjoy GV with the ugly polycom color-scheme like the rest of us

confirmed 302 with GV working on 5921EX-arrynrob9 - thanks.
naf
join:2017-12-12
to Hawkmeister
said by Hawkmeister:

... my OBI200 is rebooting when the call is answered ...

Rebooting = segfaulting? What does the syslog look like?
Hawkmeister
join:2019-03-13
Tampa, FL

1 edit
to naf
I was getting the rebooting after provisioning the GV service as normal through the Obitalk website.

When I follow the instructions to replace the ITSP Provisioning with a link to the obifirmware site, I get the following error:

Connecting to 216.239.36.144;Token Error

Am I supposed to still be using the Obi website to provision GV? I am not sure how to access the syslog on this device. I have never ssh'd to it.

Update:

Partial User Error. The Token Error was because I did not complete the OATH process and properly insert the AuthPassword in SP1. I did this and the OBI200 connects properly but on incoming calls, it still reboots and on outgoing calls, there is no audio (but it does not reboot).
Hawkmeister
to naf
I was getting the reboot after provisioning my GV through the website. Do I still configure my GV account through the Obitalk Website or follow the instructions for ITSP auto provision Here:
»www.obifirmware.com/OAuth2/

I reset and followed these instructions and now get the following status message in the status screen.

Connecting to 216.239.36.144;Token Error

I am not sure how to get to syslog. I have never ssh'd to this device.
myce
join:2019-03-13
Germany
to Hawkmeister
The no audio on outgoing calls looks like the problem I'm having.

Check you Call Status. Do you get "Trying" and zero packets as well?
yajrendrag
join:2018-05-13
US
to Hawkmeister
there is no syslog captured on the obi. you can point the obi to one in the device mgmt tab of system management. if you have a separate linux box, this is pretty easy to enable - here are some instructions for ubuntu 18.04. »computingforgeeks.com/ho ··· -04-lts/.. follow the "configure rsyslog to run in server mode"and "Create a new template for receiving remote messages" sections. and you'll get a directory for the obi and a .log syslog file.. cloud options or other options too..
Hawkmeister
join:2019-03-13
Tampa, FL

1 edit
to naf
I got it working. I shutdown my instance of IncrediblePBX on which I had been running your modules that allowed me to build GV trunks using OATH2 credentials from command line. I started up my old instance of Elastix and built a SIP trunk to the OBI200 and it works like a champ. I am assuming there is an issue with that version of IncrediblePBX.

Do you have any idea what Google may have done in the last few days that caused my setup with IncrediblePBX to start getting Registration Rejected Errors? It was much more efficient running this on a Raspberry Pi without having the OBI200 in the mix.
Brown
join:2018-01-21
You can extract the Obi signed certificates from the 200 (or any Obi) and use them for Asterisk.
OZO
Premium Member
join:2003-01-17
How to extract signed certificate from OBi200?
Brown
join:2018-01-21
Here: »Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods
Hawkmeister
join:2019-03-13
Tampa, FL
to Brown

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

So, theoretically, I could define 3 or 4 GV numbers in the OBI, extract the certs, install them in Asterisk, Repeat? and when done, I don't have to run the OBI device?
Brown
join:2018-01-21
Yes, but you don't have to set up the Obi first (or at all).
OZO
Premium Member
join:2003-01-17
to Brown
What is the "extract_keys" file? Should it be run in Linux?
I'm on Windows now. Is it any way to extract key in Windows OS?
Brown
join:2018-01-21
Yes, PuTTY. A free download.
Hawkmeister
join:2019-03-13
Tampa, FL

1 recommendation

to Brown
Oh, I get it now, you extract the signed cert from the OBI and install them on the Asterisk server, then GV thinks the Asterisk server is an OBI. In a roundabout way. Then the exercise I just wen through for the last two days was unnecessary. I could have just extracted the certs and installed them on my server and I would have been back up and running. Although I guess I did need the custom firmware to get to the certs.

I have seperate GV numbers for a few family members as well as a dedicated fax line. I was wondering how I was going to be able to handle more than 3 without buying a bunch of OBI devices.
Hawkmeister
to Brown
I got the extract_keys file from the link. Any information on how to use it?
Hawkmeister
Nevermind, I figured it out.
ajonate
join:2019-03-14
North Las Vegas, NV
to naf
Me too. I need to pull .crt & .key from my Obi200 for use with asterisk. I downloaded the firmware update from obifirmware.com but get a checksum error when I try to apply the firmware. I've searched until I'm blue in the face but can't find a way around the checksum error.

Help, please.
myce
join:2019-03-13
Germany
to naf
Still unable to dial out from my obi302 with arryrob9. I created a syslog from an attempt:
Mar 16 13:13:03 localhost  obihai: [SLIC]:Slic#0 OFF HOOK
Mar 16 13:13:03 localhost  obihai: [CNG] cng_det_init 0.
Mar 16 13:13:03 localhost  obihai: [DSP]: set FXS(0) DTMF detection level to (1)
Mar 16 13:13:03 localhost  obihai: [CPT] --- FXS h/w tone generator (dial)---
Mar 16 13:13:09 localhost  obihai: [DSP]: ---- H/W DTMF ON (FXS: 0, level:1) : 6 @ 710780 ms----
Mar 16 13:13:09 localhost  obihai: [DSP]: ---- H/W DTMF OFF @ 710930 ms ----
Mar 16 13:13:10 localhost  obihai: [DSP]: ---- H/W DTMF ON (FXS: 0, level:1) : 2 @ 711910 ms----
Mar 16 13:13:11 localhost  obihai: [DSP]: ---- H/W DTMF OFF @ 712040 ms ----
Mar 16 13:13:13 localhost  obihai: [DSP]: ---- H/W DTMF ON (FXS: 0, level:1) : 0 @ 713970 ms----
Mar 16 13:13:13 localhost  obihai: [DSP]: ---- H/W DTMF OFF @ 714210 ms ----
Mar 16 13:13:16 localhost  obihai: [DSP]: ---- H/W DTMF ON (FXS: 0, level:1) : 2 @ 717280 ms----
Mar 16 13:13:16 localhost  obihai: [DSP]: ---- H/W DTMF OFF @ 717410 ms ----
Mar 16 13:13:16 localhost  obihai: [DSP]: ---- H/W DTMF ON (FXS: 0, level:1) : 2 @ 717890 ms----
Mar 16 13:13:17 localhost  obihai: [DSP]: ---- H/W DTMF OFF @ 718040 ms ----
Mar 16 13:13:18 localhost  obihai: [DSP]: ---- H/W DTMF ON (FXS: 0, level:1) : 7 @ 719200 ms----
Mar 16 13:13:18 localhost  obihai: [DSP]: ---- H/W DTMF OFF @ 719360 ms ----
Mar 16 13:13:22 localhost  obihai: [DSP]: ---- H/W DTMF ON (FXS: 0, level:1) : 3 @ 722970 ms----
Mar 16 13:13:22 localhost  obihai: [DSP]: ---- H/W DTMF OFF @ 723030 ms ----
Mar 16 13:13:22 localhost  obihai: [DSP]: ---- H/W DTMF ON (FXS: 0, level:1) : 3 @ 723520 ms----
Mar 16 13:13:22 localhost  obihai: [DSP]: ---- H/W DTMF OFF @ 723570 ms ----
Mar 16 13:13:23 localhost  obihai: [DSP]: ---- H/W DTMF ON (FXS: 0, level:1) : 1 @ 724410 ms----
Mar 16 13:13:23 localhost  obihai: [DSP]: ---- H/W DTMF OFF @ 724580 ms ----
Mar 16 13:13:23 localhost  obihai: [DSP]: ---- H/W DTMF ON (FXS: 0, level:1) : 1 @ 724950 ms----
Mar 16 13:13:24 localhost  obihai: [DSP]: ---- H/W DTMF OFF @ 725100 ms ----
Mar 16 13:13:26 localhost  obihai: CCTL:NewCallOn Term 16[0] ->16202273311,16202273311
Mar 16 13:13:26 localhost  obihai: GTT:Outgoing Call To: 16202273311
Mar 16 13:13:26 localhost  obihai: GTT:call state changed from 0 to 2
Mar 16 13:13:27 localhost  obihai: GTALK[callsess_15521356]:Init session
Mar 16 13:13:27 localhost  obihai: GTALK[callsess_15521356]:sess state changed from 0 to 2
Mar 16 13:13:27 localhost  obihai: [DSP]: set FXS(0) DTMF detection level to (3)
Mar 16 13:13:27 localhost  obihai: [DSP]: set FXS(0) DTMF detection level to (3)
Mar 16 13:13:27 localhost  obihai: PARAM Cache Write Back(256 bytes)
Mar 16 13:14:18 localhost  obihai: [SLIC]:Slic#0 ONHOOK
Mar 16 13:14:18 localhost  obihai: GTALK[callsess_15521356]:sess state changed from 2 to 6
Mar 16 13:14:18 localhost  obihai: RTP:Del Channel
 

The is no audio. I guess the call is never connected to the called party. The call does not show up in the call log in my Google Voice account. In the account only "web" is listed under phones.

Is there anything that has to be changed in my GoogleVoice account for the obihai to work? Previously I only used it with XMPP from freepbx on a Raspberry Pi until Google decided to disable this access path.
naf
join:2017-12-12
said by myce:

The is no audio. I guess the call is never connected to the called party. The call does not show up in the call log in my Google Voice account. In the account only "web" is listed under phones.

No wonder, the obi is still trying to use XMPP.

Describe how you configured the thing.

I think the proper steps for a 30x are:
1) run clear_zt_params to get the CustomizationStatus set to 'Generic'
2) reset config
3) provision from »www.obifirmware.com/OAuth2/

if you did those, send me a param_dump output to see if/why the GVSIP setting isn't getting saved?
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net

2 edits

2 recommendations

to naf
said by naf:

Am I smoking crack here, or has GV not worked at all on 50x boxes since last november? Or is there a newer firmware that I haven't seen? Something is fishy here...

Just reported on the OBiTALK forum that 4.0.5 5980 (no EX) was released. Allegedly, this solves the problem. However, the user there still states his 508 does not work with Google Voice. I thought you might have an opinion on that.

FWIW, The Last-Modified header on that is Thu, 06 Dec 2018 19:30:30 GMT.

Link to a link to the firmware: »pastebin.com/awYKetFL

If 5980 in fact does not correct the problem, and if there were a naf version of the 50x firmware that corrected the SNI problem I'm sure you would simultaneously make transam98 very happy and SteveInWA pissed off. So, win-win?
naf
join:2017-12-12

1 recommendation

said by Mango:

If 5980 in fact does not correct the problem, and if there were a naf version of the 50x firmware that corrected the SNI problem I'm sure you would simultaneously make transam98 very happy and SteveInWA pissed off. So, win-win?

Same problem in 5980.

Problem releasing the fixed naf version that ssyspro tried is that noone can flash to it cause i don't have any exploits to bypass the pki cert checks for 50x firmware.
myce
join:2019-03-13
Germany
to naf
I saw some lines mentioning XMPP in the syslog, but didn't think any of it.

Your list of required steps is correct.
1)Didn't know this was required. Maybe this should be mentioned more prominently on the obifirmware.com site.
2)Did that
3)Did that too

The thing I was missing was running clear_zt_params. Redid all three steps. Now I can dial out.

Thanks alot. For the firmware and for your tips.
OBi1FW
join:2017-12-27
Vienna, VA
said by myce:

Maybe this should be mentioned more prominently on the obifirmware.com site.

Ok, I would be glad. Is it as simple as SSHing in and

~# ./clear_zt_params

? It's in the home directory or somewhere else?
naf
join:2017-12-12

2 recommendations

said by OBi1FW:

~# ./clear_zt_params

It's in the home directory or somewhere else?

Its in the path, not the home dir, so no "./"
myce
join:2019-03-13
Germany
to OBi1FW
Yes, in the home directory is absolutely ok.
giqcass
join:2014-03-10
to naf
I've been out of the loop for a while. Can anyone summarize the state of the firmware mods? Aside from locally adding Google Voice, local CID lookup, and temporarily returning GV function to the 1xx line are there any other features or benefits? Thanks!
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
Google Voice no longer works on the 1xx series due to Google's switch from XMPP to SIP. While it's theoretically possible to make it work, no one has done so...yet.

Full feature list is at »www.obifirmware.com/
trupsalms
join:2019-03-21
Harvey, IL
to naf
i just bought the polycom version of obi200, trying to get help on installing the naf firmware and extract cert?

HardwareVersion 1.4 help
SoftwareVersion 3.2.2 (Build: 5921EX)
trupsalms

1 edit
to naf
I'm another late adopter and have version 3.2.2 (Build: 5921EX)...brand new system from Amazon. Can I be saved?
I get :
Firmware Update Failed

Firmware package checksum error
trupsalms
to naf
have to wait 8 hours to respond to the pm
old fart
join:2004-05-26
to naf
@naf
A yes/no question
Should I be able to install olisom5b over 5-1-7-4666EX on my 1062, or do I have to downgrade to 5-1-4-4027 first ?
naf
join:2017-12-12
said by old fart:

Should I be able to install olisom5b over 5-1-7-4666EX on my 1062, or do I have to downgrade to 5-1-4-4027 first ?

Yes, because 4666 did not contain the pki signature checks. (If it did, downgrading wouldn't help because the older versions weren't pki-signed).

jsolo1
Premium Member
join:2001-07-01
PRIL
to naf
Did google change something again? Both obi's offline this morning (5921ex naf firmware).

Connect Failed: 403 Forbidden (server=216.239.36.144; retry in 71s).
andre2
join:2005-08-24
Brookline, MA

1 edit
Exact same error here, same server. I tried power cycling but it just tried connecting to the same server and failed again.

Edit: Now the error is "403 Rejected" instead of "Forbidden".

jsolo1
Premium Member
join:2001-07-01
PRIL

1 edit
I'm even getting that on a number/account not configured in the pbx.

EDIT: Maybe there's a newer firmware than 5921 which references different proxy servers? Or google just took a crap. Calling via hangouts (browser) and google voice app (over wifi) works.
Brown
join:2018-01-21
My Obi302 stopped registering, same error. Still on 5859 here.
naf
join:2017-12-12
hmm, the obi-issued client_id/secret/refresh_token works fine, but custom client_id's valid tokens are Forbidden...

jsolo1
Premium Member
join:2001-07-01
PRIL

1 recommendation

Did they change scopes?

hapollo
join:2007-05-13
WesterOS
to naf
said by naf:

hmm, the obi-issued client_id/secret/refresh_token works fine, but custom client_id's valid tokens are Forbidden...

Maybe Poly/Obi/GV finally cracking down on custom firmware to increase their revenue
maxm
join:2002-10-14
Atlanta, GA
to naf

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

anyway to obtain obi-issued client_id/secret/refresh_token ?
phonesimon
join:2014-10-08
Pennsylvania
to jsolo1
said by jsolo1:

Did they change scopes?

Try issuing token for scope "https://www.googleapis.com/auth/sipregistrar-3p" rather than the deprecated googletalk scope.

jsolo1
Premium Member
join:2001-07-01
PRIL
Bill, no go. It's more than a scope issue I think. Based on above, suggests only devices provisioned by the obi portal would work. There's more going on behind it scenes it seems.
azalea4va5
join:2009-06-05
Harrisonburg, VA
to phonesimon
It is now 2:30 EDT and my OBI200/GV is not working for calls in either direction. Incoming calls do not ring and outgoing calls get the message "has not received a response from the service provider". I am running the OBi2-3-2-2-5921EX-arrynrob9.fw firmware. Although I have some technical experience, I am pretty much a novice when it comes to the firmware and settings for an OBI device. If anyone is able to figure out how to correct this bug, please post instructions.

Much thanks to all those that have contributed to creating this firmware. Hopefully OBI has not sabotaged the product we all paid good money for.
phonesimon
join:2014-10-08
Pennsylvania
said by azalea4va5:

Much thanks to all those that have contributed to creating this firmware. Hopefully OBI has not sabotaged the product we all paid good money for.

More like Poly wants to secure their investment in Obi and the Google Voice partnership - fair enough.

I can say that my Obi 1062 with vendor firmware is working fine; loading the vendor firmware on to your device is probably the most expedient way of solving the problem.

jsolo1
Premium Member
join:2001-07-01
PRIL

1 recommendation

^^With that in mind, provisioning using the obiportal should work too. Trick is to keep it from updating the firmware.
naf
join:2017-12-12

1 edit

3 recommendations

to phonesimon
said by phonesimon:

More like Poly wants to secure their investment in Obi and the Google Voice partnership - fair enough.

I can say that my Obi 1062 with vendor firmware is working fine; loading the vendor firmware on to your device is probably the most expedient way of solving the problem.

changing firmware won't do anything, unless you also provision from obitalk. (and if you can provision from obitalk with the stock firmware, you could just as easily do it with the custom fw)

its just the people without access to obitalk (30x's, vendor-locked obiphone's, asterisk folks) that are currently in the lurch
Spektre
join:2018-06-25
to naf
Obihai 202 here. Both lines down.

3.2.2 (Build: 5859EX-arrynrob7)

Connect Failed: 403 Rejected (server=216.239.36.144; retry in 412s)
Anonf82db
@71.79.251.x
to naf
Obi202 here. 3.2.2 (Build: 5859EX-arrynrob7) firmware.

Connect Failed: 403 Rejected (server=216.239.36.144; retry in 412s)
Anon29584
@185.220.101.x
to jsolo1
so the recommend solution for now is to reset the obi and add it to the portal? what would be the best way to prevent custom firmware from getting updated?
azalea4va5
join:2009-06-05
Harrisonburg, VA
said by Anon29584 :

so the recommend solution for now is to reset the obi and add it to the portal? what would be the best way to prevent custom firmware from getting updated?

How does one "reset the obi and add it to the portal", when using the OBi2-3-2-2-5921EX-arrynrob9.fw firmware? I tried resetting "OBITalkPrvisioning->Method" from Disable to SystemStart, but just doing that does not seem to get it done (I tried reconfiguring one of my GV numbers but just got a Spinning wheel and the word "Configuring"?
OZO
Premium Member
join:2003-01-17
to Spektre
said by Spektre:

Obihai 202 here. Both lines down.

3.2.2 (Build: 5859EX-arrynrob7)

Connect Failed: 403 Rejected (server=216.239.36.144; retry in 412s)

Connection still work form me, but I'm still getting token error:
Connecting to 216.239.36.144;Token Error
 
arihan
join:2018-09-19
Rolla, MO
to naf
said by arihan:

Is it possible to clone/change the serial number/Obi number of an obihai (e.g. obi200)?
the serial appears in a x509 certificate signed by obihai.
so it would be possible to clone one from another existing box, but not create arbitrary values.
[also, why?]

I have one unlocked obi200 and several locked ones. Now with the trouble, we all have with GV I was thinking about cloning the unlocked one and copying it over the locked ones. Could you please let me know how can we handle it? Thanks a lot!
valley_nomad
join:2012-11-26
New York, NY
to Brown
said by Brown:

My Obi302 stopped registering, same error. Still on 5859 here.

Same here since yesterday
rmdir
join:2003-03-13
Chicago, IL
Same issue for me since yesterday with my Obi200. Very frustrating. Went through and generated brand new auth code, but no love.
Anonf4d42
@190.158.244.x
to Anonf82db
See:
Both of my units suffered a disconnect from Google Voice a couple of weeks ago. It turns out to be a problem with firmware 3.2.2 Build 5921 which put the wrong OutwardProxy address in. Build 5932 is now the latest which fixes this problem. Verified by Obi support this morning.

»www.obitalk.com/forum/in ··· =15764.0
c_gadfly
join:2008-05-23
Toronto
to naf
I also have an OBi202 and am also having issues with GV:
3.2.2 (Build: 5859EX-arrynrob7)
Connect Failed: 403 Rejected (server=216.239.36.144; retry in 368s)
rmdir
join:2003-03-13
Chicago, IL
Also on 5859EX.
amb
join:2018-04-08
to naf
I'll join the sad chorus here; if anybody has managed to provision with obitalk and *not* get a forced firmware update, I'd love to hear what you did. (There's some irony in my new obi202 having just showed up yesterday, too.)

I'll flail at it later today and see if anything works--I wish there was a way to get better logging out of the google end of the transaction.
pawpaw
join:2004-05-05
Asheville, NC
to naf
Me too:
HardwareVersion 1.4
SoftwareVersion 3.2.2 (Build: 5859EX-arrynrob7)
Connect Failed: 403 Forbidden (server=216.239.36.144; retry in 91s)
naf
join:2017-12-12

1 edit
Regarding fear of firmware being updated when using obitalk portal: currently the portal recognizes 5921 as the latest version. So, as long as you have 5921EX-arrynrob*, it thinks you have the latest and won't update you back to stock. So feel free to add the device to the portal, get the GV credentials provisioned, then disable obitalk provisioning and the obitalk service afterwards.

Also note that to use the obitalk-provisioned credentials on modded fw, SPx AuthPassword must be default/empty.
OzarkEdge
join:2014-02-23
USA
·voip.ms
to Anonf4d42
said by Anonf4d42 :

See:
Both of my units suffered a disconnect from Google Voice a couple of weeks ago. It turns out to be a problem with firmware 3.2.2 Build 5921 which put the wrong OutwardProxy address in. Build 5932 is now the latest which fixes this problem. Verified by Obi support this morning.

»www.obitalk.com/forum/in ··· =15764.0

How do you get firmware 3.2.2.5932 if OBiTALK.com is still sourcing 5921?

OE
Anon2004b
@199.249.230.x
to Anonf4d42
I presume 5932 is not available for direct download - naf would have probably released the patched version if that was the case.
kehi66
join:2014-09-05
Add me to the list: calls down in both directions on Build: 5859EX-arrynrob7.

SP1 Service Status

Status Connect Failed: 403 Rejected (server=216.239.36.144; retry in 452s) help

Would updating to the latest 5921EX-arrynrob9.fw cure this on Obi200? If so can I do this through the webamin page and not have to muck around with other settings?

Thanks

driz
join:2001-08-07
Louisville, KY
pretty sure naf covered what to do 3 posts before you asked this bud
kehi66
join:2014-09-05
to naf
Just updated to 5921EX from 5859EX and line is still down. When I initially setup the Obi200 I used this: »www.obifirmware.com/OAuth2/

Do I need to rerun this or use the "portal". I have never used that before so if needed how do I get to it?

Thanks
azalea4va5
join:2009-06-05
Harrisonburg, VA
to naf
quote:
So feel free to add the device to the portal, get the GV credentials provisioned, then disable obitalk provisioning and the obitalk service afterwards.

Also note that to use the obitalk-provisioned credentials on modded fw, SPx AuthPassword must be default/empty.

To the best of my knowledge, I did all this. Thanks to your help, I enabled OBITALKServiceSetting->Enable, and the OBITALK portal seemed to see my OBI again. I then deleted all by SPs on ObiTalk portal and recreated SP1 using GV. I now get the message "Registration Not Required" and same non-functionality for in or out calls.
andre2
join:2005-08-24
Brookline, MA

2 edits
With 5921EX-arrynrob9 installed, I did a full reset with a paper clip and then tried to configure GV via the OBiTALK portal. Status just says "Configuring" and still no connection.

Edit: Never mind, I have a connection now. Now I just have to figure out how to disable enough to block firmware updates.
azalea4va5
join:2009-06-05
Harrisonburg, VA
said by andre2:

With 5921EX-arrynrob9 installed, I did a full reset with a paper clip and then tried to configure GV via the OBiTALK portal.

Bingo. Thanks for leading me to a solution. I did the reset thing, on Obitalk deleted my device and then re-added it, deleted the obi "phone" device on GV, then reconfigured GV. Now it appears to be working.
azalea4va5
I found something new that was a bit wonky. Previously, I had 3 GV numbers configured on my OBI200. When I went to add the second one, the first one broke ("Registration Not Required").

I am not sure what exactly broke what was working. I had the issue of getting two OBI devices showing up in my GV account. Could deleteing a OBI device in one GV account mess up the operation with OBI on another account?

I went back and deleted all GV SPs in OBITALK. I then deleted the OBI device in all my GV accounts. I added one of my GV into the OBI and all appears to be working. I will leave it be for a while. Later I will try adding the second GV number and see what happens.
azalea4va5
join:2009-06-05
Harrisonburg, VA

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

DARN@!@!! A few minutes after all was working, my OBI200 is dead again, with the dreaded "Registration Not Required" message. This time I did nothing betwen the time it was working and the time I found it was dead.
azalea4va5
Magic, it is working again.
valley_nomad
join:2012-11-26
New York, NY
to naf
Any fix for my 302 running 5859EX-arrynrob7 and having error 403 Forbidden?
kehi66
join:2014-09-05
Up to latest OBi2-3-2-2-5921EX-arrynrob9.fw Once installed use paper clip to reset device (reset button on bottom, hold for about 15sec) then do the following as per naf on the page 41

(((((Regarding fear of firmware being updated when using obitalk portal: currently the portal recognizes 5921 as the latest version. So, as long as you have 5921EX-arrynrob*, it thinks you have the latest and won't update you back to stock. So feel free to add the device to the portal, get the GV credentials provisioned, then disable obitalk provisioning and the obitalk service afterwards.

Also note that to use the obitalk-provisioned credentials on modded fw, SPx AuthPassword must be default/empty.)))
Anon0bc68
@70.68.94.x
to azalea4va5
i am also unable to add a second GV line to my obi202
valley_nomad
join:2012-11-26
New York, NY
to kehi66
said by kehi66:

Up to latest OBi2-3-2-2-5921EX-arrynrob9.fw Once installed use paper clip to reset device (reset button on bottom, hold for about 15sec) then do the following as per naf on the page 41

(((((Regarding fear of firmware being updated when using obitalk portal: currently the portal recognizes 5921 as the latest version. So, as long as you have 5921EX-arrynrob*, it thinks you have the latest and won't update you back to stock. So feel free to add the device to the portal, get the GV credentials provisioned, then disable obitalk provisioning and the obitalk service afterwards.

Also note that to use the obitalk-provisioned credentials on modded fw, SPx AuthPassword must be default/empty.)))

Thanks for posting. Will this work for 302?
andre2
join:2005-08-24
Brookline, MA
to kehi66
As described in »www.obitalk.com/forum/in ··· msg78466 , I made the following changes to disable OBiTALK updates:

System Management >> Auto Provisioning:
Auto Firmware Update >> Method: Disabled
ITSP Provisioning >> Method: Disabled
OBiTalk Provisioning >> Method: Disabled

Voice Services >> OBiTALK Service:
Enable: (Unchecked)

For some reason, I wasn't able to reboot directly from the Polycom page, so I was unable to save the changes from there. I could make changes from OBi Expert even without rebooting, but the "OBiTalk Provisioning" and "OBiTALK Service" options aren't listed there. I was able to save an XML Backup Configuration file from the Polycom page, then load it into the OBi Expert page, which accepted it. The OBi dashboard then showed my device as offline, but the Polycom page showed it as connected. Then I deleted the device from the OBiTALK portal. Everything seems fine now. I power-cycled the OBi just to make sure the settings stuck, which they did.

driz
join:2001-08-07
Louisville, KY
to valley_nomad
no, 3xx can connect to the portal... they dont officially support gvoice.
Chrushev
join:2008-07-30
Newport Beach, CA
to kehi66
said by kehi66:

Up to latest OBi2-3-2-2-5921EX-arrynrob9.fw Once installed use paper clip to reset device (reset button on bottom, hold for about 15sec) then do the following as per naf on the page 41

Regarding fear of firmware being updated when using obitalk portal: currently the portal recognizes 5921 as the latest version. So, as long as you have 5921EX-arrynrob*, it thinks you have the latest and won't update you back to stock. So feel free to add the device to the portal, get the GV credentials provisioned, then disable obitalk provisioning and the obitalk service afterwards.

Also note that to use the obitalk-provisioned credentials on modded fw, SPx AuthPassword must be default/empty.

Im remote, can I do this without paperclip (without physical access) ? I am on OBi2-3-2-2-5921EX-arrynrob9
Chrushev

2 edits

3 recommendations

So, Ive read through the last several pages (since this 403 Rejected issue started). And Id like to consolidate the steps to resolve it since right now its a bit scatter shot (at least for someone like me that is not a pro at SIP).

DISCLAIMER: This is what worked for my OBi200.

1) Make sure you are on 3.2.2 (Build: 5921EX-arrynrob9) - Latest can be downloaded from »www.obifirmware.com/#cta

2) Go to voice.google.com and delete the ObiTalk Device. (On left side go to Legacy Google Voice and then click on the gear icon in top right and then "Settings".

3) Go to »www.obitalk.com/obinet/ and setup the Obi. This will involve dialing **5 from the handset. Here is a screenshot »imgur.com/a/ecSuPdI

4) Once there add GV. I had an issue of it being stuck on "Configuring". The only way I was able to resolve this was to factory reset with the push button on the bottom of the device.

5) Once GV reports as "Connected" go to GV devices list and make sure Obi is there (for me it added it twice, with identical info so I removed one of them).

6) Go to Automatic Provisioning and Disable Auto Updating Firmware and other Auto Provisioning things.

7) Reboot Obi and make sure everything is still working.

I also (dont know if this actually does anything), put address=/.obihai.com/0.0.0.0 in my dnsmasq on my router to block potential updates.
valley_nomad
join:2012-11-26
New York, NY
to naf
What is really happening behind the getting error 403?
Is that because from now on the Obitalk-provisioned credentials have to be used?
OZO
Premium Member
join:2003-01-17
to naf
This is weird and completely out of control...

I've installed OBi2-3-2-2-5921EX-arrynrob9.fw and connected to OBiTALK to add new device. It added my OBi200 and registered with GV. In my GV account there is no way to edit my old OBi200 device (I tried it many times and see the same old device there) and I had to remove it completely. And it turns out, I can't add a new device in GV page. When I click on "Add another phone" page it doesn't recognize my new S/N as a valid phone number

Now I'm stuck - I can't add my new OBi200 device into "Legacy Google Voice" page. The OBiTALK page is still open and it shows, that I have configured SP4 with GV., but it still have the "Connecting to 216.239.36.144;Token Error" message next to it.

What should I do to get it work Please help!
Chrushev
join:2008-07-30
Newport Beach, CA
Did you try to add it on Obi portal? I think that will auto add it to GV? I may be wrong though.
OZO
Premium Member
join:2003-01-17
said by Chrushev:

Did you try to add it on Obi portal? I think that will auto add it to GV? I may be wrong though.

Yes, I did. But, as I said, I mistakenly removed it from GV. Now, how to add it again???
Chrushev
join:2008-07-30
Newport Beach, CA
said by OZO:
said by Chrushev:

Did you try to add it on Obi portal? I think that will auto add it to GV? I may be wrong though.

Yes, I did. But, as I said, I mistakenly removed it from GV. Now, how to add it again???
Can you remove it on Obi portal and try re-add there again?
OZO
Premium Member
join:2003-01-17
said by Chrushev:

Can you remove it on Obi portal and try re-add there again?

In OBi portal I don't see any way to remove it
Chrushev
join:2008-07-30
Newport Beach, CA
said by OZO:
said by Chrushev:

Can you remove it on Obi portal and try re-add there again?

In OBi portal I don't see any way to remove it
Try this:

From ObiTALK - OBi Dashboard - Under: My OBi Devices
Click on the OBi Device Icon or 'device name' of on the 'Gear' Icon.
That will bring up: Device Configuration - OBi200

The "Delete Device" button is on the 'Right' ~ two thirds down the page.
OZO
Premium Member
join:2003-01-17
I deleted it. Thanks!

Now, when I added device again, it reset my old configuration and instead of using GV in SP4, it set GV in SP1 Now I have to restore backup of my previous configuration...
Chrushev
join:2008-07-30
Newport Beach, CA

1 edit
said by OZO:

I deleted it. Thanks!

Now, when I added device again, it reset my old configuration and instead of using GV in SP4, it set GV in SP1 Now I have to restore backup of my previous configuration...

Are you running custom firmware? Because I am running 3.2.2 (Build: 5921EX-arrynrob9)

and I get "Firmware Update Needed" ... screenshot --> »imgur.com/a/mVee8Zh
andre2
join:2005-08-24
Brookline, MA
If you've disabled Auto Firmware Update, ITSP Provisioning, OBiTalk Provisioning, and OBiTALK Service as indicated in my post above, then hopefully you shouldn't get any automatic firmware updates. You can delete the device from the OBiTALK portal completely (there's a button there that says "Delete Device" under the configuration settings for the device).
OZO
Premium Member
join:2003-01-17
to Chrushev
I'm running the latest OBi2-3-2-2-5921EX-arrynrob9.fw. Now, after restoring old configuration, I can't connect to my FreeSWITCH server via SP1. I compared it with my notes and there is no difference.

How to restore/reset SP1 ability back to use SIP?
Chrushev
join:2008-07-30
Newport Beach, CA
This is what it is trying to have me load - FWU »fw.obihai.com/OBi202-3-2 ··· 48940.fw

over 3.2.2 (Build: 5921EX-arrynrob9)
OZO
Premium Member
join:2003-01-17
Connection to my SIP server now says:
Connecting to MY.IP.ADD.RES;Token Error
andre2
join:2005-08-24
Brookline, MA

1 recommendation

to Chrushev
So Google starts trying to force people to configure the device through OBiTALK, then one day later Obihai is pushing a firmware update. Hmm.
Chrushev
join:2008-07-30
Newport Beach, CA

1 edit
said by andre2:

So Google starts trying to force people to configure the device through OBiTALK, then one day later Obihai is pushing a firmware update. Hmm.

The firmware is same version as custom one. Except Im guessing they are now doing some sort of check on connection? So you can no longer use custom firmwares?

EDIT: Nevermind, see 2 posts down.
andre2
join:2005-08-24
Brookline, MA
Okay, I downloaded that file manually and the timestamp is September 18, so it's apparently been around a while.

Edit: OBi2-3-2-2-5921EX-arrynrob8.fw has a timestamp of October 12, so I guess it's what both arrynrob8 and arrynrob9 are based on.
Chrushev
join:2008-07-30
Newport Beach, CA

1 edit
said by andre2:

Okay, I downloaded that file manually and the timestamp is September 18, so it's apparently been around a while.

Looks like it had to do with ObiService being turned off. I went through all of the pages on Obi and set everything to Factory Defaults except for Auto Update I kept that on Disabled. Now it connected and didnt ask to upgrade firmware.

Now its stuck on "Configuring" spinner forever.
Spektre
join:2018-06-25
to naf
said by naf:

Regarding fear of firmware being updated when using obitalk portal: currently the portal recognizes 5921 as the latest version. So, as long as you have 5921EX-arrynrob*, it thinks you have the latest and won't update you back to stock. So feel free to add the device to the portal, get the GV credentials provisioned, then disable obitalk provisioning and the obitalk service afterwards.

Also note that to use the obitalk-provisioned credentials on modded fw, SPx AuthPassword must be default/empty.

Sorry naf, that should probably be self explanatory, but what exactly needs done if on 5859EX ?
Chrushev
join:2008-07-30
Newport Beach, CA

1 recommendation

said by Spektre:
said by naf:

Regarding fear of firmware being updated when using obitalk portal: currently the portal recognizes 5921 as the latest version. So, as long as you have 5921EX-arrynrob*, it thinks you have the latest and won't update you back to stock. So feel free to add the device to the portal, get the GV credentials provisioned, then disable obitalk provisioning and the obitalk service afterwards.

Also note that to use the obitalk-provisioned credentials on modded fw, SPx AuthPassword must be default/empty.

Sorry naf, that should probably be self explanatory, but what exactly needs done if on 5859EX ?
Download latest and update manually to it (from naf's site).
Spektre
join:2018-06-25
I am using SP1 and SP2 and vaguely remember it taking some hoops to get it going. Updating to the newer fw will require reconfiguring everything right?

Thanks
Chrushev
join:2008-07-30
Newport Beach, CA

1 edit
to Spektre

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

When I updated it kept my configs.

But no matter what i did (including settings everything to factory defaults manually). I could not get it to register through Obihai with GV. I had to reset the box with the paper clip, after which it registered right away. It kept my custom firmware. After it connected I disabled all of the Obihai hooks and firmware auto update.

Hopefully no more issues. If you look a few pages back I made a step by step guide as to how I recovered from the Rejected error.
rmdir
join:2003-03-13
Chicago, IL
I got a "token error" when I flashed the firmware and tried to provision through the web site without a reset first. Had to reset via paperclip, provision, then disable Obitalk provisioning and software updates. All is good again, just made a call with it. The step by step was welcome, a good summary of the steps to get it back to working.
pawpaw
join:2004-05-05
Asheville, NC

1 edit

1 recommendation

to naf
This worked for me:
Downloaded the 5921EX-arrynrob9 firmware file to my PC.
Logged in to my Obi200 via LAN and updated the firmware from System Management, Device Update.
Then Reset Configuration from System Management, Device Update. (Auto provisioning options are enabled)
Logged in to my Obitalk account and selected Add Device (I had deleted it long ago). Select option to also add GV account.
Followed prompts to add the device to Obitalk and set up GV. After a minute GV was configured.
Confirmed by logging in to the Obi200 to see that GV had been added, and made a test call.
Removed the device from the Obitalk account.
Changed the OBi200 password from the default at System Management, Device Admin, Web Server.

Voila! (Or as they say on the intertubes, viola!)

Edit: I forgot to add that after the Obitalk setup I disabled all the provisioning settings.
Spektre
join:2018-06-25
When you updated your firmware, did it keep the SIP settings?
OZO
Premium Member
join:2003-01-17
to Chrushev
To move GV service from SP1 to SP4 I have to use TFTP server to provision it. After getting "Connecting to 216.239.36.144;Token Error" I had to remove my OBi200 from portal. Now, after that, in OBiTALK portal I can't add my device anymore

I'm still getting "Token Error"... Could you please check what "AuthUserName" is in your settings? Is it user@gmail.com or ${DSN}_4 (I need SP4 to use with GV)?

Thanks in advance!
pawpaw
join:2004-05-05
Asheville, NC
to Spektre
said by Spektre:

When you updated your firmware, did it keep the SIP settings?

Yes, but then they were erased by the subsequent configuration reset. I forgot to add that after the Obitalk setup I disabled all the provisioning settings. Besides changing the password I did nothing else.
Spektre
join:2018-06-25
OK, I have the firmware updated and tried to add the device with the **5xxxx. It would not update most likely because all the settings are still disabled. "enabled" is not an option though. periodically and on system start are. what should be selected for these?

When trying to add the device...which it does do, I get the following message on the website:

"This OBi has been added to your Dashboard.
Firmware upgrade needed.
Cannot upgrade 5xxxxxxxx since it is offline. Please try again when it is online.
pawpaw
join:2004-05-05
Asheville, NC
You do not specify which settings (all?), so I cannot help. Just factory reset the Obi via its web page, or with a paperclip. That should allow you to add it to Obitalk.
Spektre
join:2018-06-25
Factory resetting is what I am trying to avoid so i do not need to run through setting up Oath2 and Google Voice all over again.
pawpaw
join:2004-05-05
Asheville, NC
No need to do the Oath2 and GV the hard way - Obitalk does it for you.
Spektre
join:2018-06-25
Ahhh OK, that was what I was missing. Many thanks.
Stewart
join:2005-07-13
to naf
Slightly OT, a bit of insight into why this thread has 1271 posts and 43,000+ readers:
»www.1843magazine.com/upf ··· eeconomy
zapattack
join:2012-07-02
CANADA
Right on cue
OBITALK.COM has Gateway Timeouts....

brg
Premium Member
join:2001-01-03
Chicago, IL
to Stewart
said by Stewart:

Slightly OT, a bit of insight into why this thread has 1271 posts and 43,000+ readers:
»www.1843magazine.com/upf ··· eeconomy

Someone wrote a blog post about my hobby!
brg
Just as a reminder, there is a relatively easy setting on the Obi200 that sets which "SP" slot is used as the default. Consider using it to quickly remove GV from the picture for a spell, and save yourself from the tedium of having to dial **X before every call.

I have all SP slots (plus a number of voice gateways) in use on my 200. SP1 is GoogleVoice; SP2-4 all register to a PBX somewhere (SP2 = a friend; SP3 = my Dockstar PBX; SP4 = my cloud PBX instance). Every PBX has some inexpensive provider ($0.01/min. or less) that I can use that sends my GV number as CID.

Until I get around to fiddling with this most recent GV-on-Obi kerfuffle, I went to Voice Services>SP1 and unchecked enable, killing SP1/GV, and then went to Setup Wizard>outbound calls and made "Phone1 PrimaryLine" = "SP4 Service".
paperclip
join:2018-09-01
:
to pawpaw
Thank you for the step by step. I'm stuck at adding the device to Obitalk, the status is "Offline". Any suggestions?
talkbot
join:2017-12-11
to naf
said by naf:

its just the people without access to obitalk (30x's, vendor-locked obiphone's, asterisk folks) that are currently in the lurch

Hi naf, that's me! 302 and locked (Failed to add device: This device is customized for another service provider and cannot be added to your account!)
naf
join:2017-12-12

1 recommendation

said by talkbot:
said by naf:

its just the people without access to obitalk (30x's, vendor-locked obiphone's, asterisk folks) that are currently in the lurch

Hi naf, that's me! 302 and locked (Failed to add device: This device is customized for another service provider and cannot be added to your account!)
sent you a pm
pawpaw
join:2004-05-05
Asheville, NC
to paperclip
Factory reset, from the device web interface, or physically with a paperclip, paperclip.

hapollo
join:2007-05-13
WesterOS

1 recommendation

said by pawpaw:

Factory reset, from the device web interface, or physically with a paperclip, paperclip.

»www.obitalk.com/info/faq ··· ry-Reset
said by paperclip:

Thank you for the step by step. I'm stuck at adding the device to Obitalk, the status is "Offline". Any suggestions?

»www.obitalk.com/info/faq ··· y-router
paperclip
join:2018-09-01
:
Paperclip will try tonight. Thank you pawpaw See Profile hapollo See Profile!
OZO
Premium Member
join:2003-01-17
How to add OBi200 to OBiTALK portal again after removing it?

I did remove it from OBiTALK portal, when I discovered that portal added GV to SP1 (removing my SIP connection). Now whatever I do I can't add it back to portal again

I tried paperclip method:
1. Disconnect power from OBi
2. While pressing with paperclip on "Reset" button (on bottom of OBi) connect power and keep pressing it
3. Remove paperclip when power LED starts to flash slowly
It did not help.

Now I can't add it to OBiTALK portal... I tried manually configure GV on SP1. No luck - I can't add it again. Why it becomes so f**ing difficult?

Any advise what to do in this case?
paperclip
join:2018-09-01
:
to pawpaw
said by pawpaw:

Removed the device from the Obitalk account.

umm... got it working, but what needs to be done to keep it working after removing it from Obitalk? I'm so close to voila!
said by OZO:

Now I can't add it to OBiTALK portal

Which step are you stuck on? I followed pawpaw See Profile's instruction exactly, which is further clarified by hapollo See Profile's links. And it's usable now! Yay!
pawpaw
join:2004-05-05
Asheville, NC
said by paperclip:

umm... got it working, but what needs to be done to keep it working after removing it from Obitalk? I'm so close to voila!

AFAIK it should stay working - at least until Polycomm or Google decide it's time to mess with us again.
RonR
join:2003-10-10
Ash Flat, AR
to paperclip
said by paperclip:

got it working, but what needs to be done to keep it working after removing it from Obitalk?

To be on the safe side, the following will ensure that the OBiTALK Web Portal doesn't have access to your device:

System Management -> Auto Provisioning -> Auto Firmware Update -> Method : Disabled

System Management -> Auto Provisioning -> LUA Script Update -> Method : Disabled

System Management -> Auto Provisioning -> ITSP Provisioning -> Method : Disabled

System Management -> Auto Provisioning -> OBiTalk Provisioning -> Method : Disabled

Voice Services -> OBiTALK Service -> OBiTALK Service Settings -> Enable : (unchecked)
OZO
Premium Member
join:2003-01-17
to paperclip
After a million and one attempts I finally added my OBi200 to portal. But:
1. In "Legacy Google Voice" page I don't see OBiTALK device added
2. My "SP4 Service Status" indicates:
Connecting to 216.239.36.144;Token Error

It's still not usable for my in any way
rwl408
join:2016-12-17
Fremont, CA
said by OZO:

After a million and one attempts I finally added my OBi200 to portal.

What did you do differently this time than the last million times to get OBi200 successfully added as a device?
said by OZO:

2. My "SP4 Service Status" indicates:
Connecting to 216.239.36.144;Token Error

How did you get GV to be at SP4? If you followed the instructions outlined in previous posts, GV should be at SP1.
OZO
Premium Member
join:2003-01-17
said by rwl408:
said by OZO:

After a million and one attempts I finally added my OBi200 to portal.

What did you do differently this time than the last million times to get OBi200 successfully added as a device?
The main problem with setting up with OBiTALK is - I have no idea... As I said, I repeated process again and again, until finally it came through. If I'd know how to do it, do you think I will try it million times?
said by rwl408:
said by OZO:

2. My "SP4 Service Status" indicates:
Connecting to 216.239.36.144;Token Error

How did you get GV to be at SP4? If you followed the instructions outlined in previous posts, GV should be at SP1.
I added it by provisioning it with local TFTP server. If you need detailed instructions let me know and I'll give it to you. I use SP1 for connecting to my local SIP server. May be I'm wrong trying to set GV in SP4 and perhaps GV can only work via SP1? I don't know yet...

hapollo
join:2007-05-13
WesterOS
said by OZO:

The main problem with setting up with OBiTALK is - I have no idea... As I said, I repeated process again and again, until finally it came through. If I'd know how to do it, do you think I will try it million times?

Do you mean the **5 + 4 digit PIN method? I've tried about a dozen times with no success. Even put the Obi in the DMZ for 5 mins and Obi Portal still can't find the device.
OZO
Premium Member
join:2003-01-17
said by hapollo:

Do you mean the **5 + 4 digit PIN method? I've tried about a dozen times with no success. Even put the Obi in the DMZ for 5 mins and Obi Portal still can't find the device.

It's the same here. I did it without any luck. But when process succeeded, phone said something like - the code sent to a server...

Nevertheless, I still have no GV configured properly When I dial a test number I hear: "There is no service available to complete your call".

hapollo
join:2007-05-13
WesterOS
to OZO

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

said by OZO:

But when process succeeded, phone said something like - the code sent to a server...

After entering the **5 + 4digit from Obitalk Portal, I hear that message " the code sent to a server..." repeats 3x while the Trying to connect to your device... (Timeout in 120 seconds) counts down to zero and then it fails.

**9-222-222-222 works without any issues so it's getting connectivity to OBi.
OZO
Premium Member
join:2003-01-17
That's my experience also and I've seen it a "million" times, until suddenly it succeeded. But don't ask me how to make it work - I don't know... It's totally unpredictable (from my experience, at least).

BTW, don't put your OBi into DMZ (as you mentioned earlier). In my case it was not needed.
rwl408
join:2016-12-17
Fremont, CA

2 edits

2 recommendations

to OZO
said by OZO:

I use SP1 for connecting to my local SIP server. May be I'm wrong trying to set GV in SP4 and perhaps GV can only work via SP1? I don't know yet...

You can have GV at any SPx slot you want and as many as four for OBi200. I don't know where you get the idea of provisioning GV with local TFTP server. I believe that is why you keep on getting Token Error. Until naf, or some other great minds, finds an alternative solution for the time being we must go through OBiTALK to provision GV because that is the ONLY way. Here are the steps I used to setup my two OBi200s. (I actually did it three times because the first time I deleted the device from OBiTALK web portal before I disabled whatever is necessary from OBi200 (firmware update, provisioning, etc).

1. Delete OBi device(s) from your Google Voice accounts.
2. Delete OBi200 from the OBiTALK web portal (if it is already there).
3. Update OBi200 firmware to the latest if necessary. Check the system status to make sure it is done correctly. Software version must be 3.2.2 (Build: 5921EX-arrynrob9). Anything else you are running the risk of getting the OBi stock firmware.
4. Use a paperclip to reset OBi200 to factory default settings - power off, paperclip on the reset button, power on and hold the paperclip for 15 secs, release the paperclip. After boot is finished, try to login into OBi200 with the default password "admin". If you did not change the password from the default previously (it was admin before reset), you have to look for other signs that the unit has been reset.
5. Login to the OBiTALK web portal and accept the invitation to add a device. You will be asked to dial **5nnnn. (You should already know the drill.) Important: just add the device but DECLINE the GV setup invitation when prompted for. If you take the invitation of adding GV here, it will go into SP1! We will do GV setup separately later (and in whichever SPx slot we like). If you have ensured that the previous steps were done properly, you should not have any trouble adding your OBi200 to OBiTALK.
6. Click on the SPx (SP1, SP2, SP3 and SP4) you want to setup. You can set up GV, Anveo, or a compatible service. The setup is very straightforward. In my OBi200, I setup GV at SP1 and SP2 (two accounts) and Callcentric at SP4.
7. Go to OBi200 web page to make sure that the SPx slots that you setup in the OBiTALK web portal are connected/registered. For GV, check the GV accounts to make sure that you have OBiTALK device added automatically.

If anything isn't clear, just ask. The community is here to help. Good luck.

EDIT: My fat finger hit the wrong key and posted the reply prematurely. My apology if you read before I completed the write-up.
OZO
Premium Member
join:2003-01-17
said by rwl408:

You can have GV at any SPx slot you want and as many as four for OBi200.

The only one thing I want is to use SP1 for my SIP server and SP4 for GV. In order to put GV in SP4 I have to provision it with TFTP server using sp4.xml.
said by rwl408:

I don't know where you get the idea of provisioning GV with local TFTP server. I believe that is why you keep on getting Token Error. Until naf, or some other great minds, finds an alternative solution for the time being we must go through OBiTALK to provision GV because that is the ONLY way. Here are the steps I used earlier yesterday to setup my two OBi200s. (I actually did it three times because I deleted the device from OBiTALK

May be you're right. May be the reason why I'm getting token error is that I'm trying to use SP4 for GV. May be OBi200 can be used for GV only in SP1? I don't know. If it is, let me know.
RonR
join:2003-10-10
Ash Flat, AR
said by OZO:

In order to put GV in SP4 I have to provision it with TFTP server using sp4.xml.

You're trying to set up GV on an OBi using a procedure that no longer works. At this time, the ONLY way to set up GV on an OBi is to add the OBi to the OBiTALK Web Portal and let the OBiTALK Web Portal do EVERYTHING related to the GV configuration. Once the OBiTALK Web Portal has configured GV on the OBi, you can disable all Auto Provisioning options and disable the OBiTALK Service in the OBi and configure the remaining portions of the OBi manually. Just don't alter anything other than DigitMap and X_InboundCallRoute in the SPx / ITSP X pages that the OBiTALK Web Portal configured GV on.

Any other approach to setting up GV on an OBi WILL fail.
rwl408
join:2016-12-17
Fremont, CA
to OZO
said by OZO:

May be OBi200 can be used for GV only in SP1? I don't know. If it is, let me know.

I am sorry that you read my incomplete post. It is complete now so read it again. To give you confidence that GV can be at any SPx, read the last post of this link - »www.obitalk.com/forum/in ··· =13888.0

I know the post is from someone nobody seems to like here but he must have known what he said. I even went as far as running Chrome in incognito window as he suggested.
paperclip
join:2018-09-01
:
to RonR
said by RonR:

To be on the safe side, the following will ensure that the OBiTALK Web Portal doesn't have access to your device...

Okay, I misunderstood and deleted the device from Obitalk.
said by pawpaw:

AFAIK it should stay working - at least until Polycomm or Google decide it's time to mess with us again.

Fingers crossed.
RonR
join:2003-10-10
Ash Flat, AR
said by paperclip:
said by RonR:

To be on the safe side, the following will ensure that the OBiTALK Web Portal doesn't have access to your device...

Okay, I misunderstood and deleted the device from Obitalk.
After disabling the Auto Provisioning options and the OBiTALK Service, it doesn't matter whether you delete the device from OBiTALK or leave it there. OBiTALK will no longer be able to access your device.
OZO
Premium Member
join:2003-01-17
to RonR
said by RonR:

You're trying to set up GV on an OBi using a procedure that no longer works. At this time, the ONLY way to set up GV on an OBi is to add the OBi to the OBiTALK Web Portal and let the OBiTALK Web Portal do EVERYTHING related to the GV configuration.
...
Any other approach to setting up GV on an OBi WILL fail.

Does it mean that I'll have GV only in SP1? Is that a new OBi200 limitation?

Do I have to remove from portal my OBi devise again? If so, I'm going to repeat the procedure of adding my device next "million times"... And even after that my GV is still not working:
1. In "Legacy Google Voice" page I don't see OBiTALK device added
2. Will my "SP1 Service Status" indicate: "Connecting to 216.239.36.144;Token Error" ?
RonR
join:2003-10-10
Ash Flat, AR
said by OZO:

Does it mean that I'll have GV only in SP1? Is that a new OBi200 limitation?

I THINK if you're adding a fresh (factory defaults) OBi to the portal, it automatically uses SP1 (that's my experience). I THINK you can choose a different SP, but I haven't played with it, so I can't say for sure. Your life will be much simpler if you just allow GV to be provisioned on SP1.
said by OZO:

Do I have to remove from portal my OBi devise again? If so, I'm going to repeat the procedure of adding my device next "million times"

You should delete your OBi from the portal and start fresh. If you reset your OBi to factory defaults and simply add it the portal, it should proceed smoothly with the **5 nnnn procedure as it does for most people. I don't have a clue why you're having so much trouble with that first step.
said by OZO:

1. In "Legacy Google Voice" page I don't see OBiTALK device added
2. Will my "SP1 Service Status" indicate: "Connecting to 216.239.36.144;Token Error" ?

You won't see your OBi in "Legacy Google Voice" until you've successfully configured it in the portal and it shows 'Connected'. Everything should go as expected if you let the portal do EVERYTHING with regards to GV setup.

Once GV is provisioned on your OBi and you can make a call from the phone port, disable the portal's access to your OBi as outlined in this post:

»Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

You don't need to delete the OBi from the portal. Should you need the portal to provision GV on your OBi again in the future, simply reset the OBi to factory defaults and the portal will put GV back on the OBi automatically.
OZO
Premium Member
join:2003-01-17
said by RonR:
said by OZO:

Does it mean that I'll have GV only in SP1? Is that a new OBi200 limitation?

I THINK if you're adding a fresh (factory defaults) OBi to the portal, it automatically uses SP1 (that's my experience). I THINK you can choose a different SP, but I haven't played with it, so I can't say for sure. Your life will be much simpler if you just allow GV to be provisioned on SP1.
From my personal experience, there is NO way to set it to any other SP, except SP1. If I enable OBiTALK provisioning (System Start or Periodically) it always removes my settings from SP1 and it becomes "Service Not Configured"...
said by RonR:
said by OZO:

Do I have to remove from portal my OBi devise again? If so, I'm going to repeat the procedure of adding my device next "million times"

You should delete your OBi from the portal and start fresh. If you reset your OBi to factory defaults and simply add it the portal, it should proceed smoothly with the **5 nnnn procedure as it does for most people. I don't have a clue why you're having so much trouble with that first step.
OMG Here we go again...
said by RonR:
said by OZO:

1. In "Legacy Google Voice" page I don't see OBiTALK device added
2. Will my "SP1 Service Status" indicate: "Connecting to 216.239.36.144;Token Error" ?

You won't see your OBi in "Legacy Google Voice" until you've successfully configured it in the portal and it shows 'Connected'. Everything should go as expected if you let the portal do EVERYTHING with regards to GV setup.

Once GV is provisioned on your OBi and you can make a call from the phone port, disable the portal's access to your OBi as outlined in this post:

»Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

You don't need to delete the OBi from the portal. Should you need the portal to provision GV on your OBi again in the future, simply reset the OBi to factory defaults and the portal will put GV back on the OBi automatically.
OK. I'll try it over again and see how it goes this time...
OZO
to RonR
Removed as it posted above...
OZO
After resetting device, it succeeded

But in "Legacy Google Voice" page I see 2 entries. And in portal there are still 2 entries: for SP1 and for SP4. I need SP4 for my server. Should I delete "Google Voice" from SP4 ("Delete SP4") now? RonR See Profile, appreciate your advice.
RonR
join:2003-10-10
Ash Flat, AR
said by OZO:

But in "Legacy Google Voice" page I see 2 entries. And in portal there are still 2 entries: for SP1 and for SP4. I need SP4 for my server. Should I delete "Google Voice" from SP4 ("Delete SP4") now? RonR See Profile, appreciate your advice.

You MUST delete the one that is NOT the one that the portal configured for you.

brg
Premium Member
join:2001-01-03
Chicago, IL
@OZO: Why is it a problem if GV is on SP1? Because you don't want it to be the default "1+" (or whatever) when a number is dialed? You can easily get around that -- you can set the default SP that is seized when making a call to any of the other SP slots...
OzarkEdge
join:2014-02-23
USA
to naf
Someone enlighten me.. does having to use OBiTALK.com to configure GV now mean having to use OBiTALK.com's current firmware and any defects it might have?

OE
OZO
Premium Member
join:2003-01-17
to RonR
said by RonR:
said by OZO:

But in "Legacy Google Voice" page I see 2 entries. And in portal there are still 2 entries: for SP1 and for SP4. I need SP4 for my server. Should I delete "Google Voice" from SP4 ("Delete SP4") now? RonR See Profile, appreciate your advice.

You MUST delete the one that is NOT the one that the portal configured for you.
I deleted it in portal page. But portal page still show both entries there (SP1 and SP4 and both have status "Connected"). This is weird... And in OBi200 status page SP4 still keep status "Connected" too. Then I checked "Legacy Google Voice" page and there are two entries there as well. And I can't delete one of them there, because those two have only one different symbol and I don't know which one uses SP1 and which one uses SP4.

Is there any way to know for sure which one to delete in "Legacy Google Voice" page?
OZO
to brg
said by brg:

@OZO: Why is it a problem if GV is on SP1? Because you don't want it to be the default "1+" (or whatever) when a number is dialed? You can easily get around that -- you can set the default SP that is seized when making a call to any of the other SP slots...

No, it's not like that. I keep a lot of backups of old configurations, where SP1 used for connecting to my local SIP server. I keep notes how to configure SP1 manually too. All of that will be gone now. Not a big deal, but...
RonR
join:2003-10-10
Ash Flat, AR
to OZO
said by OZO:

I deleted it in portal page. But portal page still show both entries there (SP1 and SP4 and both have status "Connected").

Then you must have failed to click 'Save' after deleting SP1 and/or SP4.
said by OZO:

Is there any way to know for sure which one to delete in "Legacy Google Voice" page?

You can actually delete both (all) of them and only the one(s) actually provisioned on the OBi will come back.
OZO
Premium Member
join:2003-01-17
said by RonR:
said by OZO:

Is there any way to know for sure which one to delete in "Legacy Google Voice" page?

You can actually delete both (all) of them and only the one(s) actually provisioned on the OBi will come back.
I'm afraid to do that as I tried it already. I'd have to begin from the scratch. And I want to avoid that hustle again.
RonR
join:2003-10-10
Ash Flat, AR
said by OZO:
said by RonR:
said by OZO:

Is there any way to know for sure which one to delete in "Legacy Google Voice" page?

You can actually delete both (all) of them and only the one(s) actually provisioned on the OBi will come back.
I'm afraid to do that as I tried it already. I'd have to begin from the scratch. And I want to avoid that hustle again.
I just deleted mine (as I have done in the past) and it came back immediately after rebooting the OBi (I think it's created, if necessary, on a SIP REGISTER).
taoman
Premium Member
join:2013-09-13
Seattle, WA
to OZO
said by OZO:

I'm afraid to do that as I tried it already.

Can't you decide which one to delete by unchecking one device and making an incoming call to your GV number? If it works, recheck the device and uncheck the other OBi. Presumably, the incoming call would not work. If so, you know which one to delete.

Just don't call your GV number from a number that is one of your Google Contacts. That won't work unless you edit that individual Contact.
OZO
Premium Member
join:2003-01-17
to RonR
said by RonR:

I just deleted mine (as I have done in the past) and it came back immediately after rebooting the OBi (I think it's created, if necessary, on a SIP REGISTER).

Did you have 2 entries before? If so, which one did you delete? As you know, I have 2 entries and have to choose which one to delete (using "Legacy Google Voice" page).
OZO
to taoman
said by taoman:

Can't you decide which one to delete by unchecking one device and making an incoming call to your GV number? If it works, recheck the device and uncheck the other OBi. Presumably, the incoming call would not work. If so, you know which one to delete.

Just don't call your GV number from a number that is one of your Google Contacts. That won't work unless you edit that individual Contact.

At the moment I have only 2 phones at my dispose. And both of them are linked to my GV phone number...
RonR
join:2003-10-10
Ash Flat, AR
to OZO
said by OZO:

Did you have 2 entries before? If so, which one did you delete? As you know, I have 2 entries and have to choose which one to delete (using "Legacy Google Voice" page).

I deleted ALL sip:..........===@obihai.sip.google.com entries. After rebooting the OBi, the proper one WILL come back. Trust me.
OZO
Premium Member
join:2003-01-17
said by RonR:
said by OZO:

Did you have 2 entries before? If so, which one did you delete? As you know, I have 2 entries and have to choose which one to delete (using "Legacy Google Voice" page).

I deleted ALL sip:..........===@obihai.sip.google.com entries. After rebooting the OBi, the proper one WILL come back. Trust me.
How to define the proper one? Should I reconfigure SP4 with my SIP server before rebooting OBi? In my OBi200 setup I see, that SP4 is still occupied with Google Voice. I don't want to make any mistakes at this point.
SlotTech
join:2014-02-26
Kingston, ON
to naf
Hi everybody, is it possible to flash back to an older firmware version after using this one? The version I'm running now is 3.1.1 build 5562 on an OBI302.

I'm not even interested in gv at this point, I just want to be able to use a newer firmware but still have the ability to go back to the old version if things aren't working well.

Thanks
OzarkEdge
join:2014-02-23
USA
·voip.ms

2 edits

2 recommendations

said by SlotTech:

Hi everybody, is it possible to flash back to an older firmware version after using this one? The version I'm running now is 3.1.1 build 5562 on an OBI302.

I'm not even interested in gv at this point, I just want to be able to use a newer firmware but still have the ability to go back to the old version if things aren't working well.

Thanks

I gather there are some restrictions on downgrading newer firmware, but I don't know exactly where the cutoffs are.

Given the poor management of OBi firmware and the real potential for defects... the current build OBi202-3-2-2-5921EX-332148940 breaks something related to using trunk groups... and that we rely on our device for phone service, I think it is advisable to own a backup/spare device and use it to prepare and test updates and configuration changes. I consider this to be part of the cost of DIY BYOD VoIP.

I just updated from OBi202-3-1-1-5589 to OBi202-3-2-2-5859EX-198839 in the course of testing VoIP.ms SIP-TLS/SRTP call encryption... which was a Zoiper success, but an OBi failure. The spare OBi was very helpful.

OE
OZO
Premium Member
join:2003-01-17
to RonR
said by RonR:
said by OZO:

Did you have 2 entries before? If so, which one did you delete? As you know, I have 2 entries and have to choose which one to delete (using "Legacy Google Voice" page).

I deleted ALL sip:..........===@obihai.sip.google.com entries. After rebooting the OBi, the proper one WILL come back. Trust me.
I just deleted both of obihai.sip.google.com entries. And now there is no entries left in "Legacy Google Voice" page.

Despite of that, every time I reboot OBi200 it drops all my settings for SP4 and replaces that with its own. As a result, SP4 always ended in:
Connecting to 216.239.36.144;Token Error

Why Google made it so difficult to manage?

I could not believe, that I have to repeat it from the scratch - remove GV from portal page, try to add my OBi200 to the portal again and enter all my settings for SP2, SP3 and SP4. And that's the punishment for skipping to click on "Save" button after deleting GV from SP4? Wow! This IS insane
utsc
join:2017-12-08
to naf
I have been away for while; I guess I should wait patiently for a resolution

OBi200 3.2.2 (Build: 5921EX-arrynrob8)

SP1 Service Status (GV)
Status: Connect Failed: 403 Forbidden (server=216.239.36.144; retry in 33s)

brg
Premium Member
join:2001-01-03
Chicago, IL

1 recommendation

to utsc

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

Go back a page or two and read-up. It's all there, including the fix.
ShiftDelete
Premium Member
join:2011-11-16
CA
to naf
Anyone looking to block FW updates, below is the URL to block at DNS or Router. While technically this isn't needed based on naf's previous post, if anything should change on the OBI end, this should ensure you're blocked for good. Been doing this before this FW after OBI had zero respect for user settings with auto-update.

Block to prevent Firmware Updates ---> fw.obihai.com

Problem solved!

brg
Premium Member
join:2001-01-03
Chicago, IL
said by ShiftDelete:

Anyone looking to block FW updates, below is the URL to block at DNS or Router. While technically this isn't needed based on naf's previous post, if anything should change on the OBI end, this should ensure you're blocked for good. Been doing this before this FW after OBI had zero respect for user settings with auto-update.

Block to prevent Firmware Updates ---> fw.obihai.com

Problem solved!

Unless PolyObi changes the domain of their software repository. Problem unsolved.
Chrushev
join:2008-07-30
Newport Beach, CA

2 recommendations

said by brg:
said by ShiftDelete:

Anyone looking to block FW updates, below is the URL to block at DNS or Router. While technically this isn't needed based on naf's previous post, if anything should change on the OBI end, this should ensure you're blocked for good. Been doing this before this FW after OBI had zero respect for user settings with auto-update.

Block to prevent Firmware Updates ---> fw.obihai.com

Problem solved!

Unless PolyObi changes the domain of their software repository. Problem unsolved.
You would need to take a firmware update in the first place to get the updated repo location. So if they change it then they will block it for you as your existing fw wont be able to find the update. So doubtful they would ever do that.
Chrushev

1 recommendation

to utsc
said by utsc:

I have been away for while; I guess I should wait patiently for a resolution

OBi200 3.2.2 (Build: 5921EX-arrynrob8)

SP1 Service Status (GV)
Status: Connect Failed: 403 Forbidden (server=216.239.36.144; retry in 33s)

Several people (including myself) posted solutions. You basically have to re-register GV through Obi's portal, after which you can break off connection to Obi and go back to how things were before. I gave a solution that worked for me here - »Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods
utsc
join:2017-12-08
Thank you very much for your help.

I have modified some setting so I assume I have to manually change them again
giqcass
join:2014-03-10

1 recommendation

to OZO
Google didn't make things any more difficult to manage then was necessary to upgrade the security. The point of generating a token is so that a service only has access to the things you specifically gave it access to. Additionally the token generation system makes sure third parties don't have access to your password. Finally the token system allows you to revoke access through Googles servers without needing to change passwords or interrupt other services even if you change your password. Some may disagree but it's a much better system from a security standpoint. Even with the security updates government and media groups are still giving Google grief because Google allowed the end user to give access to third parties even though those same end users were giving out access to the entire account by sharing their passwords before the upgrades.

The way Obihai implemented their portal and the fact that you have to hit save has nothing to do with Google. However, the additional step of saving is also a good thing in certain cases. Should you mess something up you can exit without making the changes and start over as long as you notice before you save. Having to hit save also prevents Obihai from forcing a reboot and reprovision with every little change you make. There may be alternatives but that is up to Polycom now.
turk
join:2009-03-10
canada
to naf
When disabling provisioning etc. I see that the Voice Services Obitalk Service should be disabled.
If enabled how does Obitalk interact with the ATA?
OzarkEdge
join:2014-02-23
USA
·voip.ms
said by turk:

When disabling provisioning etc. I see that the Voice Services Obitalk Service should be disabled.
If enabled how does Obitalk interact with the ATA?

I think the premise is that if the OBiTALK Service (peer-to-peer network) is enabled, they can find your OBi and do what they want to it no matter the other settings... and past user experience has concluded that this has happened on rare occasion(s) when they wanted to push/force a firmware update.

OE

jsolo1
Premium Member
join:2001-07-01
PRIL
For added security, one can block port 10000 outbound for obi devices so obi talk can't be accessed.
OzarkEdge
join:2014-02-23
USA
·voip.ms
said by jsolo1:

For added security, one can block port 10000 outbound for obi devices so obi talk can't be accessed.

I would if I didn't trust it, but I trust the current approach of disabling the firmware settings. If your OBi is not using their services, they don't care about it... at least we have this as it should be.

OE

jsolo1
Premium Member
join:2001-07-01
PRIL

1 recommendation

I set up fw rules sometime last year just in case when it was posted that fw updates were getting pushed even though all the update settings were disabled. I think it was later realized that it was coming through obitalk (port 10000). Better safe than sorry. Given the sloppyness of obifirmware i've even gone as far as placing all obi devices in their own vlan. Obi's don't need to know anything about anything else on the network.
OzarkEdge
join:2014-02-23
USA
·voip.ms

1 recommendation

said by jsolo1:

I think it was later realized that it was coming through obitalk (port 10000). Better safe than sorry.

Probably because the OBiTALK Service (peer-to-peer network) was not disabled. Mine has been disabled from day one and I have never experienced any OBi device remote manipulation by anyone.

And stay off OBiTALK.com!

OE

hapollo
join:2007-05-13
WesterOS

1 edit
said by OzarkEdge:
said by jsolo1:

I think it was later realized that it was coming through obitalk (port 10000). Better safe than sorry.

Probably because the OBiTALK Service (peer-to-peer network) was not disabled. Mine has been disabled from day one and I have never experienced any OBi device remote manipulation by anyone.

And stay off OBiTALK.com!

OE
As a counterpoint, I've had everything disabled EXCEPT Obitalk Service to call other family members since day one and still have Pre-Oauth firmware . Obi110 1.3.0 (Build: 2824) installed for 8 years and OBI200 3.0.1 (Build: 4350) for 6 years. Nothings ever been pushed in that time. Still have Obitalk Service and port 10000 enabled right now.
OzarkEdge
join:2014-02-23
USA
·voip.ms
said by hapollo:

As a counterpoint, I've had everything disabled EXCEPT Obitalk Service to call other family members since day one and still have Pre-Oauth firmware . Obi110 1.3.0 (Build: 2824) installed for 8 years and OBI200 3.0.1 (Build: 4350) for 6 years. Nothings ever been pushed in that time. Still have Obitalk Service and port 10000 enabled right now.

Were those devices added to OBiTALK.com? Maybe that's a factor. As I understand it, a device does not need to be added to OBiTALK.com to use the OBiTALK peer-to-peer network for calling.

OE

hapollo
join:2007-05-13
WesterOS
said by OzarkEdge:

Were those devices added to OBiTALK.com? Maybe that's a factor. As I understand it, a device does not need to be added to OBiTALK.com to use the OBiTALK peer-to-peer network for calling.

I tried to, but never could and since day 1 provisioned it manually via the local GUI.

Last week took out another Obi200 from storage and provisioned it with Obitalk.com to get GV working again. This OBi200 now serves as GW for the other OBi200 and Obi100 for GV.
OzarkEdge
join:2014-02-23
USA
·voip.ms
said by hapollo:
said by OzarkEdge:

Were those devices added to OBiTALK.com? Maybe that's a factor. As I understand it, a device does not need to be added to OBiTALK.com to use the OBiTALK peer-to-peer network for calling.

I tried to, but never could and since day 1 provisioned it manually via the local GUI.
So, that may suggest that in addition to disabling the firmware settings to hide from auto firmware updates, you should also keep your OBi off OBiTALK.com And maybe the OBiTALK Service is not a vulnerability... but I would not chance it, I would not leave it enabled.

OE

hapollo
join:2007-05-13
WesterOS
said by OzarkEdge:

, you should also keep your OBi off OBiTALK.com And maybe the OBiTALK Service is not a vulnerability... but I would not chance it, I would not leave it enabled.

Except, if I did that, GV as a GW via Obitalk would cease to function. If the "new one" updates to a new FW, I'll deal with it and report back.
OzarkEdge
join:2014-02-23
USA
·voip.ms
said by hapollo:
said by OzarkEdge:

, you should also keep your OBi off OBiTALK.com And maybe the OBiTALK Service is not a vulnerability... but I would not chance it, I would not leave it enabled.

Except, if I did that, GV as a GW via Obitalk would cease to function. If the "new one" updates to a new FW, I'll deal with it and report back.
Right, but we were discussing your past devices that remained off OBiTALK.com and remained untouched by forced firmware updates.

As for going forward, your plan is to use OBiTALK.com briefly for GV configuration, and then get off it. Good luck.

OE
RonR
join:2003-10-10
Ash Flat, AR

2 recommendations

FWIW...

I have ALWAYS kept ALL Auto Update/Provisioning settings set to DISABLED but left the Voice Services -> OBiTALK Service ENABLED. Under those settings and without the device being added to the OBiTALK Web Portal, I have had multiple firmware updates pushed into the device unsolicited without my permission.

Sherman Scholten of Obihai claims that setting Voice Services -> OBiTALK Service to DISABLED will prevent them from doing this, but I have no way of verifying that.

hapollo
join:2007-05-13
WesterOS

1 edit
to OzarkEdge
said by OzarkEdge:

As for going forward, your plan is to use OBiTALK.com briefly for GV configuration, and then get off it. Good luck.

So far, so good. After I plugged in the new Obi200 and provisioned for GV via Obitalk, I put fw.obihai.com into restricted access/blocked domain on my router and also on my locally cached recursive DNS server.

So, unless obi changes their FW URL, I should be fine. Not the end of the world if I get a forced update on 1 out of 3 Obi devices as I've already got a backup plan if it does.
hapollo

1 edit
to RonR
said by RonR:

FWIW...

Yes, I have read all those posts but you also have no issues getting Obitalk portal to recognize **5+4digits setup using Obitalk.com. Whereas, as reported last week, like OZO

»Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

I tried a few dozen times on the Obi100 and Obi200 to connect to Obitalk.com and had to break out the spare Obi200 to get **5+4Pin to work.

Clearly after 8 yrs it hasn't connected and can't connect. If it does, it's not the end of the world; I am sure they'll be another work around. It's always a game of cat/mouse with GV/Poly.
smle
join:2019-04-04
to naf
said by naf:

Here's a tool to dump the private key and obi-signed certs from an obi20x/30x.

I have an issue of upgrading Firmware (3.2.2 (Build: 5921EX)) on my OBi200, checksum error.
Also prefer to get the keys to use directly on my Incredible PBX. A bit lost being a newbee here. Just had my GV cut-off by google two weeks ago.
Any help would be greatly appreciated!
Dan_voip
join:2007-01-03
Saint-Hubert, QC
to naf
said by naf:

its just the people without access to obitalk (30x's, vendor-locked obiphone's, asterisk folks) that are currently in the lurch

I'm thinking the solution for 30x would be to modify it to report it's a 20x, that way can be registered on obitalk. I guess the field with the model number is outside the firmware and the best would be to changed it there if possible, that way even loading an official fw afterwards would keep it working. If not in the naf fw where is reading that field to be changed from 30x to 20x after that.
valley_nomad
join:2012-11-26
New York, NY

1 recommendation

The info is probably associated with the S/N of hardware. It may not be changed easily if it is also registered in some DB at Obihai...
smle
join:2019-04-04
to naf
Thanks naf for upgrading my FW!
Now, being an end user (mostly) I have a questions:
1. Can I use updated box with Polycom to setup GV? The only issue was that box was rebooting on every connected phone call setup with Incredible PBX. I don't like the headache going through GV oAuth etc.
2. I understand (correct me if I am wrong) original FW was causing box reboot when calls connected when it was routing them to/from SP1 to SP3 (in my case) of Incredible PBX trunk. WIll it work with new FW?
Thanks for all support and help! This forum is great source of info!
smle

1 recommendation

to naf
Apparently on OBi200 3.2.2 (Build: 5921EX-arrynrob9) box reboots on active call (incoming/outgoing) while it has time to report incoming call to Incredible PBX and CID gets resolved by superfecta, local phones ring and when call picked-up - silence..
OBi trunk is connected fine.
Anybody has a remedy?

nfmartin
join:2006-06-13
Des Plaines, IL

1 edit
to naf
Unable to install OBi2-3-2-2-5921EX-arrynrob9 firmware. Keep getting a checksum error. Have checked and the file is OK. I have attempted to install Obi202-3-2-1-5757 to enable the installation of Obi-3-2-2-5921. Got the same checksum error, but the files checkout OK. Look like if you install 3-2-2-5921 from Polycom it blocks access to none Polycom software. Please provide info on how to bypass this restriction.
skybase
join:2019-04-14
Manchester Township, NJ
to naf
Hey naf can you help me with getting your modded firmware on my obi too like you did smle.
I have both an obi200 and an obi202 and a few (3) obi302s and (3) obi110s
I use IncrediblePBX
skybase
to naf
Hey naf pm me again i just signed up so dslr is giving me issues i factoried my obi200 and exposed it pm me again so i can send you the ip
skybase
join:2019-04-14
Manchester Township, NJ

1 edit

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

thanks much appreciated
naf
join:2017-12-12
said by skybase:

lemme know when you see this so i can delete the message

gotcha
skybase
join:2019-04-14
Manchester Township, NJ
you got some trick there dood. nice! thank you

Lex Luthor
Premium Member
join:2000-09-17
Hicksville, NY
to naf
My OBi200 with stock firmware bit the dust last night in the thunderstorm.

I see there's now a Polycom OBi200 listed on Amazon. Can I order that model and install the custom firmware mod onto that?

I've had no problems with the stock firmware for a long time now and don't really need the extra features, I don't think, but is it definitely worth my time to install the custom version?
OzarkEdge
join:2014-02-23
USA
·voip.ms
said by Lex Luthor:

My OBi200 with stock firmware bit the dust last night in the thunderstorm.

I see there's now a Polycom OBi200 listed on Amazon. Can I order that model and install the custom firmware mod onto that?

I've had no problems with the stock firmware for a long time now and don't really need the extra features, I don't think, but is it definitely worth my time to install the custom version?

Just to add to this inquiry, it looks like pre-Polycom OBi product on the market is drying up. It looks like Polycom OBi200 and 212 product are on Amazon.com, but not the Polycom OBi202 yet.

If newer firmware is blocking modded firmware and/or firmware downgrading, pre-Polycom product remaining on the market may not have this newer firmware... and Polycom product may have it.

Walmart.com seems to have some pre-Polycom product, including the OBi302.

Amazon.com has an odd GT202 ata that looks like an OBi202 knockoff:
»www.amazon.com/GT202-2-P ··· -catcorr

OE
naf
join:2017-12-12
to Lex Luthor
said by Lex Luthor:

I see there's now a Polycom OBi200 listed on Amazon. Can I order that model and install the custom firmware mod onto that?

Yes, it is possible to install a custom firmware on the black poly 20x's even with the latest stock firmware (although it does require some finesse)
zapattack
join:2012-07-02
CANADA
For Our Canadian Viewers!!!
FWIW
Newegg.ca prices for POLYCOM 2200-4952-001
actually less than Newegg.com ...-

Lex Luthor
Premium Member
join:2000-09-17
Hicksville, NY
to naf
said by naf:

Yes, it is possible to install a custom firmware on the black poly 20x's even with the latest stock firmware (although it does require some finesse)

Are there detailed instructions for applying custom firmware on the Polycom branded OBi200?

If I'm just using it for the basic features, should I even bother? I mean I let my now broken OBi200 update to stock firmware and I've been fine.

I guess main reason I'd want to go custom is to hedge against Polycom no longer supporting the box itself or pulling back on features at some point?
naf
join:2017-12-12
said by Lex Luthor:

Are there detailed instructions for applying custom firmware on the Polycom branded OBi200?

If the firmware revision is lower than 5853, just install like a normal firmware via web interface.

For 5853+, I haven't published any instructions (to keep the method from being removed because the alternate method is more difficult), but I've been doing it remotely for anyone whose asked.
skybase
join:2019-04-14
Manchester Township, NJ
to naf
naf you did that to mine yesterday that OBi200 you switched the firmware on me yesterday well that is a black Polycom from Amazon ordered on April 2nd lol.
skybase
to naf
The reason for me asking you to mod my firmware yesterday is for me to pull the tokens so I can put it on my asterisk server.

My server is back up and running now, thanks, took all afternoon most of last night and just finished, I still gotta fix my feature codes.

To get my server back up and running as I made a ton of changes to do it as a polycom gateway for 5 trunks which worked out like crap as outgoing calls had a 23 second limit.

The one thing I missed for most of the month of March was my anti-telemarketer features, including a NoMoRobo adaptation for Google Voice and my Asterisk Server.

Yes! I got NoMoRobo to work on all of my trunks, on my server, whether the service it was officially supported or not.

Being part of the AT&T and Verizon Abuse team, I have more tools that are service provider tools integrated into my server, including Wireless IMS registration code matching, and rate center routing checks.

Lex Luthor
Premium Member
join:2000-09-17
Hicksville, NY
to naf
said by naf:

If the firmware revision is lower than 5853, just install like a normal firmware via web interface.

For 5853+, I haven't published any instructions (to keep the method from being removed because the alternate method is more difficult), but I've been doing it remotely for anyone whose asked.

Naf, can you assist me with that then tomorrow? My black polycom one will arrive from Amazon sometime tomorrow.
OzarkEdge
join:2014-02-23
USA
·voip.ms

1 recommendation

to Lex Luthor
said by Lex Luthor:

Are there detailed instructions for applying custom firmware on the Polycom branded OBi200?

If I'm just using it for the basic features, should I even bother? I mean I let my now broken OBi200 update to stock firmware and I've been fine.

I guess main reason I'd want to go custom is to hedge against Polycom no longer supporting the box itself or pulling back on features at some point?

Why are you bothering with one-off modified firmware? It's not custom firmware... it's firmware modified by one person for essentially one reason (GV/OBiTALK.com) at one point in time... it has far less of a future than the OEM firmware.

OE

Lex Luthor
Premium Member
join:2000-09-17
Hicksville, NY
said by OzarkEdge:

Why are you bothering with one-off modified firmware? It's not custom firmware... it's firmware modified by one person for essentially one reason (GV/OBiTALK.com) at one point in time... it has far less of a future than the OEM firmware.

OE

Interesting thought. That's what I asked in the first place. I was fine using the OEM firmware on the Obi200 that just broke and was happy. I asked if there's any real reason to not use OEM going forward. Haven't seen good answers either way yet really.

jsolo1
Premium Member
join:2001-07-01
PRIL
Best reason for me is I don't want to use obiportal for provisioning. The device should only be connecting to the phone service provider (or pbx), no where else.
OzarkEdge
join:2014-02-23
USA
·voip.ms
to Lex Luthor
said by Lex Luthor:
said by OzarkEdge:

Why are you bothering with one-off modified firmware? It's not custom firmware... it's firmware modified by one person for essentially one reason (GV/OBiTALK.com) at one point in time... it has far less of a future than the OEM firmware.

OE

Interesting thought. That's what I asked in the first place. I was fine using the OEM firmware on the Obi200 that just broke and was happy. I asked if there's any real reason to not use OEM going forward. Haven't seen good answers either way yet really.
If you use GV and do not want to use OBiTALK.com to provision GV on your OBi, then the modded firmware may help you out at this point in time. Otherwise, just use the OEM firmware and provision your OBi directly or by using OBiTALK.com.

OE
OzarkEdge

1 recommendation

to jsolo1
said by jsolo1:

Best reason for me is I don't want to use obiportal for provisioning. The device should only be connecting to the phone service provider (or pbx), no where else.

Do not add your OBi to OBiTALK.com and disable these settings in the firmware to prevent it from connecting to the OBiTALK Cloud... OBiTALK Provisioning and the OBiTALK Service peer-to-peer network:

System Management
Auto Provisioning - Auto Firmware Update::Method = Disabled
Auto Provisioning - LUA Script Update::Method = Disabled
Auto Provisioning - ITSP Provisioning::Method = Disabled
Auto Provisioning - OBiTalk Provisioning::Method = Disabled

Voice Services
OBiTALK Service - OBiTALK Service Settings::Enable = NOT checked

For good measure, add this rule to the PHn PHONEn Port digit map to prevent dialing OBiTALK Provisioning registration:

(Mphn) = (...|!**5|...)

OE
giqcass
join:2014-03-10

1 recommendation

to RonR
said by RonR:

FWIW...

I have ALWAYS kept ALL Auto Update/Provisioning settings set to DISABLED but left the Voice Services -> OBiTALK Service ENABLED. Under those settings and without the device being added to the OBiTALK Web Portal, I have had multiple firmware updates pushed into the device unsolicited without my permission.

Sherman Scholten of Obihai claims that setting Voice Services -> OBiTALK Service to DISABLED will prevent them from doing this, but I have no way of verifying that.

This has always been my understanding as well. They rarely push updates over obitalk but if they feel the update is important they can and will. That back door has always bugged me even though I usually take updates regularly when a feature is added. I always prefer to do them manually.

I used to keep an archive of firmware releases. I wrote a script that even grabbed the ones that weren't officially published. They made them live on the internet for download but didn't publish the url sometimes. I took advantage of their predictable naming convention and the script looked for them iteratively. I wanted a firmware to revert to if they did something I didn't like.
Dan_voip
join:2007-01-03
Saint-Hubert, QC
I wonder if the following scenario will work:
- provision an OBi(let's say 202) on OBiTalk for GV
- remove it from OBiTalk
- backup the configuration and remove GV from Obi
- restore the configuration to another OBi202 or 302
Will GV work on the new OBi?

hapollo
join:2007-05-13
WesterOS
said by Dan_voip:

I wonder if the following scenario will work:
- provision an OBi(let's say 202) on OBiTalk for GV
- remove it from OBiTalk
- backup the configuration and remove GV from Obi
- restore the configuration to another OBi202 or 302
Will GV work on the new OBi?

But why would you want to do that if it would be easier to provision the other Obi202 or 302 direct from Obitalk?
RonR
join:2003-10-10
Ash Flat, AR

1 recommendation

to Dan_voip
said by Dan_voip:

I wonder if the following scenario will work:
- provision an OBi(let's say 202) on OBiTalk for GV
- remove it from OBiTalk
- backup the configuration and remove GV from Obi
- restore the configuration to another OBi202 or 302
Will GV work on the new OBi?

No. The Google Voice Oauth credentials are not contained in the OBi backup.

Further discussion of the issue here:

»SPRemove : An OBi Backup Aid
Dan_voip
join:2007-01-03
Saint-Hubert, QC
to hapollo
said by hapollo:

But why would you want to do that if it would be easier to provision the other Obi202 or 302 direct from Obitalk?

Obi 302 are not allowed on Obitalk.
Dan_voip
to RonR
said by RonR:

No. The Google Voice Oauth credentials are not contained in the OBi backup.

I was afraid of that.

hapollo
join:2007-05-13
WesterOS
to Dan_voip
said by Dan_voip:
said by hapollo:

But why would you want to do that if it would be easier to provision the other Obi202 or 302 direct from Obitalk?

Obi 302 are not allowed on Obitalk.
I realize that but you also said another OBi202... so why not just provision the OBi202 direct on Obitalk since that is allowed on Obitalk?
giqcass
join:2014-03-10
to Dan_voip
Can't you pull credentials off a 202 with the custom firmware? I believe you can flash it back to stock later if you want.
RonR
join:2003-10-10
Ash Flat, AR
said by giqcass:

Can't you pull credentials off a 202 with the custom firmware? I believe you can flash it back to stock later if you want.

You would have to be using custom firmware in the target OBi in order to be able to enter the credentials into it.
OzarkEdge
join:2014-02-23
USA

1 recommendation

to naf
I wonder how long before Google introduces their own VoIP equipment to augment GV and to abandon OBiPolytronicsTALK.com.

OE
Dan_voip
join:2007-01-03
Saint-Hubert, QC
to hapollo
The goal was to trick an Obi 302.
I was reading around and seems that one can register an obi302 on obitalk but you'll not be able to provision GV, just regular voip accounts.
I don't own a 202 to check, do you see GV information in clear to be able to manually copy them?

F100
join:2013-01-15
Durham, NC
Alcatel-Lucent G-010G-A
(Software) pfSense
Pace 5268AC
to OzarkEdge
So I see that voip.ms now has SIP over TLS. I've got it working on softphone clients but want to try it on my OBi 200 with 3.1.0(Build 5110), Hardware revision 1.4.

I haven't been upgraded automatically as I disabled Obi auto provisioning and setup voip.ms directly on the device several years ago. I never setup any google voice accounts as I use those on my Android phone.

So would it be worth updating to Polycom firmware? In looking at all the threads here and Obi, it's hard to tell what's stable and what can be changed later if you want to go custom. Been through the annoying process of unlocking an old Sunrock ATA after they went belly up.
OzarkEdge
join:2014-02-23
USA
·voip.ms
said by F100:

So I see that voip.ms now has SIP over TLS. I've got it working on softphone clients but want to try it on my OBi 200 with 3.1.0(Build 5110), Hardware revision 1.4.

I haven't been upgraded automatically as I disabled Obi auto provisioning and setup voip.ms directly on the device several years ago. I never setup any google voice accounts as I use those on my Android phone.

So would it be worth updating to Polycom firmware? In looking at all the threads here and Obi, it's hard to tell what's stable and what can be changed later if you want to go custom. Been through the annoying process of unlocking an old Sunrock ATA after they went belly up.

My experiment with OBi/VoIP.ms call encryption is in this topic:
»[Voip.ms] Voip.ms new beta feature Call Encryption TLS/SRTP

IMO, there is no custom OBi firmware... just the versions modified for GV provisioning without having to use OBiTALK.com.

I intend to continue updating OBi stock firmware as needed, provided I can find it and it doesn't break anything.

Let us know if you can get VoIP.ms TLS-SRTP working on an OBi firmware.

OE

F100
join:2013-01-15
Durham, NC
Alcatel-Lucent G-010G-A
(Software) pfSense
Pace 5268AC
to OzarkEdge

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

Will do but it's the primary at my home and I can't be taking it down without physically being there to test as my elementary age kids use it to contact us.

I can try to enable TLS/SRTP settings and see if it will work on the current firmware. If I can't get it work, I was just wondering what the latest "Polycom" firmware I should try on it. I laugh when I see Copyright 2013 on the setup pages. I wish there was a change log for updates.

Getting my Astra 6731i and 6755i working looks like it will be a bigger challenge. Those device firmware are horrible and don't even factory reset properly.
valley_nomad
join:2012-11-26
New York, NY
to naf
Is there any hope for non-OBi2xx device (e.g. OBi302 etc) ?
naf
join:2017-12-12
said by valley_nomad:

Is there any hope for non-OBi2xx device (e.g. OBi302 etc) ?

Yes, of course.
Anond3a2f
@68.37.33.x
to naf
Updated my OBi200 to 5921EX-arrynrob9 and re-provisioned the device for googlevoice via Obitalk. The outgoing aspect of the phone works, but incoming does not. Any suggestions for a fix?

F100
join:2013-01-15
Durham, NC
Alcatel-Lucent G-010G-A
(Software) pfSense
Pace 5268AC
to naf
Yeah, I updated this morning to the latest March firmware and now my 1 voip.ms line isn't working after the update. No google voice or other providers othern than 1 voip.ms sip line. What a pain. Maybe it's time to look for other ATA companies. How hard is it to update firmware without blowing away current settings?

I figured this might happen so I saved a current config. I can factory default and redo but why should I have too. In working with enterprise Polycom gear at work, I can see why we are switching to Biamp and other vendors that are cheaper and more reliable than Polycom these days.
OzarkEdge
join:2014-02-23
USA
·voip.ms
said by F100:

Yeah, I updated this morning to the latest March firmware and now my 1 voip.ms line isn't working after the update.

What firmware build is that?

OE

F100
join:2013-01-15
Durham, NC
Alcatel-Lucent G-010G-A
(Software) pfSense
Pace 5268AC

2 edits
HardwareVersion 1.4
SoftwareVersion 3.2.2 (Build: 5921EX)

So I only have voip.ms configured locally on it, not using the portal. It was rock solid on the old OBI firmware. I updated because like you, I wanted to see if I could get TLS/SRTP working. I didn't mess with any of those settings yet thought. Literally just updated the firmware 1st with working UDP settings.

I know you mentioned the trunk group bug and gave me the trunk group primer in the other thread. Didn't think I was using trunk group with 1 server though.

I could factory reset and setup from scratch again. Thoughts? Thanks.

Edit: File I used was OBi202-3-2-2-5921EX-332148940.fw

I could get a call in but when I went on hook, there was no dial tone and so I can't make a call out. Of course I did this right before heading out to work. Can remote configure but can't test until I get home.
OzarkEdge
join:2014-02-23
USA
·voip.ms
You might want to troubleshoot the OBi as it is to determine what the issue with VoIP.ms might be.

Lately when updating firmware, I'm inclined to reset to defaults before re-configuring from scratch, particularly when I don't know what's changing with the firmware.

A quick step could be to downgrade to 3-2-2-5859EX, which is said to be working and is working here... but I did have TLS/SRTP issues with it and/or VoIP.ms and have abandoned that for now.

I think we are off-topic here.

OE
OzarkEdge
to F100
said by F100:

Edit: File I used was OBi202-3-2-2-5921EX-332148940.fw

I could get a call in but when I went on hook, there was no dial tone and so I can't make a call out. Of course I did this right before heading out to work. Can remote configure but can't test until I get home.

You mean no dial tone off-hook. I had the same issue on that firmware... no dial tone. I never tried inbound. And for some reason I attributed this issue to using trunk groups. Since there were other OBiTALK forum posts regarding trouble with this build, and posts last recommending 3-2-2-5859EX, I backed down to 3-2-2-5859EX.

So, try downgrading to 3-2-2-5859EX, unless you can find something later than 5921EX. But don't expect TLS/SRTP to work well.

OE

F100
join:2013-01-15
Durham, NC
Alcatel-Lucent G-010G-A
(Software) pfSense
Pace 5268AC
Yes!! (Not meaning to hijack thread. Although I am interested in these firmware mods. Just need to read all 46 other pages. I'll post the rest of this elsewhere.)

It didn't have a dial tone off hook if you wanted to make a call. It said registered and I called it inbound and it worked. So, IDK. All settings were pretty much default except disable OBI auto update, and SP1/ITSP A service With digit map.

Thanks for the tip. I was able to downgrade it to 3.2.2 (Build: 5859EX). Went back to the Obi web GUI. Will test when I get home.
Anon7aed6
@68.37.33.x
Correction. I updated my OBi200 to 5921EX-arrynrob9 and re-provisioned the device for googlevoice via Obitalk. The INCOMING aspect of the phone works, but OUTGOING does not. So I can dial a phone number and hear the other end, but they cannot hear me.

No idea what to do and I'm not seeing anyone else reporting this problem?
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
said by Anon7aed6 :

So I can dial a phone number and hear the other end, but they cannot hear me.

This is known as "one-way audio".

Check your router to see if it has a SIP ALG setting. If so, try to disable it.

If possible/practical, try to test your device behind a different router.
ipso
join:2018-05-13
Joshua Tree, CA
to OzarkEdge
said by OzarkEdge:
said by F100:

Edit: File I used was OBi202-3-2-2-5921EX-332148940.fw

I could get a call in but when I went on hook, there was no dial tone and so I can't make a call out. Of course I did this right before heading out to work. Can remote configure but can't test until I get home.

You mean no dial tone off-hook. I had the same issue on that firmware... no dial tone. I never tried inbound. And for some reason I attributed this issue to using trunk groups. Since there were other OBiTALK forum posts regarding trouble with this build, and posts last recommending 3-2-2-5859EX, I backed down to 3-2-2-5859EX.

So, try downgrading to 3-2-2-5859EX, unless you can find something later than 5921EX. But don't expect TLS/SRTP to work well.

OE
I can also vouch for 3-2-2-5859EX working well on my Obi200 for the several months since GV Simonics beta ended. The Obi has worked flawlessly and has never auto updated to another build during this time period.

F100
join:2013-01-15
Durham, NC
Alcatel-Lucent G-010G-A
(Software) pfSense
Pace 5268AC
So just rolling back to 3-2-2-5859EX did fix my issue. I was quite a few years behind on firmware updates because, if it aint broke, why fix it. It was super stable. It's buggy updates like this that make one not want to update in the 1st place. I've come to expect bad software updates from Google and Microsoft these days, but Obi was decent until they were sold.
Anonb66c4
@68.37.33.x
to Mango
Thanks Mango. That worked. Never had that issue before, but suddenly did after relying on Obitalk to set up GV
amb
join:2018-04-08
to OzarkEdge
said by OzarkEdge:

You mean no dial tone off-hook. I had the same issue on that firmware... no dial tone.

Thanks for this; until now I'd be under the impression that the OBi boxes provided dialtone no matter what as long as they had booted. I have an Obi202 that by all appearances works perfectly (with the same config that my other 202 works fine with) but which doesn't provide dialtone on either line, and I figured it had been zorched by lightning. Might be worth another look.

If that doesn't work (and it really is zorched) I'd be happy to give it away to anybody that's doing third-party firmware development if it's useful. It boots and provisions fine and SP1 and SP2 come up with gtalk as "connected", it just has no POTS-side activity whatsoever. Stock 5921 firmware.

F100
join:2013-01-15
Durham, NC
Alcatel-Lucent G-010G-A
(Software) pfSense
Pace 5268AC
amb See Profile, roll it back to firmware 3-2-2-5859EX and I bet it will work fine.

I didn't have the complexity of Google Voice setup, just a simple SIP provision with voip.ms, where firmware 3-2-2-5859EX and older work fine, but 5921 crippled the device.

I did both firmware updates manually via the web page on the device, not via OBI provisioning. I'd say they need to pull 5921. Apparently they spent all the dev time on the new Polycom skin and not functionality.

jsolo1
Premium Member
join:2001-07-01
PRIL
I could of sworn I read here or on the obi forum of a more recent fw than 5921?? This was a while ago too.
OzarkEdge
join:2014-02-23
USA
·voip.ms

1 edit
said by jsolo1:

I could of sworn I read here or on the obi forum of a more recent fw than 5921?? This was a while ago too.

See the listing here: »www.ukvoipforums.com/vie ··· 25&t=987

I have not joined that forum so I do not know if firmware can be downloaded.

Still off-topic.

OE

bitseeker
join:2014-03-05
to rwl408
My Obi202 started getting 403 from GV, too. I have other means to access GV, so it wasn't a high priority to fix. However, I bit the bullet, created an Obitalk account, reset the ATA, and provisioned via Obitalk. All is well once again.
db2
Premium Member
join:2009-10-12
New York, NY
I am getting 403 as well on the previously configured obi with gvoice/oauth.
where
join:2019-05-08
North Palm Beach, FL
If my OBI1062 device is currently running sw ver. 5.1.8 (Build 4643.1311), and reads "Customization Status: Phonepower", will flashing it with olisom5b.fw turn the phone into a door stop, or clear the "Customization Status: Phonepower" and reset it to "Customization Status: Generic"?

Even with the Home+BACK reboot salute, the Customization Status seems to persist. Is it possible to TFTP some other .xml into a 1062 to remove that customization file, if the Olisom5b.fw isn't the proper path to remove it? When I upgraded from the previous ObiHai fw (5.0.8 Build 4622.1311) to 5.1.8 (build 4643.1311), it didn't remove the customization status.
Brown
join:2018-01-21
After flashing olisom5b, ssh into the Obi and run the clear_zt_params tool.
where
join:2019-05-08
North Palm Beach, FL
Thank you Brown. I'm still back reading the thread on page 6 or 7 where you were going through this with Naf. Let me keep reading for a few days.
NoOne100
join:2019-05-09
to naf
Just got a Polycom Obi2. Can you help me out getting it to run custom firmware?
hardly
Premium Member
join:2004-02-10
USA
Have you read this thread from the beginning?
NoOne100
join:2019-05-09
I have. Running 5897EX stock, and know that it's still possible, but the instructions aren't published.
hardly
Premium Member
join:2004-02-10
USA

2 edits
You might consider reviewing:

»Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

edit: revised link
NoOne100
join:2019-05-09
That's exactly what I was referring to. I'm running >5853, so I'm looking for some help from naf.
naf
join:2017-12-12
said by NoOne100:

That's exactly what I was referring to. I'm running >5853, so I'm looking for some help from naf.

Sent you a pm
amb
join:2018-04-08
to F100

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

said by F100:

amb See Profile, roll it back to firmware 3-2-2-5859EX and I bet it will work fine.

Alas, I think this time I really do have a doorstop, at least as far as the physical phone interfaces go. (At this point it's a doorstop running 5859EX-arrynrob7, but it's still a doorstop.)

Unfortunately it's too light to really make a good doorstop, so if naf See Profile or anybody else could use it for experiments (I know a bunch of devices were getting bricked with experimental firmware early on) drop me a PM, you're welcome to it.
Brown
join:2018-01-21

2 recommendations

Have you tried another power supply (wall wart) on it?
LuluLynx
join:2017-04-13
8WO 1578
to naf
The Obi200 (Polycom model) is currently on sale at Newegg - $40 plus tax, free shipping
»www.newegg.com/Product/P ··· 33617015

You need to use the code that's listed on the product page to get the $10 off.
In order to be able to use the code you need to be subscribed to their deals emails.
---------------------

Question: will I be (certainly/very likely/possibly) be able to obtain the certs from this or is it not possible to load naf-fw onto these ?
naf
join:2017-12-12

1 edit
said by LuluLynx:

Question: will I be (certainly/very likely/possibly) be able to obtain the certs from this or is it not possible to load naf-fw onto these ?

Very likely.

(but if you are *just* getting it for the certs, feel free to save your money and just use ones posted here already)
skybase
join:2019-04-14
Manchester Township, NJ
hey naf got another box for you to mod, you can do it when ever you got time since its details are sent this time on private message
naf
join:2017-12-12

3 recommendations

to OBi1FW
OBi1FW See Profile, perhaps its time to cleanup the obifirmware.com/oauth2 instructions?
The AuthPassword format still works to use user-input credentials, but the client_id/secret/refresh_token cannot be obtained by creating a custom oauth client (results in 403 Forbidden error)
OBi1FW
join:2017-12-27
Vienna, VA

1 edit
I'm sorry for the delay.

Please clarify, so it's not possible now for OBi3 users to use Google Voice since you must use OBiTALK for configuration?
said by naf:

(but if you are *just* getting it for the certs, feel free to save your money and just use ones posted here already)

I may be blind, but where are the certs posted?
naf
join:2017-12-12

1 recommendation

No, its still possible for obi3 and locked-obiphones to keep working with user-input credentials, but perhaps not in a way that instructions should be posted. (which takes the fun out of it doesnt it?)
naf

1 recommendation

to OBi1FW
said by OBi1FW:
said by naf:

(but if you are *just* getting it for the certs, feel free to save your money and just use ones posted here already)

I may be blind, but where are the certs posted?
Over in the locked asterisk thread: »Re: Asterisk Google Voice SIP testing and technical discussion
skybase
join:2019-04-14
Manchester Township, NJ
to naf
Thanks again naf
nondo
join:2018-07-25

1 recommendation

to Chrushev
Thank you for this. Fixed 403 issue perfectly.

Adding device to obitalk does start the lame 12 month "support" contract.
bja
join:2019-05-16
to naf
I have an Obi202 with 3.2.2 (Build: 5921EX). Can someone send me the instructions to load the custom firmware?

hapollo
join:2007-05-13
WesterOS
said by bja:

I have an Obi202 with 3.2.2 (Build: 5921EX). Can someone send me the instructions to load the custom firmware?

Custom firmware and instructions on top of the page over here:

»www.obifirmware.com/
LuluLynx
join:2017-04-13
8WO 1578
to naf
Got a new Obi200 (Polycom version) with
HardwareVersion 1.4
SoftwareVersion 3.2.2 (Build: 5897EX)

How do I get the modded FW on this?

thanks
naf
join:2017-12-12
said by LuluLynx:

How do I get the modded FW on this?

sent you a pm.
LuluLynx
join:2017-04-13
8WO 1578
to naf
I have a FreePBX/Asterisk system that used to work with GV until I disabled the trunks when Google called it a violation of their TOS.
And now I have the keys extracted from my Obi200.

Is there a quick guide for how to use these keys with my Asterisk install?

Also, I assume the auth data for a GV number is what I see in the GV account (Old settings) after provisioning the OBI as
sip:LOTSANDLOTSOFLETTERSANDNUMBERS0123456789===@obihai.sip.google.com ?
naf
join:2017-12-12
said by LuluLynx:

Is there a quick guide for how to use these keys with my Asterisk install?

»Re: Asterisk Google Voice SIP testing and technical discussion seems to have decent instructions
l4cky
join:2019-06-02
to naf
Hi Daf,

So I am new to this, read the posts, but I want to make sure I don't screw anything up.

I have both devices 200 and 202 with firmware versions 3.0.1.4142 and 3.0.1.4492. My ultimate goals is to extract the keys and put it into freepbx.

1. No obihai devices have ever been connected to the internet, I got told not to because it will automatically update the firmware to the last versions.

2. Do I need to connect to the internet before flashing the firmware to receive the keys?

3. Are keys and Oauth certifications the same thing?

4. I don't know how to flash the OBi2-3-2-2-5921EX-arrynrob9.fw You said it is on the web interface, but then i go to the IP address of the obihai, it says it says The requested URL was not found!

5. What info do I need from the modded firmware for freepbx implantation & how do get these infos? Can I use the same info for another system or it is limited to one?

Thanks.
naf
join:2017-12-12

7 recommendations

said by l4cky:

Hi Daf,

...I want to make sure I don't screw anything up.

bad start
l4cky
join:2019-06-02
what do u mean?
lemong
join:2018-12-15
to naf
Hi naf,

I was able to flash the firmware back in late 2018 and I don't remember anything about it and barely remembered that new firmware needed to be flashed to get my obi1022 up and running with google voice. It's currently locked to phone power and the firmware was just what I needed to get it up and running. But alas, I've been getting the 403 status code that's been reported and the solution posted by Crushev involves dialing **5 xxxx to obitalk, which unfortunately doesn't work for me since it's locked to phone power. I was wondering what it is that I would need to do without relying on dialing into **5. I had already deleted the device from google voice per Crushev's instructions but am stuck there at the moment. I vaguely recall having to log into my device and adding my google voice information in there but not much else, having only done this once half a year ago. Cheers!

hapollo
join:2007-05-13
WesterOS

1 recommendation

to l4cky
said by l4cky:

Hi Daf,

Thanks.

said by naf:

bad start

said by l4cky:

what do u mean?

LOL.
naf
join:2017-12-12
to lemong
said by lemong:

Hi naf
...currently locked to phone power... 403 status code...

(since you spelled my initials correctly,)
i pm'd you instructions for vendor-locked devices that can't use obitalk.
lemong
join:2018-12-15
naf. thank you so much! I got service back.
where
join:2019-05-08
North Palm Beach, FL

1 recommendation

Lemong obviously has more skills than I do, it took me quite awhile to make sense of all the directions I was PM'd by Naf and Brown. However, with a boat load of help from Naf and Brown, my Obi1062 is rocking and rolling!! It works just like the Obi1032 sitting on my desk at the office, except it has more features built in!
LuluLynx
join:2017-04-13
8WO 1578
to naf
OBi200 with SoftwareVersion 3.2.2 (Build: 5921EX-arrynrob9)
SP1-SP3 set up with GV numbers, SP4 used as SIP bridge to my FPBX-installation

Would like to extract refresh-tokens used by the OBi
using param_dump from Oct. 2018 from here »Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods
I get a file that only has data for SP1. SP2-SP4 not mentioned anywhere.
And the file gets bigger and bigger every time I dump the params.

Seems variations of

afee564d b1000001: 4d56eeaf (SP1.X_GApiAccessToken) ="ya29.xxxxx..."
6e887c9c c6000001: 9c7c886e (???) = "ya29.xxxxx..."
2d22a2eb b1000001: eba2222d (SP1.X_GApiAccessAndRefreshToken) = "ya29.xxxxx...1/O2Cxxxx..."

constantly gets appended to the dumped data.

Any idea why SP2+ are missing and why the dumped data grows larger and larger?

When logged into the OBi the Service Status for SP1-SP3 says 'Connected'
I rebooted the OBi already and it's the same, dump file keeps growing, only SP1 data in it.
naf
join:2017-12-12
i didn't compile in pretty names for the other SPs, but you can just grep for the hashes i posted elsewhere: »Re: How to Install naf Asterisk on Ubuntu for Obi100 and Google Voice

params grow because obi saves the latest access_token concatenated with the original refresh_token for all SPs every time the access_token is renewed (hourly) for no apparent reason.
LuluLynx
join:2017-04-13
8WO 1578
Only the hash for SP1 can be found in the dumped data.
SP2-SP4 hashes are not in there

In- and outgoing Calls do work on SP1-SP3, so they are registered correctly at GV
naf
join:2017-12-12
From a freshly reset device with GV obitalk-provisioned on SP3:

# wget http://www.dslreports.com/r0/download/2370808~9f32a5010ac4a31a72ad6485bb27737e/param_dump.zip -O - | gzip -d > /var/tmp/param_dump
--2019-06-14 16:53:44--  http://www.dslreports.com/r0/download/2370808~9f32a5010ac4a31a72ad6485bb27737e/param_dump.zip
Resolving www.dslreports.com... 64.91.255.98
Connecting to www.dslreports.com|64.91.255.98|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1316996 (1.3M) [application/x-zip-compressed]
Saving to: 'STDOUT'
 
-                   100%[=====================>]   1.26M   710KB/s   in 1.8s
 
2019-06-14 16:53:46 (710 KB/s) - written to stdout [1316996/1316996]
 
# chmod +x /var/tmp/param_dump
# /var/tmp/param_dump | grep 7ab00fec
ec0fb07a 2e000001: 7ab00fec (???) = "1/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 
LuluLynx
join:2017-04-13
8WO 1578

2 edits
Followed your code, no go for me...
# /var/tmp/param_dump | grep 7ab00fec
# 
 

OBi 200 provisioned for GV on SP 1/2/3 maybe 1 week ago.

Could it be that when the obi continuously appends the last used tokens that some areas get overwritten?

I'll try and set it up anew and get the param-dump right away.
--------
Edit: deleted the GV config from SP2 (in Obi Dashboard) and added it again, still nothing found when grep'ing for the hash.
naf
join:2017-12-12
to LuluLynx

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

hm. strange.

settings don't overwrite, they should just be gathered into the compressed entry at the beginning when it gets full (i assume). [you can't tell the difference with non-debug param_dump]

if it matters, you can send me a dump of the whole flash to see whats up with param_dump (cat /dev/mtd6 > /var/tmp/mtd6-dump)
otherwise, ill send you a link to do it the easy way
naf

1 edit
to LuluLynx
said by LuluLynx:

Followed your code, no go for me...

# /var/tmp/param_dump | grep 7ab00fec
# 
 
Ya you're right. param_dump was prematurely stopping when it encountered a packed param whose hash ended with 0xFF.
hash("VoiceService.1.VoiceProfile.2.SIP.X_DnsSrv") == 6258fdff, so the dump stopped right before SP2's refresh token.

Fixed the pretty names while I was there: »github.com/naf419/obi-fi ··· 0722c336
naf
param_dump.zip
1,110,508 bytes
Latest param_dump for obi2xx/3xx.

# wget http://www.dslreports.com/r0/download/2390272~9f32a5010ac4a31a72ad6485bb27737e/param_dump.zip -O - | gzip -d > /var/tmp/param_dump
# chmod +x /var/tmp/param_dump
# /var/tmp/param_dump
 

jsolo1
Premium Member
join:2001-07-01
PRIL
Naf, is that param_dump 3.0?
LuluLynx
join:2017-04-13
8WO 1578
to naf
Yep, that worked, found all the tokens

thanks
naf
join:2017-12-12
to jsolo1
said by jsolo1:

Naf, is that param_dump 3.0?

yes. third times the charm?
arihan
join:2018-09-19
Rolla, MO
to naf
Hi naf
Could you please pm me instructions for vendor-locked devices that can't use obitalk? You already helped me with flashing it 6 months ago. Thank you!
ghanashyaml
join:2015-07-22
to naf
naf, I read in the downloads page in obifirmwares that stock version 5853+ won't flash custom firmware. Will it block in the upload firmware in UI or brick after trying to flash? I want to try your firmware in my obi302 which has the latest firmware but after downgrading it to lower firmware which is allowed as per ozarkedge.com. Has anyone you know tried downgrading obi302 and has been successful?
naf
join:2017-12-12
said by ghanashyaml:

naf, I read in the downloads page in obifirmwares that stock version 5853+ won't flash custom firmware. Will it block in the upload firmware in UI or brick after trying to flash? I want to try your firmware in my obi302 which has the latest firmware but after downgrading it to lower firmware which is allowed as per ozarkedge.com. Has anyone you know tried downgrading obi302 and has been successful?

it won't brick it, it will just reject the firmware upgrade saying "checksum failed".

and you can't downgrade past versions that require the signature because the older versions that didn't require it weren't signed themselves.

however i sent you a pm.
mnetwork
join:2018-12-05
New Milford, NJ
to naf
Naf, do we know what API ObiTalk is now using to generate the auth tokens? I'm guessing they stopped using 'https://www.googleapis.com/auth/googletalk'.
naf
join:2017-12-12
said by mnetwork:

Naf, do we know what API ObiTalk is now using to generate the auth tokens? I'm guessing they stopped using 'https://www.googleapis.com/auth/googletalk'.

they use "https://www.googleapis.com/auth/sipregistrar-3p", but homemade API clients are being rejected by GV.
mnetwork
join:2018-12-05
New Milford, NJ

1 edit
Ok. So right now with param_dump can you dump the THREE values (client ID, client secret, refresh token)?

Are the client IDs and client secrets the same then on all devices provisioned via ObiTalk?
DJB628
join:2018-05-28
Delray Beach, FL
to naf
Has something change lately in the OBI firmware ? I'm away on business, but the wife said she tried to use the phone at home hooked up to the OBI 202 and gets a dial tone, and dials and then once the call goes through she gets a message saying, The # you dialed has not received a response from the service provider. I have the firmware 3.2.2 (Build: 5859EX-arrynrob7) I think that is it.

I'll check in the morning here again as I'm away right now. Any advice would be appreciated.
DJB628
I've noticed last night reading a little in this thread and check the FW link that there is a new release of ArryNrob9 FW, is it as simple as flashing the new update ?? Let me know so when I get back I can do so, don't wan't to flash anything if it's not required.

jsolo1
Premium Member
join:2001-07-01
PRIL
Such was the case when I updated the 202 few months ago. I did make backups first just in case.

This was around the time I was having issues with the fax. Many errors in either direction & failed faxes. Fw update didn't solve the problem but I left it in place rather than downgrading.

I'll say this much, if you're not having any issues, don't upgrade.
DJB628
join:2018-05-28
Delray Beach, FL
I am having issues, the wife says, because of the service provider response calls don't go through. So am I correct in saying that the upgrade won't fix the issue ?? Did GV change anything for calls to not go through any longer ? What do I need to do to trouble shoot this recent issue ?

jsolo1
Premium Member
join:2001-07-01
PRIL

1 recommendation

^^Is the issue certain numbers or any number dialed?
DJB628
join:2018-05-28
Delray Beach, FL
She dialed 5 different numbers and all the same message.

All numbers say the number has not received a response from the service provider

jsolo1
Premium Member
join:2001-07-01
PRIL
What troubleshooting steps have you taken?
DJB628
join:2018-05-28
Delray Beach, FL

1 edit
I haven't done any as I'm still out of town.

But she said there is a dial tone and then she gets that message. I had her power the device down, and still same issue, internet is connected, and power light is on. I've called both number on the OBI and both numbers work, just don't ring on the OBI connected phones. Not sure what else there is too check. If there is let me know and I'll have her check it. I can have her flash the new FW and see if that works or not ? I can walk her through it. Anything else I should have her check ?

I also had her reboot the device from the portal

I also had her check in the portal and this is what she C&P
SP1 Connect Failed: 403 Rejected (server=216.239.36.144; retry in 10s)
SP2 Connect Failed: 403 Rejected (server=216.239.36.144; retry in 384s)

jsolo1
Premium Member
join:2001-07-01
PRIL
said by DJB628:

I also had her check in the portal and this is what she C&P
SP1 Connect Failed: 403 Rejected (server=216.239.36.144; retry in 10s)
SP2 Connect Failed: 403 Rejected (server=216.239.36.144; retry in 384s)

Our obi200 (also have a 202), is still on 5859 and working fine. I should note, both devices on this end are manually configured without using obitalk portal. So maybe something in 5921ex did change with respect to the port. Worth a shot to flash it. Doubt it will fix anything though.

Looks like the reject messages are your issue. Before moving forward I'd log into the device itself and confirm that the status messages matches the rejected messages above.

Question is why is it rejecting. Other's may have other ideas. I would remove the entries from the SPx slots in the obi portal. Then remove the permission from the respective google accounts. The latter can be accessed by this link:

»myaccount.google.com/per ··· dium=web

Then add those two accounts back to the obiportal. Reboot and cross your fingers
naf
join:2017-12-12

1 edit
to DJB628
said by DJB628:

SP1 Connect Failed: 403 Rejected (server=216.239.36.144; retry in 10s)
SP2 Connect Failed: 403 Rejected (server=216.239.36.144; retry in 384s)

if you previously used a custom oauth client to configure GV without obitalk (and haven't used the phone in a couple months to notice it hasn't worked), '403 Rejected' would make sense. GV changed it to require using the official obi oauth client, so re-provision via obitalk if possible.
DJB628
join:2018-05-28
Delray Beach, FL

1 edit
Naf and Jsolo1, thank you both for your help and responses.

Yes, it's probably more then a few months since it was used, the wife used it last night because I was away and she was in bed and didn't have her cell phone to call me, so used the OBI phone. And yes I did use a custom Oath if I remember, it's been over a year, but I'm sure that was the process then. Is there a setup instruction @ the obifirmware site for the new process for using provisioning via OBI talk, and is that the best way to do this, or is there a better way to not have this issue again. We only use this phone as a backup or a Fax.

Also do I upgrade the FW to 5921 at the same time to be current ? I will be home late tonight and will try this tomorrow once I read the response.
DJB628
to naf
I just checked quickly on the site and don't see the instructions on how to do this again, to re-provision the oath to OBI, is it somewhere else, or is there another link to follow the process ?? Thanks again
amb
join:2018-04-08
said by DJB628:

I just checked quickly on the site and don't see the instructions on how to do this again, to re-provision the oath to OBI, is it somewhere else, or is there another link to follow the process ?? Thanks again

If you grind through the last few pages of this thread you should find a summary, but it basically amounts to cleaning out the old config on gvoice and resetting the device so it can talk to obitalk again, and then doing a vanilla by-the-book setup on the device on obitalk.com.

Note that you'd darn well better be on a 3.2.2 release when you open it up to obitalk.com or you're going to get vanilla 3.2.2 whether you like it or not. (OBi2-3-2-2-5859EX-arrynrob7.fw works best of the lot for me.) Once it's set up you can cut off obitalk.com again (make sure you get all five places or you might get an involuntary "upgrade"); you only need a one-time setup to get the auth tokens that gvoice wants.
DJB628
join:2018-05-28
Delray Beach, FL

1 edit
Yes, when I got this new device a year ago, I did make sure before I opened Orbitalk without internet and disabled that all was to be disabled according to the specs that were posted in this thread in the past year.

I'm not sure why that Auth Page was taken out of the OBI Fw page, it was a great tool for those wanting to setup OBI to the Naf FW. I'm sure there was a reason though.

I will scroll back, which I did while I was away yesterday, and didn't see anything, but maybe I simply didn't go far back enough. I will do so again, and report back.

If not I may simply just update back to the original OBI FW and be done with it and move on, but I'll definitely give this a shot first.

If anyone else has suggestion, I'm all ears, keep in mind I did this over a year ago, and have not looked back since, so remembering all is did is foggy.

All this was done last year before once the OBI came out of the box last year.

System Management
Auto Provisioning - Auto Firmware Update::Method = Disabled
Auto Provisioning - LUA Script Update::Method = Disabled
Auto Provisioning - ITSP Provisioning::Method = Disabled
Auto Provisioning - OBiTalk Provisioning::Method = Disabled

Voice Services
OBiTALK Service - OBiTALK Service Settings::Enable = NOT checked
DJB628

1 edit
to naf
So scrolling back, Looks like this is the process ?? So if I have to factory reset like the OP had to do, I assume I have to disable all of what I posted again above, otherwise all those setting will be enabled again ??

"Post posted by Cruchev below" »Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

DISCLAIMER: This is what worked for my OBi200.

1) Make sure you are on 3.2.2 (Build: 5921EX-arrynrob9) - Latest can be downloaded from »www.obifirmware.com/#cta

2) Go to voice.google.com and delete the ObiTalk Device. (On left side go to Legacy Google Voice and then click on the gear icon in top right and then "Settings".

3) Go to »www.obitalk.com/obinet/ and setup the Obi. This will involve dialing **5 from the handset. Here is a screenshot »imgur.com/a/ecSuPdI

4) Once there add GV. I had an issue of it being stuck on "Configuring". The only way I was able to resolve this was to factory reset with the push button on the bottom of the device.

5) Once GV reports as "Connected" go to GV devices list and make sure Obi is there (for me it added it twice, with identical info so I removed one of them).

6) Go to Automatic Provisioning and Disable Auto Updating Firmware and other Auto Provisioning things.

7) Reboot Obi and make sure everything is still working.

I also (dont know if this actually does anything), put address=/.obihai.com/0.0.0.0 in my dnsmasq on my router to block potential updates.
DJB628

1 edit
Unfortunately I sill have a few questions before I attempt this later one.

1) Updating to the latest Naf FW, it says to login via Lan port ?? I thought to update the FW it was done from Obitalk portal, it's been a while so please refresh my memory here.

2) If I do have to reset the device also once I delete the device from GV, do I have to disable all settings again with the device not connected to the internet ?? or does the new FW installed stop the unit from updating ??

3) Is all this process required in this case ? I'm assuming what Naf posted above is exactly this process for re-provisioning via OBItalk ?

I know I posted a lot above, but I want to make sure before I make a mess, LOL better safe then sorry.

4) I'm also assuming, once the FR is done, there is no need to do the Oath2 again as OBItalk does that in the new process ?

5) Also in the past we had to do the TFTP auto provisioning URL, I assume that is no longer needed ?
amb
join:2018-04-08
said by DJB628:

1) Updating to the latest Naf FW, it says to login via Lan port ?? I thought to update the FW it was done from Obitalk portal, it's been a while so please refresh my memory here.

Do it locally (and use firmware from obifirmware.com) or you'll be stuck with vanilla factory firmware. It seems like as long as it's the latest version when you connect to obitalk it won't get overwritten/"upgraded".

2) If I do have to reset the device also once I delete the device from GV, do I have to disable all settings again with the device not connected to the internet ?? or does the new FW installed stop the unit from updating ??

No, quite the opposite, you need some of those settings turned back on to provision with obitalk. (You can turn them off after provisioning though, and likely want to.)

3) Is all this process required in this case ? I'm assuming what Naf posted above is exactly this process for re-provisioning via OBItalk ?

Looks good to me. Probably the reset isn't necessary if you want to revert all of the settings by hand instead, but it's a lot faster.

I know I posted a lot above, but I want to make sure before I make a mess, LOL better safe then sorry.

4) I'm also assuming, once the FR is done, there is no need to do the Oath2 again as OBItalk does that in the new process ?

5) Also in the past we had to do the TFTP auto provisioning URL, I assume that is no longer needed ?

4 and 5 are both correct; obitalk does it all.

The problem with obitalk is that it does all that stuff that you want and then keeps on doing stuff you might not want. My view (and I think the prevailing view around here) is that it's best to get things provisioned and then cut off obitalk.com (via the five settings noted above) so they don't mess things up again.
DJB628
join:2018-05-28
Delray Beach, FL

1 edit
said by amb:
said by DJB628:

1) Updating to the latest Naf FW, it says to login via Lan port ?? I thought to update the FW it was done from Obitalk portal, it's been a while so please refresh my memory here.

Do it locally (and use firmware from obifirmware.com) or you'll be stuck with vanilla factory firmware. It seems like as long as it's the latest version when you connect to obitalk it won't get overwritten/"upgraded".

2) If I do have to reset the device also once I delete the device from GV, do I have to disable all settings again with the device not connected to the internet ?? or does the new FW installed stop the unit from updating ??

No, quite the opposite, you need some of those settings turned back on to provision with obitalk. (You can turn them off after provisioning though, and likely want to.)

3) Is all this process required in this case ? I'm assuming what Naf posted above is exactly this process for re-provisioning via OBItalk ?

Looks good to me. Probably the reset isn't necessary if you want to revert all of the settings by hand instead, but it's a lot faster.

I know I posted a lot above, but I want to make sure before I make a mess, LOL better safe then sorry.

4) I'm also assuming, once the FR is done, there is no need to do the Oath2 again as OBItalk does that in the new process ?

5) Also in the past we had to do the TFTP auto provisioning URL, I assume that is no longer needed ?

4 and 5 are both correct; obitalk does it all.

The problem with obitalk is that it does all that stuff that you want and then keeps on doing stuff you might not want. My view (and I think the prevailing view around here) is that it's best to get things provisioned and then cut off obitalk.com (via the five settings noted above) so they don't mess things up again.
Got it, I'll give it a whirl later on, I'll try first without FR

And when you say do the upgrade locally, you mean from the OBI IP 162.168.10.1 from the gateway ?
DJB628
join:2018-05-28
Delray Beach, FL
to amb

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

OK, I updated the FW to OBi2-3-2-2-5921EX-arrynrob9.fw

Before I proceed with the rest, you mentioned that the Auto Provisioning settings need to be enabled for this to work, I thought the updated would of enabled them on and then I'd have to disable them once I have the line working again ? So I have to manually enable them all back now and once done disable ?
amb
join:2018-04-08

1 recommendation

The update is just the firmware. To actually change the settings you need to either do stuff in the Obi's local web UI or do a full-on reset. Not that I'm particularly expert, I just happen to be hanging around the forum on a quiet weekend and have now been through this 6 or 7 times.

I'm not sure what the minimum set of things is that you need to turn on to be able to provision via obitalk (mayyyybe you could just turn on "OBiTalk Provisioning" and that would be enough?), but the problem (well, one of the problems) is that even if you have Auto Firmware Update turned off they'll still jam you with new firmware if they feel like it. Thus installing 3.2.2 before you let it talk to obitalk, lest they think you need an update.
where
join:2019-05-08
North Palm Beach, FL
Trying to reconfigure one of my stock FW Obi200 units this afternoon (FW 3.2.2 (Build: 5921EX)), I'm finding that the ObiTalk to GV handshake is broken, and despite all my efforts, I can't get my device to build the necessary bridge to GV via the Obitalk website for configuration.

Wisdom on Obi's forums is "it happens sometimes on weekends, try again on Monday". So, if you get to the Obitalk website part and you can't seem to get past the "configuring" circle of death that ends in "Service not Configured", it's not just you...
DJB628
join:2018-05-28
Delray Beach, FL
to amb
said by amb:

The update is just the firmware. To actually change the settings you need to either do stuff in the Obi's local web UI or do a full-on reset. Not that I'm particularly expert, I just happen to be hanging around the forum on a quiet weekend and have now been through this 6 or 7 times.

I'm not sure what the minimum set of things is that you need to turn on to be able to provision via obitalk (mayyyybe you could just turn on "OBiTalk Provisioning" and that would be enough?), but the problem (well, one of the problems) is that even if you have Auto Firmware Update turned off they'll still jam you with new firmware if they feel like it. Thus installing 3.2.2 before you let it talk to obitalk, lest they think you need an update.

OK, well I check it out in the AM and see. Seems confusing to me as there seems to many different ways out there to do this. My only concern is to make a mistake then I'm stuck b/c the devices updated with OBItalk. I hate to enable all to find out I was not suppose to do so, I'm trying to do this with having to FR.
DJB628
to naf
OK, stuck like others on the circle of death.

I tried to enable those settings and rebooted, but won't stick, they seem to stay disabled.

So I tested anyways, I did delete OBI both SP1 and SP2 from my 2 GV accounts.

FW has been updated to the correct and latest from Naf

And now the OBItalk website is saying FW upgrade needed since offline and won't allow me to add GV

Other then doing a FR, any other suggestions to get this to work. I'll check in again later I guess.
DJB628
OK, still no luck, I have about given up here, there are too many confusing options in this thread, I have done step by step of the below instructions, and I now have the OBI reset to default specs, and show GV in both SP1 and SP 2 slots, but they are not connecting or configuring.

I went back and disable all again, and will try again if any one had another way of getting this done, should not be this hard.

The below is what I did to a T

" 1. Delete OBi device(s) from your Google Voice accounts.
2. Delete OBi200 from the OBiTALK web portal (if it is already there).
3. Update OBi200 firmware to the latest if necessary. Check the system status to make sure it is done correctly. Software version must be 3.2.2 (Build: 5921EX-arrynrob9). Anything else you are running the risk of getting the OBi stock firmware.
4. Use a paperclip to reset OBi200 to factory default settings - power off, paperclip on the reset button, power on and hold the paperclip for 15 secs, release the paperclip. After boot is finished, try to login into OBi200 with the default password "admin". If you did not change the password from the default previously (it was admin before reset), you have to look for other signs that the unit has been reset.
5. Login to the OBiTALK web portal and accept the invitation to add a device. You will be asked to dial **5nnnn. (You should already know the drill.) Important: just add the device but DECLINE the GV setup invitation when prompted for. If you take the invitation of adding GV here, it will go into SP1! We will do GV setup separately later (and in whichever SPx slot we like). If you have ensured that the previous steps were done properly, you should not have any trouble adding your OBi200 to OBiTALK.
6. Click on the SPx (SP1, SP2, SP3 and SP4) you want to setup. You can set up GV, Anveo, or a compatible service. The setup is very straightforward. In my OBi200, I setup GV at SP1 and SP2 (two accounts) and Callcentric at SP4.
7. Go to OBi200 web page to make sure that the SPx slots that you setup in the OBiTALK web portal are connected/registered. For GV, check the GV accounts to make sure that you have OBiTALK device added automatically.

If anything isn't clear, just ask. The community is here to help. Good luck. "
where
join:2019-05-08
North Palm Beach, FL

2 edits

1 recommendation

DJB628,
As I said in my post above, even without NAF firmware (I'm trying similar games stock FW), the Obitalk website is not functioning correctly this weekend, and that is the root of your problem (and mine). I accept the page for the link between Obitalk and GV, but the "Configuring" circle of death continuously ends in "service not setup" or "offline" because something is obviously broken on the Obitalk site.

The Forum wisdom over on Obitalk is that "this happens on weekends sometimes, try again Monday." My experience yesterday is the same this morning. There are multiple posts on Obitalk support forums about this weekend hiccup, even with stock FW like I'm running.

I totally get how frustrating your situation is, you're trying to follow a recipe that isn't "old hat" to you. You believe you added all the ingredients and stirred the bowl just right to make this cake. In this case, the oven is broken (Obitalk) and whether we put your custom mix in the oven, or my straight out of the box Obi200 in this oven, its not baking until someone fixes the Obitalk website connection to GV.

Try again tomorrow, and don't feel defeated today because it's the website, not your skills. My stock Obi200 won't take the configuration from Obitalk (yesterday, or today).
DJB628
join:2018-05-28
Delray Beach, FL
said by where:

DJB628,
As I said in my post above, even without NAF firmware (I'm trying similar games stock FW), the Obitalk website is not functioning correctly this weekend, and that is the root of your problem (and mine). I accept the page for the link between Obitalk and GV, but the "Configuring" circle of death continuously ends in "service not setup" or "offline" because something is obviously broken on the Obitalk site.

The Forum wisdom over on Obitalk is that "this happens on weekends sometimes, try again Monday." My experience yesterday is the same this morning. There are multiple posts on Obitalk support forums about this weekend hiccup, even with stock FW like I'm running.

I totally get how frustrating your situation is, you're trying to follow a recipe that isn't "old hat" to you. You believe you added all the ingredients and stirred the bowl just right to make this cake. In this case, the oven is broken (Obitalk) and whether we put your custom mix in the oven, or my straight out of the box Obi200 in this oven, its not baking until someone fixes the Obitalk website connection to GV.

Try again tomorrow, and don't feel defeated today because it's the website, not your skills. My stock Obi200 won't take the configuration from Obitalk (yesterday, or today).

Got it, the thing that was concerning me was, the Obitalk site was telling me I needed an update, so I thought they were trying to push me an update even though I was on the latest FW from Naf with all settings disabled.

I'll give it a whirl during the week too, I'll also check up on your post to see if you're able to yours done also next week. Mine is a 202 with 2 ports, but I assume the GV setup is the same.

We'll live to fight another day, LOL

Nice to see another member from Palm Beach, LOL Cheers
DJB628
What I do need to know though for the next time I try this, do the below setting need to be enable to be able to re provision the device. No one talks about this and I'm still unsure about this ??

System Management
Auto Provisioning - Auto Firmware Update::Method = Disabled
Auto Provisioning - LUA Script Update::Method = Disabled
Auto Provisioning - ITSP Provisioning::Method = Disabled
Auto Provisioning - OBiTalk Provisioning::Method = Disabled

Voice Services
OBiTALK Service - OBiTALK Service Settings::Enable = NOT checked
DJB628
to where
Were you able to get yours to connect yet ?

I didn't try today as I'm still awaiting for a response on the Auto Provisioning settings, if they have to be enable to Provision
said by where:

DJB628,Try again tomorrow, and don't feel defeated today because it's the website, not your skills. My stock Obi200 won't take the configuration from Obitalk (yesterday, or today).

DJB628

1 edit
Well I tried one more this this morning and still no go.

My guess is those settings need to be enabled for the Provision to take place, but I'm not enabling them until someone says it's safe.
OzarkEdge
join:2014-02-23
USA
·voip.ms

1 recommendation

said by DJB628:

Well I tried one more this this morning and still no go.

My guess is those settings need to be enabled for the Provision to take place, but I'm not enabling them until someone says it's safe.

This is not to advise you on how to provision GV on your OBi, since I don't use GV.

But note that these are the default OBi settings:

System Management
Auto Provisioning - Auto Firmware Update::Method = Disabled
Auto Provisioning - LUA Script Update::Method = System Start
Auto Provisioning - ITSP Provisioning::Method = System Start
Auto Provisioning - OBiTalk Provisioning::Method = Disabled

Voice Services
OBiTALK Service - OBiTALK Service Settings::Enable = checked

I would assume that a reset OBi can be provisioned on OBiTALK.com, if that is what you are trying to do to provision GV.

OE
DJB628
join:2018-05-28
Delray Beach, FL
Thanks for your response

FTR, I did do a F reset, and checked the Provision settings afterwards and those were not set to those specs after reset, they were still all disabled, could that mean the reset was not done properly ? I did do it with the paperclip, and it did reboot and orange light came on.

Also since I have an OBI 202 and I'm setting up 2 GV lines, do I have to make sure when SP1 is choosen for incoming and outbound calls that it is check marked only SP1 for that GV number and when I do the SP 2 that I make sure the same applies to that number in SAP 2 slot ?
said by OzarkEdge:
said by DJB628:

Well I tried one more this this morning and still no go.

My guess is those settings need to be enabled for the Provision to take place, but I'm not enabling them until someone says it's safe.

This is not to advise you on how to provision GV on your OBi, since I don't use GV.

But note that these are the default OBi settings:

System Management
Auto Provisioning - Auto Firmware Update::Method = Disabled
Auto Provisioning - LUA Script Update::Method = System Start
Auto Provisioning - ITSP Provisioning::Method = System Start
Auto Provisioning - OBiTalk Provisioning::Method = Disabled

Voice Services
OBiTALK Service - OBiTALK Service Settings::Enable = checked

I would assume that a reset OBi can be provisioned on OBiTALK.com, if that is what you are trying to do to provision GV.

OE
OzarkEdge
join:2014-02-23
USA
·voip.ms

1 recommendation

said by DJB628:

FTR, I did do a F reset, and checked the Provision settings afterwards and those were not set to those specs after reset, they were still all disabled, could that mean the reset was not done properly ? I did do it with the paperclip, and it did reboot and orange light came on.

I can only expand on my previous post by adding that I got those values from my OBi202 3.2.2 (Build: 5859EX) by selecting the default checkbox against each setting.

OE
DJB628
join:2018-05-28
Delray Beach, FL

2 edits

2 recommendations

OK, I'll do my best to create a post on how I got it to finally work and connect again. I was determined this morning. Now I had many stubbling blocks and that is b/c some things were not clear and a little confusing, so I will try to make it dummy proof, with a little from others and some from me. Bare with me.

This is for those that have loss their provisioning from a previous GV setup on a 200/202 device.

1) Make sure you are on 3.2.2 (Build: 5921EX-arrynrob9) - Latest can be downloaded from »www.obifirmware.com/#cta (Anything else you are running the risk of getting the OBi stock firmware) Also I believe buy installing Naf latest FW, it disables the FW auto update, but I'm not sure, just a guess.

2) Go to voice.google.com and delete the ObiTalk Device. How to do this properly/(On left side go to Legacy Google Voice and then click on the gear icon in top right and then "Settings".

3) Login to the OBITalk Web Interface and Delete OBi200/202 device so it is blank (if it is already there).

4) From your OBI device do a Factory Reset/Paperclip process,to reset OBi200 to factory default settings - power off, paperclip on the reset button, power on and hold the paperclip for 15 secs, release the paperclip. After boot is finished, try to login into OBi200/202 with the default password "admin". If you did not change the password from the default previously (it was admin before reset), you have to look for other signs that the unit has been reset. (You can google this if needed.) (So no confusion, this should also set your System management setting and voice services to default.)

5) Login to the OBiTALK web interface and accept the invitation to add a device (Make sure there is no device showing here before you do this). You will be asked to dial **5####. Important: Just add the device but DECLINE the GV setup invitation when prompted for. If you take the invitation of adding GV here, it will go into SP1/SP2! We will do GV setup separately later (and in whichever SPx slot we like). If you have ensured that the previous steps were done properly, you should not have any trouble adding your OBi200/202 to OBiTALK.

6) Once the above is done, then click on SPx (SP1, SP2, SP3 and SP4) you want to setup. You can set up GV, Anveo, or a compatible service. The setup is very straightforward. In the OBi200/202, setup GV at SP1 and SP2 (two accounts) and Callcentric at SP4. If using a 202 Device, setup the first GV to make sure the check mark is only on SP1 for incoming and outgoing calls for SP 1 only, you'll setup the 2nd GV # in SP 2 right after once SP1 in connected. Now if on a 202 device and you want the 2nd line, then do the same as above and setup the SP 2 with only those check marked for the 2nd GV number and that should also connect.

7) Now once one or both SP slots are connected, double check your GV account/s and make sure the OBITalk are there.

8) Now login into the device portal and go to Automatic Provisioning and Disable Auto Updating Firmware and other Auto Provisioning to the below specs

System Management
Auto Provisioning - Auto Firmware Update::Method = Disabled
Auto Provisioning - LUA Script Update::Method = Disabled
Auto Provisioning - ITSP Provisioning::Method = Disabled
Auto Provisioning - OBiTalk Provisioning::Method = Disabled

Make sure you scroll to the bottom and click on SUBMIT

Voice Services
OBiTALK Service - OBiTALK Service Settings::Enable = NOT checked

Make sure you go to the bottom and SUBMIT

Reboot Obi and make sure everything is still working.

The below I didn't do, but Cruchev did, so you are more then welcome to try.
(Dont know if this actually does anything), He put address=/.obihai.com/0.0.0.0 in his dnsmasq on his router to block potential updates.
archcantor
join:2019-06-25
South Dennis, MA

2 edits
to naf
Sorry but I am a new at this. Please excuse my inexperience. Thank you to naf for installing OBi2-3-2-2-5921EX-arrynrob9.fw for me. My device already had 3-2-2-5921EX so I could not upgrade myself. As I understand it the new FW allows the Obi device to be operated as a stand-alone device independent from the ObiTalk portal.

I have some assumptions I would appreciate some clarification.

After the fw upgrade I think the OBiTalk portal no longer sees my Obi202. It thinks it's offline and that's a good thing. After the new fw any changes I make to the config on the OBiTalk portal do not get migrated to my device. Any changes I make on the devices WebUI do not get migrated to the OBiTalk portal display. I assume this means operation as designed and that the OBi202 is now operating independently of the OBiTalk portal.

I assume ObiTalk is only needed to get Google Voice going on the ObiTalk portal. So in the OBi202, ObiTalk needs to be turned on only when provisioning GV by using the ObiTalk web site. Only one OBiTALK Device is needed in the GV settings page and that only appears after successful provisioning. When restarting from scratch or deleting GV from the Service Provider, that OBiTALK Device needs to be deleted on the GV Settings page and OBiTalk needs to be enabled again on the device's UI before provisioning again.

I turned off all the auto updates and auto provisioning. I added fw.obitalk.com to my router's blacklist. This is so that OBiHai/Polycom can not decide on their own to force an upgrade or any changes on me. If this would happen or if I flashed any later factory FW then my device would revert to factory condition including being locked again from arrynrob9 fw.

Thanks for bearing with me as I learn. I am a longtime GV user having started on Gizmo with an IPKall DID followed by Sipsorcery with Sipgate and later Callcentric DIDs. Then on to Simon Telephonics and then to King of Tweaks. Each time Google's changes broke functionality as time went on. Now I have landed on an OBi-202 and was fortunate to learn how to configure it to use its two GV lines on my Cisco SPA-504g IP phone instead of the analog ports. It's nice not to need a DID anymore for GV callback.

-Rick
obient78
join:2018-08-18
Bellevue, WA
to naf
Thank you for all your work Naf. I have an Obi302 collecting dust since last change with GV shifting to Obitalk way to enable gv on it. Instructions on how to make it work again? I am on 5859 custom firmware and cannot even add my 302 on obitalk website. Thanks in advance.
naf
join:2017-12-12
said by obient78:

I have an Obi302 collecting dust since last change with GV ... and cannot even add my 302 on obitalk website.

wipe the dust off. sent you a pm.
DJB628
join:2018-05-28
Delray Beach, FL
to naf
To Naf, thanks for your advice also, I kept the info in case for a later date. So if I have an issue again, or the device goes offline again b/c GV not connecting, I will follow your instructions.

I was determined to get it working like others first, I just needed the time to do it as I've been crazy busy at work. Just hope my post will be able to help someone else.
DJB628

1 edit
to naf
Another question, since I only used these GV # as a backup, should I always use them once a month to make a call, to make sure they stay connected ??
DownSouth
join:2018-08-12
45800
to naf
If I'm posting this incorrectly please inform me.
I read but rarely post.

5898EX-arrynrob7 OBi212, yes 212, as I need my local Fiber POTS # on the FXO port.
The OBiLINE - FXO to USB Phone Line Adapter doesn't work so the 212.
OBi212 (does the same as the 110, looks more modern and costs twice the $)
Same as a 202 but 1 FXS & 1 FXO. All goes to a DECT 6.0/BT2Cell wiith 6 handsets.
SP1 GV1, SP2 SIP, SP3 SIP, SP4 GV2 which has a problem.
It is a # from 2008 I rarely used but will be in the near future.

Provisioned using Obitalk.com following instructions on page 50 of this forum.
Thank you DJB628 It works again. Lost it when Gargoyle changed tokens,

Step 6 seems to contradict 5. Is GV limited to SP1 and SP2?
Step 5 says: We will do GV setup separately later (and in whichever SPx slot we like)

Step 6: In the OBi200/202, setup GV at SP1 and SP2 (two accounts) and Callcentric at SP4

If using a 202 Device, setup the first GV to make sure the check mark is only on SP1 for incoming and outgoing calls for SP 1 only.
Where is this check mark? Primary Line for Outgoing Calls is the only check box I see.
I can redo my digit maps if needed but they are fairly complex and will take some time.
Need to totally change them in August as the country is changing to 10 digit dialing and I'm a lazy *^(%. Hats off to all who can answer.

I can call but not receive calls on SP4/GV2.
In GV2 site Legacy settings shows
Your Google voicemail access number
(31x) xxx-xxxx
Get a Google Voice number
Registered Phones:
You have not registered any phone.
Home
(xxx) xxx-xxxx - Home
OBiTALK Device - 52xxxxxxx

GV1 looks like this:
Your Google Voice Number
(63x) xxx-xxxx
Change / Port / Delete / Transfer
Forwards calls to:
Home
(xxx) xxx-xxxx - Home
OBiTALK Device - 52xxxxxxx
obient78
join:2018-08-18
Bellevue, WA
to naf
Thank you for instructions. I am lost at step five. I am blocked from sending PM.
OZO
Premium Member
join:2003-01-17
to DownSouth
I've had lots of trouble, using SP4 (which I wanted to use for many reasons). I ended up using SP1...

Try to use SP1 in your setup. But be prepared to make hardware reset of your device before switching to it.
DJB628
join:2018-05-28
Delray Beach, FL
to DownSouth
said by DownSouth:

Step 6 seems to contradict 5. Is GV limited to SP1 and SP2?

No it's not, but I simply used SP 1 for my main line and SP2 for my fax line and worked for me. Hope that makes sense
oneleftak
join:2019-07-10
Uniontown, WA
to naf
Can you please send me a pm with the information for setting up GV on Obi302?
naf
join:2017-12-12
said by oneleftak:

Can you please send me a pm with the information for setting up GV on Obi302?

done
Sarah1990
join:2019-07-11
to naf
Hi
Could you please pm me the instruction for activating the google voice on factory locked obi1062 (i already updated the firmware to 4858EX.1311-olisom5b.fw)?

Cheers,
Sarah
oneleftak
join:2019-07-10
Uniontown, WA
to naf
said by naf:
said by oneleftak:

Can you please send me a pm with the information for setting up GV on Obi302?

done
Thank you very much! Worked like a charm
obient78
join:2018-08-18
Bellevue, WA
Any chance you can pm me how to request refresh token after step 4?
fizikz
join:2012-09-06
to naf
Hi, I'm looking for recommendations on which firmware to use (stock or mod, version) on my Obi202 which is still on 3.0.1 (Build: 4269).

The only reason for upgrading is to use encryption with voip.ms, which based on comments on this forum, requires a more recent firmware. I don't use GV, though ssh sounds cool even though I can't really think of why I'd need it right now. I just want to make sure it's stable.

Is there any downside to going with the modded firmware? Can stock firmware be reapplied afterwards if needed? Is there any issue with using the saved config with between firmware versions or stock/modded?
DJB628
join:2018-05-28
Delray Beach, FL
to naf

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

I do have another question.

All is still working fine, but I wanted to login to Obitalk website for the heck of it, and did notice that my SP 1 was showing online, so I got nervous and check my phone and all was working fine. Is this b/c with the latest SW we are bypassing Obitalk after we're setup and running ??
Anonce3f1
@199.249.230.x
to naf
My OBi200 running 5921EX-arrynrob8 stopped connecting to GV about an hour ago with
Connect Failed: No Response;Token Error (server=216.239.36.144; retry in 8s)

Anyone else getting this error?
Brown
join:2018-01-21
Working fine here. I'm using arrynrob9 but that probably makes no difference.
friendsxix
join:2019-08-01
USA
to naf
Any chance that I get those Google Voice instructions too? My OBi302 could really use them!
naf
join:2017-12-12
said by friendsxix:

Any chance that I get those Google Voice instructions too? My OBi302 could really use them!

chances are good. sent you a pm.
lde
join:2019-08-02
US
to naf
I've got a obi200 poly with 3.2.2 (Build: 5897EX) and knew that I'd have to deal with pki cert blocking for firmware flash. So I grabbed my buspirate and searched around for w25q128v spi datasheet. Got buspirate hooked up, read flash and did some snooping:

»openwrt.org/toh/mikrotik ··· rb750gr3
25Q128FVSG
Header Pin Purpose
1 CLK
2,10 GND
3 DO
4 VCC
5 CS
6,7 Not Connected
8 Program
9 DI
5 wires used (clk,do,di,cs,gnd) plus vcc.
However, vcc 3.3v from buspirate was getting drained to other pcb components. So, I disconnected vcc, held reset pin and powered obi via it's own psu. Success!

k64:$ sudo flashrom -p buspirate_spi:dev=/dev/buspirate -r ./obi200.bin
flashrom v1.1-rc1-28-g712ba3a on Linux 4.15.0-2-amd64 (x86_64)
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found Winbond flash chip "W25Q128.V" (16384 kB, SPI) on buspirate_spi.
Reading flash... done.

k64:$ la obi200.bin
-rw-r--r-- 1 root root 16777216 2019-06-22 00:26 obi200.bin

k64:$ binwalk ./obi200.bin
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
203688 0x31BA8 CRC32 polynomial table, little endian
7814757 0x773E65 Zlib compressed data, best compression
7961284 0x797AC4 Zlib compressed data, best compression
8372644 0x7FC1A4 Zlib compressed data, best compression
8501454 0x81B8CE Zlib compressed data, best compression
10010252 0x98BE8C Zlib compressed data, best compression
11548052 0xB03594 Zlib compressed data, best compression
11604800 0xB11340 Zlib compressed data, best compression
11605624 0xB11678 Zlib compressed data, best compression
11993088 0xB70000 JFFS2 filesystem, little endian
12582912 0xC00000 Squashfs filesystem, little endian, version 4.0, compression:gzip, size: 2096210 bytes, 156 inodes, blocksize: 131072 bytes, created: 2018-06-30 02:12:09
15088590 0xE63BCE Zlib compressed data, best compression
15558213 0xED6645 Zlib compressed data, best compression
15679071 0xEF3E5F Zlib compressed data, best compression
15728640 0xF00000 Squashfs filesystem, little endian, version 4.0, compression:gzip, size: 982209 bytes, 13 inodes, blocksize: 131072 bytes, created: 2016-05-04 22:18:43

Ok, looks reasonable. But, which hex region is used for *.fw (kernel +userspace filesystem). Looks different than fw below.

k64:$ la OBi2-3-2-2-5921EX-arrynrob9.fw
-rw-r--r-- 1 root root 14143160 2019-03-13 11:13 OBi2-3-2-2-5921EX-arrynrob9.fw

k64:$ binwalk ./OBi2-3-2-2-5921EX-arrynrob9.fw
looks like standard uboot + kernel + userspace + certs

I know I could request web interface instructions from naf and move on, but I like a challenge and give something back.
Any ideas?
naf
join:2017-12-12
said by lde:

...
k64:$ binwalk ./obi200.bin
...

unless you cut the output to post, your version of binwalk sucks. it missed the 2 uboot image headers and 2 of the squashfs regions.

regardless, the map from firmware file sections to flash locations can be deciphered from the firmware file header, somewhat documented here: »github.com/naf419/obi-fi ··· EADME.md

that and the fact that the firmware file header itself is stored at 0x470000 and checked by uboot for corruption should be enough info to get the job done.
lde
join:2019-08-02
US
Wow. fast reply, thanks for pointers. got to ponder this for a day. debian binwalk may be hosed. will build newer binary from github, same for flashrom. I was staring at »github.com/naf419/obi-fi ··· r/obi2xx earlier today and didn't recognize the layout, will focus harder.
lde
well, I'm sounding like a bigger idiot. binwalk binary = nope. it's python and lots o' dependencies. Built it for another machine in 2016 and forgot how much fun that was, so more tedium.
naf
join:2017-12-12
upon sober reflection, if binwalk misses filesystem headers in the dump, i should have noted that its more likely that the flash dump itself was corrupt, rather than "binwalk sucks" whatever that means
lde
join:2019-08-02
US
yep, corrupt read. "looks reasonable" poor word choice. The w25q128v spi read was done two months ago and vcc turned into an ass pain. Instead of using reset pin on spi, I used reset button on obi200. Normally, flashrom (or operating buspirate manually) spi reading is easy.

Recompiled binwalk with other stuff and checked against a sb6141 modem bin, binwalk works fine. So, somewhere between buspirate, obi200 pcb and spi datasheet is the answer.
ehacker
join:2019-08-05
to naf
user=naf
Hi naf! I thank you for making my Obi110 last years past its normal life!
I hate to be a mooch, but could you send me info on making my vendor locked (vendor now out of business) Obi302 work with GV? I thank you in advance! Do you have a donate site/page?

Thank you,
Eric.

SkOrPn7
join:2006-02-15
Tijeras, NM

3 edits
to Chrushev
About number 6)

When disabling all the Auto provisioning stuff, does this get us away from the ObiHai portal once and for all? Or why disable it at all? Thanks for the clear steps.

EDIT: In the Legacy GV settings mine also shows two instances of the same device, yet when you delete one it ALWAYS comes back. Lol but hey it still works fine.
windpoint
join:2018-06-30
to naf
@naf, thank you for help downgrade my obi200 firmware

I did /var/tmp/param_dump. but there is no information similar to token.
All i can see are some network infos.

Do I miss something?
windpoint
to naf
@naf, thank you for help downgrade firmware of my obi200

I issued /var/tmp/param_dump and see some network information.
there is nowhere i can see tokens. Do I miss something?
douga
join:2019-09-20
Hudsonville, MI
to naf
I have an Obi200 and would love the ability to flash to arrynrob (I'd like to get CNAME info on my phones). My Obi200 has the latest firmware.
naf
join:2017-12-12
to windpoint
said by windpoint:

I issued /var/tmp/param_dump and see some network information.
there is nowhere i can see tokens. Do I miss something?

to see tokens (assuming you have provisioned the obi on obitalk to setup GV first), should now be able to just look for "RefreshToken":

# /var/tmp/param_dump | grep RefreshToken
2ab361e2 05000001: e261b32a (VoiceService.1.VoiceProfile.1.Line.1.X_GApiRefreshToken) = "blam"
2ab361e2 00005001: e261b32a (VoiceService.1.VoiceProfile.1.Line.1.X_GApiRefreshToken) = ""
8be188ae 05000001: ae88e18b (VoiceService.1.VoiceProfile.1.Line.2.X_GApiRefreshToken) = "blam"
8be188ae 00005001: ae88e18b (VoiceService.1.VoiceProfile.1.Line.2.X_GApiRefreshToken) = ""
 
douga
join:2019-09-20
Hudsonville, MI
to Brown
said by Brown:

1) Download and flash the firmware (from Obifirmware.com) onto your Obi.
2) Follow all the steps at Obifirmware.com including generating oAuth2 credentials.
3) Confirm you can make and receive calls.
4) Download your contacts from your Google Voice (GV) account to your computer.
5) Convert them to XML format
6) Use PuTTY to transfer the contacts to your Obi:
pscp -scp -l root -pw obi contacts.xml 192.168.10.1:/scratch

Your password (-pw) will be different unless you haven't changed it.
Your Obi's IP may be different.

So I've completed steps 1-5, but for the life of me I can't figure out how to upload the contacts.xml file to my Obi200. I've tried using PuTTY and bitvise SSH to upload, but the command line above is not working. Once I connect to the Obi in terminal, I try that command and get the following message:

-sh: pscp: not found

Can anyone help elaborate on what else I can do to upload the contacts.xml file to the scratch directory? I'm at a loss and would sure appreciate any help. Thank you.
Brown
join:2018-01-21
The pscp command is run from a Windows PC.
When you install PuTTY it should also install pscp in the same directory in Windows.
I think it puts them in the path but I usually just put the contacts.xml file in the directory with pscp and then run the command shown (from the directory with pscp.)
douga
join:2019-09-20
Hudsonville, MI
said by Brown:

The pscp command is run from a Windows PC.
When you install PuTTY it should also install pscp in the same directory in Windows.
I think it puts them in the path but I usually just put the contacts.xml file in the directory with pscp and then run the command shown (from the directory with pscp.)

Thank you for the reply. I tried everything I could, but just couldn't figure it out using PuTTY. I ended up downloading WINSCP and used it instead. After establishing the connection I could just drag the file to the destination folder on the Obi. Haven't had a chance to test it yet, but it look like it worked.
jebs
join:2018-06-30
North Vancouver, BC
to naf
.
jebs
to naf
.
jebs
to naf
said by naf:
said by windpoint:

I issued /var/tmp/param_dump and see some network information.
there is nowhere i can see tokens. Do I miss something?

to see tokens (assuming you have provisioned the obi on obitalk to setup GV first), should now be able to just look for "RefreshToken":

# /var/tmp/param_dump | grep RefreshToken
2ab361e2 05000001: e261b32a (VoiceService.1.VoiceProfile.1.Line.1.X_GApiRefreshToken) = "blam"
2ab361e2 00005001: e261b32a (VoiceService.1.VoiceProfile.1.Line.1.X_GApiRefreshToken) = ""
8be188ae 05000001: ae88e18b (VoiceService.1.VoiceProfile.1.Line.2.X_GApiRefreshToken) = "blam"
8be188ae 00005001: ae88e18b (VoiceService.1.VoiceProfile.1.Line.2.X_GApiRefreshToken) = ""
 
how about to get the client_id and secret?
Anone11fa
@24.205.87.x
Link-> »How to Install naf Asterisk on Ubuntu for Obi100 and Google Voice
Brown
join:2018-01-21
to naf
@OBi1FW

I would like to see a link to the provisioning page added back to the site> .../OAuth2/

The second page (only) is still very useful. I used the SP1 XML on an Obi1022 phone last night.
Statikk
join:2019-10-03
Clovis, CA
to naf
Hi folks! I'd like to start by thanking all of you for your dedication to these 3rd party firmwares. You kept my obi1xx boxes going for a lot longer than ObiHai did! I haven't had a chance to read through this whole thread yet but I'm working on it so please forgive me if these are easily answered by reading. I was looking into picking up an Obi1062 for my home office and ran across one that is tied to PhonePower.

1) Does the firmware version of this phone matter or can third party firmware be flashed to these regardless of their stock firmware?

2) It seems like these cannot be used with the ObiTalk portal but GVoice will be functional once it is running on the 3rd party firmware. Is that correct?

3) How many GVoice lines can I get going on this? I was hoping for 2.

Thanks for any assistance you can offer!
naf
join:2017-12-12
said by Statikk:

1) Does the firmware version of this phone matter or can third party firmware be flashed to these regardless of their stock firmware?

All known firmware versions can be flashed
said by Statikk:

2) It seems like these cannot be used with the ObiTalk portal but GVoice will be functional once it is running on the 3rd party firmware. Is that correct?

Correct, you will most likely have to configure via the device webgui
said by Statikk:

3) How many GVoice lines can I get going on this? I was hoping for 2.

Up to 6
Statikk
join:2019-10-03
Clovis, CA
Awesome! Thanks for the quick answers! Hopefully I'll have this thing sometime next week and then the flashing fun begins.
pongagt
join:2019-10-08
Buffalo, NY
to naf
I have been having lots of problems with my old OBi200 lately. It has been going right to voice mail and i had problems calling out. I am on 5921 firmware and i would love to try arrynrob. Could you please send me the instructions.
naf
join:2017-12-12
said by pongagt:

I have been having lots of problems with my old OBi200 lately. It has been going right to voice mail and i had problems calling out. I am on 5921 firmware and i would love to try arrynrob. Could you please send me the instructions.

You can try it, but having a shell isn't going to fix any of your issues...

hapollo
join:2007-05-13
WesterOS
to pongagt

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

said by pongagt:

I have been having lots of problems with my old OBi200 lately.

Might want to check your power supply. They have been known to fail/start failing and cause issues.
pongagt
join:2019-10-08
Buffalo, NY
Thanks. I just replaced the oem switching supply with a 1.25 amp analog supply so i will see how how it goes but the custom firmware still sounds great.

hapollo
join:2007-05-13
WesterOS
Report back if it helps.
pongagt
join:2019-10-08
Buffalo, NY
OK
I will have some people call me tomorrow and see if my phone rings.
Statikk
join:2019-10-03
Clovis, CA
to naf
My phone should be in this evening. Where can I find the flashing procedures?

hapollo
join:2007-05-13
WesterOS
said by Statikk:

Where can I find the flashing procedures?

»www.obifirmware.com/
Statikk
join:2019-10-03
Clovis, CA
to naf
OK I have my phone and I've flashed it to 5.1.11 (olisom5b) from obifirmware.com and confirmed that I am able to connect to the phone via SSH. Is there a guide available to assist with configuring Google Voice? If not I guess I can start with page one of this thread and get reading!
naf
join:2017-12-12
said by Statikk:

OK I have my phone and I've flashed it to 5.1.11 (olisom5b) from obifirmware.com and confirmed that I am able to connect to the phone via SSH. Is there a guide available to assist with configuring Google Voice? If not I guess I can start with page one of this thread and get reading!

reading wont help much unfortunately since everything is hush hush now, but ill certainly send you a pm.

SkOrPn7
join:2006-02-15
Tijeras, NM
@naf, could you send me a PM also about how to setup gvoice again. I had bookmarked the instructions but now it says that page doesn't exist. And for some reason I can not make any calls and the Google Voice webpage says something is wrong with my settings. You recently flashed arronrob9 onto my obi200 so I know the device should be good to go. I wonder if Google Voice is down maybe?

Thanks again.
Rod
Brown
join:2018-01-21
My Obi302 cannot register with GV starting this morning.
pongagt
join:2019-10-08
Buffalo, NY
to naf
I found out part of my problem was i had to reset verizon cell phone to forward calls to google voice. My google voice calls were getting forwarded to verizon voice mail when my cell phone was off. I switched to a different cell phone after my samsung S7 had to be sent back due to a swelled battery and needed to reset the verizon call forwarding setting. I had to disable the verizon calls from being forwarded to google voice and then enable it using the commands i found in the google voice settings.

I did have problems making outgoing calls but that could have been a problem with google voice or my Obi200 power supply.

I am looking forward to more years of excellent free service from Obihai and google voice.

SkOrPn7
join:2006-02-15
Tijeras, NM
to Brown
Hmm, yeah same here. Did Google break it on purpose? I can only make and receive calls from my Android tablet and my PC, but not the OBi200.
Brown
join:2018-01-21
The Obitalk site lit up with disconnect inquiries as well but I think all is well now, I'm back up.

SkOrPn7
join:2006-02-15
Tijeras, NM
Not for me. I am still getting a female voice on all attempted calls saying "the number you dialed has not received a response from the service provider" and then the three dial tones that sounds like a disconnected phone number had been called. This repeats over and over.
pongagt
join:2019-10-08
Buffalo, NY
to naf
Mine went down too and now it is back up. Unbelievable. Just when i was looking forward to everything working again.

SkOrPn7
join:2006-02-15
Tijeras, NM
I can still use Google Voice this entire time, it never went down. Its just that the phone attached to the OBi200 is not making or receiving calls, its as if the OBi200 isn't setup. It was working perfectly before today. Now that third green LED on the right hand side is off. Only the left and middle LED on the OBi200 is lit up. I have rebooted the router now twice. Nothing is working. I just used my Mothers phone, one that has called me a thousand times and I have called it a thousand times, but today when she called my number Google voice identified it as a "Unknown Caller" and the GV website didn't even show my mothers phone number. Just says Unknown instead of Mom and Dad how it has always identified it.

Something is wrong with GV today for sure.

I hate using my PC for calls. lol
Brown
join:2018-01-21

1 edit
Mine lost registration again.

Edit: I just checked it and and it's back on.

SkOrPn7
join:2006-02-15
Tijeras, NM
Mine is now working as expected. I can't remember the last time GV went screwy like that. And right after finishing setting up my PC headphones to use with GV.
myce
join:2019-03-13
Germany
to naf
Hi,

in March I set up my 302 for GV with the alternative firmware and a lot of help from this forum. When I tried to use it last week, it didn't work. Checking this thread suggests factory resetting it and setting it up using the obitalk site.
My problem is: I can't add the device to my obitalk account. It always fails with:
Failed to add device: This device is customized for another service provider and cannot be added to your account!
 
Please contact Obihai support if you need further help.
 

Software version is 3.2.2 (Build: 5921EX-arrynrob9)

Any suggestions?
naf
join:2017-12-12
said by myce:

in March I set up my 302 for GV with the alternative firmware and a lot of help from this forum. When I tried to use it last week, it didn't work. Checking this thread suggests factory resetting it and setting it up using the obitalk site.
My problem is: I can't add the device to my obitalk account.

sent you a pm
myce
join:2019-03-13
Germany
said by naf:

sent you a pm

Thank you. Worked like a charm.
Statikk
join:2019-10-03
Clovis, CA
to naf
Is there any method for flashing my OBi200 running 3.2.2 (Build: 5921EX) to OBi2-3-2-2-5921EX-arrynrob9.fw?
Celo
join:2002-02-18
San Diego, CA
to naf
Obi200 cannot be added as new device 3.2.2 (Build: 5921EX)

GV stopped working. I tried to set up again, it was stuck on configuring.

I deleted the device and now I cannot add OBI200 back again.

I can log into the unit from the IP address (admin/admin) but for some reason the unit cannot be added.

No firewall is on. I opened all the ports.

I did have same unsuccessful attempt adding before messing with the ports. There is something not right but cannot figure out.

When I dial **9-222-222-222, I get; "There is no service to complete your call" message.
Celo
to Statikk
Is there any method for flashing my OBi200 running 3.2.2 (Build: 5921EX) to OBi2-3-2-2-5921EX-arrynrob9.fw?

Good question. I was wondering the same as I get the error message when I try to flash.
naf
join:2017-12-12
to Statikk
said by Statikk:

Is there any method for flashing my OBi200 running 3.2.2 (Build: 5921EX) to OBi2-3-2-2-5921EX-arrynrob9.fw?

yes, pm sent.
Celo
join:2002-02-18
San Diego, CA
Please send PM to me as well. Thank you!
naf
join:2017-12-12

1 recommendation

to Celo
said by Celo:

Obi200 cannot be added as new device 3.2.2 (Build: 5921EX)

GV stopped working. I tried to set up again, it was stuck on configuring.

I deleted the device and now I cannot add OBI200 back again.

sounds like the obitalk service is disabled / not working. it must be enabled for comms between your device and the obitalk portal (although it seemingly goes down alot, especially on weekends, in a way that prevents devices from registering)

ill send you a pm about flashing it if you want to just bypass their crap service
Celo
join:2002-02-18
San Diego, CA
YES! please!
utterly
join:2019-10-22
to naf
Naf, if you could PM me the instructions to flash a obi202 (HW 1.4 which came with 3.2.2 Build: 5897EX) to OBi2-3-2-2-5921EX-arrynrob9.fw?

Also, if there are specific instructions you have for setting up GV directly on it, rather than going through obitalk, that would be great, too.

Many thanks in advance.
RNCTX
join:2019-10-24
Allen, TX
to naf
Hey Naf, unfortunately my old account here got disabled due to inactivity, so I couldn't PM you until tomorrow. Can I get instructions as well? I have a 202 model with "3.2.2 (Build: 5921EX)"

I was fine until I started getting "updates" from Obi/Polycom and have had constant dropped calls since, so looking to get rid of their fw, thanks!
naf
join:2017-12-12
to RNCTX

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

said by RNCTX:

I was fine until I started getting "updates" from Obi/Polycom and have had constant dropped calls since, so looking to get rid of their fw, thanks!

pm sent, but note that nothing in any of modded firmwares alters the call reliability in any way as compared to the stock version.
RNCTX
join:2019-10-24
Allen, TX
Thanks, I understand. Even if it doesn't sort out call reliability, I'm not overly trusting of Obihai/Polycom's long-term viability as a company so being tied to their website to operate the device doesn't seem wise.

PM replied to.
RNCTX
And it turns out that opening SIP ports 5060-5061 fixes dropped calls after 2 or 5 mins on Obi202s through a DD-WRT router, if anyone else stumbles on this.

Still, good to be rid of the Obitalk "service"
robartsd
join:2017-12-04
Sacramento, CA
said by RNCTX:

And it turns out that opening SIP ports 5060-5061 fixes dropped calls after 2 or 5 mins on Obi202s through a DD-WRT router, if anyone else stumbles on this.

Still, good to be rid of the Obitalk "service"

Is this with GV or another provider?
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
to RNCTX
If you must port forward, be sure to set your X_UserAgentPort to a random number between 20000 and 65535 for security purposes, and forward that instead. This won't exactly provide security, just make the hackers take longer to find you.

You can also try to double check that your router's UDP timeout is greater than your OBi's Keep Alive interval, and remove your port forwarding, if you are particularly security conscious.
smooth
join:2019-11-01
to naf
Could you please pm me the procedure as well to upgrade my obi200 to the 3rd party firmware? Thanks.
jlowens76
join:2019-11-10
to naf
Could you PM me regarding downgrading my firmware on my obi202, if needed.. Not sure it is as I have root via console access. I just need to know what to do to be able to get the cert + key for use on *
naf
join:2017-12-12
if you already have shelled fw, just use this: »Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods
jlowens76
join:2019-11-10
oh I thought I just needed the param_dump output from the THREE values (client ID, client secret, refresh token)?
jlowens76
to naf
Also which one of the params is the oauth_clientid ?? And which is the secret?

I have the "GApiRefreshToken" - Refresh token, obviously

GApiInitAccessToken (secret??)
GoogleClientInfo ( client id?? )
naf
join:2017-12-12
»Re: How to Install naf Asterisk on Ubuntu for Obi100 and Google Voice
jlowens76
join:2019-11-10
You da' man!!
jlowens76
to naf
GV on * Registered. OBI reassembled and going in the drawer. Can this firmware be installed on other ATA's such as this Cisco SPA122 I have sitting here? Have several of them and they are almost identical. It would be interesting to use to register GV on and dump the keys/params.
naf
join:2017-12-12
said by jlowens76:

Can this firmware be installed on other ATA's such as this Cisco SPA122 I have sitting here?

almost certainly not, but you can always hook up a serial console or jtag/spi dump the flash chip and find out...
jlowens76
join:2019-11-10
Dump the flash chip of the SPA122? I have a serial adapter thats how I got root/console access on the obi. Would be interested in poking around.. Not sure how to dump the flash chip. I cat out the partitions of the obi over netcat to another machine before messing around
jlowens76
to naf
Any idea on this error I am getting?

[2019-11-11 18:12:49] ERROR[1371]: pjproject:0 : sip_msg Header with no vptr encountered!! Current buffer: REGISTER sip:obi***.sip.g*****.com SIP/2.0
naf
join:2017-12-12
said by jlowens76:

Any idea on this error I am getting?

[2019-11-11 18:12:49] ERROR[1371]: pjproject:0 : sip_msg Header with no vptr encountered!! Current buffer: REGISTER sip:obi***.sip.g*****.com SIP/2.0

»github.com/naf419/asterisk/wiki

when i link to an old deprecated wiki, that means you are probably using old deprecated code. consider upgrading to latest release (where no patching is even necessary)
naf
to jlowens76
said by jlowens76:

Dump the flash chip of the SPA122? I have a serial adapter thats how I got root/console access on the obi. Would be interested in poking around.. Not sure how to dump the flash chip. I cat out the partitions of the obi over netcat to another machine before messing around

serial method should probably work similarly on an spa122, assuming it doesn't have a quiet uboot (as obi fw does in recent fw releases).
jlowens76
join:2019-11-10
to naf
[deleted duplicate post]
Shadow01505
join:2019-11-14
Sacramento, CA
to myce
I also have an Obihai 302, I didn't think it was usable on GVSIP. I already have the modified fw installed on it, can I extract the certs from the 302 and use them on my Asterisk like the 200 series?

Or, if 302 certs cannot be used for GVSIP, is there a way to register the 302 to obitalk account?
naf
join:2017-12-12
said by Shadow01505:

I also have an Obihai 302, I didn't think it was usable on GVSIP. I already have the modified fw installed on it, can I extract the certs from the 302 and use them on my Asterisk like the 200 series?

Or, if 302 certs cannot be used for GVSIP, is there a way to register the 302 to obitalk account?

You can use the 302 with modded fw to connect directly to GV, but there's no obitalk portal involved. I'll pm you the details.

(All that asterisk stuff is against GV's terms of service, so, you know, we don't talk about doing that here on this thread...)
smooth
join:2019-11-01
to naf
I understand what you say about call reliability, but does this 3rd party firmware do anything to alleviate the static issue with the call waiting that everyone has been experiencing lately? I love the obi200 paired with google voice, but my wife has really been in my grill about the call waiting static.
naf
join:2017-12-12

1 recommendation

said by smooth:

I understand what you say about call reliability, but does this 3rd party firmware do anything to alleviate the static issue with the call waiting that everyone has been experiencing lately? I love the obi200 paired with google voice, but my wife has really been in my grill about the call waiting static.

the modded firmware is just binary patches to the stock binary to achieve the specific features listed on the obifirmware site. nothing more, nothing less. no magic in there.

if by static you mean that the call is garbage after doing call waiting, that sounds like the codec switching problem that GV's server has always had, but the details of it have been lost to alcohol since i knew more about it.
Anon2594b
@107.77.215.x
Hi Naf, would you be able to tell me how to load your modified FW on my obi202? Thanks
naf
join:2017-12-12
said by Anon2594b :

Hi Naf, would you be able to tell me how to load your modified FW on my obi202? Thanks

Sure, either create an account here and ill pm you, or just email naf@sdf.org
maddawg313
join:2011-04-19
Scarborough, ON
to naf
Hello Naf, would you be able to tell me how to load your modified FW on my obi202? Currently, my OBI202 refuses to connect to GV and I have tried a few different things which was listed on OBItalk. So far nothing, so looking at switching to your modified FW.
naf
join:2017-12-12
said by maddawg313:

Hello Naf, would you be able to tell me how to load your modified FW on my obi202? Currently, my OBI202 refuses to connect to GV and I have tried a few different things which was listed on OBItalk. So far nothing, so looking at switching to your modified FW.

pm sent.
Anone4d36
@66.234.216.x
to naf
Any chance to update firmware OBiPhone-5-1-11-4858EX-olisom5b.fw (mod) on top of running OBiPhone-5-1-11-4983EX.fw?
Can't bypass error: "Firmware package checksum error"
naf
join:2017-12-12

1 edit
said by Anone4d36 :

Any chance to update firmware OBiPhone-5-1-11-4858EX-olisom5b.fw (mod) on top of running OBiPhone-5-1-11-4983EX.fw?
Can't bypass error: "Firmware package checksum error"

yes, chances are very high. i responded to your email, btw.

speaking of OBiPhone-5-1-11-4983EX... apparently this caught me napping as it was released in july 2019.

a quick diff analysis of changes from 4858 to 4983:
- updated busybox (removed telnetd, added /etc/shadow support, maybe more)
- added a non-emtpy root password (although shadow file used incorrectly, ha)
- removed speed test from gui
- added some token authentication settings
- rebranded obihai --> polycom
- something about multiparty bluetooth headset support
- possibly lots of unknown changes in obiapp, i still haven't figured out a good way to diff giant disassembled binaries (maybe i should try ghidra sometime?)
naf
OBiPhone-5-1-11-4983EX-olisom5.fw has been created (diff against »fw.obihai.com/OBiPhone-5 ··· 983EX.fw)

modifications:
same as previous olisom5b, just rebased to 4983: shell, oauth, zt bypass, yada yada

md5sum OBiPhone-5-1-11-4983EX-olisom5.fw = a5bcf3ec69c19ff7a058ca8eef7b88e7

cant post the bsdiff because its too big. its available via pm to anyone bold enough to test it (remember kids, i dont have an obiphone)
shecky
join:2019-11-30
to naf

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

So I've been doing a lot of reading trying to catch up on the current state of things. The drama seems like it hit some sort of all time high earlier this year, but I'm confused to say the least. I have a Obi200 that I'm trying to resurrect GV on, it worked in the past using the arrynrob8.fw and I nuked the config and the access from GV after getting the 403 forbidden response from the obi to try and use obitalk to reset it. Long chain of events later, I have the b9.fw but the obitalk gateway seems to not want to update SP3 with the credentials, settings. Manually altering the fields in the Obi seems to get it most of the way there... obtaining a token error (instead of simply staying "not configured"). I'm guessing it's just not pushing up the needed oauth values to my device. However, it's clearly speaking to the device, as it has no trouble messing up the other two providers. I have since resolved the issue of overwriting my working configs in obitalk, but still cannot get the GV setup to work. The permissions don't even show in Google under the GV configuration tab. I would have assumed those should show up as soon as I took the steps in obitalk.
naf
join:2017-12-12

2 edits

1 recommendation

said by shecky:

So I've been doing a lot of reading trying to catch up on the current state of things. The drama seems like it hit some sort of all time high earlier this year, but I'm confused to say the least. I have a Obi200 that I'm trying to resurrect GV on, it worked in the past using the arrynrob8.fw and I nuked the config and the access from GV after getting the 403 forbidden response from the obi to try and use obitalk to reset it. Long chain of events later, I have the b9.fw but the obitalk gateway seems to not want to update SP3 with the credentials, settings. Manually altering the fields in the Obi seems to get it most of the way there... obtaining a token error (instead of simply staying "not configured"). I'm guessing it's just not pushing up the needed oauth values to my device. However, it's clearly speaking to the device, as it has no trouble messing up the other two providers. I have since resolved the issue of overwriting my working configs in obitalk, but still cannot get the GV setup to work. The permissions don't even show in Google under the GV configuration tab. I would have assumed those should show up as soon as I took the steps in obitalk.

My guess is from your description that you've previously configured the arrynrob device to bypass obitalk by inputting user-specific GV credential in the SPx > AuthPassword field. In the arrynrob mods, that field overrides any obitalk-configured GV auth, and the requirements of that field change earlier this year after the old method started resulting in 403 Forbidden errors [apparently some non-obitalk devices were trying to connect to the GV SIP network ]

So your options with arrynrobX firmware are either to:
1) clear the SPx > AuthPassword field to use obitalk-provisioned GV auth tokens (which cannot be seen/edited in the web gui)
2) bypass obitalk completely by populating the SPx > AuthPassword field, but in a post-march2019 non-publicly-discussed manner (info in your PMs)

Even with stock firmware, there are equivalent obitalk and non-obitalk methods available, but if you're running stock firmware you probably should just use the standard portal method and save the non-publicly-discussed method for people who require it (obi30xs, locked obiphones, etc*) [unless, you know, the obitalk portal is down cause it sucks or its the weekend or whatever]

[edited to clarify various options, since i got a flurry of PMs]
shecky
join:2019-11-30
Thank you for the help and history. I never thought to try clearing the SPx > AuthPassword field seeing as how it had been clobbering other fields just fine, but I suppose it makes some sense that they were a little more careful for that one. Regardless the auto provisioning via obitalk is clunky at best and has a horrid UI with the check boxes for "default" and "ObiTalk" in the expert config.
Brown
join:2018-01-21
to naf
said by naf:

OBiPhone-5-1-11-4983EX-olisom5.fw has been created (diff against »fw.obihai.com/OBiPhone-5 ··· 983EX.fw)

modifications:
same as previous olisom5b, just rebased to 4983: shell, oauth, zt bypass, yada yada

md5sum OBiPhone-5-1-11-4983EX-olisom5.fw = a5bcf3ec69c19ff7a058ca8eef7b88e7

cant post the bsdiff because its too big. its available via pm to anyone bold enough to test it (remember kids, i dont have an obiphone)

There was size anxiety with the old olisom5 »Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods
I remember you removing 'param_dump' because of it to create olisom5b.
Is that a concern?
naf
join:2017-12-12
said by Brown:

There was size anxiety with the old olisom5 »Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods
I remember you removing 'param_dump' because of it to create olisom5b.
Is that a concern?

valid concern, but i didn't try to load a buncha junk in it so the root partition for 4983-olisom5 is actually smaller than 4858-olisom5b:
$ ubireader_display_info _OBiPhone-5-1-11-4858EX-olisom5b.fw/4-body.ubifs | grep leb_cnt
                leb_cnt: 135
                max_leb_cnt: 150
$ ubireader_display_info _OBiPhone-5-1-11-4983EX.fw/4-body.ubifs | grep leb_cnt
                leb_cnt: 134
                max_leb_cnt: 150
 

but, as always, installing new untested firmwares may kill your cat and ruin your device, dont use on anything you arent willing to lose, etc, etc...
tusc
join:2015-01-24
South Elgin, IL
to naf
Hello Naf, would be able to share your doc on configuring an OBI202 to GV with your modified firmware? I'm currently on 3.0.1 and plan to upgrade to your modded firmware. Thanks in advance!
naf
join:2017-12-12
said by tusc:

Hello Naf, would be able to share your doc on configuring an OBI202 to GV with your modified firmware? I'm currently on 3.0.1 and plan to upgrade to your modded firmware. Thanks in advance!

Of course, pm sent.
lde
join:2019-08-02
US
naf, I posted back in august about attempts to read spi (25Q128JVFQ SOIC 300-mil) on obi2xx. Many combinations of spi pins were attempted, VCC (3.3V), board power (12v), HOLD (hi/lo) , WP (hi/lo). Sadly, the mcu (88E7200-LKJ2 Marvell) powers on with VCC and jams flashrom's and raw buspirate comms with spi. I tried multiple methods to hold the mcu in reset to stop it from spi comms, but no luck. Obi2xx Board reset button terminates to mcu pin 71 (128-Pin PQFP). Searched web for 88E7200-LKJ2 datasheet, closest found was Marvell-88E6176-A1, which shows pin 71 as VDDOX (2.5V Supply for the MDC/MDIO, INTn, 125CLK, RESETn, JTAG pin Power). ?

Used the same methods on Obi1xx and spi read correctly, binwalk matched www.obifirmware.com bins, showed partitions etc...

Lastly, my ast*/kamailio/vps has been down since March and obi200 is on 5897, would like some notes on downgrade (no spi flashing for now) and gv config. Also have obi100 (OBi110-1-3-0-2886.fw) and certs if that would work. Thanks.
xhemp
join:2019-12-31
to naf
Greetings!

Apologies if this has been answered before, I have searched the forum for these 2 particular questions and I couldn't find it.
Is it possible to use a Obi 1032 as a trunk in Asterisk to use GV?
If that's the case, is there a maximum particular firmware I need to be at (prior to 4843) to be able to flash it? I ask because of the warning on obifirmware.com
(wont flash from stock 5853+ due to x509 signature check in stock upgrade. you were warned...) ?

Many thanks!
Ricephone
join:2019-12-29
to naf
Hey Naf, could you also send a copy my way?
Thanks!
naf
join:2017-12-12
to lde
said by lde:

naf, I posted back in august about attempts to read spi (25Q128JVFQ SOIC 300-mil) on obi2xx. Many combinations of spi pins were attempted, VCC (3.3V), board power (12v), HOLD (hi/lo) , WP (hi/lo). Sadly, the mcu (88E7200-LKJ2 Marvell) powers on with VCC and jams flashrom's and raw buspirate comms with spi. I tried multiple methods to hold the mcu in reset to stop it from spi comms, but no luck. Obi2xx Board reset button terminates to mcu pin 71 (128-Pin PQFP). Searched web for 88E7200-LKJ2 datasheet, closest found was Marvell-88E6176-A1, which shows pin 71 as VDDOX (2.5V Supply for the MDC/MDIO, INTn, 125CLK, RESETn, JTAG pin Power). ?

Used the same methods on Obi1xx and spi read correctly, binwalk matched www.obifirmware.com bins, showed partitions etc...

Lastly, my ast*/kamailio/vps has been down since March and obi200 is on 5897, would like some notes on downgrade (no spi flashing for now) and gv config. Also have obi100 (OBi110-1-3-0-2886.fw) and certs if that would work. Thanks.

Interesting. I've only even attempted spi access on the obi202 but was stymied by the smaller pitch on the flash chip in that layout (and my fat fingers). I confidently eyeballed the obi200's 300mil SOIC and assumed it would be trivial and never even tried.

When time permits I'll try to recreate your attempt and confirm the spi difficulties.

And given that the 5897+ firmware removed the noisy bootloader and serial terminal IIRC, I believe serial access is of no use to you either.

Luckily the software security is shit compared to the hardware, so you can always do it the easy way. ill send you a pm
naf
to xhemp
said by xhemp:

Is it possible to use a Obi 1032 as a trunk in Asterisk to use GV?
If that's the case, is there a maximum particular firmware I need to be at (prior to 4843) to be able to flash it? I ask because of the warning on obifirmware.com
(wont flash from stock 5853+ due to x509 signature check in stock upgrade. you were warned...) ?

If the obi1032 can perform GV functionality with stock fw, yes [I assume someone smarter than me knows how] it can be configured to relay GV for asterisk, but this wouldn't require modded fw.

If the obi1032 cannot perform GV functionality now, modded firmware can help with that. Just flash directly from 4843. The note really just means if you happen to already have stock 5853+, you would need to bypass the cert check (which I have been performing on a as-needed basis for anyone that asks)
xhemp
join:2019-12-31
Hi naf,

Many thanks for the answers, it's much appreciated and helpful. I bought a 1032 and I'm waiting for it to arrive, don't know which firmware comes with but will get back here as soon as I get it.
xhemp

1 recommendation

to naf
said by naf:

If the obi1032 can perform GV functionality with stock fw, yes [I assume someone smarter than me knows how] it can be configured to relay GV for asterisk, but this wouldn't require modded fw.

If the obi1032 cannot perform GV functionality now, modded firmware can help with that. Just flash directly from 4843. The note really just means if you happen to already have stock 5853+, you would need to bypass the cert check (which I have been performing on a as-needed basis for anyone that asks)

Managed to get hold of the Obi1032 and managed to update to the modded fw, it's all working as it should. Thanks again!
Jym
join:2020-01-15
to naf
I picked up a Obi302 at a yard sale, it appears to be "locked" to provider.
Obi/Poly says this device can NOT be used with GV (Google Voice).

HardwareVersion 1.4
SoftwareVersion 3.2.2 (Build: 5921EX)

I came across »www.obifirmware.com/ which lead me here.
I've tried to read thru the posts but got a bit overwhelmed.

Is it actually possible to get GV working reliably on a Obi302?

If so, is there a good a "how to" or where to begin step-by-step?

What to backup (if applicable) before mucking with anything?
What certs/settings to keep/change?
Which FW?
etc.

Thanks =)
naf
join:2017-12-12
said by Jym:

I picked up a Obi302 at a yard sale, it appears to be "locked" to provider.
Obi/Poly says this device can NOT be used with GV (Google Voice).

When Obi/Poly says the obi30x cannot be used with GV, they mean that they have written firmware which intentionally cripples the device (which has same HW as the obi20x) to not support that service.

So, you just need modded firmware to remove the artificial limitations they put in place.

Installing it is non-trivial because they also attempted to limit your ability to install your desired fw, but I'll pm you details of how to get it installed and configure GV.
naf

1 edit
said by Jym:

Since the 3xx and 2xx are the same HW, Would flashing the 302 with 3rd party FW, blow enough of it away to flash it with 2xx fw?

They share the same FW as well. The firmware just reads an area of flash that is set in the factory identifying the device as a 30x or 20x, and uses that info later in branch logic when deciding to allow GV or not (among other things). The modded fw patches the branch out to allow GV for any device.

Unfortunately recent firmware revisions restrict the gui firmware update mechanism to only allow firmware updates that have been cryptographically signed by obi itself.

So to get the modded firmware on the device, you have some different possible options:
- physically access the flash chip and program via spi (and i haven't heard of anyone actually doing this successfully yet. did lde See Profile have some updates on this for us?)
- intentionally interrupt a flash cycle between two stock firmware versions in order to access recovery mode (somewhat dangerous, but verified as possible)
- use a sw exploit to attack the stock firmware to bypass the upload restriction (these exist, but i haven't released any)
Anon6d610
@71.239.61.x
I'm in the same boat. My OBI is locked by AT&T and I cannot clear it
Jym
join:2020-01-15
to naf
said by naf:

(these exist, but i haven't released any)

1) Any chance they might be released sooner than later?

2) Is »www.obifirmware.com/ your baby by chance?
naf
join:2017-12-12
said by Jym:
said by naf:

(these exist, but i haven't released any)

1) Any chance they might be released sooner than later?

2) Is »www.obifirmware.com/ your baby by chance?
No and No
naf

1 edit

1 recommendation

said by naf:
said by waldo22:

Since Google Voice no longer works on the Obi508
4.0.5 (Build: 5903EX)

The 50x fw implemented the oauth2 and SIP extensions required by GVSIP to work with GV, except that the implementation missed specifying the TLS hostname for the connection
...
I made a proof-of-concept patch to add the hostname to the binary which ssyspro See Profile reported as working, but it appears I didn't release a full modded fw that included the patch yet - apparantely worried that no-one would be able to flash to it.
...
Give me a couple days to check if I can find a workaround for the 5903 firmware upgrade pki signature check and let me get back to you. Look for an update over in the mod firmware thread.
No update on finding a simple bypass to the signed firmware checks on obi50x fw's >= 5872, however...

You can fix 50x GV functionality with stock firmware by simply proxying the SIP tls connection from the 50x to obihai.telephony.goog with something that actually implements SNI properly.

For example, to use stunnel to proxy the connection, run a stunnel server locally with a config similar to this:
[gv-relay-tcp]
client = yes
verify = 0
accept = 5060
connect = obihai.telephony.goog:5061
sni = obihai.telephony.goog
cert = /path/to/obi-signed/client.crt
key = /path/to/obi-signed/client.key
 

and change the obi50x's ITSP Profile > SIP parameters to:
OutboundProxy = <local host where stunnel is running>
OutboundProxyPort = 5060
X_OutboundProxyTransport = TCP

Since you can't extract the client certs from your obi50x without modded fw, you may use the one I offered up here: »Re: Asterisk Google Voice SIP testing and technical discussion
Anon44123
@51.174.98.x
to naf
Hhi Naf, I also have an obi 302 from my provider which bought up our old, super nice company. . figures. the original one gave me the actual admin password so I could lock it down, securiuty wise on my networks (including the company themselves), and eveyrone was happy. They had so good prices though, one of the 'big actors' , bought htem out, and was forced to move to them. No possiblity for acting and locking down this obi thing. so for 2 years it' been insecure here. AM moving on, so now have it as a 'bricked/branded' unit, and am wondering how I could bypass the cert to reset and posssibl use it (instead of an even older, more insecure cisco spa 122).

I haven't moved yet, we are in the process of doing it, (as just checking some feedback on new rules on number porting here).

I can be reached by replying I think, but else, shout out, and I can sign up if necessary. Thanks on beforehand.

Miller.
Stewart
join:2005-07-13
said by Anon44123 :

AM moving on, so now have it as a 'bricked/branded' unit, and am wondering how I could bypass the cert to reset and posssibl use it (instead of an even older, more insecure cisco spa 122).

Assuming that you have a suitable firewall to keep outsiders from accessing the ATA, IMO the Cisco is more secure than the OBi, i.e. I trust Cisco to not 'phone home' if auto provisioning and upgrade are disabled, but I'm not confident about the OBi.

However, I don't believe that locking of the OBi has anything to do with certificates. Have you tried resetting it to factory defaults? With the device disconnected from the internet, reset it with the physical button: »www.obitalk.com/info/faq ··· ry-Reset . Then, still with no internet access (but allowing it to get an IP address via DHCP) can you log into the device? If so, try disabling all provisioning, upgrades and OBiTALK service, save the config, confirm that it sticks, connect to the internet, confirm that it still sticks and then configure for your application.
naf
join:2017-12-12
to Anon44123
said by Stewart:
said by Anon44123 :

... I also have an obi 302 ... 'bricked/branded' unit, and am wondering how I could bypass the cert to reset and posssibl use it

... I don't believe that locking of the OBi has anything to do with certificates...
Regarding certificates, it does indirectly. The 30x units have an additional 'phone home' mechanism compared to the 20x equivalents called 'zero touch configuration' that providers can use to set (and lock) any configuration setting, including admin password. These zero-touch settings do survive a reset (well technically they are re-downloaded following a reset) by the stock firmware. The solutions is in the modded firmware, which does not re-download these settings and has a tool to clear the existing settings. But recent stock firmwares (attempt to) prevent users from flashing modded firmware by only allowing fw signed with obi's certificate.

Yes, bypassing the cert check is possible.. Either register here and pm me or email naf@sdf.org for info.
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net

1 recommendation

to Stewart
said by Stewart:

I trust Cisco to not 'phone home' if auto provisioning and upgrade are disabled, but I'm not confident about the OBi.

You missed two settings necessary for the OBi to do what you want on a 1xx and 2xx. The correct settings are:

System Management >> Auto Provisioning:
Auto Firmware Update >> Method: Disabled
ITSP Provisioning >> Method: Disabled
OBiTalk Provisioning >> Method: Disabled
Voice Services >> OBiTALK Service:
Enable: (Unchecked)
Additionally, if you wish to prevent the user from re-enabling it,

Physical Interfaces >> PHONE Port:
DigitMap: (add !**5S0| as the first sequence of the DigitMap)
OzarkEdge
join:2014-02-23
USA
·voip.ms

1 recommendation

said by Mango:

Physical Interfaces >> PHONE Port:

DigitMap: (add !**5S0| as the first sequence of the DigitMap)
FWIW, OBi digit maps are not ordered, so the rule |!**5| can be placed wherever you want.

OE
Anon44123
@51.174.98.x
to naf
Heya, ye , the fw can't be bypassed, it will only reset to the custom ISP fw as naf is saying.

Anyway Naf, cheers, I pinged you an email mate.

Kind regards,

M.
Anon44123
to Stewart
Cheers, stewart. Well, I haven't started yet no. I did reset it at the time it came, and I wiresharked the incoming provisioing file, albeit it encrypted. I don't know where it is right now, as it's been a while and rebuilt some systems.

But, iirc, it had some way of blocking the full reset to factory (i.e. since it's custom firmware it wouldn't allow to be a normal unbranded item).
As I say, I forgot when I delved into it, but I know I couldn't get into it, when it first arrived.

Regarding calling home, I don't quite think Cisco would be any more reliable but ok, whilst unbranded, I wouldn't know about the obi.

Overall though, I agree, on that statement, but I disagree on the security wise. Even locked down properly, a Cisco spa122 you wouldn't want around _anywhere_ someone could easily access at least. Network wise I still won't allow it in tigher rings (both that and/or the obi would be placed in very 'peripheral edge cases' where there is no other network activity but them). Quite literally just functioning as singular "phone lines".

I will try resetting soon, when I have ported services so will get back to you on this, but I am fairly sure, I am going to need to circumvent even the reset.
naf
join:2017-12-12
to Anon44123
said by Anon44123 :

Heya, ye , the fw can't be bypassed, it will only reset to the custom ISP fw as naf is saying.

I hope anon comes back with more technical details when he gets his porting squared away. Setup sounds interesting. He mentioned tr-069, which ive only seen used on the obi for google fiber. And 'custom ISP fw', which I assume just means the stock firmware in zero-touch config mode. Perhaps we need to create a new hack to exit the locked-down 'waiting on zero touch configuration download from internet' mode...
haze420
join:2020-02-14
to naf
Is there a way to flash the OBi200 running 3.2.2 (Build: 5898EX) to OBi2-3-2-2-5921EX-arrynrob9.fw?
naf
join:2017-12-12
to haze420

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

said by haze420:

Is there a way to flash the OBi200 running 3.2.2 (Build: 5898EX) to OBi2-3-2-2-5921EX-arrynrob9.fw?

yes, check your PMs.
Doubletalk
join:2020-02-15
I stupidly updated my 1062 to the 5-1-11-4983 and the bluetooth is broken connecting to my Plantronics 745, I cannot find 4858 firmware anywhere to flash back, I see there is a custom olsen 4858 but cannot flash due to x509. Any help or links to help me get back to the previous code would be wonderful. Thank you.
naf
join:2017-12-12
said by Doubletalk:

I stupidly updated my 1062 to the 5-1-11-4983 and the bluetooth is broken connecting to my Plantronics 745, I cannot find 4858 firmware anywhere to flash back, I see there is a custom olsen 4858 but cannot flash due to x509. Any help or links to help me get back to the previous code would be wonderful. Thank you.

Stock 4858: »drive.google.com/open?id ··· rR-TPWdz
Doubletalk
join:2020-02-15
THANK YOU!!! THANK YOU!! I have spent over 8 hours trying to find this firmware and troubleshoot, I applied the firmware and my headset connects now. Bless you my friend.
Doubletalk
Be warned anyone who upgrades to 5-1-11-4983, your plantronics 745-m will connect bluetooth but no audio either way. So basically two products that are now Poly don't work with each other. I will try to notify their support folks on Obitalk, but this firmware has been out since July 2019, I cannot believe it breaks bluetooth like that.
kehi66
join:2014-09-05
to naf
As of yesterday my Obi200 will not receive calls on GV with OBi2-3-2-2-5921EX-arrynrob9.fw. I can still make calls out (at least for now). Box has been up and running fine since March 2019 with your config from back then. What did I miss recently? What should I try in an attempt to resolve issue? TIA

jsolo1
Premium Member
join:2001-07-01
PRIL
I'm still on 3.2.2 (Build: 5859EX-arrynrob7). Inbound direct from GV (not callcentric) still works.
naf
join:2017-12-12
said by naf:
said by Anon44123 :

Heya, ye , the fw can't be bypassed, it will only reset to the custom ISP fw as naf is saying.

I hope anon comes back with more technical details when he gets his porting squared away. Setup sounds interesting. He mentioned tr-069, which ive only seen used on the obi for google fiber. And 'custom ISP fw', which I assume just means the stock firmware in zero-touch config mode. Perhaps we need to create a new hack to exit the locked-down 'waiting on zero touch configuration download from internet' mode...
The anon dropped me a few notes recently, but none of them has any technical info.

I did look into the zerotouch config some more, for the cases where the provider actually uses it to lock the user out of the webgui. It appears that shouldn't be a problem: when it accesses the zero-touch config at »prov.obitalk.com/obhsnpr ··· touch/zt we should be able to MITM that connection to atleast view the encrypted config. won't matter if the obi rejects the MITM'd connection or not, we just need it to use its client certificate to get the right config. with the client certificate and encrypted config, decrypting is trivial (obi's usual random combinations of MD5/RC4/AES128). should either have the webgui password right there or just another ConfigURL to follow and decrypt as well.

but all is conceptual until we have a willing guinea pig...
Anon7145d
@51.174.98.x
Hey, ye thats me.. I was replying in email that YOU were the one who asked for emaling you because YOu were the one not wanting to divulge your info in posts :d

Anyway, sure, I didn't have time for this but since you looiekd into it and I see in the post, you seem to be on the right way, after all (we will need to mitm the provisioning). although I AM NOT SURE if they still send it, since we no logner are on the service If not, I would have to see if I could find my old one , I captured back when I got it years ago.. Of course, by then they might have changed many parameters, firmware, passwords, whatever :/

Anyway, I will give you the mac,serial and all in mail. Sorry mate , I know I reachecx out again, I just thought I said a fortnight so I keep my word, but ye, didn't expect all the other work I have been commissioned, making this a bit ugh.
wellwtf
join:2020-03-16

1 edit
Well this is me , the anon with the pretty face and body.

Well, with serial , I have 'root' actually, sure the web stuff is RO, and the auto admin stuff are hashed values.. and look like the hash is a mapping to probably such aforementioned zeroconfig by the obitalk thing for provisioners.. meaning, obihai still have 'stock' as you said.

At least that's what I can make out. I Dont't really have much time for this silly thing right now, but once I have a root shell, it's kinda like saying don't have a shag, when 'interesting private bit is naked right in front of one's own naked private bit and said private bit in front is attached to highly fancied specimen'. It just is... hard to not go for it, regardless of time and potential consequences.

seems I could maybe do a manual transfer via tftp 192.168.15.* , asking for bootrom.bin, would that only be a subset or maybe I can use 'firefoxAV' to upload your .fw?

I couldn't figure out how to see the fw version, but calling the ***01# gave me : 3.1.1.5589
naf
join:2017-12-12
said by wellwtf:

Well this is me , the anon with the pretty face and body.

Well, with serial , I have 'root' actually, sure the web stuff is RO, and the auto admin stuff are hashed values.. and look like the hash is a mapping to probably such aforementioned zeroconfig by the obitalk thing for provisioners.. meaning, obihai still have 'stock' as you said.

At least that's what I can make out. I Dont't really have much time for this silly thing right now, but once I have a root shell, it's kinda like saying don't have a shag, when 'interesting private bit is naked right in front of one's own naked private bit and said private bit in front is attached to highly fancied specimen'. It just is... hard to not go for it, regardless of time and potential consequences.

seems I could maybe do a manual transfer via tftp 192.168.15.* , asking for bootrom.bin, would that only be a subset or maybe I can use 'firefoxAV' to upload your .fw?

I couldn't figure out how to see the fw version, but calling the ***01# gave me : 3.1.1.5589

nice. i would recommend:
- backup the whole flash (/dev/mtd6) to usb and save off device
- use param_dump to see the webgui admin password set by the provider: »Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods
- use the webgui to upgrade to a modded fw from obifirmware.com
- use the clear_zt_params tool in the modded fw to get rid of the vendor-locked settings

would be nice if you would post the vendor-specified settings (the last param_dump section) so we can mock them
wellwtf
join:2020-03-16
FInally am in, forgot apparently passy.. I meant here Anyway , thanks naf! It's those kinda things I had in mind. I dl the param thing, but when i unzipped it I got a full 'fw', 21MB.. my scratch which is the only rw partition is 768k, but only now did I see the USB hehe.. I will try later to see if I can mount/access it indeed. shouldn't be an issue with the root.

and of course , I am happy to provide what I can of the info, but just bare a bit with me, regarding this time thing.. ,p I'lll get around to this. I have to redo my DIY cut staples into my wiring + the serial holes on the board ridiculous to be honest.

Anyway, when I unzipped a 2nd time onto a usb, ONLY the param indeed unzipped.. this actually is a bit weird, never seen that before on my system. (Granted, I almost never use zip, some legacy OS unpacker or something).

I tried a quick nc server to try some stuff but either I forgot the port option or it's hardcoded to spe ific port (it is hardcoded to specific ip mask , e.g. 0.0.something.something).

Right. will give you an update as I get going.

PS. on the firmware site it says, it isn't "associated" with the devs, aka you .. other name? you guys do this stuff on github or similar like we do in the foss world or is it more 'our own work, keeping it kinda private' kinda thing.

which is fair enough, just usually prefer auditing anything else I won't allow it on certain networks etc.
naf
join:2017-12-12
said by wellwtf:

...
you guys do this stuff on github or similar like we do in the foss world or is it more 'our own work, keeping it kinda private' kinda thing.

»github.com/naf419/obi-fi ··· re-tools
egrieg
join:2020-03-17
Hey naf- would love some help getting my OBi1032 up and running with google voice. I originally bought it off ebay and not knowing enough about it, found it was previously provisioned and 'locked' from an OBi standpoint and couldn't configure with stock firmware.

I then stumbled across obifirmware.com, upgraded the firmware to 4858EX.1311-olisom5b and at the time used the Obi ATA Manual Config via »www.obifirmware.com/OAuth2/ however, at some point this all stopped working...it appears that was somewhat covered in here, but not quite clear what next steps I should be taking to get everything working again (if possible)...let me know if you would prefer a pm, email etc.

Thanks!
naf
join:2017-12-12

1 recommendation

said by egrieg:

...at some point this all stopped working...

'at some point' was a year ago. youve been nappin on it.

sent you a pm though.
wellwtf
join:2020-03-16
what.. no it hasnt been a year since I decided to port, surely? :/ must be someone else. I think I mentioned this some weeks ago when I started th eporting thing. Anyway, sent email, thanks naf, param was a treat! and AWESOME , abut the github link.. just no searches turned anything up
egrieg
join:2020-03-17
to naf
Hah! Thanks naf- looking through it. No doubt it's been a pretty low priority- wasn't until I and the rest of the country have started self isolating that getting it up and working again became a little more pressing
naf
join:2017-12-12
said by egrieg:

do you know anything about the Bluetooth dongles for a 1032? Do you know if only the official obi one will work, or if other generic ones might?

An unofficial one might work in the unlikely case that it shares the same hw ids, but probably not. I haven't seen any report of a dongle other than the official one that does work.

I did look into the concept of compiling generic linux drivers on the kernel in the obi20x firmware in an effort to support any usb device that linux supports, but I got only far enough to claim that there is some kernel patch applied that changes the device driver interface structure, so without knowing what that patch changes I couldn't compile working drivers against that kernel. (and having to reverse engineer GPL-source binaries made me feel bad on the inside)
egrieg
join:2020-03-17
Thanks naf!
egrieg
More good questions....so when I first got the phone it was off ebay and registered elsewhere which is what pushed me down the custom FW + manual config path.

I just checked the obi site and I was able to add the phone and it looks like somehow all that prior registration rolled off.

Would/could/should I be able to just use the Obi portal if my main intent is GVoice config etc? What would be the impact ramifications? I haven't done anything yet as I know that configuring GV via their portal will I'm sure break everything else I just setup (thanks again Naf!)

What prompted this was trying to see how to import my google contacts and such
naf
join:2017-12-12
GV contact import can also be accomplished without obitalk by creating /scratch/contacts.xml (see »www.obifirmware.com/contacts/ for format)

A few minor ramifications of using the portal with the modded fw:
- it might upgrade you to a new stock firmware (but all known versions can be re-modded)
- GV SPs will still use the AuthPassword field for GV auth unless you clear it (nothing unusual - you generally cant mix manual config with obitalk config - even stock firmware should reset before adding to portal to prevent conflicts)
paperclip
join:2018-09-01
:
to naf
My obi200 has been working flawlessly using 5921EX-arrynrob9. I haven't changed anything but today all incoming calls are acting weird. When I pick up the call, it immediately disconnects. But on the caller's side, it keeps ringing until GV's voicemail picks up. Help please?

brg
Premium Member
join:2001-01-03
Chicago, IL
Also running 3.2.2 (Build: 5921EX-arrynrob9) on my Obi200. Experiencing no problems today...
zapattack
join:2012-07-02
CANADA
to paperclip
Known issue on OBi forums,
no resolution yet,
paperclip
join:2018-09-01
:
I see, thank you. I noticed that if I pick up after 3 rings, the call would not disconnect.
donatom
join:2018-11-12
Ventura, CA
to naf
Thanks again, naf. You helped me get my GV functioning again on Obi100, and it is still working flawlessly.
Idn2
join:2020-04-03
Toledo, OH
to hapollo
THANK you, obi200 kept going offline and the light would go red then 2 green back to red, the connected indicator on the site would just spin, would connect after several tries but lose it shortly. Thought obi was defective, read your post, tested ps, 11.96 volts, must not be enough, replaced it with one that had 12.04 volts, now have solid connection, Thanks.
Idn2

1 edit
to naf
Hello naf, wondered if I can flash your firmware on obi200, currently 3.2.2 5921 ex, I'm a bit technologically challenged is it tricky? Thanks.
naf
join:2017-12-12

1 edit
said by Idn2:

Hello naf, wondered if I can flash your firmware on obi200, currently 3.2.2 5921 ex, I'm a bit technologically challenged is it tricky? Thanks.

Not sure what someone technologically challenged is going to do with an ash shell on an ata, but i sent you a pm nonetheless.

EDIT: this reads about 3x more snarky than it needed to be. apologies to Idn2
Idn2
join:2020-04-03
Toledo, OH

2 edits
my error.
toner7
join:2020-04-03
to naf

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

I have an OBI200 running firmware 3.2.2 (Build: 5921EX). Can i flash to OBi2-3-2-2-5921EX-arrynrob9.fw?
naf
join:2017-12-12
said by toner7:

I have an OBI200 running firmware 3.2.2 (Build: 5921EX). Can i flash to OBi2-3-2-2-5921EX-arrynrob9.fw?

probably. pm sent.
drak0
join:2009-05-16
to naf
@naf - I just purchased a OBi1022. Can I get the instructions too? I'm not sure which firmware it will come with.
naf
join:2017-12-12
said by drak0:

@naf - I just purchased a OBi1022. Can I get the instructions too? I'm not sure which firmware it will come with.

Haven't seen one that can't be modded yet. pm sent.
naf
Did a quick look-see for poly updates to these old obi devices.
I haven't had time/desire/test device to check on so all this could be wrong, but it looks like:

phones:
- the vvx 150/250/350/450 obi edition use the same application sw as the old obi phones, but the firmware format is a different 'sip.ld' style one
- sip.ld contains just a tar.xz rootfs and a kernel uimage, with some signed headers
- a quick check looks like the firmware for the 2/3/450 probably checks that signature, but the 150 firmware does not? (no SigMax symbol in 150 firmware, maybe it only checks in auto-update mode?)
- no bootloader included in the updates, so unknown if bootloader checks validity as well

atas:
- poly only acknowledges software for the 30x-style ata, which it has released newer fw revs for up to 3.2.3 (Build: 6768)
- like the obi 30x's, they claim these don't support GV, but the firmware is the same...
- the 20x series are still supposed to be supported by the old obi-originated 5921?
- strange since poly actually provides changelogs, seems like some of those bugs would apply equally to 20x's

rackmount atas:
- still the crappy 50x 5980 with the broken GV SNI

If anybody has any info on these, let me know.
BZL
join:2020-04-17
to naf
Hi naf, could you please send the current non obitalk GV method my way? Thanks!
sam61n2
join:2009-01-20
2203
to naf
Hi naf, I have an Obi302, can you send the method for getting GV to work on this device, with your fw on it. Thanks.
naf
join:2017-12-12
PMs sent to BZL and sam61n2...
ar42
join:2020-04-24
New York, NY
to naf
Hello, I have a non ObiTalk version of Obi1032 phone. Is it possible to get Google Voice working on this phone? If so, can you please forward me the instructions?
naf
join:2017-12-12

1 recommendation

done
ar42
join:2020-04-24
New York, NY

1 edit
@naf
Thanks naf, Can you please forward me the instructions for flashing OBiPhone-5-1-11-4858EX-olisom5b.fw as well?
Prem
join:2020-05-01
Big Lake, TX
to naf
Hi, I have a non ObiTalk version of Obi1022PA (PhonePower) phone. Is it possible to get Google Voice working on this phone? If so, can you please forward me the custom firmware and the flashing instructions? Many thanks in advance.
naf
join:2017-12-12
said by Prem:

Hi, I have a non ObiTalk version of Obi1022PA (PhonePower) phone. Is it possible to get Google Voice working on this phone? If so, can you please forward me the custom firmware and the flashing instructions? Many thanks in advance.

I would think so. See pm.
ar42
join:2020-04-24
New York, NY
to naf
Thanks naf. It's a 1032 running 5.0.8. Is it possible to install custom firmware in it?
naf
join:2017-12-12
said by ar42:

Thanks naf. It's a 1032 running 5.0.8. Is it possible to install custom firmware in it?

my notes say that fw revs before 5-1-11-4858 don't require a signed-firmware bypass, so you should be able just flash the file located at obifirmware.com via webgui...
ar42
join:2020-04-24
New York, NY
Thank for the confirmation. Testing it now.
ar42

2 recommendations

I can confirm that I was able to update 1032 from 5.0.8 to OBiPhone-5-1-11-4858EX-olisom5b.fw without any issues.
Prem
join:2020-05-01
Big Lake, TX
to naf
Hi naf,

Can you please check your PMs? I hope I'm not bothering you too much. Thank you.

Prem
paperclip
join:2018-09-01
:
to naf
How is everyone dealing with robocallers/telemarketers here?

I've been using X_InboundCallRoute sucessfully until recently I get about 5 calls each day. These recent calls almost always have a number with less than 10 digits, and caller name always begins with letter V followed by seemingly random 19 digit number.

I tried adding numbers with less than 10 digits to X_InboundCallRoute, but it's not working...
Anonf4d42
@216.169.132.x
to naf
Hi, naf I need the intructions to setup GV in my OBI200 running firmware 3.2.2 (Build: 5921EX).
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net

1 edit
I suggest you sign up for an account here so he can PM you.

Edit: Whoops, I'm out of touch apparently.
fdw
join:2020-05-07
Miami Beach, FL
Ready account create, please send me the setup for OBi200 and GV.
naf
join:2017-12-12

1 recommendation

gonna suck when i pm him a link to the obitalk portal
Cam_
join:2013-05-15

1 edit
to naf
naf, I have an OBi202 that is currently running stock firmware 3.2.2 (Build: 5921EX). Last night it stated acting really flaky, the green power light was flashing on and off and it was not providing any power at all to the connected phones. If I power cycle it, it will sometimes come back up for a time, but generally not for long. I tried a factory reset, I tried swapping out the power supply and network cable, and nothing seems to help other than power cycling it, which sometimes works and sometimes doesn't. I have two GV accounts that it normally connects to, and I am wondering if I have any alternatives (I do have RonR's build of FreePBX and Asterisk running on a Raspberry Pi, if that makes any difference). I also have an older OBi110, but it also is only running the stock firmware so I'm guessing it would not be at all useful. I guess my question is, do you think the modded firmware might make this 202 work reliably again? Up until last night it was rock solid reliable, now it seems like if I breathe on it it goes to the power LED flashing/no voltage to the phones mode. Even just trying to change it to use a static IP made it go out and not come back, so I am not sure what to make of the situation.

(Edit several hours later) After messing with it all day I got it working again, but it's not really right. For example, if I make a change to the configuration and it reboots, it almost always comes back to the flashing power LED, and the only way out seems to be to unplug it from the power, let it sit for a few minutes, and then plug it back in. Then maybe it will come back up after a couple more minutes, or maybe it won't, in which case all you can do is try again. At least now though, it seems that once it finally does come up it tends to stay up. So doing a factory reset must have helped a little, but honestly this is one of the weirder problems I have seen with a VoIP device, and I'm not entirely confident it will continue to operate with any degree of reliability.

aa2k
join:2000-10-06
Damascus, MD
to naf
Hi naf,

I have been reading the posts but I think I am so confused where to start.. I have a Obi202 with GV and Anveo, now I want to add CallCentric to test and get rid of Anveo eventually, my device info is:
HardwareVersion 1.3 help
SoftwareVersion 3.2.2 (Build: 5898EX)

I want to be free of Obitalk site.. and interested on how to do it. I don't really like they are taking over the Obi unit and upgrading firmware without me knowing.. it seems like they have a backdoor (name changed to Polycom now)...

Is it possible to upgrade to "OBi2-3-2-2-5921EX-arrynrob9.fw" firmware? could you supply some instructions about it? I'd really appreciate it.

Question, do I need to re-provisioned GV and Anveo SIP information after the upgrade or I can keep a copy of config and restore it back, if so what information I need to keep from the GUI before I flash it?
and if whatever reason is it possible to go back to stock firmware?

Thanks!.. I am new at this but willing to give it a try..

Thank you in advance for your time..
naf
join:2017-12-12
You can live free of the obitalk portal with the stock firmware if desired. Ill pm you about the mod fw.

aa2k
join:2000-10-06
Damascus, MD
said by naf:

You can live free of the obitalk portal with the stock firmware if desired. Ill pm you about the mod fw.

Got it! thanks so much.. I will give it a try and see how it goes!!
davidm00
join:2000-08-19
Philadelphia, PA
to naf
said by naf:

You can live free of the obitalk portal with the stock firmware if desired.

Hi Naf. I hv Obi200 installed with 3.2.2 (Build: 5921EX-arrynrob9) a while back. Its still working but I see there is now a newer version which bypasses Obitalk completely. Can you pls PM instructions to update my Obi? Thanks much.
naf
join:2017-12-12
said by davidm00:
said by naf:

You can live free of the obitalk portal with the stock firmware if desired.

Hi Naf. I hv Obi200 installed with 3.2.2 (Build: 5921EX-arrynrob9) a while back. Its still working but I see there is now a newer version which bypasses Obitalk completely. Can you pls PM instructions to update my Obi? Thanks much.
as far as i know, nothing ever kept anyone tied to obitalk portal after performing an initial configuration with it. just disable it. (i certainly dont understand the question)
OBi1FW
join:2017-12-27
Vienna, VA
I think the website needs updated.

1) Must use OBiTALK Portal to configure Google Voice on all devices? Cannot configure Google Voice without portal now?

2) Vendor-locked devices including OBi302 can unlocked with your firmware, and then configure for Google Voice with OBiTALK Portal?

Thanks.
davidm00
join:2000-08-19
Philadelphia, PA
to naf

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

said by naf:
said by davidm00:
said by naf:

You can live free of the obitalk portal with the stock firmware if desired.

Hi Naf. I hv Obi200 installed with 3.2.2 (Build: 5921EX-arrynrob9) a while back. Its still working but I see there is now a newer version which bypasses Obitalk completely. Can you pls PM instructions to update my Obi? Thanks much.
as far as i know, nothing ever kept anyone tied to obitalk portal after performing an initial configuration with it. just disable it. (i certainly dont understand the question)
Maybe I misunderstood reading thru so many posts. So with the FW I hv, after performing the initial configuration, can I now enter new or change my GV credentials directly on my Obi rather than going thru the Obitalk portal? Or do I still hv to go thru the portal to make changes? Its been a while since I did this, so forgive my ignorance. Thanks.
naf
join:2017-12-12

1 recommendation

said by davidm00:

...can I now enter new or change my GV credentials directly on my Obi rather than going thru the Obitalk portal?...

I think I described the situation best here: »Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

Nothing has changed since then.
esd3104
join:2001-01-19
O Fallon, MO
to naf
So I am getting an Obi1022 that is PhonePower locked. If I have followed the last couple of pages of this thread if the firmware is before that you have noted naf then I can just flash the firmware that's available. Hopefully that will be the case.
said by naf:

my notes say that fw revs before 5-1-11-4858 don't require a signed-firmware bypass, so you should be able just flash the file located at obifirmware.com via webgui...

I do want to then be able to use this with Google Voice and would appreciate receiving the procedure for accomplishing that naf See Profile. Thanks in advance for the help.
Tugtfer
join:2020-06-19
Monsey, NY
to naf
Is there a way to go from stock 3.2.2 (Build: 5898EX) to arrynrob9?
naf
join:2017-12-12
yes. sent you a pm.
josh4trunks6
join:2012-01-12
Antioch, CA
to naf
Thank you naf and others for your work on these firmwares. I used them to extend the life on an OBi100 at my parents home.

Now, I purchased them an OBi200 once GV was no longer supported on the old device but at the time didn't bother using a custom firmware. I see it has the firmware build 5859EX; do you mind sending me a PM of how I can get a custom firmware on here?

Also, I just purchased an OBi212 with firmware 5897EX. Any reason the OBi212 is not tested other than lack of userbase? Is it pretty risky for me to try an flash an arrynrob build on my OBi212? Is there any recovery like with TFTP?

Thanks!
naf
join:2017-12-12
said by josh4trunks6:

Also, I just purchased an OBi212 with firmware 5897EX. Any reason the OBi212 is not tested other than lack of userbase? Is it pretty risky for me to try an flash an arrynrob build on my OBi212? Is there any recovery like with TFTP?

Seems low risk to me that 212 would act any differently than 200/202, since stock firmware is targeted at that box.

That being said, recovery options are very limited to say the least. No TFTP. UBoot has serial turned off in stock fw. No reports of successful JTAG. Only known recovery mode is invoked by uboot if primary boot partition doesn't match stored checksum (assumes working uboot and working recovery partition)
josh4trunks6
join:2012-01-12
Antioch, CA
Ok, I might take the risk at some point then. Thank you

gavinjai
join:2020-07-20
Markham, ON
to naf
Hi there,

Just received a Obi302 today. Do I need a special way to install the OBi2-3-2-2-5921EX-arrynrob9.fw into the 302? When I logged in my unit the software shows it is 3.1.2 (Build: 5921P)

Thanks
naf
join:2017-12-12
said by gavinjai:

Just received a Obi302 today. Do I need a special way to install the OBi2-3-2-2-5921EX-arrynrob9.fw into the 302?

Yes, sent you a pm
Anonbcac7
@174.247.8.x

Obi ssh password reset

-----
Does the dropbear ssh server password survive a factory settings reset?

unfortunately, I don't recall if or what it might be changed to. haven't used the box much lately, but the default password of "obi" didn't let me in.

my device was previously arrynrob7, and I'm still locked out after upgrading to arrynrob9. I tried clearing settings and reconfiguring on both versions.

I had also forgotten the webui password, but the reset restored that to the default correctly.

thanks for the interesting hobby naf, and everyone else who comments here on matters technical, troubleshooting, and otherwise.

-----
unrelated: there's been an update for the 302, anything interesting in that fw, anything that could be learned or backported? as another posted in a different thread, I'm curious if the 200 series will see any attention.
naf
join:2017-12-12
said by Anonbcac7 :

Does the dropbear ssh server password survive a factory settings reset?

yes
said by Anonbcac7 :

unrelated: there's been an update for the 302, anything interesting in that fw, anything that could be learned or backported?

I did see releases up to 3.2.3.7628 come out, but I haven't really looked into it much yet.
Anona9799
@174.247.8.x
-----
wonder if I'll get same anon..
said by self :
tl-dr: sorry for the wall of text, and somewhat stream of consciousness post. I've probably still managed to leave out an important detail below, but here's one that was missing in my earlier post: it's an OBi 200 that's the focus here. (if that wasn't quite obvious from the firmwares mentioned.)

ok, so at least I wasn't imagining it, or typing the default password so thoroughly wrong. thanks for confirming that.

I imagine I'll need to get a shell somehow to change that password? is that possible from the webui? I've never messed with any of the obi scripting settings, I doubt they'd have access to non-obi stuff?

I saw talk from 2017 of a telnetd being launched with checkssid webui GET request, I imagine that flaw was fixed?

-----

any other ideas I've missed for regaining ssh access? (apart from keeping the password vault accurate and up to date?..)

is there a bootloader/recovery mode that would have shell access? Or would that be limited to tftp and fw updating? I've just reminded myself that serial consoles might exist... would I need 3.3v or 5v to interact there?

similarly, if I'm going to need to open it up to investigate serial, would it be simpler to just dump the fw and look for my ssh password? would it be plaintext in a fw dump? (inside an fs, or in some other type of storage?)

-----

incidentally, I'm similarly uncertain if I had tried to place a contacts.xml file locally, would that also survive a factory reset? does logging survive? anything else?

if I had put contacts, and they did survive a reset, that'd be a bit disconcerting from a resale standpoint.

sorry to take up more time here, thanks again.

(wish dslr had a jump to last post option on mobile, maybe I'm overlooking something simple there too..)
naf
join:2017-12-12
said by Anona9799 :

I imagine I'll need to get a shell somehow to change that password? is that possible from the webui? I've never messed with any of the obi scripting settings, I doubt they'd have access to non-obi stuff?

...

is there a bootloader/recovery mode that would have shell access? Or would that be limited to tftp and fw updating? I've just reminded myself that serial consoles might exist... would I need 3.3v or 5v to interact there?

similarly, if I'm going to need to open it up to investigate serial, would it be simpler to just dump the fw and look for my ssh password? would it be plaintext in a fw dump? (inside an fs, or in some other type of storage?)

...

incidentally, I'm similarly uncertain if I had tried to place a contacts.xml file locally, would that also survive a factory reset? does logging survive? anything else?

if I had put contacts, and they did survive a reset, that'd be a bit disconcerting from a resale standpoint.

you'll need a way to access the jffs2 partition in flash between 0xb40000-0xc00000 typically mounted as /scratch.

/scratch/etc/passwd is bind-mounted over the read-only version with the default password 'obi', so you just need to delete it (password is DES hashed anyway [unless you have $100 to crack it, ha])

it appears that a reset deletes a specific list of items from that same partition (callhistory, userprompts, etc) but not the contacts as far as i can eyeball without testing.

those arrynrobX firmware do have u-boot configured for serial, so reading it that way is a possibility. or just reading the flash directly via SPI.

but realistically, there are a couple of exploits in the webgui that might get the job done, so if you prefer not use a screwdriver just yet, hit me up via pm/email (in my profile)
digipokemon
join:2020-08-19
to naf

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

Hello naf,
I have a Obi202 currently on stock firmware 3.2.2 (Build 5921EX)
I'm also considering purchasing an additional obi202 or obi302 (whichever is cheaper, price seems to have jumped since my last search about a year ago) for my church to help them move off the landline to GV.

I was hoping to flash the custom firmware (OBi2-3-2-2-5921EX-arrynrob9.fw) like many people here, and was hoping if you can provide me instructions like many people here in this fourm.

Thanks in advance!

bbbc
join:2001-10-02

1 edit
to ar42
said by ar42:

I can confirm that I was able to update 1032 from 5.0.8 to OBiPhone-5-1-11-4858EX-olisom5b.fw without any issues.

Updated a PhonePower OBi1062 from 5.0.8 (Build 4622.1311) to 5.1.11 (Build 4858EX.1311-olisom5b) via the devices WebUI.
fizikz
join:2012-09-06

1 edit
to naf

Re: Obi ssh password reset

Hi naf, should I just download the latest firmware (OBi2-3-2-2-5921EX-arrynrob9.fw) from »www.obifirmware.com/ and use the webgui to upgrade an OBi202 from the current 3.0.1 (Build: 4269) ?

Is the configuration maintained, and can the config backups be used on the upgraded firmware?

My motivation for upgrading is mainly to be able to use call encryption with voip.ms since it was mentioned a while back that this feature requires a more recent firmware. I definitely don't want ObiTalk provisioning or other such nonsense, which is why I stopped upgrading firmware long ago. Would this mod or some version of the stock firmware be recommended for this case?

Any tips and guidance are appreciated as I really don't want to mess it up!
naf
join:2017-12-12
yes, configuration is maintained through any firmware upgrade. backups never fully work even in a same-firmware scenario because not all settings are saved to a backup (passwords, etc)
fizikz
join:2012-09-06

1 edit
said by naf:

backups never fully work even in a same-firmware scenario because not all settings are saved to a backup (passwords, etc)

O_o That is so disconcerting. I can understand passwords maybe being omitted, but other than that..

If I am not using Google Voice, is this mod still advisable? The website mentions builds 5853+ having signature checks causing flashing issues, meanwhile the last build listed on the OBi forum where I previously downloaded firmware is build 4477. »www.obitalk.com/forum/in ··· c=8982.0 Though the download link helpfully points to something versioned "latest"..

I'm just looking for a more recent update to the firmware which adds functioning call encryption support for use with voip.ms without adding anti-features like firmware locks or OBiTalk. Which stock firmware might that be? Or would this mod be better, with the benefit of an ssh server?
naf
join:2017-12-12

1 recommendation

wrong obitalk thread. see here for stock fws: »www.obitalk.com/forum/in ··· opic=9.0
fizikz
join:2012-09-06
After going through this thread (again), I'm hesitant to upgrade or try encrypted calling, as much as I'd like to, given user-reported issues about 10 pages back in this thread, and
quote:
OBi202 firmware 3.2.2.5859EX seems to work. OBi202 firmware 3.1.1.5589 does not work. OBi202 firmware 3.2.2.5921EX may work except for a trunk group bug.
»Re: [Voip.ms] Voip.ms new beta feature Call Encryption TLS/SRTP

and
quote:
test calls between the two near OBis revealed an unacceptable delay... the inbound call would arrived within a ring or two but answering it would not stop the outbound ringing nor make the connection for about 10-15 seconds or more... and unacceptable delay.

Since this issue exhibits between two OBis 3.2.2.5859EX, it could again be an OBi firmware issue... but I'm not sure about that. As I've run out of OBi firmware to test, I've reverted all OBi registrations to UDP. And all seems better now.
»Re: [Voip.ms] Voip.ms new beta feature Call Encryption TLS/SRTP

It's not the fault of this mod, but now I remember why I didn't go through with upgrading the last time. Given OBi/polyocom's reputation on responsiveness and quality firmware, maybe I shouldn't have to ask, but what is the current state of call encryption + OBi202 + voip.ms ?
Stevies3
join:2001-12-29
Woodbury, NY
to naf

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

Please PM firmware for OBi202. ty
blamaz
join:2020-06-22
to naf
Hi,
I've just bought a Polycom OBi302 new and unlocked from Acrovoice. I've setup whitout OBitalk and upgraded the firmware to OBi30x-3-2-3-7628.fw found on the Polycom support website. Unfortunatly, there is no more web admin access (The requested URL was not found!). Is there anything I can do to recover the admin access.
Thank you for your work in this community and I will welcome any help you can provide
Bruno

Brano
I hate Vogons
MVM
join:2002-06-25
Burlington, ON
·Cogeco Cable
(Software) OPNsense
Ubiquiti UniFi UAP-AC-PRO
Ubiquiti NanoBeam M5 16

2 recommendations

According to the release notes the web admin should be still there »support.polycom.com/cont ··· -3-7.pdf
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net

1 recommendation

to blamaz
Double check that you're using the correct ip address: https://knowledgebase-iframe.polycom.com/kb/viewContent.do?externalId=37795

Enable WAN port web access - if and only if your ATA is behind a router with no port forwarding: https://www.obitalk.com/info/faq/OBi202-sec/Howto-Access-Web-from-WAN
blamaz
join:2020-06-22
I have access to the user login at »192.168.1.XXX/user/ It telling me to set a new password using the admin login. When I tried the admin login at »192.168.1.106/ (The requested URL was not found!). I'm not using the router function of the OBi. OBi internet port goes to my own router lan port. I’ve reset the ATA with a paper clip but still no admin access (user access still o.k) I’ve enable WAN access with the phone (30#) and now I have a URL but the default user/password doesn’t work and now I can use OBiTalk for provisioning but I can't change the password under Device Admin, there is a red exclamation sign (!). Before the firmware update, all was o.k.. I didn't change any setup. On the release notes, it's noted that there should be a prompt on the first bootup for a mandatory change of the default admin password before the device becomes operational, I didn't get any prompt since I have no access.

Thank for your help
taoman
Premium Member
join:2013-09-13
Seattle, WA
I have no experience with an OBi302. But if it's been added to the OBiTALK dashboard you can try the following:
From the dashboard, click on the blue "gear" icon. From the Device Information page, do you see a field that says "Webpage Admin Password?" If so, enter your desired admin login password and save your settings. After your OBi device restarts try accessing web admin page again using password you just entered.
blamaz
join:2020-06-22

1 recommendation

I'm a network specialist and sometimes, i'm too confident and overlook things and act as a complete NOOB:). I've found 2 errors:
1- Cat6 cable wasn’t fully plugged in
2- I've had it connected to internet port and since the OBi was awaithing a password change on first bootup (prompts), I couldn't use code 30# or OBitalk to answer the prompts. I've temporary connected to LAN and answered the prompts and set a password. All is back to normal. TY
jaw206
join:2020-07-25
Seattle, WA
to naf
Hi naf — I would also appreciate some help going from stock 3.2.2, both 5932EX and 5859EX to arrynrob9. Thank you!
turk
join:2009-03-10
canada
to naf
Presently having a problem with Obi202. Need to reset to try to fix it.
I have GV and Anveo on this unit. I can reload anveo data but I recall the only way to reinstall GV is from Obitalk.
If I use Obitalk can Polycom overwrite firmware with their latest version? Is there something I can do to prevent this? I did this some years ago and am pretty rusty.
Thanks for your help
naf
join:2017-12-12

3 recommendations

to turk

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

said by turk:

If I use Obitalk can Polycom overwrite firmware with their latest version? Is there something I can do to prevent this?

They *could* overwrite your firmware through an obitalk config change, but they most likely won't. The only reported instance of them using that capability I know of was the mass upgrade of GV users' firmware when the interface was changed.

RobThompson
Caution - VoIP Challenged Alert
Premium Member
join:2012-02-14
J8G 0C9
to blamaz
If needed, Enable Web Management Access from WAN port and get your Obihai ATA IP Address when DHCP server is enabled in network

After you connected analog phone to your ATA device pick up the phone and dial:

*** - enter configuration menu
0 - Other options
30# - Enable Web Management Access from WAN port
1 - Enter new value
1# - Enable web interface access
1 - Save changes
This will enable access to ATAs web interface for easier setup and configuration.

Write down IP address for future reference. If procedure above was completed you should be able to reach ATA web interface by entering announced IP address in your bro
blamaz
join:2020-06-22
Thank, it's already ok
turk
join:2009-03-10
canada
to naf
A silly question: How do you log out of the Obi 202 software. If I just close it and go back to the address it opens without requiring a password.

jsolo1
Premium Member
join:2001-07-01
PRIL
system management/device admin/http client/timeout

Default is 600s (5min).

I don't see a discrete logout button. Usually just close the tab and call it a day.

Don't expect too much. The whole product is not overly secure.
futures
join:2020-11-09
to naf
Hi naf,
Wonder if you can help share steps to install OBi2-3-2-2-5921EX-arrynrob9.fw on an Obi202 hardware version 1.4, currently on stock software version 3.2.2 (Build: 5898EX). Thanks!
naf
join:2017-12-12

1 recommendation

said by futures:

Hi naf,
Wonder if you can help share steps to install OBi2-3-2-2-5921EX-arrynrob9.fw on an Obi202 hardware version 1.4, currently on stock software version 3.2.2 (Build: 5898EX). Thanks!

sent you a pm
futures
join:2020-11-09
Much appreciated naf! Been using an Obi SIP adapter since 2013. Mostly to make it cost justifiable to keep a land line when everyone in the household has a smartphone. So glad I did... in addition to cost savings, the control and customization is well worth the effort.
eatwellman
join:2020-11-12
Mankato, MN

1 recommendation

to naf
Hi naf,
First I like to thanks all the effort and time you put in to help every one in this community. I bought a Obihai OBi1062 (PhonePower) today(Not sure whats the firmware yet) and would like to know if it possible to get Google Voice working on this phone? Can you also send me instructions please? Many thanks in advance.
naf
join:2017-12-12
said by eatwellman:

...I bought a Obihai OBi1062 (PhonePower) today(Not sure whats the firmware yet) and would like to know if it possible to get Google Voice working on this phone?

Most likely, yes. You'll probably need the modded fw to remove the PhonePower crap.
eatwellman
join:2020-11-12
Mankato, MN
Thank for the response. I will try this when I get it. I will keep you updated.
JoeOIVOV
join:2020-11-20
Sacramento, CA
to naf
I've had this working for a while and I wanted to add another gv number to my setup. So when I powered up the Obi202 and added the new number but unfortunately it will no longer let me log in via ssh. I tried username root and every password I've ever had and the default "obi" but I cannot get in.
I tried reinstalling the same custom firmware, but it says since its the same version it will not allow me to. How can I reset the ssh password? Any way to get back into it?
JoeOIVOV
to naf
I also have a Obi302 that has the 3.2.2 (Build: 5921EX-arrynrob9) and I can get into ssh just fine, but I cannot add my Google Voice numbers without getting an error: from ObiTalk that its registered to another service provider, is there a fix for this? Any help is appreciated. Thank you.
naf
join:2017-12-12

1 recommendation

to JoeOIVOV
said by JoeOIVOV:

I tried username root and every password I've ever had and the default "obi" but I cannot get in.

Every password bar one, I imagine.

There's not an easy way to reset it.

Not sure what ssh has to do with adding GV account to a 202 though.
I'll pm you instructions on doing it the manual way for the 302.
JoeOIVOV
join:2020-11-20
Sacramento, CA
to naf
So thanks to Naf's help I was able to get 202 and 302 working. Installing stock firmware and then reinstalling arrynrob9 again got my root ssh password problem resolved. Thanks again Naf.
naf
join:2017-12-12

1 recommendation

said by JoeOIVOV:

Installing stock firmware and then reinstalling arrynrob9 again got my root ssh password problem resolved.

Not exactly. The root password survives a firmware upgrade. I just happened to also reset it when I was getting you unstuck from the stock firmware...
JRW
join:2020-11-28
to naf
Hi naf! So I just got a new Obi200 with firmware 3.2.2 (5897EX). Could you give me some help in upgrading it to the arrynrob9 firmware? Thank you!
mrken
join:2005-09-05
Vancouver, BC
to naf
Hello naf See Profile!

May you also send me the instructions for loading 5921EX-arrynrob9 from 5921EX? Thank you!

I tried searching but could not find the answer. Can one reflash back to the stock firmware after flashing custom firmware? I assume so since the signed firmware checks are removed.
naf
join:2017-12-12

1 recommendation

yes, you can flash back to stock (or any other firmware for that matter). ill send you a pm
fred2
join:2020-12-31
Naf, Please send me this pm, too. I have 3 OBI200's and cannot get any of them configured for GV.

Why oh why did Polycom/OBI make it so hard?
jb203
join:2021-01-02
Chicago, IL
to naf
Looking to get OBi2-3-2-2-5921EX-arrynrob9.fw on an Obi300 hardware version 1.4, currently on stock software version 3.2.2 (Build: 5898EX)
Receiving Firmware package checksum error
momoxinator
join:2016-04-27
Utica, NY
to naf
Hi i purchased obi302 on ebay not knowing it wont work for google voice is there anyway to flash it on my obi302 it is on 3.2.2 (Build: 5921EX) where can i find the instructions for the flashing this?
naf
join:2017-12-12

1 recommendation

said by momoxinator:

Hi i purchased obi302 on ebay not knowing it wont work for google voice...

it'll work. sent you a pm.
momoxinator
join:2016-04-27
Utica, NY
Thank you so much for the help very much appreciated.
momoxinator
to naf
Anyone know how to solve token error with google voice? Im about to return my obi302 and buy a obi202 just need to know if its possible to fix this issue so i dont have to go through the hassle of returning it?
PDX_Mark
join:2020-08-21
Portland, OR
·VBUZZER
·les.net
to naf
OI have tried to get 2 new Obi200s configured to the Obitalk portal and BOTH have failed. I have been using three Obis already in the portal with no issues.

I do not think exchanging the Obi AGAIN will resolve the issue.

Can someone please guide me as to how to get and configure this firmware? As I Understand it it will allow me to connect the Obi directly to GV without using the Obitalk portal.

Any help greatly appreciated in advance!
Statikk
join:2019-10-03
Clovis, CA
to naf
After a power outage during the recent stormy weather my obi1062 seems to have lost some of the theme files. Because of the possibility that there are other missing files (even though things seem to be functioning fine) I would like to flash the current firmware over the top of itself. I was hoping this would restore any lost files and leave my config intact. Or at the worst I would need to reupload my config backups. When I try to update to the same firmware though I get an error that I'm already on that version. Is there any way to get around this or a better way to achieve my end goal?

Edit: Unfortunately I'm having bluetooth issues also.
naf
join:2017-12-12
said by Statikk:

my obi1062 seems to have lost some of the theme files. Because of the possibility that there are other missing files (even though things seem to be functioning fine) I would like to flash the current firmware over the top of itself.

if using shelled firmware and you want to see whats actually going on, ssh in and check out that themes partition:
# ubiattach /dev/ubi_ctrl -m 10 -d 10
# ubinfo /dev/ubi10 -a
# mount -t ubifs ubi10:misc /media/hdd
# ls -Ral /media/hdd
# umount /media/hdd
# ubidetach -d 10
 

to just try to fix it if using shelled firmware:
flash to OBiPhone-5-1-7-4666EX and back to 5-1-11-4858EX-olisom5b (4666 is old enough to make re-flashing shelled firmware easy)

to just try to fix it using stock firmware:
flash to a different firmware >= 5-1-11-4858EX (i.e. 5-1-11-4983EX) and back to whatever you have now
Statikk
join:2019-10-03
Clovis, CA
Thought I'd try taking a peek:

root@OBiPhone:~# ubiattach /dev/ubi_ctrl -m 10 -d 10
UBI device number 10, total 160 LEBs (20316160 bytes, 19.4 MiB), available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB)
root@OBiPhone:~# ubinfo /dev/ubi10 -a
ubi10
Volumes count:                           1
Logical eraseblock size:                 126976 bytes, 124.0 KiB
Total amount of logical eraseblocks:     160 (20316160 bytes, 19.4 MiB)
Amount of available logical eraseblocks: 0 (0 bytes)
Maximum count of volumes                 128
Count of bad physical eraseblocks:       0
Count of reserved physical eraseblocks:  2
Current maximum erase counter value:     18
Minimum input/output unit size:          2048 bytes
Character device major/minor:            246:0
Present volumes:                         0
 
Volume ID:   0 (on ubi10)
Type:        dynamic
Alignment:   1
Size:        154 LEBs (19554304 bytes, 18.6 MiB)
State:       OK
Name:        misc
Character device major/minor: 246:1
root@OBiPhone:~# mount -t ubifs ubi10:misc /media/hdd
mount: mounting ubi10:misc on /media/hdd failed: Invalid argument
root@OBiPhone:~# ls -Ral /media/hdd
/media/hdd:
drwxr-xr-x    2 root     root           160 Mar  7  2014 .
drwxr-xr-x    7 root     root           480 Mar  7  2014 ..
 

It doesn't look like there are any valid links out there anymore for OBiPhone-5-1-7-4666EX. I was able to find OBiPhone-5-1-4-4027 but I wasn't sure if flashing back that far would be a problem.
naf
join:2017-12-12
said by Statikk:
root@OBiPhone:~# mount -t ubifs ubi10:misc /media/hdd
mount: mounting ubi10:misc on /media/hdd failed: Invalid argument
 

It doesn't look like there are any valid links out there anymore for OBiPhone-5-1-7-4666EX. I was able to find OBiPhone-5-1-4-4027 but I wasn't sure if flashing back that far would be a problem.
Invalid argument, eh? that cant be good. can you redo above commands but see if running 'dmesg' after the mount command shows anything interesting from UBI (for example "UBI: ahh! i cant read this f-ed up flash")

alternatively, temp link to 4666 here: »drive.google.com/file/d/ ··· =sharing
Statikk
join:2019-10-03
Clovis, CA
to naf

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

[33029.614741] UBI: background thread "ubi_bgt10d" started, PID 2607
[33051.115919] UBIFS error (pid 2609): ubifs_recover_master_node: failed to recover master node
[33073.192292] UBI: mtd10 is detached from ubi10
[36676.055967] UBI: attaching mtd10 to ubi10
[36676.060009] UBI: physical eraseblock size:   131072 bytes (128 KiB)
[36676.066368] UBI: logical eraseblock size:    126976 bytes
[36676.071898] UBI: smallest flash I/O unit:    2048
[36676.076789] UBI: VID header offset:          2048 (aligned 2048)
[36676.082862] UBI: data offset:                4096
[36676.184303] UBI: max. sequence number:       985
[36676.212870] UBI: attached mtd10 to ubi10
[36676.216817] UBI: MTD device name:            "misc"
[36676.221821] UBI: MTD device size:            20 MiB
[36676.226786] UBI: number of good PEBs:        160
[36676.231478] UBI: number of bad PEBs:         0
[36676.235990] UBI: number of corrupted PEBs:   0
[36676.240482] UBI: max. allowed volumes:       128
[36676.245240] UBI: wear-leveling threshold:    4096
[36676.249983] UBI: number of internal volumes: 1
[36676.254574] UBI: number of user volumes:     1
[36676.259047] UBI: available PEBs:             0
[36676.264195] UBI: total number of reserved PEBs: 160
[36676.269223] UBI: number of PEBs reserved for bad PEB handling: 2
[36676.275294] UBI: max/mean erase counter: 18/6
[36676.279717] UBI: image sequence number:  325006695
[36676.284604] UBI: background thread "ubi_bgt10d" started, PID 2879
[36692.335693] UBIFS error (pid 2882): ubifs_recover_master_node: failed to recover master node
 

I went ahead and downgraded and then upgraded to olisom5b and everything is working as expected again. No problems with the mount commands and filesystem contents seem to have been restored. This is making me wonder if I should pick up another phone as a backup while they're still out there for cheap. I'd be sad if the flash on this one craps out. This thing has become a godsend in my home office since covid hit.

Thanks again for the help and the older firmware file. I added it to my obi archive in case there's a next time!
kcallis
join:2003-09-10
Alexander, AR
to naf
It has been a long time since I was on DSLR! I have both a OBi200 and a OBi1022 and trying to install the modded firmware. On the OBi200, the firmware is 3.2.2 (Build 5921EX) and on the OBi1022, the firmware is 5.1.11 (Build 4983EX.1311).

On both devices, when I attempt to install, both fail install. With 1022 was initially provisioned with Phonepower. After many call, I was able to remove the provsioning fom Phonepower and able to add the device to ObiTALK and setup Google Voice, etc. I noticed that the phone was still using the Phonepower provisioned firmware (which actually did not seem to do than not allow me to configure with ObiTALK).

Since I am moving from a 1022 to a 2182, that is no longer and issue in changing the firmware. I am curious on why I can not install the Obi2 firmware. I keep getting a Firmware package checksum error error.
naf
join:2017-12-12

1 recommendation

(Somewhere in the last 59 pages it might mention that) 'Firmware package checksum error' occurs when the current firmware is enforcing a rule to only install obi-signed firmware.

check pms, blah blah blah.
kcallis
join:2003-09-10
Alexander, AR
Is there any way around this?
naf
join:2017-12-12

3 edits

3 recommendations

Statikk's adventures with failed ubi partitions gave me an idea:

obiphone's have ubi partitions so the device has no way to verify the ubi partition once they are written by a firmware upgrade because (among other technical reasons) they aren't even read-only.

since obi's firmware signature only covers the firmware header and reported md5s of the future partitions, we can just lie about the md5 of the partition during firmware authentication and the device has no way of telling the ubi partitions we actually included were different, as long as the partition size is identical and the partition itself has the correct md5 hashes listed outside of the header in the firmware body.

obi20x's make up for this by checking the actually written partition at boot time, but phone's cannot.

so, i generated a 4858 mod that passes the firmware signature check (so it can be flashed from current stock firmwares).
after flashing to it, version will still report as 4858 stock, but you can flash to any custom firmware since it disables signature checks completely.
naf

1 recommendation

OBiPhone-5-1-11-4858EX-noshell-signed.fw bsdiff

OBiPhone-5-1-11-4858EX-noshell-signed.fw md5 = 123bd1842a64ab967644e34e6a7d144c

like 4858EX-olisom5b, but without the dropbear ssh daemon. and it passes signature validation.
Brown
join:2018-01-21
I was excited to try it on a 1062 with stock 4858:
First I tried olisom5b and it gave a checksum error. No surprise there.
Then I prepared the new version (bspatch and md5sum) and it quickly returned a message "Previous version identical to the update. Firmware not modified".
I'll try an older stock firmware tomorrow and retry yours.
naf
join:2017-12-12
said by Brown:

I was excited to try it on a 1062 with stock 4858:
First I tried olisom5b and it gave a checksum error. No surprise there.
Then I prepared the new version (bspatch and md5sum) and it quickly returned a message "Previous version identical to the update. Firmware not modified".
I'll try an older stock firmware tomorrow and retry yours.

Yep, has to be flashed from a non-4858 signed fw. I'd suggest 4983:

4858 -> 4983 -> 4858-noshell-signed -> 4858-olisom5b
PDX_Mark
join:2020-08-21
Portland, OR
to naf
I PMd Naf as suggested on the site but no reply. Is there a How to install in Obi200 somewhere including what works and what does not?
Brown
join:2018-01-21
to naf
said by naf:
said by Brown:

I was excited to try it on a 1062 with stock 4858:
First I tried olisom5b and it gave a checksum error. No surprise there.
Then I prepared the new version (bspatch and md5sum) and it quickly returned a message "Previous version identical to the update. Firmware not modified".
I'll try an older stock firmware tomorrow and retry yours.

Yep, has to be flashed from a non-4858 signed fw. I'd suggest 4983:

4858 -> 4983 -> 4858-noshell-signed -> 4858-olisom5b
Worked like a charm. Thank you.
naf
join:2017-12-12

1 recommendation

sweet. lets see if we can locate OBi1FW See Profile to update obifirmware.com.

same method should work for d230's and obi2000 series phones (does anyone have a firmware version other than OBi2000-6-2-3-4907.fw?)

the ever-desirable modded firmware naming rights up for grabs if anyone has either of those they are mad at and want to try to brick...
Brown
join:2018-01-21

2 edits
This version (6-2-3-4983) was posted last year> »www.obitalk.com/forum/in ··· =17080.0

Edit: I have not tried it (don't have a 2xxx model).
Wow, native GV on a DECT cordless?
kcallis
join:2003-09-10
Alexander, AR
to naf
I am sure this might be a simple issue, but since I can't use ObiTALK to set my SP4 to be the primary phone, how do I do it from the web interface of the Obi200. What I am trying to do is have the cordless phone connected to the obi use the SP4 as default as opposed to using SP1 which is the Google Voice. Incidentally, thanks for helping me get past the huddle of getting credential for GV.

jsolo1
Premium Member
join:2001-07-01
PRIL

1 recommendation

kcallis
join:2003-09-10
Alexander, AR
Just what I was looking for.. Thanks!
Statikk
join:2019-10-03
Clovis, CA
to naf
That's awesome!! Archived the new firmware for future use. I did order a second 1062 after that scare. Got it up and running with a duplicate config so I'm ready to go next time in the event of another failure. Thanks again for all you do for us naf!
OzarkEdge
join:2014-02-23
USA
·voip.ms
to naf
This is probably for naf...

Poly OBi3(&2) Series firmware 3.2.3.7628 listed on their site »support.polycom.com/cont ··· 302.html appears to be more recent than Obihai OBi2&3 Series firmware 3.2.2.5921EX listed on the OBiTALK forum »www.obitalk.com/forum/in ··· opic=9.0.

Poly OBi3(&2) Series firmware 3.2.3.7628 appears to run fine on my old OBi202 and lists ITSP Signaling Protocol for Google Voice. Has anyone tried configuring Google Voice service on this most recent Poly firmware? (I assume it must be on OBi2 Series hardware unless improved by naf for OBi3 Series hardware.)

OE
naf
join:2017-12-12
said by OzarkEdge:

Poly OBi3(&2) Series firmware 3.2.3.7628 appears to run fine on my old OBi202 and lists ITSP Signaling Protocol for Google Voice. Has anyone tried configuring Google Voice service on this most recent Poly firmware? (I assume it must be on OBi2 Series hardware unless improved by naf for OBi3 Series hardware.)

In 3.2.3.7628, the "Google Voice" selection inexplicably means XMPP, so it won't work without a time machine to 2018.

Sadly that firmware contains no code necessary to support GVSIP at all, so it's not a situation like the 5921-era 302 firmware which can just be modded to enable it. Any fixes made in that line are not available to GV users on any hardware.
OzarkEdge
join:2014-02-23
USA
·voip.ms
Thank you, that explains things.

The current Poly firmware appears to be a full break (with back pedaling) from Google Voice (GVSIP). And yet it feels like the only forward looking firmware, numbering and release notes-wise.

One wonders... do they intend to maintain two firmwares now for OBi2 Series (GVSIP) and OBi3 Series, or do they intend to abandon the OBi2 Series... and Google Voice. Or maybe Google abandons them after some contractual endpoint. Or maybe the OBi2 Series firmware will remain as is like it has.

OE

jsolo1
Premium Member
join:2001-07-01
PRIL

1 recommendation

^^I think the writing is on the wall. At some point obi2xx series will go EOL. I suppose from a functional perspective, if poly3xx units can be cross flashed with obi2xx fw then we're still in business even if the 2xx series goes EOL.
OzarkEdge
join:2014-02-23
USA
·voip.ms

3 recommendations

said by jsolo1:

^^I think the writing is on the wall. At some point obi2xx series will go EOL. I suppose from a functional perspective, if poly3xx units can be cross flashed with obi2xx fw then we're still in business even if the 2xx series goes EOL.

My guess...

Free Google Voice (personal use) on legacy OBi2 Series ATAs will expire with those products, whenever that happens and if new product is not introduced to replace them, subject to Google whim. Forcing any other hardware to work with free Google Voice may be a limited and similarly uncertain option.

Google and Poly's hardware focus appears to be on paid Google Voice (business use).

OE
kcallis
join:2003-09-10
Alexander, AR

2 recommendations

I am with you on Google Voice and the Obi devices. I am sure Google will make another technology change and then the Obi devices will truly be an other ITSP device with no Google Voice attached.

My attitude is that we have had a good run. I was using Grand Central before it morphed into Google Voice and I think that was back in 2004 or 2005, so nearly 20 years. Considering that anywhere from $0.60 to $2.00, you can have a DID and with US routes running at $0.002, I am almost at the point where I can say goodbye to GV.

For me, I guess I like to torture myself seeing if I can one up Google and be able to use my GV trunk on my IPBX.
naf
join:2017-12-12

1 recommendation

tiny bsdiff from stock 6259 (»fw.obihai.com/OBi302-3-2 ··· -6259.fw)

md5sum OBi302-3-2-2-6259-signed-fw-bypass-uboot-mod.fw = 59229dd211edb52d9f2e49729cee9794

Changes:
- mods obiapp to bypass pki signature check when upgrading fw
- passes signature check itself
- mods uboot to ignore obi partition signature that we lied about in order to pass signature check

Warning:
- DO NOT flash this from 6259 or above, or you will be going to recovery mode (which also allows you to flash any firmware you want, but it just doesnt look as cool)

So, suggest upgrade route would be: 5921EX stock -> 6259-signed-fw-bypass-uboot-mod -> 5921EX-arrynrob9
Chrushev
join:2008-07-30
Newport Beach, CA
to naf
Been using Obi200 for a few years now, before that was using Simon's service. Lately (last few months) started having issue where about 20% of the time someone calls in they get silence. Hanging up and calling right back it works fine. No silence.

I am using the custom firmware that was posted here. Any ideas how to address this?

HardwareVersion 1.4
SoftwareVersion 3.2.2 (Build: 5921EX-arrynrob9)
RonR
join:2003-10-10
Ash Flat, AR
Did you recently change routers, router settings, or router firmware?

You might try adding a port forwarding entry in the router for the OBi's RTP port range.
naf
join:2017-12-12

1 recommendation

to Chrushev
said by Chrushev:

Been using Obi200 for a few years now, before that was using Simon's service. Lately (last few months) started having issue where about 20% of the time someone calls in they get silence. Hanging up and calling right back it works fine. No silence.

I am using the custom firmware that was posted here. Any ideas how to address this?

If I saw some pcaps of the obi-gv traffic (one at router and one at obi) with the obi recording a SSLKEYLOGFILE of the decryption keys when the problem occurs, then perhaps I could make an informed comment.

(Even with that, the comment would most likely be "ya, gv/obi is messing up, nothing you can do as a 3rd party.")
Brown
join:2018-01-21
to Chrushev
said by Chrushev:

Been using Obi200 for a few years now, before that was using Simon's service. Lately (last few months) started having issue where about 20% of the time someone calls in they get silence. Hanging up and calling right back it works fine. No silence.

I am using the custom firmware that was posted here. Any ideas how to address this?

HardwareVersion 1.4
SoftwareVersion 3.2.2 (Build: 5921EX-arrynrob9)

I'm thinking it's just as likely your analog phone. The hook switch could be sticking. I have a phone like that I need to fix (GE 29385GE1-A).
naf
join:2017-12-12

1 recommendation

Well, nobody has complained that the 20x firmware signature bypass solution above (»Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods) has bricked their device, so let's see if OBi1FW See Profile can do the honors and make that the official obifirmware.com instructions for 20x/30x. (not that I don't enjoy getting PMs from you all).
RonR
join:2003-10-10
Ash Flat, AR
said by naf:

Well, nobody has complained that the 20x firmware signature bypass solution above (»Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods) has bricked their device, so let's see if OBi1FW See Profile can do the honors and make that the official obifirmware.com instructions for 20x/30x. (not that I don't enjoy getting PMs from you all).

I used it for a while with no problems encountered. When I moved GV off of the OBi202, I put Polycom 3.2.3 (Build: 7628) on because it looks nicer (I'm only using the OBi202 as a minimal ATA and Bluetooth bridge to my iPhone for FreePBX at this point).

Thanks for all your excellent work and support.
naf
join:2017-12-12
said by naf:

Well, nobody has complained that the 20x firmware signature bypass solution above (»Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods) has bricked their device, so let's see if OBi1FW See Profile can do the honors and make that the official obifirmware.com instructions for 20x/30x. (not that I don't enjoy getting PMs from you all).

OBi1FW See Profile - Looks good. Glad your instructions are clearer than mine

jsolo1
Premium Member
join:2001-07-01
PRIL

1 edit
to naf

Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

I'm confused... If one is already on 5921 modded, if there any reason to go to any of the 6259 variants?

What is the upgrade path from modded 5921?
naf
join:2017-12-12

1 recommendation

said by jsolo1:

I'm confusing... If one is already on 5921 modded, if there any reason to go to any of the 6259 variants?

What is the upgrade path from modded 5921?

5921-arrynrob* is still the current modded fw for 20x/30x series.

The 6259-signed-fw-bypass-uboot-mod is just a temporary version that has one special property: it can be flashed from stock and pass the signature check while still being modded to flash to any signed/unsigned fw (just needed a non-5921 base due to the limitations of exploiting the insecure signature algorithm, 6259 happened to have all desired properties to use as a base)

The 302-variants with higher build numbers (6259/6768/7628) have the GV code stripped out, so I never bothered to make a modded version (if only because I personally use GV)

So upgrade path to modded 5921 is same as stock 5921 - if/when obi release an updated GV-supporting fw, I plan to rebase arrynrob onto it (*assuming obi themselves dont shun it ala 5932)
naf

1 recommendation

here's a just-to-unlock-stock-firmware version for 50x-series (7707 strips GV stuff so I won't rebase ssyspro on that)

bsdiff from stock 7707 (»downloads.polycom.com/vo ··· -7707.fw)

md5sum OBi5xx-4-0-5-7707-noshell-signed.fw = 0205d029107d603379eaba37ca6d3956

Changes:
- mods obiapp to bypass pki signature check when upgrading fw
- passes signature check itself
- (no need to mod uboot because it turns out the 50x firmware doesn't actually check partition md5s on boot, even though it probably should)

So, to go to a modded fw from stock fw > 5872, flash to OBi5xx-4-0-5-7707-noshell-signed then 5903-ssyspro*
naf

2 recommendations

Speaking of 50x's, here's a modded version with the SNI fix to make GV work again without proxying its connection

bsdiff from stock 5903EX (»fw.obihai.com/OBi500-4-0 ··· 903EX.fw)

md5sum OBi500-4-0-5-5903EX-ssyspro5.fw = 1949638ca7161904fbda0da795b8eec9

Changes:
- enable dropbear ssh server. default root passwd = "obi".
- patch obiapp to bypass "zero touch" forced configuration. added clear_zt_params util to clear old zero touch params.
- patch obiapp to bypass signed firmware check when loading new fw
- patch obiapp to bypass GVSIP provisioning lock
- NEW: patch obiapp to fix the bug where obi forgot to set the TLS SNI hostname resulting in "No Response From Server" when attempting to connect to GV
OzarkEdge
join:2014-02-23
USA

1 recommendation

Who *is* that masked man?!

OE
PDX_Mark
join:2020-08-21
Portland, OR

1 edit
to naf
where do I find instructions on how to configure GV on Obi200 with modded firmware?
PDX_Mark
Please I could really use some guidance on configuring Obi200 for GV without Obitalk portal. I have the modded firmware installed . I find no "how to" anywhere
hardly
Premium Member
join:2004-02-10
USA
(Software) OPNsense
Hitron CODA56
Obihai OBi200
This one from OzarkEdge See Profile is voip.ms specific, but should give guidance:
»[Voip.ms] One way to skin an OBi...
OzarkEdge
join:2014-02-23
USA
·voip.ms
said by hardly:

This one from OzarkEdge See Profile is voip.ms specific, but should give guidance:
»[Voip.ms] One way to skin an OBi...

There is no instruction there for configuring mod/third party firmware for GVSIP. I have not looked into this.

OE
hardly
Premium Member
join:2004-02-10
USA
(Software) OPNsense
Hitron CODA56
Obihai OBi200
Key phrases:
said by hardly:

is voip.ms specific, but should give guidance

Thank you for sharing your work, it is appreciated.
OzarkEdge
join:2014-02-23
USA
·voip.ms

1 recommendation

said by hardly:

Key phrases:

said by hardly:

is voip.ms specific, but should give guidance

Thank you for sharing your work, it is appreciated.
You're welcome.

I think PDX_Mark is looking for the steps to configure GVSIP on mod firmware. I've read of them here from time to time, but the actual steps have always escaped me since I'm not an interested GV user.

OE
jonqpublek
join:2021-04-09
Canada
to naf
Can you please send me the instructions on how to install the firmware and set up Google Voice on an Obi302?
naf
join:2017-12-12

1 recommendation

said by jonqpublek:

Can you please send me the instructions on how to install the firmware and set up Google Voice on an Obi302?

sent you GV instructions.
to install modded fw, see instructions on obifirmware.com
jonqpublek
join:2021-04-09
Canada
Thanks for the information!

Took a look at the notes you sent and it explains how to set up an Obi302 without using ObiTalk.

One small question. With the modded firmware installed, can you use the Obitalk web site to do the provisioning if you wish to do so? Are there any advantages or disadvantages in doing it this way?

jsolo1
Premium Member
join:2001-07-01
PRIL

2 recommendations

The main advantage of doing everything manually is you're not dependent on the obitalk when it takes a sh!t or when it's down. If you're anticloud, doing it manually is the way to go.
Anon1d51e
@71.192.109.x
I'd love to get a copy of the instructions to add GVSIP to a 302 as well.

a couple of other questions for folks:

a) is the source for obiapp available somewhere so folks can play around w/ making their own custom firmware?

b) is there a newer firmware out there for a 508vs than what is on obifirmware? I just inherited a 508vs and it has Software Version 4.0.5 (Build: 5980). If I attempt to flash the 508vs firmware on obifirmware, I get a "Firmware package checksum error" (I downloaded twice in case the first download was corrupt, but same error... so I presume this has to do with the version on obifirmware being 5903 which is older and there being some sort of downgrade lock in the 5980 firmware I have installed on my box.)
naf
join:2017-12-12

2 recommendations

said by Anon1d51e :

I'd love to get a copy of the instructions to add GVSIP to a 302 as well.

tell me where to send it
said by Anon1d51e :

a couple of other questions for folks:

a) is the source for obiapp available somewhere so folks can play around w/ making their own custom firmware?

obi hasn't release source. mods are done directly in the binary. what is known about packaging is documented here: »github.com/naf419/obi-fi ··· re-tools
said by Anon1d51e :

b) is there a newer firmware out there for a 508vs than what is on obifirmware? I just inherited a 508vs and it has Software Version 4.0.5 (Build: 5980). If I attempt to flash the 508vs firmware on obifirmware, I get a "Firmware package checksum error" (I downloaded twice in case the first download was corrupt, but same error... so I presume this has to do with the version on obifirmware being 5903 which is older and there being some sort of downgrade lock in the 5980 firmware I have installed on my box.)

it hasn't made it out to the official unofficial site yet, but look up about 12 posts...
vtwin
join:2003-01-28
Fort Walton Beach, FL
said by naf :

tell me where to send it

Sorry, I didn't realize I wasn't logged in when I posted. I am now, so my email address should be available.

I'll take a look at the github site and the modified builds for the 508vs. Thanks very much.
villas
join:2002-01-20
Corte Madera, CA

1 edit
Hello, I am reaching out to @naf in hopes of receiving the instructions for configuring GV without the ObiTalk portal. I have a Obi200 that has worked reliably for many years, and have been using the arrynrob mod firmware for at least 3+ years now, but have up until now had no issues with GV registration. Now (starting yesterday) I have been battling an issue that when trying to re-setup GV through the portal, the end result is always the GV IP address followed by "Token Error". I am trying to avoid giving up the arrynrob firmware (OBi2-3-2-2-5921EX-arrynrob9.fw) if at all possible.
naf
join:2017-12-12

1 recommendation

said by villas:

Hello, I am reaching out to @naf in hopes of receiving the instructions for configuring GV without the ObiTalk portal. I have a Obi200 that has worked reliably for many years, and have been using the arrynrob mod firmware for at least 3+ years now, but have up until now had no issues with GV registration. Now (starting yesterday) I have been battling an issue that when trying to re-setup GV through the portal, the end result is always the GV IP address followed by "Token Error". I am trying to avoid giving up the arrynrob firmware (OBi2-3-2-2-5921EX-arrynrob9.fw) if at all possible.

pm sent.

reminder: to use obitalk portal provisioned GV credentials with the modded fw, make sure the AuthPassword field is cleared/defaulted.

josephf
join:2009-04-26
to naf
In a nutshell, is the primary reason someone would change from the stock firmware to this custom firmware is to be able to connect to GV without OBiTalk?

(The follow up is what's the benefit of being able to bypass OBiTalk?)
naf
join:2017-12-12

1 edit

1 recommendation

In case any of you have recently purchased a obi2000, here's a bsdiff from stock 4907 (»fw.obihai.com/OBi2000-6- ··· -4907.fw)

md5sum OBi2000-6-2-3-4907-signature-bypass.fw = 24d0bcad8601d96b5f6b05120181c967

Changes:
- mods obiapp to bypass pki signature check when upgrading fw
- passes signature check itself

So, to go to a modded fw from stock, flash to 4907-signature-bypass first
naf

1 edit

1 recommendation

OBi2000-6-2-···diff.zip
19,038,227 bytes
...and the corresponding mod fw for 2000 with the usual features

bsdiff from stock 4983 (»fw.obihai.com/OBi2000-6- ··· -4983.fw)

md5sum OBi2000-6-2-3-4983-taoman1.fw = 96f1050de137bc8c2737500b987c4337

Changes:
- enable dropbear ssh server. default root passwd = "obi".
- patch obiapp to bypass "zero touch" forced configuration. added clear_zt_params util to clear old zero touch params.
- patch obiapp to bypass signed firmware check when loading new fw
- patch obiapp to bypass GVSIP provisioning lock

Mod implemented using a new technique of adding code to the padding at the end of an ELF segment instead of overwriting functions inline, because this fw uses oauth in more places.

On that subject, can someone investigate under what circumstances the device is configured using oauth by entering the code on the phone itself?
SnakeByte
join:2016-02-18

4 edits
to naf

Another victim of Connecting to 216.239.36.145;Token Error

I've climbed through this thread and read through various todo lists on how to fix this, but I haven't been successful yet.
Until today, I had a vanilla Obi202 that was set up through obitalk.com's normal process -- never messed with any "expert" setting, etc.

Discovered I wasn't running the latest firmware, and also noticed there was a hacked version that allowed ssh, so I upgraded to that: 3.2.2 (Build: 5921EX-arrynrob9)

Logging into google voice, removed the obi device that was listed there, also removed "Google Voice Has access to Google Hangouts" 3rd party access from the "Manage Google" account security area. Logged into obitalk.com's site and removed the obi202 device.
Unplugged, paperclipped the reset button, and powered on the device for 15 seconds. Removed paperclip.

Dialed the **5 code to re-add the obi202 device back to obitalk.com, and did not auto-install gvoice straight afterwards (I don't think that's important for most people who have the obi202, but I did it anyway). I did eventually attempt to provision gvoice on SP1, but the end result was the same Token Error.

I tried over 15 times to re-provision gvoice (before and after the hardware reset), but the results were always the same -- "Configuring..." -> "Registration Not Required" from obitalk.com's web gui, but that token error from the local web gui of the obi202. If I wait a bit, obitalk also reports the Token Error. In case I'm doing something wrong, this is how I attempted to re-provision: Trashcan for SP1 to clear its settings, click SP1, Google Voice "Setup now", Accept terms of service (that doesn't display because of html embedding problem), enter in my area code, click"Finish Setup", go through the google oauth prompts to accept the permission grant, click "confirm" button)

I used naf419's param_dump utility and I see filled values for GApiInitAccessToken, GoogleClientInfo, and GApiRefreshToken. It looks like it records each attempt to provision, since the entries increase by one each time I tried after the hardware reset. I am confused about the memory location being the same for each though?

E.G.:
# ./param_dump |grep -E "GApiInitAccessToken"|sort -u|cut -c 1-107
4134628a a4000001: 8a623441 (VoiceService.1.VoiceProfile.1.Line.1.X_GApiInitAccessToken) = "ya29.a0AfH6SMB-
4134628a a4000001: 8a623441 (VoiceService.1.VoiceProfile.1.Line.1.X_GApiInitAccessToken) = "ya29.a0AfH6SMB5
4134628a a4000001: 8a623441 (VoiceService.1.VoiceProfile.1.Line.1.X_GApiInitAccessToken) = "ya29.a0AfH6SMBT
4134628a a4000001: 8a623441 (VoiceService.1.VoiceProfile.1.Line.1.X_GApiInitAccessToken) = "ya29.a0AfH6SMBb
4134628a a4000001: 8a623441 (VoiceService.1.VoiceProfile.1.Line.1.X_GApiInitAccessToken) = "ya29.a0AfH6SMBg
4134628a a4000001: 8a623441 (VoiceService.1.VoiceProfile.1.Line.1.X_GApiInitAccessToken) = "ya29.a0AfH6SMCS
4134628a a4000001: 8a623441 (VoiceService.1.VoiceProfile.1.Line.1.X_GApiInitAccessToken) = "ya29.a0AfH6SMCT

# ./param_dump |grep -E "GApiRefreshToken"|sort -u|cut -c 1-95
2ab361e2 67000001: e261b32a (VoiceService.1.VoiceProfile.1.Line.1.X_GApiRefreshToken) = "1//06C
2ab361e2 67000001: e261b32a (VoiceService.1.VoiceProfile.1.Line.1.X_GApiRefreshToken) = "1//06H
2ab361e2 67000001: e261b32a (VoiceService.1.VoiceProfile.1.Line.1.X_GApiRefreshToken) = "1//06J
2ab361e2 67000001: e261b32a (VoiceService.1.VoiceProfile.1.Line.1.X_GApiRefreshToken) = "1//06K
2ab361e2 67000001: e261b32a (VoiceService.1.VoiceProfile.1.Line.1.X_GApiRefreshToken) = "1//06T
2ab361e2 67000001: e261b32a (VoiceService.1.VoiceProfile.1.Line.1.X_GApiRefreshToken) = "1//06Z
2ab361e2 67000001: e261b32a (VoiceService.1.VoiceProfile.1.Line.1.X_GApiRefreshToken) = "1//06i

The client, understandably, remains the same:

# ./param_dump |grep -E "GoogleClientInfo"|sort -u|cut -c 1-90
e158199b 00000001: 9b1958e1 (VoiceService.1.VoiceProfile.1.Line.1.X_GoogleClientInfo) = ""
e158199b 35000001: 9b1958e1 (VoiceService.1.VoiceProfile.1.Line.1.X_GoogleClientInfo) = "C

I'm trying to determine what's broken here -- **9222222222 works fine, and obviously obitalk can communicate with the obi202 since it's able to write these parameters to the device, but it looks like the tokens it's getting from Google just don't work, or Google is actively rejecting this client (Newly blacklisted User Agent?). I'm using macOS Email as another "3rd party app" that works fine with the google account, and my ios devices all work fine with the google voice app and this google account.

Also, to confirm, I think this means AuthPassword hasn't been set?

# ./param_dump |grep Auth|sort -u
2edc87ba 00000001: ba87dc2e (VoiceService.1.VoiceProfile.1.Line.1.SIP.AuthUserName) = ""
2edc87ba 09000001: ba87dc2e (VoiceService.1.VoiceProfile.1.Line.1.SIP.AuthUserName) = "${DSN}_1"
SnakeByte
Never mind -- started working some time after midnight PST.
naf
join:2017-12-12
to SnakeByte
said by SnakeByte:

...
It looks like it records each attempt to provision, since the entries increase by one each time I tried after the hardware reset. I am confused about the memory location being the same for each though?
...
Also, to confirm, I think this means AuthPassword hasn't been set?

Looks like you got it working, but I'll clean up questions for future reference:

Its not a memory location, its a 4-byte djb2 hash of the setting name. I suspect the blank entry is marking it as not default. The entries are appended in realtime when settings are changed and only later rewritten in a shorter de-dup'ed format.

AuthPassword is unused for GV in stock (although mod fw used to re-use this field to accept a custom oauth client/secret, not really applicable anymore)
naf

4 recommendations

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

OBi1FW See Profile, if I haven't filled up all your hosting space yet, can you add the additional 2000 series fw (installation instructions mirror the 1000 series), and update the 500-series to syspro5 with the noshell-signed method of unlocking stock firmware on your site please?
OBi1FW
join:2017-12-27
Vienna, VA
It is done. If details are wrong, please let me know. Thank you once again for your work.
Lewy7
join:2010-11-03
to naf
I have a new Obi202 running firmware 3.2.2 Build 5921EX and I am getting the token error when setting up GV. I looked through the prvious posts and while it seems like this firmware will help it's not clear to me how. Can someone please provide info as well as the steps I need to upgrade to this firmware.
I also have an Obi110 running firmware 1.3.0 Build 2872. Will I be able to use it with Gv if i upgrade to this firmware?
Thanks
Lewy7
to naf
Sorry double post.
OldCoalMiner
join:2004-05-20
to naf

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

I need to ask what might be a dumb question, but to me is not apparent: The firmware, mods and patches (ending in .fw) from obifirmware.com need to be executed from linux, or can they be run from windows?
OzarkEdge
join:2014-02-23
USA

1 recommendation

All OBi .fw firmware files I've seen are directly uploaded to the OBi webUI, not run by Linux or Windows.

OE
OldCoalMiner
join:2004-05-20
Thank you. I did not pick up on that detail.
OldCoalMiner
to OzarkEdge
After staring at this for a while I think I see how to install the firmware, point Firmware Update to the .fw file from obifirmware.com, following the instructions there.

As for GV, I see a few people asking naf for instructions, and he replies 'sent you a pm.' Naf I'm asking for the same thing, can yo please send the GV how tos.

Thanks
naf
join:2017-12-12

2 recommendations

"sent you a pm"
Lewy7
join:2010-11-03
said by naf:

"sent you a pm"

Can you please send one to me too.
Thanks!
ostridge
join:2015-08-02
United Kingd

3 recommendations

to naf

Re: Obihai OBi2000 firmware mods

Hi I am impressed with what you have achieved here - so necessary as hardware tends to get to EOL and LTS non existant.
Congratulations on what has been achieved so far.

Question
OBi2000-6-2-3-4907-signature-bypass.fw won't load over stock OBi2000-6-2-3-4907
Is a workaround possible?
naf
join:2017-12-12

2 recommendations

said by ostridge:

Question
OBi2000-6-2-3-4907-signature-bypass.fw won't load over stock OBi2000-6-2-3-4907
Is a workaround possible?

just flash stock 4983 first: »fw.obihai.com/OBi2000-6- ··· -4983.fw
Lewy7
join:2010-11-03
to naf

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

@naf
I'm running OBi2-3-2-2-5921EX-arrynrob9.fw ona 202. I followed the instructions you sent and am still getting the GV token error. By the way what goes in the SPx AuthUserName field?
Please advise.
Thanks
naf
join:2017-12-12

2 recommendations

said by Lewy7:

I'm running OBi2-3-2-2-5921EX-arrynrob9.fw ona 202. I followed the instructions you sent and am still getting the GV token error... Please advise.

id advise you just use the portal, unless you have a reason not to. otherwise, retry instructions from beginning i guess
said by Lewy7:

By the way what goes in the SPx AuthUserName field?

obi uses "${DSN}_1" for SP1, "${DSN}_2" for SP2, etc. so does the provided xml config template. id stick with that
said by Lewy7:

Can I use google voice on also on my Obi110...

obi100/110 contain no code to handle the current GV interface, so no.
Lewy7
join:2010-11-03
Thanks naf. I had the token error before installing the modded firmware and was hopeful that the modded firmware would solve the problem. I can certainly try using the portal again, but what advantage would the modded firmware add if I did that? Either way I will retry the portal.
I know others have posted about the token error. Did I miss a solution somewhere in this thread?
naf
join:2017-12-12

2 recommendations

said by Lewy7:

Thanks naf. I had the token error before installing the modded firmware and was hopeful that the modded firmware would solve the problem. I can certainly try using the portal again, but what advantage would the modded firmware add if I did that? Either way I will retry the portal.
I know others have posted about the token error. Did I miss a solution somewhere in this thread?

Token error just mean that trading the oauth refresh_token for an access_token failed. So far each case has been user error (typing string incorrectly, network issues, etc), but perhaps it could also be some kind of GV account problem (ie attempting to use a work/paid account or whatever) but nobody has actually documented anything in that last category.

You can try to access the URL that you put in the AuthPassword field manually (wget/curl/etc) to verify you have a valid refresh_token.

If going back to portal, remember to clear/default the AuthPassword field, otherwise the mod firmware will continue to use the possibly-bogus AuthPassword string instead. (It says that in the syslog which methods it is using, which you might also consider looking at)
Lewy7
join:2010-11-03
Thanks naf. I sent you a pm to clarify something which I'm not sure you want posted in public, since it seems like you don't want the instructions out in the open. I really appreciate the help.
Chrushev
join:2008-07-30
Newport Beach, CA

2 edits
All of a sudden calls arent making it to my Obi200. This started yesterday at noon and still cant get through. After a bunch of rings just goes to the google voice voicemail. Trying to dial out get the message that call
cannot be completed as dialed.

Obi Dashboard shows it as offline. I am running (and have been running the custom firmware for 2 years now) - »imgur.com/kxDIpLj

Anyone else with this issue?
Chrushev

1 recommendation

said by Chrushev:

All of a sudden calls arent making it to my Obi200. This started yesterday at noon and still cant get through. After a bunch of rings just goes to the google voice voicemail. Trying to dial out get the message that call
cannot be completed as dialed.

Obi Dashboard shows it as offline. I am running (and have been running the custom firmware for 2 years now) - »imgur.com/kxDIpLj

Anyone else with this issue?

Was an issue on Google's side. More info here »www.obitalk.com/forum/in ··· 8329.160
turk
join:2009-03-10
canada
Have an OBI with 3.22 5898EX.
Can this be changed to your latest firmware?
Chrushev
join:2008-07-30
Newport Beach, CA
Id like to clarify, what needs to be shut off/changed from a factory reset Obi200 on custom firmware once it is set up through Obi's website to work with GV?

I disabled Auto Firmware downloads. Is there anything else that needs to be disabled in order to ensure that custom firmware is not overwritten by Obihai?
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net

4 recommendations

System Management >> Auto Provisioning:
Auto Firmware Update >> Method: Disabled
ITSP Provisioning >> Method: Disabled
OBiTalk Provisioning >> Method: Disabled

Voice Services >> OBiTALK Service:
Enable: (Unchecked)

Physical Interfaces >> PHONE Port:
DigitMap: (add !**5S0| as the first sequence of the DigitMap to prevent OBiTALK from accidentally being re-enabled.)
turk
join:2009-03-10
canada
Further reading showed me what had to be done. Thanks Naf
Chrushev
join:2008-07-30
Newport Beach, CA
to Mango
said by Mango:

System Management >> Auto Provisioning:
Auto Firmware Update >> Method: Disabled
ITSP Provisioning >> Method: Disabled
OBiTalk Provisioning >> Method: Disabled

Voice Services >> OBiTALK Service:
Enable: (Unchecked)

Physical Interfaces >> PHONE Port:
DigitMap: (add !**5S0| as the first sequence of the DigitMap to prevent OBiTALK from accidentally being re-enabled.)

Thanks. Question about Obitalk Provisioning. Is this not necessary because Obi200 is routed directly to GV and doesnt need Obitalk at all?
sky43
join:2021-06-18
to naf
Thanks naf et al., your work is much appreciated! I've installed your latest build on my Obi504 and it's working great with GV.

Looks like GVSIP went down last week due to new certs being pushed out to Google's servers. They did some temporary fix but at some point I imagine the new CAs will need to be added to the Obi devices. It looks like in the later fw revs it's possible to provision those so maybe new fw is not required for that.
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
to Chrushev
None of what I quoted is needed, after the device is configured to your preference.
naf
join:2017-12-12

7 recommendations

In regards to the latest round of certificate rotation doom&gloom, I dumped the hardcoded list of rootCAs from the 5921 firmware:

Name											Expiration
Obihai Certification Authority					Jan  2 22:33:47 2038
Obihai Certification Authority 					Dec 15 01:35:11 2030
Valicert										Jun 26 00:19:54 2019
Equifax Secure Certificate Authority			Aug 22 16:41:51 2018
VeriSign Class 3 Public Primary CA				Aug  1 23:59:59 2028
AddTrust External CA Root 						May 30 10:48:38 2020
UTN-USERFirst-Hardware 							May 30 10:48:38 2020
Go Daddy Class 2 Certification Authority		Jun 29 17:06:20 2034
DigiCert High Assurance EV Root CA				Jul 25 17:57:44 2019
Baltimore CyberTrust Root						Aug 13 16:35:17 2018
GTE CyberTrust Global Root 						Aug 13 23:59:00 2018
Starfield Class 2 Certification Authority		Jun 29 17:39:16 2034
Baltimore CyberTrust Root 						May 12 23:59:00 2025
thawte Primary Root CA 							Jul 16 23:59:59 2036
Thawte Premium Server CA						Jan  1 23:59:59 2021
COMODO RSA Certification Authority 				Jan 18 23:59:59 2038
RapidSSL SHA256 CA - G3 						May 20 21:39:32 2022
Go Daddy Root Certificate Authority - G2 		Dec 31 23:59:59 2037
GeoTrust Global CA 								May 21 04:00:00 2022
VeriSign Class 3 Public Primary CA - G5 		Jul 16 23:59:59 2036
thawte Primary Root CA - G3 					Dec  1 23:59:59 2037
DigiCert Global Root CA 						Nov 10 00:00:00 2031
Google Internet Authority G2 					Dec 31 23:59:59 2016
DST Root CA X3 									Sep 30 14:01:15 2021
GlobalSign Root CA - R2 						Dec 15 08:00:00 2021
obisigning								 		Apr 12 00:02:02 2038
 

The obihai.telephony.goog SIP endpoint is currently returning a cert rooted by "GlobalSign Root CA - R2", which expires Dec 15 2021.

So, if obi/poly doesn't turn around a firmware before that cert is updated or expires, those with modded firmware should be able to just add the 5 other root CAs google lists at »pki.goog/repository/ to their device themselves.
naf

2 edits

7 recommendations

To add 5 google root CA certs, unzip and store this on the obi at /scratch/customca.pem
Then enable via the webgui at System Management > Device Admin > Trusted Certificate Authorities > Enable

(Note extra 256 bytes at end are the placeholder for an obi signature. this area is only checked when customca's get provisioned, not on read so we bypass that by writing ourselves)
naf

11 recommendations

bsdiff from stock 8680 (»www.obitalk.com/Download ··· 680EX.fw)

md5sum OBi2xx-3-2-2-8680EX-arrynrob10.fw = 3b87ee59ecb69807d83ec46258c2a66c

Changes:
- enable dropbear ssh server. default root passwd = "obi".
- (NEW) included a version of wget that supports https
- patch obiapp to bypass "zero touch" forced configuration. added clear_zt_params util to clear old zero touch params
- patch obiapp to use /scratch/contacts.xml for caller id number to name translation lookup
- patch obiapp to bypass signed firmware check when loading new fw
- patch obiapp to bypass GVSIP provisioning lock
- patch obiapp to bypass 30x models GV initialization block

(just rebasing arryrob9 onto 8680 and fixing wget while im at it)
naf

6 recommendations

rebased the 1000 and 2000 changes to newly released stock also.

diffs too big to post, but I'll send the files over to OBi1FW See Profile and hope they will be kind enough to post them (and the 200 update above) on obifirmware.com

for verifiability:
md5sum OBiPhone-5-1-11-5312EX-olisom5.fw = c2a744a067447a78a348ecd17795c757
md5sum OBi2000-6-2-3-5330-taoman1.fw = 03f7cf28f0094296bed48cfe5d3e4f22

if anyone has a link to the elusive 50x firmware 4.0.6 (Build: 8047), let me know.
OBi1FW
join:2017-12-27
Vienna, VA

5 recommendations

All done. And thank you.
Anon1b17f
@208.104.23.x
to naf
I have installed the certs and they look ok, I can see them in the GUI and have enabled them. But today I am getting the "Token Error" again on my Obi504. I guess Google has updated their certs after releasing the fw for the other models.

Maybe I need to install different certs?
naf
join:2017-12-12

1 recommendation

said by Anon1b17f :

Maybe I need to install different certs?

the obihai.telephony.goog endpoint still appears to use the old "GlobalSign Root CA - R2" cert.

but on the oauth endpoint (www.googleapis.com), some of the dns round-robin'd ips use that same root cert, but some are now rooted off of something named 'GlobalSign nv-sa', whatever the fuck that is

try attached file, which adds that cert to the previous 5

brg
Premium Member
join:2001-01-03
Chicago, IL
Have been using my Obi 200 without issue for quite a while (years?). It's been on 3.2.2 (Build: 5921EX-arrynrob9) for as long as I can remember. Basically set-and-forget for some time now.

I returned from being out of town the other day to see the SP1/GV status as unconnected with the "token error" message. Nothing that =I= had done -- I haven't touched the box in a looooong time. Rebooted; unplugged; etc.; no joy.

Have been re-reading this thread, and have been tinkering with a fix. Downloaded the newest FW but set that aside after reading the prerequisites to updating. Saw the previous posts regarding updated certs. Worked on installing them but couldn't telnet in to do so (PW was being rejected, even though I was pretty sure I knew what it was and was otherwise able to access the box via the browser interface).

I ultimately performed a factory reset. The box now sits at factory clean with 3.2.2 5921EX-arrynrob9. I quickly re-instated any non-default parameters so as to prevent updates by Obi/Poly (thanks for the convenient list a few posts above, @Mango).

I'll go about reconfiguring the various SPs that I use for my various SIP providers. But: I don't know/remember how to get GV set back up on SP1. Is there a tutorial somewhere? It's been so long, and has worked without intervention for all that while, that I no longer recall how to do it (outside of connecting to the ObiTalk portal which I always avoid).

Perhaps a helpful PM with pointers?

Thanks!
amb
join:2018-04-08

3 recommendations

to brg

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

said by brg:

Have been using my Obi 200 without issue for quite a while (years?). It's been on 3.2.2 (Build: 5921EX-arrynrob9) for as long as I can remember. Basically set-and-forget for some time now.

Hah, hi! You are me, right down to running 5921 and getting back from out of town to seeing the "token error" message.

Have been re-reading this thread, and have been tinkering with a fix. Downloaded the newest FW but set that aside after reading the prerequisites to updating.

If you're looking at obifirmware.com, the listed prereqs for updating are (with bypass-uboot-mod) are, I am *fairly* sure, only if you are coming from stock firmware. If you are upgrading from an older arrynrob version you can just drop in the new thing.

What I can say for sure is that I just went from OBi2-3-2-2-5921EX-arrynrob9 to OBi2xx-3-2-2-8680EX-arrynrob10 and everything once again works perfectly, *except* somehow the "AccessFromWAN" flag got turned off. I used the phone interface to turn it back on (instructions here: »Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods ). Config otherwise looks the same at first glance, but the only things I checked thoroughly were that the auto-update stuff is still disabled and that calls work again.

I'll go about reconfiguring the various SPs that I use for my various SIP providers. But: I don't know/remember how to get GV set back up on SP1. Is there a tutorial somewhere?

If there's a way other than to set it up via the obitalk.com interface I'd love to know too. There was a messy way that used to work via setting up auth tokens with google directly but afaik google killed it. State of the art as I understand it is to set things up with obitalk and then disable access so Polycom can't screw you up again. (If there is some new awesome way I'd love to get a reply here or a PM!)

Hope this helps!
Chrushev
join:2008-07-30
Newport Beach, CA

1 edit

4 recommendations

to brg
Some info if anyone missed it

»support.google.com/voice ··· portant-
information-for-poly-obitalk-consumer-device-use-with-google-voice

Ive been running version 9 of custom firmware for 3 years now with no issues, got Token error today, read that, updated to version 10 (just dropped it on top), unit came up and all is good.

brg
Premium Member
join:2001-01-03
Chicago, IL
to amb
said by amb:

Hah, hi! You are me, right down to running 5921 and getting back from out of town to seeing the "token error" message.

That's pretty funny!

If you're looking at obifirmware.com, the listed prereqs for updating are (with bypass-uboot-mod) are, I am *fairly* sure, only if you are coming from stock firmware. If you are upgrading from an older arrynrob version you can just drop in the new thing.

Well, crap. I didn't grasp that rather important point, and probably broke things for no good reason.

What I can say for sure is that I just went from OBi2-3-2-2-5921EX-arrynrob9 to OBi2xx-3-2-2-8680EX-arrynrob10 and everything once again works perfectly, *except* somehow the "AccessFromWAN" flag got turned off. I used the phone interface to turn it back on (instructions here: »Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods ). Config otherwise looks the same at first glance, but the only things I checked thoroughly were that the auto-update stuff is still disabled and that calls work again.

Super helpful; thank you. I'll go update to OBi2xx-3-2-2-8680EX-arrynrob10

If there's a way other than to set it up via the obitalk.com interface I'd love to know too. There was a messy way that used to work via setting up auth tokens with google directly but afaik google killed it. State of the art as I understand it is to set things up with obitalk and then disable access so Polycom can't screw you up again.

That's surely what I did long ago, but I'm old and have now forgotten. That's what I'll do!
brg
to Chrushev
As noted just above, I didn't do that, but should have. Fixing now...
amb
join:2018-04-08
to brg
said by brg:
said by amb:

If there's a way other than to set it up via the obitalk.com interface I'd love to know too. [...] State of the art as I understand it is to set things up with obitalk and then disable access so Polycom can't screw you up again.

That's surely what I did long ago, but I'm old and have now forgotten. That's what I'll do!
Actually, catching up on the thread I'm pretty sure I'm wrong and there's once again some way to provision GV without using obitalk at all. (Which is not to say it's not what you did, and in any case it certainly works.) Could somebody (who is probably naf, but I'm open) PM me? Many thanks!
naf
join:2017-12-12

2 recommendations

said by amb:

Actually, catching up on the thread I'm pretty sure I'm wrong and there's once again some way to provision GV without using obitalk at all. (Which is not to say it's not what you did, and in any case it certainly works.) Could somebody (who is probably naf, but I'm open) PM me? Many thanks!

Friendly reminder that you can always provision GV on modded fw the obitalk portal way if you so choose (unless you have an obi30x or vendor-locked unit)

But if you choose not to... that what the PMs are for.
Anon1b17f
@208.104.23.x
to naf
Great, thanks for the help, looking good so far.
rwl408
join:2016-12-17
Fremont, CA
to naf
said by naf:

Friendly reminder that you can always provision GV on modded fw the obitalk portal way

I have a couple of Obi200s both with arrynrob9-fw and not in my Obitalk account - devices deleted after GV service setup). One of them has been continuously used since March, 2019 and went back to work normally without a hitch after upgraded to arrynrob10-fw a couple of days ago. Thanks for the high-quality work you have done, always. The second one, as a backup, has been in a drawer when I rotated the first one into service. When I connected it to the router, the status show some kind of "token" error (don't remember the exact wording) which wasn't a surprise. I went ahead with upgrade and login to my Obitalk account to add GV after verifying that auto updating firmware, auto provisionings and obitalk service were disabled as they used to be and they were. In the process I was asked for the Obi200 login password besides google account stuff. I was surprised and believed this was new since the last time I had been there. Anyway I continued with the process and supplied whatever needed. After the GV service was added, I made a few test calls to make sure everything was working. I then got into Obitalk and deleted the device and was surprise that the Obi200 was reset to default (even the custom password)! So I gave it another try and had the same result. In the process I discovered that all the things that were disabled were changed to enable. Fortunately the auto updating firmware was still disabled. I thought maybe I needed to disable provisioning things before I deleted the device. So I went into Obitalk the third time to setup GV service again and verified once again that the device was working. I then disabled the provisioning things and thinking about deleting the device in Obitalk one more time. But before I did that I realized that it probably was an exercise unnecessary because I will get the same "token" error down the road because the Obi200 will not be used anyway (back to the drawer) and I need to go through the same adding device to Obitalk again. By that time it was 3am and I was too tired to find out if disabling the provisioning things first would prevent Obitalk from resetting the device after it was deleted. I think I will keep what it is now until next time I need to touch the 2nd Obi200 involuntarily and find that out then.

jsolo1
Premium Member
join:2001-07-01
PRIL

1 recommendation

My eyes.............
jsolo1
to naf
@naf

Thanks for the certs. Both of our obi's finally died tonight with token errors. Probably should of installed them when you posted
valley_nomad
join:2012-11-26
New York, NY
to naf
My Obi302 with arrynrob9 stopped working last Friday. So I came here and found the update... Now it works again. THX!
fmv19
join:2018-08-11

2 edits
to naf
said by naf:

Friendly reminder that you can always provision GV on modded fw the obitalk portal way if you so choose (unless you have an obi30x or vendor-locked unit)

But if you choose not to... that what the PMs are for.

Which settings on the obi202 need to be re-enabled to use the 'obitalk portal way.' Thought maybe it was obitalk service and obitalk provisioning. When i click on the G voice setup in the portal, it won't take me to google to fill in the username and password to login.

Thankfully, my obi202 running arrynrob10-fw still seems to have my credentials stored and it's working from before.
OzarkEdge
join:2014-02-23
USA
·voip.ms

1 recommendation

said by fmv19:

Which settings on the obi202 need to be re-enabled to use the 'obitalk portal way.'

You could reset the OBi firmware to its defaults. Those should work with OBiTALK.com.

OE

aa2k
join:2000-10-06
Damascus, MD
to naf
Hello,
I am on the same boat as others it seems... I haven't looked at my Obi202 in a long time, I tried to use it this morning and I could not make a call, checked the Obi and a I had the following message:
status: Connect Failed: 403 Forbidden;Token Error (server=216.239.36.145; retry in 68s)
I rebooted and then I see:
Connecting to 216.239.36.145;Token Error

My firmware is the stock firmware and I have disabled provisioning from ObiTalk a long time ago since I am using Voip.ms as my second SPI, the first one is Google Voice.
my Obi202:
HardwareVersion 1.3
SoftwareVersion 3.2.2 (Build: 5898EX)

Is there anything I can do to make it work with GV again? or I need to upgrade to OBi2xx-3-2-2-8680EX-arrynrob10.fw (it seems to be the latest showed a few posts back) somehow?
If there is no choice and need to move to arrynrobb10 firmware how do I do that? there seems to be 2 files (OBi2xx-3-2-2-8680EX.fw and OBi2xx-3-2-2-8680EX-arrynrob10.fw.bsdiff) so I am a bit confused on how to proceed..
if I upgrade to this firmware can I still keep settings or I need to re-configure all?
Any help would be very much appreciated.
thanks!

jsolo1
Premium Member
join:2001-07-01
PRIL
Your firmware is a bit old... But, if it aint broke don't fix it right..

I'd try the cert update first. It's easy to do. Go back a few posts, naf posted the download and instructions.

aa2k
join:2000-10-06
Damascus, MD
Thanks, I found the certs
google_roots_padded.zip
google_roots2_padded.zip

steps I found:
To add 5 google root CA certs, unzip and store this on the obi at /scratch/customca.pem
Then enable via the webgui at System Management > Device Admin > Trusted Certificate Authorities > Enable

but not sure how to store those inside the Obi, I cant ssh (wscp)... to upload the file(s).. I cant seem to find a way to enable ssh...

jsolo1
Premium Member
join:2001-07-01
PRIL

1 recommendation

DOH!@# Forgot there's no shell on stock firmware.......

In that case, your only option might be to update fw (to one of naf's), then you can gain shell and add that file.

In theory, you shouldn't loose your settings after doing a fw update. I went from a 58xx to 59xx without any issues (the 58xx was naf firmware though).

Maybe hang tight to see what others suggest¿....?
naf
join:2017-12-12

1 recommendation

to aa2k
said by aa2k:

SoftwareVersion 3.2.2 (Build: 5898EX)

Is there anything I can do to make it work with GV again?

either upgrade to stock 8680EX or 8680EX-arrynrob10 (see obifirmware.com for instructions for latter). settings will persist, it should just start working
said by jsolo1:

In that case, your only option might be to update fw (to one of naf's), then you can gain shell and add that file.

manual cert installation is only required for 50x firmwares at this time, since all other current fws have updated root certs built in

aa2k
join:2000-10-06
Damascus, MD

1 edit
Ok, thanks Jsoloa and naf...

So I can upgrade directly to stock 8680EX or 8680EX-arrynrob10, that is great news, thanks!.. and I don't have to reconfigure it..
I have lost touch on this, what are the disadvantages of installing stock 8680EX? I remember Poly had a bad thing going with GV but I cant remember and that is why I stayed on the fw I am currently using...

edit:
But according to the instructions:
1.- since I have 5898EX I (I read this wrong) I can go ahead and install 'bypass-uboot-mod' directly (no need to go to 5921EX first)
2.- then install arrynrob9 fw.

if for some reason I want to revert to stock fw, is that possible by just loading it?
aa2k

4 edits

1 recommendation

Ok I upgraded to arrynron10 firmware..
SoftwareVersion 3.2.2 (Build: 8680EX-arrynrob10)

everything went well. no issues... but I am still getting this under GV:
Connecting to 216.239.36.145;Token Error

Edit:

OK, its fixed:
I 'enabled' back under System Management >> Auto Provisioning:
ITSP Provisioning >> Method: Disabled
OBiTalk Provisioning >> Method: Disabled
Also cleared/defalt Auth/Password field for GV (I read a naf post about doing this) - rebooted Obi,
I went to Obitalk portal and clicked on GV settings, took a long time but after about 3 minutes trying to configure it ended up with a "offline" message but then I went back to check the Obi202 and GV read I was already 'connected'
I disabled the 2 settings above.. Done

GV is working now...

Thanks so much for your help!!
kehi66
join:2014-09-05
to naf
I updated from 5921 to 8680 last evening after I found calls not working either way. After update outbound calls work but inbound goes directly to voicemail stating "google subscriber is not available". Any assistance would be greatly appreciated
Brown
join:2018-01-21

1 recommendation

In your GV settings under "My devices" and under "Calls" make sure the "OBiTALK Device..." is switched on (slide switch to right).
Under "Do not disturb" make sure the slide switch is off (left).
While you're there make sure "Filter spam" switch is on.
kehi66
join:2014-09-05
Thanks for the suggestions. All settings are as you listed and still unable to get inbound call. I also tested to see if calls could be received by web instead of the Obi200 and that gave me the same "google subscriber is not available"
Brown
join:2018-01-21

3 recommendations

Do they show in the GV spam list?
kehi66
join:2014-09-05

1 recommendation

Thanks so much...That was the fix. I have no idea how that number got marked as spam
DJB628
join:2018-05-28
Delray Beach, FL

2 edits
to naf
GM all, I like most have not checked my OBI 202 in almost 3 years and same as others noticed it was not working this morning.

I read a few pages back, but I am still confused about the exact steps for me to proceed to get it working again, so before I mess up, I'll post here to make sure I proceed correctly from here. As they say when in doubt do without, so ask if you're unsure.

I'm on Naf's Version 5921EX, Can I simply update, or do I have to do the many steps describe in the past post, as I am still confused, sorry again been a long time since I did this, so patience please.

I can follow proper steps, just can't decipher the steps required where I am at at with my current FW, so I'd like to do this once and right.

Took me a bit to remember how to login and the check the current FW, LOL

Looks like I can simply update to the current FW and reboot and all should be fine, if there is anything else before I update let me know, but I'll wait to make sure

I'll check in tomorrow on response, as I won't be around, so don't think I'm ignoring.

Please advise.
naf
join:2017-12-12
said by DJB628:

Looks like I can simply update to the current FW and reboot and all should be fine...

Correct
DJB628
join:2018-05-28
Delray Beach, FL

2 edits
to naf
OK, just got back, I downloaded latest FW, then logged into the OBI portal, Updated, let it sit for a few minutes, then refreshed the page, then said URL cannot be found, I then proceeded to test the 2 lines out and outgoing worked again, but tested for incoming and straight to Vmail, Then I tried again to log into the OBI portal and same message, URL cannot be found, Logged into my router to make sure the IP didn't change, and it was the same, I then unplugged the OBI 202 for 30Secs, then tested again, incoming still straight to VM, and still can't login to the portal, same message URL cannot be found.

I also did reboot the router just incase, I also checked by phone to IP address to make sure that didn't change, Hope I didn't do the update wrong.

Any suggestions ?? Weird I can't log back into the portal, Hope I didn't so something wrong ?
Brown
join:2018-01-21

3 recommendations

Before you can log into the Obi you need to "Enable WAN" from Phone:
Dial ***0 from the phone
Enter 30#
Press 1 to Enter a New Value
Press 1# to Enable
Press 1 to Save
taoman
Premium Member
join:2013-09-13
Seattle, WA
to DJB628
Delete.
DJB628
join:2018-05-28
Delray Beach, FL

1 edit

1 recommendation

to Brown

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

Thanks, good to know this, LOL Done and I'm able to login, now let me see why I can't receive calls but can call out.

OK, still can't receive calls on my 1st line, goes straight to VM, but I can call out

2nd Line both work, so I'm assuming something else is not set properly on the 1st line.
DJB628

1 recommendation

Figured it out, Wife just told me she turned on Do Not Disturb on our main line, LOL

I'll change it to see, for kicks and grins
DJB628
to naf
One last question, to do a backup, that's done in system management for the configuration, what does need to be check marked to save incase. I assume that the only backup that needs to be done there ?
DJB628
Or anyone else know the proper process to back up ? The process seems easy, just curious what boxes need to be check marked.
naf
join:2017-12-12

1 recommendation

said by DJB628:

One last question, to do a backup, that's done in system management for the configuration, what does need to be check marked to save incase. I assume that the only backup that needs to be done there ?

said by DJB628:

Or anyone else know the proper process to back up ? The process seems easy, just curious what boxes need to be check marked.

The answer to these questions is going to depend almost entirely on what you define as a 'proper' backup and what you hope to do with it.

In general, the gui backup (no matter which boxes you check) is not sufficient to restore a device after config reset back to the previous working config, because the backup file cannot save/restore passwords and hidden settings (especially those required for GV).

jsolo1
Premium Member
join:2001-07-01
PRIL
^^Is there something simple that can be done from ssh to dump all the settings then restore them back?
naf
join:2017-12-12

1 recommendation

said by jsolo1:

^^Is there something simple that can be done from ssh to dump all the settings then restore them back?

simple? yes. but it would be dangerous in terms of bricking the device.

problem is that the config settings aren't in a separate MTD partition by themselves. so if you're limited to the tools already provided in the rootfs (flashcp), you would have to backup the partition that maps to the entire contents of the flash chip and restore it in its entirety. (clearing and re-writing the uboot partition and the area where the unit-specific info are stored is just asking for sadness)

you'd really want to have dd and a version of flashcp that takes offsets, or a custom tool that reads/writes only the area where the config settings are located. and even then you're stuck with a backup thats not human-readable (param_dump aside) and that can only be restored to the same device (because settings are encrypted with device mac)

jsolo1
Premium Member
join:2001-07-01
PRIL
Thanks for the details. I suppose redoing the gv portion manually isn't that difficult. Better than potentially bricking the device.

Knock on wood the boxes here (200/202) have been going on 5/6 years respectively. Both are on a UPS so that helps when the power fluctuates.
egrieg
join:2020-03-17
to naf
So like others, I haven't touched my Obi in years and woke up to it not working a week or so ago.

I have a 1032 phone and, I had updated to a custom FW a long time ago (5.1.11 Build 4858EX.1311-olisom5b). Since I'm a different (and I'm guessing much older custom FW), I'm not sure what my next steps are?

Currently phone is showing offline in the obitalk dashboards, so not sure if there is more to troubleshoot there as well?

Broadly, the only thing I do with the phone is GV, what are the current benefits of running a custom FW vs stock if I were to Factory Reset?
DJB628
join:2018-05-28
Delray Beach, FL
to naf
Thanks for the info, greatly appreciated.
naf
join:2017-12-12

1 recommendation

to egrieg
said by egrieg:

So like others, I haven't touched my Obi in years and woke up to it not working a week or so ago.

I have a 1032 phone and, I had updated to a custom FW a long time ago (5.1.11 Build 4858EX.1311-olisom5b). Since I'm a different (and I'm guessing much older custom FW), I'm not sure what my next steps are?

To get root certs to fix GV connection, simply upgrade to either stock 5312 or 5312-olisom5
Statikk
join:2019-10-03
Clovis, CA
to naf
Hi naf. I got the token error on my 1062 the other day and updated to OBiPhone-5-1-11-5312EX-olisom5. All my lines came back up without a problem. But then I remembered that the newer fw has issues with my USB headset. Is it possible to use the older fw (I think I was on OBiPhone-5-1-11-4858EX-noshell-signed.fw and it worked fine with my headset) and just add the new certs? Or is it even that complex? Will the certs from the new firmware remain when I downgrade so that I don't have to copy them in manually?
naf
join:2017-12-12

1 recommendation

said by Statikk:

the newer fw has issues with my USB headset. Is it possible to use the older fw ... and just add the new certs?

yes, you can revert to a previous working modded fw and add the certs through the shell:
instruction: »Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods
certs file: »Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods
Statikk
join:2019-10-03
Clovis, CA
Thanks for the quick reply! I really appreciate all you do for this community. I successfully downgraded and installed the certs. All my lines are functioning. Now I just have to wait until tomorrow for some long headset calls to make sure it doesn't crap out anymore. This phone has been a life saver ever since I started full time work from home!
RandyG
join:2020-08-13
to naf
said by DJB628:

...simply update to the current FW and reboot and all should be fine...

I did exactly that, and it was truly all fine. nice quick fix naf, TY
DPyro
join:2009-07-24
to naf
Hello,

my obi200 has stopped working after trying to manually flash it. I can ping the device but can't access the web ui. How do I access recovery mode?
naf
join:2017-12-12

1 recommendation

said by DPyro:

my obi200 has stopped working after trying to manually flash it. I can ping the device but can't access the web ui. How do I access recovery mode?

recovery mode is entered automatically by the device at boot time if it notices the boot partitions fail to match the prerecorded checksum.

what about the phone interface?
DPyro
join:2009-07-24
I was able to get in by unplugging and powering up without the ethernet plugged in at boot.
egrieg
join:2020-03-17
to naf
Thanks, at this point, what is the value in the custom FW vs stock?
Brown
join:2018-01-21

1 edit
I think a name (and number) on a ringing phone is a lot better than just a number.
DPyro
join:2009-07-24
to naf
If anyone is tired of the web ui look I have a simple css edit you can make.
djlauria
join:2021-09-10
to naf
For some reason I cannot update from 5921EX-arrynrob9 to 8680EX-arrynrob10. After upload and reboot it's always on the earlier firmware. As far as I can tell, once I'm on the arrynrob9, I should be able to drop in the newer version, isn't that correct?

bbbc
join:2001-10-02

2 edits
to naf

Scheduled reboot?

Any chance a scheduled reboot can be baked into the firmware? I have a location where the router reboots frequently (because of a LTE dongle) and the OBi's Wi-Fi adapter never snaps back and forces me to do a manual reboot for connectivity. Found this, but was hoping not to get a Pi out of retirement - »flows.nodered.org/flow/2 ··· d21e2279

EDIT
Duh, can't use a Pi with this since it would have no means to communicate with the wireless Obihai.
naf
join:2017-12-12

2 edits

1 recommendation

said by bbbc:

Any chance a scheduled reboot can be baked into the firmware? I have a location where the router reboots frequently (because of a LTE dongle) and the OBi's Wi-Fi adapter never snaps back and forces me to do a manual reboot for connectivity.

Assuming modded firmware, you have write-access to a startup script at /scratch/etc/rc.custom (note by default it uses this mechanism to start dropbear sshd, so don't remove that)

you could probably translate the "reboot every 24h if call no in progress" logic into an ash script and kick it off from there

bbbc
join:2001-10-02

I effed up with the Wi-Fi

Yes, modded firmware. So I was a dummy and forgot that I swapped out a router in a rush and ignored updating the OBi settings in the process.
said by naf :

Assuming modded firmware, you have write-access to a startup script at /scratch/etc/rc.custom (note by default it uses this mechanism to start dropbear sshd, so don't remove that)

you could probably translate the "reboot every 24h if call no in progress" logic into an ash script and kick it off from there

Any chance you could be nice when you're bored (joking) and create a dummies rebooting script guide? I could also get a simple $10 light timer to power cycle the Obihai like I do with another networked device, but would love to have something baked in.

I was clueless about the new July 31st firmware and updated this 202 and a 1062. I want to nuke the phone's PhonePower customization to generic. A bit confused when reading this thread since it looked like you sent olisom stuff directly. Are using files from these two posts correct - »Re: Obihai OBi200/202/302 + OBiPhone firmware mod and »Re: Obihai OBi200/202/302 + OBiPhone firmware mod ?
naf
join:2017-12-12

1 recommendation

said by bbbc:

... I want to nuke the phone's PhonePower customization to generic. A bit confused when reading this thread since it looked like you sent olisom stuff directly. Are using files from these two posts correct - »Re: Obihai OBi200/202/302 + OBiPhone firmware mod and »Re: Obihai OBi200/202/302 + OBiPhone firmware mod ?

that discussion was the original development of the idea.
clear_zt_params has been included in the modded fw since its release. no additional downloads required.

bbbc
join:2001-10-02
said by naf :

clear_zt_params has been included in the modded fw since its release.

Sorry to sound dumb if it's been addressed elsewhere, but assume I still need manually invoke the clearing since it's sitting there?
naf
join:2017-12-12

1 recommendation

said by bbbc:

Sorry to sound dumb if it's been addressed elsewhere, but assume I still need manually invoke the clearing since it's sitting there?

correct
fmv19
join:2018-08-11

I have a question regarding setting up google voice through the obitalk portal.

I was trying to get a family members obi200 to work with google voice through the obitalk portal method. I have the latest firmware on the device (OBi2xx-3-2-2-8680EX-arrynrob10). I registered the device on obitalk in order to then add google voice to one of the SPs . So then when I click on the setup Google Voice button it is supposed to then take me to the google login as a popup window. Problem is I just get a blank window saying 'firefox can't open this page'. I tried doing it on chrome and got a similar blank screen with 'connection refused'. Not sure what I am doing wrong here. Any help would be appreciated. If there perhaps is instructions to do it without the portal, I guess I could try that. Thanks.
naf
join:2017-12-12

3 recommendations

said by fmv19:

I was trying to get a family members obi200 to work with google voice through the obitalk portal method. I have the latest firmware on the device (OBi2xx-3-2-2-8680EX-arrynrob10). I registered the device on obitalk in order to then add google voice to one of the SPs . So then when I click on the setup Google Voice button it is supposed to then take me to the google login as a popup window. Problem is I just get a blank window saying 'firefox can't open this page'. I tried doing it on chrome and got a similar blank screen with 'connection refused'. Not sure what I am doing wrong here. Any help would be appreciated. If there perhaps is instructions to do it without the portal, I guess I could try that. Thanks.

pm'd you instructions for portal-less GV config
TelSat1
join:2021-11-11
to naf

Re: I have a question regarding setting up google voice through the obitalk portal.

Could I get the instructions also? I have a new obi200 that I updated to OBi2xx-3-2-2-8680EX-arrynrob10 but don't want to go through the ObiTalk portal.

Thanks in advance!
DJB628
join:2018-05-28
Delray Beach, FL
to naf

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

GM, all was good since the last update, this morning I noticed one of my lines on the OBI 202 says when I call out, the number you dialed has not received a response from the service provider, Not sure what the issue is, I am on the latest update and all was fine for the past few months, I'm assuming I have to do something to that line that is out, please advise if anyone knows what needs to be done. Cheers

Edit: A second reboot of the OBI 202 seemed to have fixed the issue, thanks
amroadel
join:2021-11-14
Houston, TX

1 edit
to naf
Hello
I have OBI 202, factory reset, running - OBi2xx-3-2-2-8680EX-arrynrob10.fw. I tried portal-less way I placed my refresh token I got from curl command in XXX place in SP1 in suggested format "client_id=XXXXXXXXXXtype=refresh_token" in Authpassword filed . I also added ITSP provisioning URL @obifirmw..etc
I am getting no service
aside from putting in Authpassword under SPx and configuring SPx for GV by ITSP from config URL , is there any other adjustments or setting I need to add ? again this is factory reset device running modded firmware
I also added cutomca.pem under /scratch and loaded on GUI ( enabled)
naf
join:2017-12-12

1 recommendation

said by amroadel:

Hello
I have OBI 202, factory reset, running - OBi2xx-3-2-2-8680EX-arrynrob10.fw. I tried portal-less way I placed my refresh token I got from curl command in XXX place in SP1 in suggested format "client_id=XXXXXXXXXXtype=refresh_token" in Authpassword filed . I also added ITSP provisioning URL @obifirmw..etc
I am getting no service
aside from putting in Authpassword under SPx and configuring SPx for GV by ITSP from config URL , is there any other adjustments or setting I need to add ? again this is factory reset device running modded firmware
I also added cutomca.pem under /scratch and loaded on GUI ( enabled)

Assuming SPx status is showing a Token Error (not some other error?), you probably just have the formatting wrong in the AuthPassword field. You can test it manually in a shell if the formatting will return an access_token:

wget -O - --post-data="<content of AuthPassword field>" https://accounts.google.com/o/oauth2/token
 
amroadel
join:2021-11-14
Houston, TX
I tried command above, it returned an access token

exact steps I did with Obi202:

1- installed OBi2xx-3-2-2-8680EX-arrynrob10.fw
2- Device Update > reset config
3- SP1 > AuthPassword contents I got from curl under format client_id=XXXXXXXXXXtype=refresh_token"
4-verified content above weget command and it returned access token
5- added ITSP provisioning URL @obifirmw..etc

no service , so I added

6- added cutomca.pem under /scratch and loaded on GUI ( enabled)

7- rebooted
verified all above setting

no service
SP1 service status : service not configured
naf
join:2017-12-12

1 recommendation

"Service Not Configured" just means that you haven't successfully provisioned the config.

Oops, looks like »fw.obifirmware.com/Enabl ··· TALK.xml doesn't exist anymore. Use this temporary link: »dpaste.com/7SUH84XT3.txt
amroadel
join:2021-11-14
Houston, TX

1 recommendation

Jackpot!! working Thanks man, you are awesome !!
DACSer
join:2021-11-20
to naf
NAF I am looking to get an OBI202 Setup for Google voice. I have your custom firmware installed and from what it looks like on this thread I need to ask you to PM me the instructions. Thank you in advance!
turk
join:2009-03-10
canada
to naf
Did Polycom manage to download new firmware to devices that had automatic provisioning disabled? This Obi202 had the modded firmware the last I looked but it now has 3.2.28680EX. How did this happen?
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
Do you have OBiTALK Service enabled?
turk
join:2009-03-10
canada

1 edit

1 recommendation

When I look at it now it is enabled. I could have sworn it was disabled. Sigh!
Where can I find 5921 stock?
OzarkEdge
join:2014-02-23
USA

1 recommendation

»fw.obihai.com/OBi202-3-2 ··· 48940.fw

OE
start345
join:2021-11-07
to naf
I have read this entire excellent thread and would like the do-it-yourself instructions PM also. Thanks.
turk
join:2009-03-10
canada
to Mango
said by Mango:

System Management >> Auto Provisioning:
Auto Firmware Update >> Method: Disabled
ITSP Provisioning >> Method: Disabled
OBiTalk Provisioning >> Method: Disabled

Voice Services >> OBiTALK Service:
Enable: (Unchecked)

Physical Interfaces >> PHONE Port:
DigitMap: (add !**5S0| as the first sequence of the DigitMap to prevent OBiTALK from accidentally being re-enabled.)

I tried to enter this in my DigitMap and put it in the wrong place which disabled my outbound calling. There are now three entries for the digit maps. What should be in the other two?
What exactly does the addition to the digitmap do. Very rusty on DigitMap specifics
OzarkEdge
join:2014-02-23
USA
·voip.ms

2 edits

1 recommendation

Adding the rule ...|!**5|... to the Physical Interfaces – PHONEn Port – PHONE Port::DigitMap(s) bars/prevents the user from dialing **5 to enter a 4-digit authentication code when registering an OBi device with OBiTALK.com.

Registration collects device information and enables OBiTALK Provisioning for remote device configuration and firmware upgrades. This registration is not required to use the OBiTALK Service for peer-to-peer calling and for remote access by Poly/Obihai Technical Support (but the other settings you have made will prohibit all remote access).

OE
hardly
Premium Member
join:2004-02-10
USA

1 recommendation

to naf
NewEgg via eBay has Obi200 for $37 shipped.

»www.ebay.com/itm/383365507592
start345
join:2021-11-07
to naf
I have 8680EX-arrynrob10 running on an OBi212 now. There was no difficulty upgrading from the stock 5897EX following the instructions at »www.obifirmware.com/.

I first installed the OBi302-3-2-2-6259-signed-fw-bypass-uboot-mod.fw and then had to re-enable the WAN side web server access. I then installed the OBi2xx-3-2-2-8680EX-arrynrob10.fw and have been looking around by logging in wth ssh.

There is a quirk where the OBi212 is identified as an OBi202 in the /var/log/messages. I have added a 'hostname OBi212' setting in the rc.custom and the hostname works so that is a mystery. The landline is plugged in and I can check the calls in the web page status so that is working like an OBi212 should.

I can login and use the ssh normally except get an error when using the dropbear scp. The error is: /usr/bin/dbclient: No such file or directory
Also, my midnight-commander file manager has problems with an error: "Cannot fetch a local copy" from the OBi212 maybe related to the scp. »en.wikipedia.org/wiki/Fi ··· protocol

Did you build a dbclient along with dropbear? I would like to try that if you did as that might fix both problems.

Luckily, I can scp using my notebook to fetch from the OBi212 or copy files to the USB thumb drive on the OBi212 and probably doesn't affect anybody else anyway. I don't think the scp is critical just nice to have working. No big deal.

There doesn't seem to be any real problem with the modded firmware on the OBi212. I haven't tried the GV setup yet.
start345
to naf
I found an Aboriginal Linux version called dropbearmulti-armv5l and confirmed the operation of scp. Here is the binary help output:
# ./dropbearmulti-armv5l
Dropbear SSH multi-purpose v2014.66
Make a symlink pointing at this binary with one of the following names:
'dropbear' - the Dropbear server
'dbclient' or 'ssh' - the Dropbear client
'dropbearkey' - the key generator
'dropbearconvert' - the key converter
'scp' - secure copy
#
 

So I copied the OBi filesystem to an ext2 formatted USB flash drive and put the above binary with symbolic links into the /usr/bin/ and did a chroot and the scp worked:

# scp callhistory root@192.168.1.148:/root/callhistory-26nov2021.txt
 
Host '192.168.1.148' is not in the trusted hosts file.
(ecdsa-sha2-nistp256 fingerprint md5 ac:a0:84:26:c9:81:d3:60:c6:dd:14:6a:d1:76:39:78)
Do you want to continue connecting? (y/n) yes
root@192.168.1.148's password: 
callhistory                                                                                          100%  481     0.5KB/s   00:00    
# 
 

The biggest problem would be the binary I found from Aboriginal Linux 1.4.3 is twice the size of your binary.

# ls -al dropbearmulti-armv5l
-rwxr-xr-x    1 root     root        401160 Nov 26 17:15 dropbearmulti-armv5l
# 
 

The chroot to a read/write file system is nice while logged into the OBi and good for experimenting/testing except doesn't help my remote inconvenience with midnight-commander on my notebook. I wonder if pivot_root to my USB flash drive could work?

# ./pivot_root -h
BusyBox v1.16.2 (2015-06-18 14:18:21 PDT) multi-call binary.
 
Usage: pivot_root NEW_ROOT PUT_OLD
 
Move the current root file system to PUT_OLD and make NEW_ROOT
the new root file system
# 
 
naf
join:2017-12-12
said by start345:

There is a quirk where the OBi212 is identified as an OBi202 in the /var/log/messages.

ya, the stock firmware calls everything it installs on OBi202 (even 300's). guess they didn't think anyone would notice since they don't provide a shell.
said by start345:

I can login and use the ssh normally except get an error when using the dropbear scp. The error is: /usr/bin/dbclient: No such file or directory
Also, my midnight-commander file manager has problems with an error: "Cannot fetch a local copy" from the OBi212 maybe related to the scp. »en.wikipedia.org/wiki/Fi ··· protocol

ya, i guess i probably shouldn't have included scp without dbclient. but i think the more common way to scp files to/from obi is with the obi as the server not the client.
said by start345:

I wonder if pivot_root to my USB flash drive could work?

dropbear+dbclient should only be about +20kb, but that hardcoded path in dropbearmulti really knocks out a lot of the simpler options.
might be easier to just modify the root squashfs and re-package the fw. (easy for me to say)
start345
join:2021-11-07
I thought the scp was causing my midnight commander to give errors except that doesn't seem to be the problem. There must be another reason besides dbclient or scp on the OBi so they are now just a tangent so still looking.

I just finished doing the pivot_root to run the OBi from the USB drive including the added dropbearmulti-armv5l version above. I started a telnetd on port 1023 so I could switch from your dropbear to the Aboriginal dropbear without ssh access. So the mod was working as it should except my problem using midnight-commander remote access remains the same. There must be another reason. What is this I wonder?: /lib/libstdc++.so.6.0.9 -> /obi/lib/libstdc++.so.6.0.9

Do you mount the partitions r/w and then run your experimental mods or do you rewrite the entire squash file for each change?

Copying the files from the Obi to the USB flash drive isn't too bad so now I can do trial and error rapidly. The pivot root took a little time to research and this seems to work now:

#!/bin/sh
mount /dev/sda1 /mnt/hdd
cd /mnt/hdd
mount -o bind /dev dev
mount -o bind /proc proc
mount -o bind /sys sys
mount -o bind /tmp tmp
mount -o bind /var var
mount -o bind /dev/pts dev/pts
mount -o bind /dev/shm dev/shm
mount -o bind /proc/bus/usb proc/bus/usb
 
busybox pivot_root . /mnt/hdd/mnt/oldroot
exec busybox chroot . ash
 
 
naf
join:2017-12-12
said by start345:

What is this I wonder?: /lib/libstdc++.so.6.0.9 -> /obi/lib/libstdc++.so.6.0.9

junk left in stock fw. diff from the stock fw to see how little i actually modified.
said by start345:

Do you mount the partitions r/w and then run your experimental mods or do you rewrite the entire squash file for each change?

i would just rewrite the entire squashfs for rootfs changes, but almost all of my mods occur inside the /obi/obiapp binary, so its usually unnecessary
start345
join:2021-11-07

1 edit
to naf
I fixed my problem and here is the information for future reference.

The dd isn't really in the busybox. The dd is used by midnight-commander to read the files and that is missing. I used the Aboriginal busybox dd in my pivot_root USB instead of the invalid dd link and midnight-commander is now happy.

My next test will be to put the Aboriginal busybox inside the /scratch and bind mount on top of the bad /bin/dd link. Maybe the added Aboriginal dropbearmulti-armv5l isn't really needed now.

There is also a bad link for cttyhack and hush in /bin. I plan to check the /sbin, /usr/bin and /usr/sbin for bad links soon. Here is the Aboriginal busybox:

# ls -al /usr/local/bin/busybox
-rwxr-xr-x    1 root     root        382724 Nov 27 15:35 /usr/local/bin/busybox
# 
# /usr/local/bin/busybox
BusyBox v1.24.1 (2015-11-04 22:28:00 CST) multi-call binary.
BusyBox is copyrighted by many authors between 1998-2015.
Licensed under GPLv2. See source distribution for detailed
copyright notices.
 
Usage: busybox [function [arguments]...]
   or: busybox --list
   or: function [arguments]...
 
        BusyBox is a multi-call binary that combines many common Unix
        utilities into a single executable.  Most people will create a
        link to busybox for each function they wish to use and BusyBox
        will act like whatever it was invoked as.
 
Currently defined functions:
        [, [[, awk, bunzip2, bzcat, bzip2, dd, diff, expr, fdisk, ftpd, ftpget,
        ftpput, gunzip, gzip, hush, less, pgrep, ping, pkill, route, sh,
        sha512sum, tar, test, tr, unxz, vi, wget, xzcat, zcat
 
# 
 
 

UPDATE: Here are some more bad links:

# cd /usr/bin
# rm awk chpst dumpleases microcom tcpsvd udpsvd wall
# cd /sbin
# rm fdisk mkdosfs mkfs.vfat vconfig watchdog
# cd /usr/sbin
# rm dhcprelay flash_eraseall flash_lock flash_unlock flashcp rdate rdev
#
 
start345

1 edit
to naf
WARNING: I just killed my OBi212!

I think the reason was putting the Aboriginal busybox in /scratch and then adding this in rc.local:
Edit: WARNING: DON'T DO THIS
mount -o bind /scratch/busybox /bin/dd
mount -o bind /scratch/busybox /usr/bin/awk

Everything was working in my pivot_root and then I did /sbin/reboot && exit and the Obi never came back. I know that was dumb now. Be very careful changing the rc.custom.
Edit: I was in my USB pivot_root and then edited my /mnt/hdd/oldroot/scratch/etc/rc.custom with the bind mount above causing the problem on reboot.

There could even be something else wrong. Maybe rebooting from a pivot_root is bad?
Edit: The pivot_root and rebooting from the pivot_root wasn't the problem.

The next step is to connect a USB serial adapter to the board and try to fix this from the console.
naf
join:2017-12-12

1 recommendation

said by start345:

I think the reason was putting the Aboriginal busybox in /scratch and then adding this in rc.local:

mount -o bind /scratch/busybox /bin/dd
mount -o bind /scratch/busybox /usr/bin/awk

mount-bind binds to the target of the symlink, not the symlink itself.
so this replaced the real /bin/busybox twice, not what you intended

not immediately clear how that would be catastrophic though
start345
join:2021-11-07
to naf
With the serial console my bind mount to the Aboriginal /scratch/busybox seems to have caused the entire /bin/busybox to have been diverted to the /scratch/busybox. That is very bad.

I could use the Aboriginal vi to fix my bad rc.custom except then fails when saving the edited /scratch/etc/rc.custom and just "echo > rc.custom" gives a "no space left on device" error. There is no rm or umount available just giving an "applet not found" error. I do have the dd in the Aboriginal busybox available just need to find out how to use that to delete the /scratch/busybox or just the rc.custom in between the OBi auto-reboots.

I should have tested my individual additions to rc.custom first. Now this is difficult or impossible.

Is there a recovery partition I can get to from U-Boot?
naf
join:2017-12-12
said by start345:

Is there a recovery partition I can get to from U-Boot?

Yes uboot has a 1 second bootdelay if you attach to the boards serial header.
or uboot will also enter a recovery partition automatically if the checksum of the rootfs or obi partition doesn't match the fw that was flashed. (if you can figure out a way to write to flash without overwriting uboot itself)

Other ideas:
Does the webgui interface work? Could just flash stock from there
Do you have 'mount'? Put a working busybox on usb, or mount-bind back to original busybox (mount-bin /bin over some empty dir should work, i think)
start345
join:2021-11-07
to naf
I tried the return when the OBi was starting and so far just get to U-boot. I am happy you fixed the firmware to give the U-boot. Almost everything was in the /bin/busybox and none of those work now. There is not even an rm or mount or anything, just what can be seen in the Aboriginal busybox listed above.

I don't think there is a recovery partition now after looking at this. I happened to save a copy of dmesg and these look like the only thing inside the flash:
Creating 7 MTD partitions on "spi_flash0":
0x000000000000-0x000000050000 : "u-boot"
0x000000050000-0x0000002d0000 : "kernel"
0x000000b40000-0x000000c00000 : "scratch"
0x000000480000-0x000000b40000 : "rootfs"
0x000000000000-0x000001000000 : "flash0"
0x000000c00000-0x000000e40000 : "obi app"
0x000000f00000-0x000001000000 : "bluetooth"
 

I think I could erase the scratch partition with U-boot except don't know how to reformat the partition. Without the scratch partition maybe I could then get the web interface back and reflash the arryanrob10?
naf
join:2017-12-12

1 edit
recovery is there, just not mounted individually:

0x002d0000-0x00400000 recovery kernel uboot image
0x00e40000-0x00f00000 recovery rootfs squashfs
 

UPDATE: if you can boot into a recovery (either directly in uboot or by corrupting say the first byte of the bluetooth partition), its just a webgui that allows you to flash firmware. but remember that flashing firmware doesn't overwrite the scratch partition, so flash *stock* firmware and then we'll work some magic to use stock firmware to clear scratch.

obviously zeroing out the scratch partition bypasses this problem (but may cause other problems?)
start345
join:2021-11-07
to naf
This is getting outside my ability. These don't work:

FireFoxAV # bootm 2d0000
Wrong Image Format for bootm command
ERROR: can't get kernel image!
FireFoxAV # bootm e40000
Wrong Image Format for bootm command
ERROR: can't get kernel image!
FireFoxAV # bootm 0x2d0000
Wrong Image Format for bootm command
ERROR: can't get kernel image!
FireFoxAV # help bootm
Usage:
bootm [addr [arg ...]]
    - boot application image stored in memory
        passing arguments 'arg ...'; when booting a Linux kernel,
        'arg' can be the address of an initrd image
 
Sub-commands to do part of the bootm sequence.  The sub-commands must be
issued in the order below (it's ok to not issue all sub-commands):
        start [addr [arg ...]]
        loados  - load OS image
        cmdline - OS specific command line processing/setup
        bdt     - OS specific bd_t processing
        prep    - OS specific prep before relocation or go
        go      - start OS
FireFoxAV # bootm start 0x2d0000 loados
Wrong Image Format for bootm command
ERROR: can't get kernel image!
FireFoxAV # 
 
naf
join:2017-12-12
Should be a two-command process: read from flash into ram, then boot from ram.
Something like this (not that I've done it before either):

sf read 800000 2D0000 180000
bootm 800000
 
start345
join:2021-11-07
to naf

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

The sf read showed a lot of dots for binary and seems to just read to the console. I stopped the listing on the screen after many minutes. The bootm 800000 is the same as the default boot and started the usual kernel. I need to learn some more before I can do this right. I have used fastboot before to put U-boot in memory and run from memory yet am still a beginner with U-boot.

The binwalk of the arrynrob10.fw shows two kernels if I could just figure out their location in the spi flash.
The "no space left on device" makes me want to erase the entire /scratch partition.

Time for a break so I can think about this.
start345
to naf
If the recovery is for a web interface then maybe that is one of the OBi apps in the /obi directory. I don't think I could get that far. Everything is fine until the /etc/rc runs the /scratch/etc/rc.custom. Then nothing works because of the Aboriginal busybox substitution. The Aboriginal busybox just has sh to allow me to do a few things. I can't even remove a file or directory. I can change directories except even ls doesn't work. Here is where the problems start:
FFXAV: start slic- 1
Rx sample 10, Tx sample 10
<-phone 1 registered
ffxav_mp installed
LED Module Initialization
 
mount: applet not found
mount: applet not found
/ # 
/ # RTL871X: module init start
RTL871X: rtl8821au v4.3.19.5_17672.20160506_BTCOEX20150921-58
RTL871X: build time: Dec 12 2016 13:36:41
RTL871X: rtl8821au BT-Coex version = BTCOEX20150921-58
usbcore: registered new interface driver rtl8821au
RTL871X: module init ret=0
insmod: applet not found
Opening Relay for OBi212/OBi312
 

After that there is just more "applet not found" so after the LED Module the Aboriginal /scratch/busybox get substituted for the /bin/busybox and nothing works.

I then tried this without results:
FireFoxAV # help erase
erase - erase FLASH memory
 
Usage:
erase start end
    - erase FLASH from addr 'start' to addr 'end'
erase start +len
    - erase FLASH from addr 'start' to the end of sect w/addr 'start'+'len'-1
erase N:SF[-SL]
    - erase sectors SF-SL in FLASH bank # N
erase bank N
    - erase FLASH bank # N
erase all
    - erase all FLASH banks
FireFoxAV # erase b40000 c00000
Error: start address not on sector boundary
FireFoxAV # help
 
 

My next idea is something like this: busybox dd if=/dev/zero of=/dev/mtdblk0pXXX

Do you know the correct /dev/mtd or whatever that is to use to erase the /scratch partition? That could be listed with "mount" or "df" for example.

That is about my last option unless the recovery can flash firmware without the root filesystem if there was a corrupted bluetooth partition for example.
start345

1 edit
to naf
I found the info needed so the next step is to do /scratch/busybox dd if=/dev/zero of=/dev/mtdblock4
This could leave the /scratch corrupted yet return the rootfs to working without the "applet not found" errors.
I might need to learn how to do a jffs2.

/dev/mtdblock4 on /scratch type jffs2 (rw,sync,relatime)
/dev/mtdblock4 on /etc/passwd type jffs2 (rw,sync,relatime)
 

Edit:
Do you know if either of the two files in your OBi2xx-3-2-2-8680EX-arrynrob10.fw are the jffs2 /scratch partition?
From binwalk:
2503808 Nov 28 11:43 3A94
5146624 Nov 28 11:43 3ECE78
 
14996         0x3A94          gzip compressed data, maximum compression, from Unix, last modified: 2011-10-12 21:50:38
4116088       0x3ECE78        gzip compressed data, maximum compression, from Unix, last modified: 2017-06-09 23:09:32
 
So maybe I could flash the correct data above to rebuild /scratch if I can get that far. More news soon.
start345
to naf
That worked! Zeroing out the /dev/mtdblock4 worked. After a power cycle the rootfs is now functioning except for the /scratch. Typing the busybox dd command was difficult with the OBi complaining at the same time:

ifconfig: applet not found
udhcpc: applet not found
/busybox dd ifFailed to open device /dev/fxs0 !
=/dev/zero Failed to open device /dev/fxs1 !
 Something wrong, we can not start SLIC driver?!
rm: applet not found
of=/dev/mtdblock4
dd: writing '/dev/mtdblock4': No space left on device
1537+0 records in
1536+0 records out
/dev # ETH: Status = 0
ETH: None of WAN interface is ready, use 0xa9fff740 !!!!
TDM Start DMA.
Start CCTL Service Now!
Trying to restart... 
OBID: Kill obiapp by running [sysctl -w kernel.printk=7;killall obiapp; echo 3 > /proc/sys/vm/drop_caches; rmmod ffxav_mp; killall luaj
-
 

So most things look good after a power cycle except for /scratch:

Execute udhcpc.script leasefail
UDHCPC done!
No lease, forking to background
Couldn't create new file /scratch/etc/dropbear_rsa_host_key.tmp669: No such file or directory
Exited: Failed to generate key.
 
/etc/init.d/rcS: /etc/rc: line 105: can't create /scratch/etc/rc.custom: nonexistent directory
chmod: /scratch/etc/rc.custom: No such file or directory
/etc/init.d/rcS: /etc/rc: line 107: /scratch/etc/rc.custom: not found
 
# ETH: Status = 0
ETH: None of WAN interface is ready, use 0xa9fff740 !!!!
TDM Start DMA.
Start CCTL Service Now!
FSK RX init Bell202
 
# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root                 6272      6272         0 100% /
/dev/mtdblock7            2176      2176         0 100% /obi
/dev/mtdblock8            1024      1024         0 100% /bluetooth
# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro,relatime)
proc on /proc type proc (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
none on /var type ramfs (rw,relatime)
/dev/mtdblock7 on /obi type squashfs (ro,relatime)
none on /sys type sysfs (rw,relatime)
udev on /dev type tmpfs (rw,relatime,mode=0755)
none on /dev/shm type tmpfs (rw,relatime,size=512K)
none on /dev/pts type devpts (rw,relatime,mode=600)
/dev/mtdblock8 on /bluetooth type squashfs (ro,relatime)
# ls /scratch
resolv.conf
# 
 

So I need to work on fixing the /scratch or maybe reflashing the OBi2xx-3-2-2-8680EX-arrynrob10.fw
firmware from the web interface.

I am happy to finally have a functioning busybox. The initial problem was all due to my own errors so at least things work enough now to give hope.
naf
join:2017-12-12
OK, now you just need to create a valid jffs2 for /scratch (like I said before, it isn't in the firmware file):

# /var/tmp/flash_erase -j /dev/mtd4 0 0
# mount -t jffs2 /dev/mtdblock4 /scratch -o rw,sync
 

flash_erase can be found here: »drive.google.com/uc?expo ··· m3zjkZ2C
start345
join:2021-11-07

1 recommendation

to naf
Wow, that worked perfectly. After reboot the /scratch/etc was rebuilt also. It's alive!

# chmod 755 flash_erase
# ./flash_erase -h
Usage: flash_erase [options] MTD_DEVICE <start offset> <block count>
Erase blocks of the specified MTD device.
Specify a count of 0 to erase to end of device.
 
  -j, --jffs2       format the device for jffs2
  -N, --noskipbad   don't skip bad blocks
  -u, --unlock      unlock sectors before erasing
  -q, --quiet       do not display progress messages
      --silent      same as --quiet
      --help        display this help and exit
      --version     output version information and exit
 
# ./flash_erase -j /dev/mtd4 0 0
Erasing 768 Kibyte @ 0 -- 100 % complete flash_erase: 0 : Cleanmarker Updated.
flash_erase: 10000 : Cleanmarker Updated.
flash_erase: 20000 : Cleanmarker Updated.
flash_erase: 30000 : Cleanmarker Updated.
flash_erase: 40000 : Cleanmarker Updated.
flash_erase: 50000 : Cleanmarker Updated.
flash_erase: 60000 : Cleanmarker Updated.
flash_erase: 70000 : Cleanmarker Updated.
flash_erase: 80000 : Cleanmarker Updated.
flash_erase: 90000 : Cleanmarker Updated.
flash_erase: a0000 : Cleanmarker Updated.
flash_erase: b0000 : Cleanmarker Updated.
 
# mount -t jffs2 -o rw,sync /dev/mtdblock4 /scratch 
# ls -al /scratch
drwxr-xr-x    3 root     root             0 Jan  1 00:00 .
drwxr-xr-x   17 root     root           274 Mar 23  2021 ..
# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root                 6272      6272         0 100% /
/dev/mtdblock7            2176      2176         0 100% /obi
/dev/mtdblock8            1024      1024         0 100% /bluetooth
/dev/sda1               228823     26490    190126  12% /mnt/hdd
/dev/mtdblock4             768       196       572  26% /scratch
# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro,relatime)
proc on /proc type proc (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
none on /var type ramfs (rw,relatime)
/dev/mtdblock7 on /obi type squashfs (ro,relatime)
none on /sys type sysfs (rw,relatime)
udev on /dev type tmpfs (rw,relatime,mode=0755)
none on /dev/shm type tmpfs (rw,relatime,size=512K)
none on /dev/pts type devpts (rw,relatime,mode=600)
/dev/mtdblock8 on /bluetooth type squashfs (ro,relatime)
/dev/sda1 on /mnt/hdd type ext2 (rw,relatime,errors=continue)
/dev/mtdblock4 on /scratch type jffs2 (rw,sync,relatime)
#
 

jsolo1
Premium Member
join:2001-07-01
PRIL
Now can you summarize what you did to hose it, and to recover?
start345
join:2021-11-07

1 edit

3 recommendations

said by jsolo1:

Now can you summarize what you did to hose it, and to recover?

1. I added the Aboriginal busybox to /scratch to install the dd for my midnight-commander on my notebook to be able to browse around inside the OBi. I then made the big mistake of bind mounting the /scratch/busybox to the symbolic link to the Obi dd. That was dumb. That caused all calls to the OBi busybox to be diverted to the Aboriginal busybox. I only had sh, dd, vi and tar that were useful and no rm, ls, umount, cat etc. Yes, the cat was dead.

2. So I had to use a USB serial adapter. I then tried to tar up the Aboriginal /scratch/busybox and ran out of space on the /scratch. That was even dumber. I should have used gzip. That could have prevented the /scratch/busybox from being found. Or I should have edited the rc.custom with vi before running out of space. Even dd couldn't open any files after the /scratch device was full. So now I had to erase the /scratch entirely to stop the /scratch/busybox from getting mounted on top of /bin/busybox.

3. I used the dd in the Aboriginal busybox to zero out the /scratch partition. That allowed the /bin/busybox to begin working. Finally, naf showed how to fix the /scratch partition and everything is working normally.

So I don't think my pivot_root caused any of these problems. I was using the Aboriginal busybox in the pivot_root USB to get a good dd and everything was working nicely. So if I do something dumb again then I can just pull out the USB and be back to the OBi firmware. Thanks naf for helping. I am sorry to plug up your thread for the last few days.

I don't see any reason the OBi2xx-3-2-2-8680EX-arrynrob10.fw would be a problem on the OBi212. I should try to activate the GV soon to verify.

Reference to USB serial adapter and the OBi: »randywestergren.com/reve ··· -part-2/
start345

3 edits
to naf
Activating the GV went without a problem on the OBi212.

The OBi status for SP1 service shows "connected". I have verified the inbound calls from the GV number and the landline number ring the phone on the OBi phone port.

I just need to get the outgoing calls to get sent from the OBi phone port correctly into GVSIP. I am reading about how to edit the digit maps and route maps from the default. I changed the PhysicalInterfaces/Phone1Port/PrimaryLine from PSTN to SP1 service so still need to learn more of how to configure the OBi GVSIP. I don't expect any problem.
UPDATE: Outbound call test from the phone port via GV to my cell phone worked this morning.

So I think the OBi212 should be considered as just as viable with OBi2xx-3-2-2-8680EX-arrynrob10.fw as the OBi200/202/300/302. Thank you naf for the excellent result and all of your help.
ezpharaoh
join:2021-12-03
Mississauga, ON
I've been able to flash 8680EX-arrynrob10 on my OBi202 and configure both VOIP.ms and Call Centric profiles and these worked as expected. I'm trying to setup GV and I keep getting reconnecting to some IP addresses. I'm quite sure the password/email addresses combo are correct (tested and verified). I've read through the majority of this forum and it appears that I need some special instructions. I would appreciate if anyone can guide me through it. thanks in advance
naf
join:2017-12-12

2 recommendations

said by ezpharaoh:

...I'm quite sure the password/email addresses combo are correct (tested and verified)...

Not sure what this means if you were trying to setup through the obitalk portal, but ill pm you the no portal instructions if it helps...
ezpharaoh
join:2021-12-03
Mississauga, ON
Thank you Naf for all your help.
The password/email address was tested through google voice site when I tried adding it to the configuration settings I got an error that's why I reached out to get the special instructions. So thank you for sharing that.

I have some questions and looking for guidance from you and the rest of the group (so excuse the ignorance):
Background: I have 4 SP's, as follows:
- GV1 -> SP1 for international calls
- Voip.MS -> SP2 for local calls
- Call centric -> SP3 (as backup for Voip.ms and for some int'l calls to specific destinations)
- GV2 -> SP4 used for routing my US clients to either my home or cell number.

What I am trying to do (to avoid using the Obi portal or dpaste), I created a local FTP server with anonymous access on a Linux server hosted on my local network, that will host the configuration files for GV, and update the location of the ConfigURL to point to the ftp server. It will look like: »ftp://myserver/Obi/SPx.xml
My questions:
- Do I need to host all 4 SPx xml on the ftp server for each service?
- If I do that, what should the ConfigURL look like (should I only point to the FTP server folder that hosts all 4 SPx XML's?
- Is there a specific naming convention for the xml to follow? I know in the instructions, they are separate - so can I use the same naming that you have?

On another note (and just for my education), when I logon to the Obi202 through shell, I can see a folder called webfile, that contains VS_x_VP_x_SIP.xml (x is the SPx number), can these files be updated with the values? I was unable to pull these files over the network or get access to them (I'm assuming that webfile needs to be mounted to a mount point, then from there I can access and modify these files). If so is there a way to do that (any benefits in doing it this way). Just trying to learn what's possible. I'm just trying to learn the art of possible - so if it doesn't make sense or requires extensive efforts - set me straight

Thank you all for your help.
naf
join:2017-12-12

2 recommendations

said by ezpharaoh:

...set me straight...

The xml provisioning files are one-time-use and then the configuration persists on the device. So multiple SPs would be done one after another. No need to host anything persistently.

webfile contents are just templates for the obi device to render the html. The value of the settings is pulled out of the devices flash memory and populated in the template when you request a page on the webgui. So changes to templates would just be cosmetic in nature.
ezpharaoh
join:2021-12-03
Mississauga, ON
Thank you for the clarification. It makes sense.
I get "service not configured", so I am trying to figure out what's broken. Is there a way I can troubleshoot or see if the Obi is reaching out to my local ftp server?

The settings are on the OBI as follows:
On ITSP provisioning:
- Method: System Start (default)
- ConfigURL: tftp://172.16.x.y/Obi/Enable_SP4_wo_Obitalk.xml

* my local network is 172.16.x.z, the ftp server is on the same LAN as Obi (no firewall blocking access, I use the same subnet all across, I tested from multiple computers and tablets to confirm that I have anonymous access to the Obi ftp directory, and I can access these without issues).
* I tried with both tftp and ftp still get service not configured.
* Always rebooted the Obi after every change just to make sure..

Any ideas?
naf
join:2017-12-12

1 recommendation

said by ezpharaoh:

I get "service not configured", so I am trying to figure out what's broken. Is there a way I can troubleshoot or see if the Obi is reaching out to my local ftp server?

FTP is not supported: see »www.obitalk.com/info/doc ··· uide.pdf
ezpharaoh
join:2021-12-03
Mississauga, ON

1 recommendation

Thank you so much, you've been a great help.
I managed to get it installing an Apache server, and pointing the configURL to that solved the issue.
Now it's connected, and I can basically do zero touch for the Obi for all SP profiles, on my local network. Next step is to be able to manage the Obi remotely when my parents are travelling so they can use this thing for the calls they need.

Hint:
if you are using a Mac and trying to do the initial steps in the instructions:
- From terminal type sudo nano /etc/hosts
- Enter your admin password
With your cursor navigate past the last entry in the hosts file, and type the entry enlisted in step 1.
- Ctrl+O to commit, Ctrl+x to exit
- From terminal type: sudo killall -HUP mDNSResponder (this step is to flush the DNS entries)
- open Safari or any browser, and browse to the portal -> you should receive page can't be found error. You're good to go with the rest.

To reverse the above, repeat step 1 & 2, then comment (#) the entry in the /etc/hosts file. Commit, exit, and re-flush.

Thank you NAF and everyone. I've learned a lot over the last few days to set this thing up, without the need for the portal.
ezpharaoh
Another hint:
even though I'm using the 3.2.2 (Build: 8680EX-arrynrob10), step 6 in the instructions is the one that worked for setting up GV for both SPx, step 5 didn't work for me no matter what I tried. Just in case someone encounters this issue and they experience this challenge.
Thank you Naf for everything.
ehacker
join:2019-08-05
to naf
Naf,

I'd like to thank you again for helping me get my vendor/provider locked OBi302 setup on GV (2+ years ago). I humbly ask for your help once again.

I'm trying to change the GV account the OBi302 connects to. The instructions you gave me still work but the provisioning URL no longer works. I was stupid and did not save a copy of the .xml from the link.

Is there a new URL or may I obtain a copy of the .xml to host on a local http server?

On a side note, I am using arrynrob10 firmware and noticed on the website that it can remove vendor lock, but I can't seem to find any info. on how to do it.

Thank you in advance!
naf
join:2017-12-12

2 recommendations

said by ehacker:

I'm trying to change the GV account the OBi302 connects to. The instructions you gave me still work but the provisioning URL no longer works. I was stupid and did not save a copy of the .xml from the link.

Is there a new URL or may I obtain a copy of the .xml to host on a local http server?

looks like OBi1FW See Profile had to restructure some urls slightly, probably due to ssl certs id guess:
»fw.obifirmware.com/Enabl ··· TALK.xml --> »www.obifirmware.com/fw/E ··· TALK.xml, etc
said by ehacker:

On a side note, I am using arrynrob10 firmware and noticed on the website that it can remove vendor lock, but I can't seem to find any info. on how to do it.

ssh into device as root/obi, run 'clear_zt_params'
ehacker
join:2019-08-05
As per usual, thank you very much!!!
Anon39d03
@93.49.108.x
to naf
Hi, I'm using the firmware OBi2xx-3-2-2-8680EX-arrynrob10 on my Obi 200, but I have problem both with your firmware then with the original. The device stop working (no ssh, no voip) but is still pingable. I need to disconnect and reconnect AC the make it work properly.
It usually happens after 10-15 days.
I didn't have problem with 3.2.1 firmware. Is there a way to rollback? Via web interface is not possible. Thank you.
naf
join:2017-12-12

1 edit
said by Anon39d03 :

Hi, I'm using the firmware OBi2xx-3-2-2-8680EX-arrynrob10 on my Obi 200, but I have problem both with your firmware then with the original. The device stop working (no ssh, no voip) but is still pingable. I need to disconnect and reconnect AC the make it work properly.
It usually happens after 10-15 days.
I didn't have problem with 3.2.1 firmware. Is there a way to rollback? Via web interface is not possible. Thank you.

What build# are you trying to downgrade to? 5794?
I assuming you are getting the "Downgrading f/w xxx is not allowed" message?

EDIT: removed dumb idea
Brown
join:2018-01-21

1 edit

1 recommendation

Arrynrob3 was a 3.2.1 version (5757EX). Can she just upgrade with it?

Edit: Arrynrob4 and Arrynrob5 are also 3.2.1 versions.
Anon286cd
@93.49.108.x
to naf
I'm trying downgrade with 5757 original. I can't find you modded version.
And yes, the message is "Downgrading f/w xxx is not allowed"...
Thank you
naf
join:2017-12-12

1 recommendation

said by Anon286cd :

I'm trying downgrade with 5757 original. I can't find you modded version.
And yes, the message is "Downgrading f/w xxx is not allowed"...
Thank you

8680EX-arrynrob10 can flash directly to stock 5757EX via webgui.
I don't understand the problem here...
Anonfe338
@93.49.108.x
Sorry, you are right, I updated with 5757. Before I was trying with another release that refuses to update. Can you please send me a link where download the modded version of 5757? Thank you.
naf
join:2017-12-12

1 recommendation

said by Anonfe338 :

Can you please send me a link where download the modded version of 5757?

»Re: Obihai OBi200/202/302 + OBi1022/1032/1062 firmware mods

you'll have to bspatch it from stock 5757
Anon148d9
@93.49.108.x
Ah ok yes I done it yesterday night... Thank you
I send also a message but has gone lost.
Now I'm running your modded 5757, I hope the ATA stays up

former qwest
Premium Member
join:2014-01-04
out there

1 recommendation

said by Anon148d9 :

I send also a message but has gone lost.

if you're referring to private / direct message, anons can't use that function, only dslr account holders can.
ehacker
join:2019-08-05
to naf
Naf,

I hate to be a pest, but it seems now that my OBi302 has died. After reboot, the power light blinks, then turns off. The only light remaining active is the network activity light. I can no longer connect via dropbear/ssh. Maybe my old box has been flash written too many times and is corrupt? I see, reading through the last several pages of the thread (start345's posts), that a serial console can be connected. How this is done? I may be able to at least see what's going on.

Again, thanks in advance!
start345
join:2021-11-07

2 recommendations

to ehacker

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

The console interface was very easy. There is a 4 pin socket able to accept a header spaced the same as a raspberry pi or arduino board. Soldering was easy with a good iron. Then just a USB to UART serial adapter is needed. That is probably 3.3v. The reference I used can be found here:
»randywestergren.com/reve ··· -part-2/

P.S. Try a different 12v DC power supply first.
ehacker
join:2019-08-05
Thank you very much, that helps a ton! As in the pic. J17 is clearly marked. I think I even have a USB to UART adapter that I've used for Parallax "BASIC Stamps" & "Propellers" from yesteryear.

I have already tried 3 different power supplies on this sucker, including a 5 Amp one. Not sure what's going on, I just got it working again on a new GV account and was able to clear the vendor lock. It all was working just fine until I decided to reboot it days later.

It'll be nice to see if the console shows anything.
pagescribe
join:2021-02-09

1 edit
to naf
Sorry, nevermind. I answered my own question.
skystream006
join:2022-01-08
to naf

Re: I have a question regarding setting up google voice through the obitalk portal.

Hello. Could you also pm me the instructions. On 8680EX with obi202. Thanks in advance.
eatwellman
join:2020-11-12
Mankato, MN
to naf

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

Hi naf,

I got a new OBi1032 and it was locked to Phonepower. So I followed the instruction you gave me previously to get GV working on my OBi1062. But unfortunately, the OBi1032 did not work.
I follows the steps in obifirmware updated to latest OBiPhone-5-1-11-5312EX-olisom5.fw and clear the phonepower params.
Next I use your GV instruction to set up GV. It shows green and WEBGUI shows GV connected, but when I try to place a call - it gives call fail 503. Does this mean wrong configuration or something else ?

Thanks
naf
join:2017-12-12

1 recommendation

said by eatwellman:

Next I use your GV instruction to set up GV. It shows green and WEBGUI shows GV connected, but when I try to place a call - it gives call fail 503. Does this mean wrong configuration or something else ?

'Connected' atleast means the auth token is working.

Never seen a 503. Is it repeatable or a one-time thing? Can you confirm your calls are getting routed to the GV SP, not some other provider in a different SP slot?
eatwellman
join:2020-11-12
Mankato, MN
said by naf:

Is it repeatable or a one-time thing? Can you confirm your calls are getting routed to the GV SP, not some other provider in a different SP slot?

Its all the time. It apperas the call is going throug GoogleVoice (I dont see SP1 like on the OBi1062 it doent look like going through SP1).May be Im wrong. If that's the case, how do I change it to defalt SP1 ?
eatwellman
to naf
Another thing I notice on SP1 Service page in OBi1032 is that , there is a new param added to the end. - X_GoogleClientInfo
richpainter
join:2004-05-20
Colorado Springs, CO

1 edit
to naf
I am at Witts End. I have 4 Obi200. 3 have been configured to use GV and provisioned by Obitalk. All were running the last Obi/Poly fw OBi2xx-3-2-2-8680EX.fw

One week ago one of the GV/Obitalk units stopped working. I connected to it only to find the "FW Update" page. So I power cycled and got the same "FW Update" page. Next I did the hardware reset and got the same result "FW Update" page.

Next I used the "FW Update" to reload the OBi2xx-3-2-2-8680EX.fw. The normal LED response and timing resulted but again ended up at the "FW Update" page once it rebooted.

In this state the telephone is also not operational in any manner.

Next I connected a terminal emulator to a USB-serial device and connected the serial lines to the circuit board. After the power cycle all I got was the "Uncompressing Linux..." on the console and nothing after. The result was again "FW Update" page.

Next I tried several much older FW. All acted the same reaching the end point of "FW Update" page.

In particular, FW OBi202-3-1-1-5804.fw ended at the same point BUT I got the following console output shown below.

Does anyone have a suggestion on how to get past the "FW Update" page and make it operational?

thanks
rich

U-Boot 2010.06 (Aug 23 2012 - 16:23:19)

SoC: FireFoxAV
DRAM: 128 MiB
Flash: 16 MiB
CPU: 400 MHz
DDR: 400 MHz
SYS: 200 MHz
OBi: Partition 4 is not verified
Checksum::ddbb28da2c6c43b55a23de43f4f26ff3
Digest::0cb1ffb3637bcb07905691bc0d85cf58
OBi is starting in safe mode
Using default environment

In: serial
Out: serial
Err: serial
Net: mv_enet
Hit any key to stop autoboot: 0
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-2.6.30.10
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1229540 Bytes = 1.2 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux................................................................................ done, booting the kernel.
Linux version 2.6.30.10 (kevin@obihai1) (gcc version 4.2.1 (CodeSourcery Sourcery G++ Lite 2007q3-51)) #mvl-88E7251-0.4a-rc14 PREEMPT Tue Sep 20 18:30:37 PDT 2011
CPU: ARM926EJ-S [41159265] revision 5 (ARMv5TE), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: Marvell FFxAV
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 14224
Kernel command line: console=ttyS0,115200 root=/dev/mtdblock5 rootfstype=squashfs mem=56M brd=$(boardID)
NR_IRQS:48
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 56MB = 56MB total
Memory: 53800KB available (2180K code, 598K data, 84K init, 0K highmem)
Calibrating delay loop... 159.74 BogoMIPS (lpj=798720)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 296 bytes
NET: Registered protocol family 16
MV FFxAV $(boardID): CPU 400MHz, DDR 400MHz, SYS 200MHz, USB HOST
bio: create slab at 0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
JFFS2 version 2.2. © 2001-2006 Red Hat, Inc.
msgmni has been set to 105
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x8000d400 (irq = 11) is a 16550A
console [ttyS0] enabled
brd: module loaded
PPP generic driver version 2.4.2
NET: Registered protocol family 24
Marvell SOHO Switch Initialization completed
Generic platform RAM MTD, (c) 2004 Simtec Electronics
Creating 1 MTD partitions on "mtd-ram":
0x000000000000-0x000000800000 : "mtd-ram fs ro"
mtd-ram mtd-ram.0: registered mtd device
slram: not enough parameters.
m25p80 spi0.1: w25x128 (16384 Kbytes)
Creating 6 MTD partitions on "spi_flash0":
0x000000000000-0x000000040000 : "u-boot"
0x000000060000-0x0000002e0000 : "kernel"
0x000000a00000-0x000000c00000 : "flash fs rw"
0x000000e40000-0x000000fa0000 : "rootfs"
0x000000000000-0x000001000000 : "flash0"
0x000000fa0000-0x000001000000 : "obi app"
ffxav-spi ffxav-spi.0: MARVELL FFXAV on-chip SPI Controller Driver, Version 1.0, regs_base@fcc0c800
TCP cubic registered
NET: Registered protocol family 17
VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
Freeing init memory: 84K
Data 0x3800 (Dev 0, Phy 0, Reg 0)
******** Start syslogd
syslogd: applet not found
===> Obi ===
-/bin/sh: sysconf: not found
/ # kernel.sched_rt_runtime_us = -1
net.ipv4.icmp_echo_ignore_broadcasts = 0
LED Module Initialization
Watchdog Module Initialization
Hello World !
Cannot find /scratch/reboot.log !!!!
Reboot Reason: 0
WATCHDOG is off duty
WATCHDOG is on duty...
F/W Version:3.1.1 (Build: 5804)
Partition (3) is corrupted
Partition (4) is corrupted
Data 0x1e1 (Dev 0, Phy 0x1, Reg 0x4)
Data 0x3000 (Dev 0, Phy 0, Reg 0)
Setting PVID (1) for portVector 0x22 successed
Setting PVID (2) for portVector 0x41 successed
Setting Vlan Ports (0x60) for port 0 successed
Setting Vlan Ports (0x20) for port 1 successed
Setting Vlan Ports (0x21) for port 6 successed
Setting DBNum (1) for port Vector 0x22 successed
Setting DBNum (2) for port Vector 0x41 successed
gateway interface eth1 is added
MAC address = 9c:ad:ef:60:68:d4
VID 1, Port Vector 0x2
gateway interface eth0 is added
MAC address = 9c:ad:ef:70:68:d4
VID 2, Port Vector 0x41
device eth0 entered promiscuous mode
br0: port 1(eth0) entering learning state
killall: dnsmasq: no process killed
Data 0x22 (Dev 0, Port 0x5, Reg 0x9)
Data 0xb0c8 (Dev 0, Port 0x5, Reg 0xa)
udhcpc (v1.19.3) started
Execute udhcpc.script deconfig
Setting IP address 0.0.0.0 on eth1
UDHCPC done!
Sending discover...
Sending select for 10.0.0.203...
Lease of 10.0.0.203 obtained, lease time 600
Execute udhcpc.script bound
Setting IP address 10.0.0.203 on eth1 tftp:
Recreating Routing on eth1
Deleting routers:
route: SIOCDELRT: No such process
Adding router 10.0.0.1
Recreating /var/tmp/resolv.conf
Adding DNS server 10.0.0.1
/var/tmp/resolv.conf is created
BringUp WAN ....
Result: Done
UDHCPC done!
Start CCTL Service Now!
br0: port 1(eth0) entering forwarding state
naf
join:2017-12-12

3 recommendations

said by richpainter:

One week ago one of the GV/Obitalk units stopped working. I connected to it only to find the "FW Update" page. So I power cycled and got the same "FW Update" page. Next I did the hardware reset and got the same result "FW Update" page.

As you see in the uboot console output, at boot time the device checks the hash of contents of the primary boot partitions in flash against what the latest firmware should have written there. When that comparison fails, it boots from the backup partitions into a recovery mode where you can only perform a firmware update.

(Console output is only different because the kernel console got disabled in stock 5898+)

So if you perform an update from recovery mode, and you *still* end up in recovery mode, that means that the flash is not being written successfully.

Probably a sign of a dying flash chip.

jsolo1
Premium Member
join:2001-07-01
PRIL
to richpainter
How old is this obi? Have you flashed it a lot?
richpainter
join:2004-05-20
Colorado Springs, CO
to naf
Thanks for your reply and insight!
Help me understand the flashing process in this unit.... Using the "FW Update" page I am able to move back and forth with different FW versions albeit each version likely has the same flash chip problem. So how does the flash process successfully put in a different FW and it runs, yet then requests to be flashed?

thanks
rich
richpainter
to jsolo1
Only a few years old. It has been flashed a few times by Obitalk, maybe 3 updates. Then I have flashed it maybe 5 times trying to fix it.
thanks
rich

jsolo1
Premium Member
join:2001-07-01
PRIL
I wouldn't call that excessive flashing by any means. Bum unit? Any warranty remaining?
Brown
join:2018-01-21

4 recommendations

to richpainter
Try one of the other wall warts to make sure it's not weak power.
start345
join:2021-11-07

1 edit

1 recommendation

to richpainter
As naf said during the booting up the loader finds a corrupt partition and goes into recovery mode where all you can do is flash the firmware. I have a tv box that does the same thing. The flash chips are used mostly for read only files while some are read/write and can get rewritten too many times.

Here is the recovery mode due to partition 4:
OBi: Partition 4 is not verified
OBi is starting in safe mode
 

And the recovery kernel complains:
Partition (3) is corrupted
Partition (4) is corrupted
 

Edit: The flash chip could also have loose wires between the chip and chip package. The chip package could possibly have a bad solder connection to the main board. You could try pushing on the chip package with your thumb if that is a BGA package; I can't recall for sure. Some people say putting the board in the freezer can get things working for a while. I have thought about briefly hitting the chip package with a torch for fun. Tough luck.
rwl408
join:2016-12-17
Fremont, CA
said by start345:

The chip package could possibly have a bad solder connection to the main board.

If bad soldering is suspected, one good way is blow hot air from a heat gun on and around the suspected component(s). The temperature must be high enough but no to the point causing component damage.
richpainter
join:2004-05-20
Colorado Springs, CO
to jsolo1
thanks for the insight to all!
I'm still confused if the flash is bad then how does a fw reflash with a different version even run (which they always do) to the point of creating the "FW Update" webpage...

I have done some more research since using the older FW that reports to the console. I found that I can interrupt the boot and I'm taken to the FireFoxAV as seen here:
U-Boot 2010.06 (Aug 23 2012 - 16:23:19)

SoC: FireFoxAV
DRAM: 128 MiB
Flash: 16 MiB
CPU: 400 MHz
DDR: 400 MHz
SYS: 200 MHz
OBi: Partition 4 is not verified
Checksum::ddbb28da2c6c43b55a23de43f4f26ff3
Digest::48eb0b8b982fde5f39210dd7252bd717
OBi is starting in safe mode
Using default environment

In: serial
Out: serial
Err: serial
Net: mv_enet
Hit any key to stop autoboot: 0 ] lr : []
sp : 003479d0 ip : 003b9118 fp : ffffffff
r10: 00347bac r9 : ffffffff r8 : 0034ffe0
r7 : 00000000 r6 : ffffffff r5 : e59ff014 r4 : 00347a99
r3 : ffffffff r2 : e59ff014 r1 : ffffffff r0 : e59ff014
Flags: NzCv IRQs on FIQs on Mode SVC_32
Resetting CPU ...

resetting ...

U-Boot 2010.06 (Aug 23 2012 - 16:23:19)
...

WOW it seems that this produces a fault that causes the CPU to reset (reboot)!
I'm not familiar with the FireFoxAV monitor.
ffsflash test does nothing when invoked.

Questions:
Can I use the flash erase command without clobbering the ability to reboot so I can attempt to reflash the FW? (see my opening repeated question on the flashing with "FW Update" webpage.)
Would running the flash erase command (depending on the previous question's answer) help?
Does this "flinfo" output tell us it is this chip that I need to attempt to "fix"?
Are any other of these commands helpful?

thanks
rich
naf
join:2017-12-12

1 recommendation

said by richpainter:

I'm still confused if the flash is bad then how does a fw reflash with a different version even run (which they always do) to the point of creating the "FW Update" webpage...

picture the space in the 16MB flash chip divided into three partitions (simplified theoretical layout, actual layout more complicated but same logic applies):
- partition#1 contains uboot and the latest firmware version and expected checksum for partition #2
- partition#2 contains an o/s and the regular obi software used to make calls
- partition#3 contains a separate copy of the o/s and pruned down software that only contains "FW Update" webpage

part#1 always runs first. it must choose between running part#2 or part#3 next. since part#1 contains the checksum for what should be in part#2, it reads part#2 and compares it against the expected checksum for that partition. if valid, it boots part#2. if not, it boots part#3.

lets say 'FW Update' attempts to overwrite all three partitions. but theres some defective area inside part#2 that prevents it being written correctly. so each time you flash a new firmware, you'll save the new firmware version number in part#1 successfully. and part#3 will write succesfully. but theres some area of part#2 that cannot be written successfully.

on boot part#1 notices that part#2 is invalid so it boots into part#3. part#3 reads the version number from part#1 and displays this new firmware version.

but you're still stuck in the recovery/reflash cycle because theres always the area in part#2 that wont read back what was written to it correctly.
said by richpainter:

Can I use the flash erase command without clobbering the ability to reboot so I can attempt to reflash the FW? (see my opening repeated question on the flashing with "FW Update" webpage.)
Would running the flash erase command (depending on the previous question's answer) help?

erasing the entire flash (or even just the uboot partition) will definitely cause the device to not be accessible (even by serial console). dont do this.
said by richpainter:

Does this "flinfo" output tell us it is this chip that I need to attempt to "fix"?
Are any other of these commands helpful?

no, 'flinfo' always crashes even on a working system
richpainter
join:2004-05-20
Colorado Springs, CO
excellent naf! this is the insight I was seeking. It make sense now...
Knowing that I can flash and boot the fw that has a console interface, I can get a command prompt to the linux kernel/shell. Can I use this access to somehow rehabilitate the flash partition part #2 ??

In other words, are there tools that I can use to "fix" part2 OR get a working os image into part3?
Or is all lost with this?
thanks
rich
start345
join:2021-11-07

4 edits
I think you should be able to get a shell prompt in the recovery partition. I don't see where you have been able to do that. Try to tap the enter key from the console repeatedly during the boot or let the boot continue to the end and then tap the enter key. You should get a shell prompt.

The shell prompt will give you a little to work with in the recovery partition. There isn't enough to run the full OBi system just some basic programs. You can just look around the recovery file system and do a few things with the shell.

EDIT: Now I doubt I ever got into my recovery partition on the OBi212. Probably not. My broken tv box with a bad flash would reboot forever and reflash the firmware from a USB thumb drive over and over and is hopeless. The reflashing should check whether the new firmware was written correctly except that couldn't have been implemented or the firmware reflash would have given an error. I could get a shell prompt except could do very little with the recovery partition so my tv box with a bad flash chip is just there for spare parts now.

EDIT2: I think the BGA chip on the mainboard is the RAM and the flash is on the other side of the Marvel CPU. You could inspect the solder job around the flash chip except I suspect the flash is just cheap and low quality and the real problem. Of course, the flash could be replaced with a lot of soldering equipment and then reprogrammed with a special flash programmer by copying from one of your other OBi200s. Even easier is to just get a new OBi to replace the bad box.
naf
join:2017-12-12

1 recommendation

to richpainter
said by richpainter:

Knowing that I can flash and boot the fw that has a console interface, I can get a command prompt to the linux kernel/shell. Can I use this access to somehow rehabilitate the flash partition part #2 ??

In other words, are there tools that I can use to "fix" part2 OR get a working os image into part3?
Or is all lost with this?

I don't believe bad flash blocks can be fixed.

Unfortunately you can't simply copy part2 to part3 because part2 is ~3x the size.

Theoretically you could relocate part2 to another contiguous space that doesn't include the bad block by stealing space from part3, but you'd have to simultaneously modify both uboot (to remove recovery logic) and the kernel (to change the hardcoded partition locations).

I could give more specifics if we could see exactly which block(s) fail. This would involve configuring a udp syslog listener somewhere on the your local network and recording the log when manually invoking the firmware update from a recovery shell (i.e. /obi/obiup <path_to_fw_file> 0 0 <syslog_ip> <syslog_udp_port>).

But I'm thinking there's little hope that anything we do is going to be successful.

jsolo1
Premium Member
join:2001-07-01
PRIL
If only the bootloader could be modified to run code from a usb flash drive during boot. This would bypass any failed internal flash altogether.
pagescribe
join:2021-02-09
to naf
It would be coincidental for modded firmware to brick 5Ghz Wi-Fi on an OBi2xxx IP Phone, right?
naf
join:2017-12-12

1 recommendation

said by pagescribe:

It would be coincidental for modded firmware to brick 5Ghz Wi-Fi on an OBi2xxx IP Phone, right?

Not sure what you mean by 'brick', but you can always flash stock fw and compare...
pagescribe
join:2021-02-09

1 edit
After flashing to signature-bypass.fw, 5Ghz stopped working. Also, OBiWifi setup, which uses 5Ghz, doesn't work. Flashing to 6-2-3-5330-taoman1.fw doesn't change anything, and flashing back to stock keeps 5Ghz from working.

I think 5Ghz no longer functioning was coincidental, but it stopped working immediately after changing to signature-bypass.fw. 5Ghz was the first thing I checked after flashing.
pagescribe
This appears to be a problem that was introduced in stock firmware.

5ghz works with 6.2.2 (Build: 4788.1311), and I can't find an active file download link in order to try to flash back to it.

5ghz doesn't work with 6.2.3 (Build:5330.1311) and not with modded firmware either.
start345
join:2021-11-07

1 edit
Did the 5Ghz really work on other firmware? I could get 5 bars at 2.4G and only 0 or 1 at 5G with the official Ubi/Poly USB adapter running OBi2xx-3-2-2-8680EX-arrynrob10.fw. That uses the RTL8821au chip and there is no support for linux by Realtek so the OBi drivers are poor hacks. I have several RTL8821ae WiFi adapters similar to the RTL8821au and they work on 2.4G only and can't even connect at 5G. Obi got the RTL8821au to connect to my router except the signal was very bad and not usable.

There are alternatives including powerline ethernet adapters or wifi ethernet adapters. I have used both. I paid $10 for something called a wifi extender that can bridge the 5G LAN WiFi to the adapter ethernet port. The ethernet port on the adapter is wired to the ethernet port on the OBi. My OBi212 is very happy.

EDIT: Maybe your phone doesn't use the same WiFI chip. If so then nevermind.
taoman
Premium Member
join:2013-09-13
Seattle, WA

1 edit

1 recommendation

to pagescribe
said by pagescribe:

5ghz works with 6.2.2 (Build: 4788.1311), and I can't find an active file download link in order to try to flash back to it.

It looks like WelshPaul's site has that version as a download option. But since I've used that site last it appears you need to join. Scroll down to the 2000 series and select the drop-down box to choose version level. But you'll have to join first to download the file.

»www.ukvoipforums.com/dow ··· nes.html
pagescribe
join:2021-02-09

1 edit
said by taoman:

It looks like WelshPaul's site has that version as a download option. But since I've used that site last it appears you need to join. Scroll down to the 2000 series and select the drop-down box to choose version level. But you'll have to join first to download the file.

»www.ukvoipforums.com/dow ··· nes.html

Thanks for the info.
pagescribe
join:2021-02-09
to start345

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

said by start345:

Did the 5Ghz really work on other firmware?

Yes, OBi2182 does with 6.2.2 (Build: 4788.1311).
pagescribe
For OBi2xxx series IP Phones, trying to downgrade from any 6.2.3 firmware version to 6.2.2 firmware version is eventually blocked and shows a checksum error.

5Ghz works with 6.2.3 (Build: 4907.1311) with OBi2182. 5Ghz seems slower to respond though than with 6.2.2 (Build: 4788.1311).

5Ghz doesn't work for me with 6.2.3 (Build: 5330.1311) and not with 6.2.3-4983.fw either.

Kermee
Premium Member
join:2006-04-28
Seattle, WA

1 recommendation

to naf
Hi naf,

First of all, thank you for all your work. It's absolutely fantastic. It's very much appreciated.

I just successfully loaded 8680EX-arrynrob10 FW onto an already-in-service OBi200 via OBiTalk portal and a brand new unprovisioned OBi202. I would like to try the portal-less GV provisioning on the new OBi202. Would it be possible for you to PM me the instructions? Thanks so much in advance!
Kermee

1 edit
I haven't heard from naf though I haven't PM'ed him yet. Has anyone done the Google Voice portal-less provisioning lately and have been successful? Just curious. Thanks!

EDIT: My apologies to naf. He sent me a PM a week ago and didn't realize it. My fault.

former qwest
Premium Member
join:2014-01-04
out there

2 recommendations

said by Kermee:

EDIT: My apologies to naf. He sent me a PM a week ago and didn't realize it. My fault.

you're a premium member, you can turn on notifications of PMs in your settings tab.

Kermee
Premium Member
join:2006-04-28
Seattle, WA

1 recommendation

Done. Thanks so much!
Kermee

1 recommendation


UPDATE: Followed the directions that naf gave me. Worked like a charm! Thanks so much!
LuluLynx
join:2017-04-13
8WO 1578

1 recommendation

to naf
Hi naf,

can you also send me the instructions for setting up GV without the Obitalk portal

I have an OBi200 with 3.2.2 (Build: 8680EX-arrynrob10) installed

Thanks
baddy420
join:2022-02-03
to naf
Hi naf,

I also like to obtain instructions for setting up GV without the Obi portal on my OBI200 which installed with the current firmware 3-2-2-8680EX. Thank you.
Doc_D
join:2004-11-20
Prosper, TX
to naf
Hi naf...

Just picked up an extra Obi202 for a spare and downloaded 3.2.2 (Build: 8680EX-arrynrob10). Would like to activate GV without the Obi portal. Could you also send instructions here as well? Many thanks for all your work !!
naf
join:2017-12-12

4 recommendations

PMs sent to all
maxm
join:2002-10-14
Atlanta, GA

1 edit
to naf
Thanks naf.
skystream006
join:2022-01-08

1 recommendation

to naf
Thanks naf for all your hard work!
Doc_D
join:2004-11-20
Prosper, TX
to naf

.

Many thanks, naf... That's some awesome work !!
leeirvin
join:2007-06-04
Cary, NC
to naf

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

naf,

OBi202 here with 8680EX (3.2.2). Is it possible to get these instructions too for connecting GV without OBiTalk? Thanks in advance.
smirabito
join:2022-02-08
Currently have an OBi200 set up for GV via OBiTALK that I'd like to convert to offline and just purchased a new OBi300 that I'm hoping to configure for GV. Could I also get a copy of the instructions for setting this up? Thank you!

hapollo
join:2007-05-13
WesterOS
to naf
still running on 5921EX-arrynrob9 for a while. before I flash this new mod, just checking if it wipes call history or anything else during upgrade or does everything stay intact?
naf
join:2017-12-12

2 recommendations

said by hapollo:

still running on 5921EX-arrynrob9 for a while. before I flash this new mod, just checking if it wipes call history or anything else during upgrade or does everything stay intact?

configuration and history stay intact
hwa9
join:2004-07-19
to naf
Hi naf See Profile, been running OBi2xx-3-2-2-8680EX-arrynrob10 for a while and if possible would like to get these instructions too for connecting GV without OBiTalk? Thanks!
deeiche
join:2016-04-06
Hi naf, I would also like instructions for GV configuration without OBiTalk?
thanks
turk
join:2009-03-10
canada
to naf
Hi Naf,
Please send instructions for GV without using Obitalk. Thanks
naf
join:2017-12-12

2 recommendations

PMs sent to all.

Strange seeing so many requests lately. My crystal ball is broken, but I don't see how MITMing around obitalk portal is going to help with regards to the proposed Dec2023 changes, if that's what people are thinking...
turk
join:2009-03-10
canada
Thanks Naf. My computer says there is a Trojan on dpaste. Anyone else see that?
OzarkEdge
join:2014-02-23
USA
·voip.ms

1 recommendation

to naf
This post may be driving traffic here:

»www.reddit.com/r/OBihai/ ··· ontext=3

OE

former qwest
Premium Member
join:2014-01-04
out there
to turk
said by turk:

My computer says there is a Trojan on dpaste.

probably a false positive.
miser
join:2004-01-16
Sandusky, OH
to naf
I am hoping this is the thread to seek assistance with an Obi20X hooked up to Google voice.

I have an Obi200 provisioned independently from Obitalk portal via instructions found here:

»cboh.org/voip/obi/OBi_As ··· TSP.html

Worked flawlessly for a long time. Had to update firmware "recently" (I don't remember, maybe 4 months ago or so? As many have said throughout this thread if it isn't broke don't fix it) due to the Obi not registering at Google. Once that was done, registered fine.

My issue is: I can make outgoing calls just fine, but incoming calls do not look like they are making it to the Obi, and therefore aren't making it to my Asterisk box.

My current firmware is 3.2.2 (Build: 8680EX-arrynrob10)

I am able to ssh into the Obi if that helps. Where can I begin to look at logs or such to begin to troubleshoot incoming calls?

Thanks

-Miser
hwa9
join:2004-07-19
to naf
Hi all, I'm hoping to tap into your experience. My OBi200 used to run OBi2xx-3-2-2-8680EX-arrynrob10, self provisioned and with the Google Voice portal-less setup at the time. When that stopped working I went back to the OBiTalk portal, set it all up, disabled auto firmware update and things were well. The tinkerer in me was excited when I read here about the new Google Voice portal-less setup. While getting it all prepped I noticed that my OBi was no longer running 8680EX-arrynrob10 but the stock 8680EX.

Looking at the instructions at obifirmware I'm not a 100% clear what the order is to get arrynrob10 back on my device. Is the correct order: (1) stock 5921EX, (2) OBi302-3-2-2-6259-signed-fw-bypass-uboot-mod.fw, (3) OBi2xx-3-2-2-8680EX-arrynrob10.fw?

In parallel I've tried to use the new Google Voice portal-less setup instructions and I get all the tokens just fine, but (for stock) copying the 1/xxx... token into the X_GApiRefreshToken field only yields authentication issues.

Any help/wisdom is appreciated! Thanks.
naf
join:2017-12-12

2 recommendations

said by hwa9:

Looking at the instructions at obifirmware I'm not a 100% clear what the order is to get arrynrob10 back on my device. Is the correct order: (1) stock 5921EX, (2) OBi302-3-2-2-6259-signed-fw-bypass-uboot-mod.fw, (3) OBi2xx-3-2-2-8680EX-arrynrob10.fw?

correct
said by hwa9:

In parallel I've tried to use the new Google Voice portal-less setup instructions and I get all the tokens just fine, but (for stock) copying the 1/xxx... token into the X_GApiRefreshToken field only yields authentication issues.

i think at some point they locked a couple of the hidden GV-specific configuration settings to only work from obitalk provisioning. (the modded fw just hacks this out of course)

for stock, try using same provisioning file but via 'OBiTalk Provisioning' instead of 'ITSP Provisioning'. (i would recommend a full Reset Configuration first)
hwa9
join:2004-07-19
Thank you for the confirmation! Out of curiosity I will try OBiTalk Provisioning but my end goal is to be back on a modded FW and use those instructions.
naf
join:2017-12-12

1 recommendation

to miser
said by miser:

I am able to ssh into the Obi if that helps. Where can I begin to look at logs or such to begin to troubleshoot incoming calls?

theres not going to be a lot of logs to look at unfortunately.

you can turn on syslog, but all youll see is the acquisition of an auth token and then successful registration (which you already know works from outgoing success)

X_SipDebugOption doesn't work as far as i can tell, and you can't sniff the encrypted SIP traffic without MITMing the tls connection or using hacks to write a SSLKEYLOGFILE.

more likely GV just isn't attempting to forward the call to your device at all. assuming its already enabled for forwarding on the GV device settings page, maybe try deleting it from there? (it will be re-created next time the device registers)
miser
join:2004-01-16
Sandusky, OH

2 edits
to naf

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

said by naf:

more likely GV just isn't attempting to forward the call to your device at all. assuming its already enabled for forwarding on the GV device settings page, maybe try deleting it from there? (it will be re-created next time the device registers)

Thank you. I thought maybe if I just deleted the Obi from Google voice and re-created it that is worth a shot, but was not aware it would just re-create itself (and since outgoing is more important to me than incoming, I didn't want to further break things!.

I will try deleting the Obi from the Google side and see what happens.

EDIT: deleting from Google, it re-added itself no problem but still no incoming. A full power cycle of the Obi results in the same.

EDIT 2: Last successful incoming call was August 27, 2021 if that means anything.

What does work:

Call out from the analog port on the Obi (I route that through asterisk) -> Google Voice.
Call out from an extension on the Asterisk itself (channel bank) -> Google Voice
Call out from the analog port on the Obi -> Extension on Asterisk
Call out from an extension on Asterisk -> analog port on Obi

The only thing that doesn't work is Google voice incoming. Guess it's time to blame Google. Hopefully it just magically comes back. It's free, not critical, but nice to have.

Thanks again,

-Miser
miser
Replying to my own comment here for visibility in lieu of editing continuously.

I set up one of my linux hosts to accept syslog from the obi. When I call my Google voice number, then only thing that gets printed on syslog is:

Feb 18 15:50:29 192.168.1.192 RTP:Del Channel

hwa9
join:2004-07-19

2 recommendations

to naf
said by naf:

i think at some point they locked a couple of the hidden GV-specific configuration settings to only work from obitalk provisioning. (the modded fw just hacks this out of course)

for stock, try using same provisioning file but via 'OBiTalk Provisioning' instead of 'ITSP Provisioning'. (i would recommend a full Reset Configuration first)

My OBi didn't want to take the XML files through OBiTalk provisioning, so that was a dead end. After flashing the required firmwares I'm back on the modded firmware. I use 2 Google Voice accounts and the 2nd account refused to connect. After some digging around and comparing it to the portal XML I found that setting the OutboundProxyPort to 443 did the trick.
Anon7f84c
@74.79.102.x
to naf
I have an Obi508 (4.0.5 (Build: 5980)). If I follow the instructions (see below) found on obifirmware.com, will I be able to provision Google Voice on the device? Google voice stopped working on the device a few years ago. Thanks for your help!!

ssyspro - for OBi5 series
Installation instructions:
To go to a modded fw from stock, flash to OBi5xx-4-0-5-7707-noshell-signed.fw first.
md5sum OBi5xx-4-0-5-7707-noshell-signed.fw = 0205d029107d603379eaba37ca6d3956
Next, install OBi500-4-0-5-5903EX-ssyspro5.fw
md5sum OBi500-4-0-5-5903EX-ssyspro5.fw = 1949638ca7161904fbda0da795b8eec9
naf
join:2017-12-12

2 edits

2 recommendations

said by Anon7f84c :

I have an Obi508 (4.0.5 (Build: 5980)). If I follow the instructions (see below) found on obifirmware.com, will I be able to provision Google Voice on the device?

I believe the answer is yes. I put in a patch to fix the SNI problem in syspro5, and you can load the 8/2021 updated certs manually (download here »Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods and install instructions here »Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods) and follow the gv-without-obitalk instructions (pm or email me for details)

EDIT: Update - Anon7f84c confirmed success with his/her obi508.
snowbird
join:2022-03-23
to naf
Hi Naf,

Hoping to get the steps to provision GV w/o obitalk.com. I do have OBi2xx-3-2-2-8680EX-arrynrob10 installed on obi300 device.

Thanks in advance!
snowbird
Thanks Naf! That worked perfect.
yajrendrag
join:2018-05-13
US
to naf
Hi naf-
i had previously (3 years ago) flashed my Obi202 to 3.2.2 (Build: 5921EX-arrynrob8) - I've not touched it since.

Now, however, somehow the GUI reports the device is running - 3.2.2 (Build: 8680EX). Not sure how it got updated.

Under System Management/Autoprovisioning I have set:
Auto Provisioning - Auto Firmware Update::Method = Disabled
Auto Provisioning - LUA Script Update::Method = System Start
Auto Provisioning - ITSP Provisioning::Method = System Start
Auto Provisioning - OBiTalk Provisioning::Method = Disabled

I would have thought this would have prevented the firmware from auto updating... maybe all of these need to be disabled?

Can you PM me instructions to reflash the Obi202 back to an arrynrob release? Also i'd like to provision to GV without using the Obitalk portal.

In case this unit's firmware is too far along now, i do have another Obi202 that is running stock 3.2.2 (Build: 5921EX) that can be used instead.

thanks.

hapollo
join:2007-05-13
WesterOS
said by yajrendrag:

Can you PM me instructions to reflash the Obi202 back to an arrynrob release? Also i'd like to provision to GV without using the Obitalk portal.

have you tried these instructions? it should work, if done according to the fw version details listed within:

»www.obifirmware.com/
yajrendrag
join:2018-05-13
US
Thanks. no, i wasn't sure if i could do that with where i'm at, but if i am reading it correctly, there are 3 steps in my case:
1) flash 5921EX stock first
2) flash the bypass-uboot-mod
3) flash OBi2xx-3-2-2-8680EX-arrynrob10.fw

What about Google Voice portal-less provisioning instructions? thanks
naf
join:2017-12-12

1 recommendation

to yajrendrag
said by yajrendrag:

i had previously (3 years ago) flashed my Obi202 to 3.2.2 (Build: 5921EX-arrynrob8) - I've not touched it since.

Now, however, somehow the GUI reports the device is running - 3.2.2 (Build: 8680EX). Not sure how it got updated.

Under System Management/Autoprovisioning I have set:
Auto Provisioning - Auto Firmware Update::Method = Disabled
Auto Provisioning - LUA Script Update::Method = System Start
Auto Provisioning - ITSP Provisioning::Method = System Start
Auto Provisioning - OBiTalk Provisioning::Method = Disabled

I would have thought this would have prevented the firmware from auto updating... maybe all of these need to be disabled?

In addition to those, also need to disable Voice Services > OBiTALK Service
said by yajrendrag:

Thanks. no, i wasn't sure if i could do that with where i'm at, but if i am reading it correctly, there are 3 steps in my case:
1) flash 5921EX stock first
2) flash the bypass-uboot-mod
3) flash OBi2xx-3-2-2-8680EX-arrynrob10.fw

Correct.
said by yajrendrag:

What about Google Voice portal-less provisioning instructions?

Sent you a PM. (You could also just use the portal to configure GV before disabling it)
yajrendrag
join:2018-05-13
US
said by naf:

Sent you a PM. (You could also just use the portal to configure GV before disabling it)

You mean before disabling Voice Services > OBiTALK Service?
naf
join:2017-12-12

1 recommendation

said by yajrendrag:
said by naf:

Sent you a PM. (You could also just use the portal to configure GV before disabling it)

You mean before disabling Voice Services > OBiTALK Service?
Think of OBiTALK Service and the 4 Auto Provisioning methods as a single group.

If theyre all disabled, obitalk can't mess with your device.

If you want to get GV configured by the obitalk portal, you can enable them temporarily.

If you are happy with the configuration and want to stop obitalk messing with your device, disable them afterward.
yajrendrag
join:2018-05-13
US
gotcha, thanks!
Nana926
join:2022-03-27
Fort Lee, NJ
to naf
Hi Naf,

Can I also get Google portal-less provisioning instructions. Thanks
Cam_
join:2013-05-15
to naf
Naf, would you kindly PM me a copy of your instructions for configuring GV without using the Obi portal? Thanks!
naf
join:2017-12-12

1 recommendation

PMs sent
SmithM
join:2022-04-01
Can I also get the Google portal-less provisioning instructions too. Many Thanks

Also appreciate all the efforts for the firmware mods.
PDX_Mark
join:2020-08-21
Portland, OR
·VBUZZER
·les.net
to yajrendrag
said by yajrendrag:

Thanks. no, i wasn't sure if i could do that with where i'm at, but if i am reading it correctly, there are 3 steps in my case:
1) flash 5921EX stock first
2) flash the bypass-uboot-mod
3) flash OBi2xx-3-2-2-8680EX-arrynrob10.fw

What about Google Voice portal-less provisioning instructions? thanks

this is exactly why I have never been able to do this! No good clear instructions that are complete and work.
togetrick
join:2022-04-26
Heavener, OK
to naf
I must have bricked my Obi200. It had the 8680EX original fw. So I try to take it to stock accessing it though it IP address and upload fw. I guess it should of been done different? My unit now only has a red solid light. I even tried reboot and still the same. This one I was using and configure for GV. I have a second one that was configure for GV but haven't used in a while. I like to know if anyway to unbrick the first one and how should I flash stock.
naf
join:2017-12-12
said by togetrick:

I must have bricked my Obi200. It had the 8680EX original fw. So I try to take it to stock accessing it though it IP address and upload fw. I guess it should of been done different? My unit now only has a red solid light. I even tried reboot and still the same. This one I was using and configure for GV. I have a second one that was configure for GV but haven't used in a while. I like to know if anyway to unbrick the first one and how should I flash stock.

uploading firmware through the webgui is an acceptable method to upgrade. what firmware file were you trying to install?

possible recovery options:
if uboot is still operational, attach serial port to board and flash from uboot
if not, write to flash chip directly (not sure that anyone has done this successfully with a 20x due with small flash form factor / pin spacing)
togetrick
join:2022-04-26
Heavener, OK
If your firmware is 6259 or greater, you must install stock 5921EX first, then install bypass-uboot-mod.
I tried this step of stock 5921EX then it went all red and stayed there. I never made it to the bypass-uboot-mod.
PDX_Mark
join:2020-08-21
Portland, OR
to SmithM
Ditto, I need the instructions too.
start345
join:2021-11-07
to togetrick
I started with an obi212 with stock 5897EX about six months ago so didn't need to first flash stock 5921EX. After flashing the OBi302-3-2-2-6259-signed-fw-bypass-uboot-mod.fw I found the Obi had disabled the WAN side web server access so I had to fix that before getting back into the Obi web server. Maybe the 5921EX also disables the web server.

I was afraid the Obi was bricked until re-enabling the WAN side web server. Be sure to check the phone port for activity.
togetrick
join:2022-04-26
Heavener, OK
How did you fix the WAN side web server access?
start345
join:2021-11-07
I did this about 6 months ago so I am rusty. I goes something like this according to the Obi Device Admin Guide:

From a phone attached to the phone port press these buttons:

* * * 0
30 #

The current value will be read back. Enter 1 for new value or 2 for default value:

1

For new value enter 0 to disable WAN side web access or 1 to enable access:

1
togetrick
join:2022-04-26
Heavener, OK
I tried different ones on the phone and no go. My router don't show the unit connected with an ip any more as well.
start345
join:2021-11-07
Is the Obi connected to the router with the Obi WAN port?
Did the Obi accept the configuration options with the ***0?
Did the Obi report the current state with the 30#?

There could be hope if the phone can change the Obi settings.
togetrick
join:2022-04-26
Heavener, OK
I have it connected straight to the router with via cat6. Do I need to get a USB dongle and try that way. The led just stays solid red on the unit.

Trev
AcroVoice & DryVoIP Official Rep
Premium Member
join:2009-06-29
Victoria, BC

1 recommendation

said by togetrick:

The led just stays solid red on the unit.

Try another power supply.
togetrick
join:2022-04-26
Heavener, OK
to Trev

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

I have two units and I tried both power cords. Red from both cords on first unit and second unit works with both cords. I'm waiting to see if I can get this one going before attempting to flash the other. The second one just needs to start with bypass uboot etc..
Brown
join:2018-01-21
Try holding the reset button down for about 30 seconds.
togetrick
join:2022-04-26
Heavener, OK
I tried to reset for 30 seconds. I also tried while plugging power in and off as I seen others stated. I tried just hooking to a laptop and it's states nothing is plugged into lan port when I have a cable connected. I guess it's just bricked.
jsmith2k1
join:2010-11-24
El Cerrito, CA
to naf
Hi Naf,
Please send/pm instructions for portless GV configuration.
Your time is greatly appreciated.
Thanks
Jay
Chrushev
join:2008-07-30
Newport Beach, CA
to naf
Has anyone been getting error 603-Decline from known good phone numbers (when trying to dial them)? Issue started a few days ago and will last 10 minutes or so, then I can dial that number no problem.

Im on Obi200 running 3.2.2 Build 8680EX-arynrob10
bel_din
join:2022-06-27
to naf
Thank you for all your work. It's absolutely fantastic. And very much appreciated.

I just successfully loaded 8680EX-arrynrob10 FW onto an Obi302 could send me the steps to provision GV w/o obitalk.com

Your time is greatly appreciated.
Thanks
zapattack
join:2012-07-02
CANADA
to Trev
I think OBi units are fussy about PS.
I used a 750 ma unit on a 302. After about a minute, it would go red and reboot.
1A unit gave solid performance.
OzarkEdge
join:2014-02-23
USA
The power adapters on my OBi ATAs are rated +12vdc 1a. No fuss hardware operation since 2014.

OE
northmendo
join:2022-07-06
USA
to Nana926
@Naf can I please get the GV instructions as well?
Strawberry74
Premium Member
join:2016-11-29
DFW
to naf
@Naf can I please get the GV instructions too?
northmendo
join:2022-07-06
USA

2 edits
Please delete
Strawberry74
Premium Member
join:2016-11-29
DFW
to naf
Thanks @NAF and @northmendo the instructions worked great and my Obi302 is up and working on GV without Obitalk. The biggest issue encountered was with the token format for step #5, instructions say "refresh_token=1/xxxxx" and what actually worked was "refresh_token=1//xxxxx".
bookbag
join:2007-10-21
to naf
@NAF and @northmendo can I please be sent the GV provisioning instructions? I have flashed my 302 to OBi2xx-3-2-2-8680EX-arrynrob10.fw looks good as the fw is now showing up on software version. Just need the GV instructions. Thank You!
bishoptf
join:2022-07-23
Lake Saint Louis, MO
@NAF and @northmendo can I please be sent the GV provisioning instructions?

Thank you
jlowens76
join:2019-11-10
to naf
Naf, would you kindly PM me a copy of your instructions for configuring GV without using the Obi portal? Thanks!
bishoptf
join:2022-07-23
Lake Saint Louis, MO

2 edits
to naf
So being a noob I have a got a obi301 and have upgraded the firmware and obtained my refresh token but I am unsure how to configure the device for google voice. Since I have not configured one in the past is there any howto's that someone can point me to that will help me finish the configuration. The instructions mention SPx Authpassword and not even sure where to find that, I have been looking for it. There is also some mention of some auto configuration scripts SP1-4 does it matter which one I use to configure the obi ata device?

Thanks

I think I figured out how to load the auto provision xml, still looking for the spx Authpassword....:)
naf
join:2017-12-12

1 recommendation

said by bishoptf:

So being a noob I have a got a obi301 and have upgraded the firmware and obtained my refresh token but I am unsure how to configure the device for google voice. Since I have not configured one in the past is there any howto's that someone can point me to that will help me finish the configuration. The instructions mention SPx Authpassword and not even sure where to find that, I have been looking for it. There is also some mention of some auto configuration scripts SP1-4 does it matter which one I use to configure the obi ata device?

from the webgui: Voice Services > SP1 Service > SIP Credentials > AuthPassword

pick whichever unused SP# youd like
bishoptf
join:2022-07-23
Lake Saint Louis, MO
Thanks I finally figured it out took me awhile to get things squared away. From the status screen it says connected...so I think it is good. One question, trying to get this to work for a fax machine and looks like it will work going outbound but how would I have it receive faxes also?

Thanks

Now I just need to find a phone cable, I have none around and do not have any connectors to make any, grumble...I have lots of rj45's lol...

jsolo1
Premium Member
join:2001-07-01
PRIL
I don't know if it's my fax machine or gv or the obi. As of about 2 years ago, faxing using gv stopped working, both in and out. Faxes would initiate, but then abort due to various errors. Eventually I gave up trying to trouble shoot.

I now run a virtual fax on a freepbx server. This has actually worked out even better than using a traditional fax. All access is via a web page ui. I get email notifications upon receipt. The only drawback is the driver is limited to 14.4kbps speed. Not a problem. Done some 20-30 page faxes successfully.

ymmv.

Re question, you specify which phone port a particular spx should use - X_InboundCallRoute under voice services/spx service.

For the obi200 it's ph, for the 202, it's ph1 and ph2.
JoyBalls
join:2022-07-28
to naf
Naf, would you kindly PM me a copy of your instructions for configuring GV without using the Obi portal? Thanks!
bishoptf
join:2022-07-23
Lake Saint Louis, MO
to jsolo1
said by jsolo1:

I don't know if it's my fax machine or gv or the obi. As of about 2 years ago, faxing using gv stopped working, both in and out. Faxes would initiate, but then abort due to various errors. Eventually I gave up trying to trouble shoot.

I now run a virtual fax on a freepbx server. This has actually worked out even better than using a traditional fax. All access is via a web page ui. I get email notifications upon receipt. The only drawback is the driver is limited to 14.4kbps speed. Not a problem. Done some 20-30 page faxes successfully.

ymmv.

Re question, you specify which phone port a particular spx should use - X_InboundCallRoute under voice services/spx service.

For the obi200 it's ph, for the 202, it's ph1 and ph2.

I'd be interested in looking at the freepbx stuff, have any how to links handy?

Still kind of wondering how secure fax with voip is, I tend to use the fax for sensitive stuff. medical records etc, to bad pots lines are so expensive but it is what it is...
drexful
join:2022-07-28
to naf
Hi Naf.

Could you kindly send the instructions for GV setup for my 302 device?

Thank you for all your tireless work on this project!

jsolo1
Premium Member
join:2001-07-01
PRIL
to bishoptf
Here's a write up I did some 4 years ago.

»Freepbx/Asterisk Hylafax w/Avantfax for Dummies (Ubuntu)

Still working today.

Hylaxfax is the fax backend, avantfax is the ui front end.

Re security, given today's ai, it wouldn't take much cpu to decode/decipher a simulated analog fax signal. That said, chose your poison. If you want 100% security, use a computer without any network capability, print to a usb printer, then hand deliver to recipient .

The only truth about privacy is there is none.... IMO
RonR
join:2003-10-10
Ash Flat, AR
to bishoptf
said by bishoptf:

I'd be interested in looking at the freepbx stuff, have any how to links handy?

»[PBX] FreePBX for the Raspberry Pi supports sending and receiving faxes using HylaFAX and GV, with no additional hardware needed (no fax machine nor OBi). For sending, simply scan or print your document(s) to a PDF file. Received documents arrive as a PDF file attachment to an email notification.
drexful
join:2022-07-28
I feel really stupid.. How can I login via SSH to make changes when port 22 is closed on the device? I ran NMAP to confirm that there are only 3 ports enabled from the WAN side and none of them are SSH. I am using arrynrob10.
naf
join:2017-12-12

2 edits
said by drexful:

I feel really stupid.. How can I login via SSH to make changes when port 22 is closed on the device? I ran NMAP to confirm that there are only 3 ports enabled from the WAN side and none of them are SSH. I am using arrynrob10.

does the webgui status page display a SoftwareVersion that says 'arrynrob10'? (i.e. it didnt revert fw after you installed it)

whats the CustomizationStatus?

is this a first time custom fw has been installed on device? (i.e. you haven't previously edited the rc files)

sure theres no firewalls between you and device blocking all traffic on port 22?
drexful
join:2022-07-28
This is a fresh device just purchased last week. There is no firewall blocking port 22 on the network. I am accessing it on the WAN port connected to a switch on my internal network.

Yes this is the first time custom FW has been on the device.

ModelName OBi302
MACAddress xxxxx
SerialNumber xxxxx
OBiNumber 302 xxxxx
HardwareVersion 1.5
SoftwareVersion 3.2.2 (Build: 8680EX-arrynrob10)
SystemTime 12:38:13 07/28/2022, Thursday
UpTime 0 Days 0:12:56 (0)
CertificatesStatus Installed
CustomizationStatus Generic
PhoneBookEntries 0 Unique Name/Number Pairs
OBiExtras Locked
naf
join:2017-12-12
said by drexful:

SoftwareVersion 3.2.2 (Build: 8680EX-arrynrob10)

hm, dropbear ssh init in arrynrob10 requires a working /scratch partition. i wonder if yours is hosed...

do you have anything showing up in Call History? (need to configure an ITSP and make some calls first i guess)
drexful
join:2022-07-28
Nothing in the call history since I need to SSH and clear zt_params. I will run the firmware instructions again and see if that resolves the issue. Thanks naf!
naf
join:2017-12-12
said by drexful:

Nothing in the call history since I need to SSH and clear zt_params.

No need to run clear_zt_params, since your CustomizationStatus is already Generic
drexful
join:2022-07-28
to naf

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

said by naf:
said by drexful:

Nothing in the call history since I need to SSH and clear zt_params.

No need to run clear_zt_params, since your CustomizationStatus is already Generic
No luck. Re-ran firmware update process on your website. GV service not working.. No SSH. I wonder if this device was patched before I got it?

GRRRR!
naf
join:2017-12-12

1 recommendation

said by drexful:

GV service not working..

did you successfully obtain a refresh_token?
did you successfully provision the configuration file to the device? (i.e. did the AuthUsername field get populated to '${DSN}_#')
what does the webgui show under 'SP# Service Status'?
can you configure syslog to see if it contains any useful info?
said by drexful:

I wonder if this device was patched before I got it?

thats not a thing
drexful
join:2022-07-28

1 edit
said by naf:

did you successfully obtain a refresh_token?

Yes
said by naf:

did you successfully provision the configuration file to the device? (i.e. did the AuthUsername field get populated to '${DSN}_#')

Yes, I used your SP1 XML file and added my token in the AuthPassword section per instructions.
said by naf:

what does the webgui show under 'SP# Service Status'?

"Service Not Configured"
said by naf:

can you configure syslog to see if it contains any useful info?

I have to build a syslog server first.

Should I see certs in the trusted root authorities section? Mine is blank.
naf
join:2017-12-12

1 recommendation

said by drexful:

I have to build a syslog server first.

Just need something that catches/displays UDP packets: »web.archive.org/web/2013 ··· logd.zip or netcat/nc or wireshark
said by drexful:

what does the webgui show under 'SP# Service Status'?
"Service Not Configured"

Whats ITSP Profile A's SignalingProtocol show?
drexful
join:2022-07-28

1 edit
said by naf:

Whats ITSP Profile A's SignalingProtocol show?

Google Voice
naf
join:2017-12-12

1 edit

2 recommendations

XMPP:Incorrect login retry from:0

XMPP, eh? it would be nice to see a param_dump to see if the hidden GVSIP settings is not being saved for some reason, but for that we need to get a shell working.

this firmware should enable a telnet daemon 30 seconds after boot (you can flash it directly from arrynrob10): »drive.google.com/uc?expo ··· iEaR3kWi

under the theory that an invalid /scratch partition is somehow to blame for ssh's failure, telnetd should be able to run fine without it. see if you can telnet to the box with that firmware running. if so, see if GVSIP got saved:

# wget http://www.dslreports.com/r0/download/2390272~9f32a5010ac4a31a72ad6485bb27737e/param_dump.zip -O - | gzip -d > /var/tmp/param_dump
# chmod +x /var/tmp/param_dump
# /var/tmp/param_dump | grep GVSIP
# /var/tmp/param_dump | grep -A 300 00460000
 

and while your at it see what the hell is up with /scratch and dropbear:
# ls -lR /scratch
# mount
# cat /dev/mtd4ro | hd | head
# ps | grep dropbear
# netstat -anp
 

EDIT: added additional command to param_dump the zt params area because I bet its just lying about being 'Generic'

oKubricko
join:2001-08-06
Miamisburg, OH
Hey there Naf, I just found this thread yesterday and am in the process of purchasing an OBi300 to use GV with your firmware. Would you be able to send me the stup instructions? Thanks much for the hard work on the project and sharing!
drexful
join:2022-07-28

1 edit
to naf
said by naf:

XMPP, eh? it would be nice to see a param_dump to see if the hidden GVSIP settings is not being saved for some reason, but for that we need to get a shell working.

this firmware should enable a telnet daemon 30 seconds after boot (you can flash it directly from arrynrob10): »drive.google.com/uc?expo ··· iEaR3kWi

under the theory that an invalid /scratch partition is somehow to blame for ssh's failure, telnetd should be able to run fine without it. see if you can telnet to the box with that firmware running. if so, see if GVSIP got saved:

I got telnet working when set the device to bridged mode. Trying these steps now.
drexful
said by drexful:
said by naf:

XMPP, eh? it would be nice to see a param_dump to see if the hidden GVSIP settings is not being saved for some reason, but for that we need to get a shell working.

this firmware should enable a telnet daemon 30 seconds after boot (you can flash it directly from arrynrob10): »drive.google.com/uc?expo ··· iEaR3kWi

under the theory that an invalid /scratch partition is somehow to blame for ssh's failure, telnetd should be able to run fine without it. see if you can telnet to the box with that firmware running. if so, see if GVSIP got saved:

I got telnet working when set the device to bridged mode. Trying these steps now.
OBi202 login: root
Password:
# wget http://www.dslreports.com/r0/download/2390272~9f32a5010ac4a31a72ad6485bb2
7737e/param_dump.zip -O - | gzip -d > /var/tmp/param_dump
--2022-07-29 17:58:22--  http://www.dslreports.com/r0/download/2390272~9f32a5010                ac4a31a72ad6485bb27737e/param_dump.zip
Resolving www.dslreports.com... 64.91.255.98
Connecting to www.dslreports.com|64.91.255.98|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1110508 (1.1M) [application/x-zip-compressed]
Saving to: 'STDOUT'
 
-                   100%[===================>]   1.06M   682KB/s    in 1.6s
 
2022-07-29 17:58:24 (682 KB/s) - written to stdout [1110508/1110508]
 
# chmod +x /var/tmp/param_dump
# /var/tmp/param_dump | grep GVSIP
# /var/tmp/param_dump | grep -A 300 00460000
# OBi202 login: root
-sh: OBi202: not found
# Password:
-sh: Password:: not found
# # wget http://www.dslreports.com/r0/download/2390272~9f32a5010ac4a31a72ad6485b
b2
# 7737e/param_dump.zip -O - | gzip -d > /var/tmp/param_dump
-sh: 7737e/param_dump.zip: not found
 
gzip: stdin: unexpected end of file
# --2022-07-29 17:58:22--  http://www.dslreports.com/r0/download/2390272~9f32a50
10ac4a31a72ad6485bb27737e/param_dump.zip
-sh: --2022-07-29: not found
# Resolving www.dslreports.com... 64.91.255.98
-sh: Resolving: not found
# Connecting to www.dslreports.com|64.91.255.98|:80... connected.
-sh: Connecting: not found-sh: :80...: not found
-sh: 64.91.255.98: not found
 
# HTTP request sent, awaiting response... 200 OK
-sh: HTTP: not found
# Length: 1110508 (1.1M) [application/x-zip-compressed]
-sh: syntax error: unexpected "("
# Saving to: 'STDOUT'
-sh: Saving: not found
#
# -                   100%[===================>]   1.06M   682KB/s    in 1.6s
-sh: can't create ]: Read-only file system
-sh: -: not found
#
# 2022-07-29 17:58:24 (682 KB/s) - written to stdout [1110508/1110508]
-sh: syntax error: unexpected "("
#
# # chmod +x /var/tmp/param_dump
# # /var/tmp/param_dump | grep GVSIP
# # /var/tmp/param_dump | grep -A 300 00460000
# ls -lR /scratch
/scratch:
-rw-r--r--    1 root     root             0 Mar 23  2021 resolv.conf
# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro,relatime)
proc on /proc type proc (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
none on /var type ramfs (rw,relatime)
/dev/mtdblock7 on /obi type squashfs (ro,relatime)
none on /sys type sysfs (rw,relatime)
udev on /dev type tmpfs (rw,relatime,mode=0755)
none on /dev/shm type tmpfs (rw,relatime,size=512K)
none on /dev/pts type devpts (rw,relatime,mode=600)
/dev/mtdblock8 on /bluetooth type squashfs (ro,relatime)
# cat /dev/mtd4ro | hd | head
00000000  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
*
00090200  85 19 02 c0 44 00 00 00  1d fb f7 98 03 00 00 00  |....D...........|
00090210  05 00 00 00 a4 81 00 00  00 00 00 00 00 00 00 00  |................|
00090220  13 00 00 00 46 00 00 00  46 00 00 00 00 00 00 00  |....F...F.......|
00090230  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00090240  91 9e 6e da 85 19 02 e0  64 00 00 00 23 54 c5 38  |..n.....d...#T.8|
00090250  03 00 00 00 06 00 00 00  a4 81 00 00 00 00 00 00  |................|
00090260  40 00 00 00 46 00 00 00  46 00 00 00 46 00 00 00  |@...F...F...F...|
00090270  00 00 00 00 20 00 00 00  40 00 00 00 06 00 00 00  |.... ...@.......|
# ps | grep dropbear
 2627 root      2020 S    grep dropbear
# netstat -anp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State                       PID/Program name
tcp        0      0 0.0.0.0:18000           0.0.0.0:*               LISTEN                      696/obiapp
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN                      696/obiapp
tcp        0      0 0.0.0.0:23              0.0.0.0:*               LISTEN                      900/busybox
tcp        0    159 10.10.145.150:23        10.10.145.2:56322       ESTABLISHED                 900/busybox
udp        0      0 127.0.0.1:514           0.0.0.0:*                                           696/obiapp
udp        0      0 127.0.0.1:519           0.0.0.0:*                                           696/obiapp
udp        0      0 0.0.0.0:10000           0.0.0.0:*                                           696/obiapp
udp        0      0 127.0.0.1:10001         0.0.0.0:*                                           696/obiapp
udp        0      0 127.0.0.1:33300         0.0.0.0:*                                           696/obiapp
udp        0      0 127.0.0.1:10018         0.0.0.0:*                                           696/obiapp
udp        0      0 127.0.0.1:10019         0.0.0.0:*                                           696/obiapp
udp        0      0 0.0.0.0:65322           0.0.0.0:*                                           696/obiapp
udp        0      0 0.0.0.0:65324           0.0.0.0:*                                           696/obiapp
udp        0      0 127.0.0.1:3000          0.0.0.0:*                                           696/obiapp
udp        0      0 0.0.0.0:46783           0.0.0.0:*                                           696/obiapp
udp        0      0 0.0.0.0:5061            0.0.0.0:*                                           696/obiapp
udp        0      0 0.0.0.0:5062            0.0.0.0:*                                           696/obiapp
udp        0      0 0.0.0.0:5063            0.0.0.0:*                                           696/obiapp
udp        0      0 127.0.0.1:1999          0.0.0.0:*                                           696/obiapp
udp        0      0 0.0.0.0:5080            0.0.0.0:*                                           696/obiapp
udp        0      0 127.0.0.1:2020          0.0.0.0:*                                           696/obiapp
udp        0      0 127.0.0.1:2030          0.0.0.0:*                                           696/obiapp
udp        0      0 0.0.0.0:44526           0.0.0.0:*                                           696/obiapp
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node PID/Program name    Pat                h
unix  2      [ ACC ]     STREAM     LISTENING       1029 692/obid            /va                r/tmp/obid_socket
unix  2      [ ACC ]     STREAM     LISTENING       1293 696/obiapp          /va                r/tmp/hfp_ctrl_socket
unix  2      [ ACC ]     STREAM     LISTENING       1295 696/obiapp          /va                r/tmp/hfp_data_sock1
unix  2      [ ACC ]     STREAM     LISTENING       1297 696/obiapp          /va                r/tmp/hfp_data_sock2
unix  2      [ ]         DGRAM                       127 452/udevd           @/o                rg/kernel/udev/udevd
unix  2      [ ACC ]     STREAM     LISTENING        906 661/dbus-daemon     /va                r/run/dbus/system_bus_socket
unix  4      [ ]         DGRAM                       140 457/syslogd         /de                v/log
unix  2      [ ACC ]     STREAM     LISTENING       1224 696/obiapp          /va                r/tmp/obiipc_socket
unix  2      [ ACC ]     STREAM     LISTENING        978 665/bluetoothd      /va                r/run/sdp
unix  2      [ ]         DGRAM                      1218 817/udhcpc
unix  2      [ ]         STREAM     CONNECTED       1213 817/udhcpc          /va                r/tmp/obid_socket
unix  3      [ ]         STREAM     CONNECTED        974 661/dbus-daemon     /va                r/run/dbus/system_bus_socket
unix  3      [ ]         STREAM     CONNECTED        973 665/bluetoothd
unix  2      [ ]         DGRAM                       972 665/bluetoothd
unix  3      [ ]         STREAM     CONNECTED        912 661/dbus-daemon
unix  3      [ ]         STREAM     CONNECTED        911 661/dbus-daemon
 
naf
join:2017-12-12

1 recommendation

now we're cooking with gas...
said by drexful:
# ls -lR /scratch
/scratch:
-rw-r--r--    1 root     root             0 Mar 23  2021 resolv.conf
# cat /dev/mtd4ro | hd | head
00000000  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
 
i was right that /scratch was hosed. fix that like so: https://www.dslreports.com/forum/r33268068-
that and a reboot and you should have ssh (and call history when you get that far) back

and im guessing that im still right about the Generic config lying, but param_dump failed (and clear_zt_params will too) because i missed this:
said by drexful:

HardwareVersion 1.5

if you can send me a dump of the flash (ssh root@<IP> "cat /dev/mtd6ro" > dump) i will make sure i can update param_dump/clear_zt_params to work on 1.5 hardware.
drexful
join:2022-07-28
Ok I have SSH now. Unfortunately I cannot dump the flash..

# "cat /dev/mtd6ro" > dump
-sh: can't create dump: Read-only file system
naf
join:2017-12-12

1 recommendation

either run the above command from a separate device, or run something like cat /dev/mtd6ro > /var/tmp/dump on the obi and scp the dump file off to a separate device, or dump it straight to an obi-connected usb flash drive
drexful
join:2022-07-28
Ok I got it. Will send you a PM with the link. Thank you so much for your efforts!
drexful

1 edit
to naf
corrected
naf
join:2017-12-12

3 recommendations

ok, i updated param_dump to support v1.5 encryption scheme (same as 1.4 as far as i can tell):

# param_dump dump-drexful.bin | grep GVSIP
16031716 3d000001: 16170316 (VoiceService.1.VoiceProfile.1.ServiceProviderInfo.URL) = "https://www.obifirmware.com/fw/EnableGVSIPWithoutOBiTALK.xml"
# param_dump dump-drexful.bin | grep -A 300 00460000
-- params at 00460000 --
318c16d1 04000003: d1168c31 () = 0x01000000
318c16d1 00007003: d1168c31 () = 0x
25a4ed70 08000001: 70eda425 () = "Generic"
25a4ed70 00007001: 70eda425 () = ""
a780dddb 06000001: dbdd80a7 () = "12345"
a780dddb 00007001: dbdd80a7 () = ""
 

so it isn't lying about being Generic, but the GV provisioning still did not get fully saved for some other reason: either theres a new 30x/1.5 specific flag that I need to patch out *or* you loaded the provisioning file weird. can you verify this is what you did - if not, just reset the config and provision this way:

correct procedure to provisioning GV via webgui:
- set Auto Provisioning > ITSP Provisioning > ConfigURL to "https://www.obifirmware.com/fw/EnableGVSIPWithoutOBiTALK.xml"
- set Auto Provisioning > ITSP Provisioning > Method to 'System Start'
- reboot (and wait for it to reboot an additional time after receiving the config)

note its ITSP Provisioning, not OBiTalk Provisioning, and definitely not Restore Configuration (i would guess this is what you did, plus some stuff by hand?)

also, your AuthPassword string looks mostly correct, but theres a weird space in the middle of the refresh_token, so you probably need to generate a new refresh_token and update that as well
drexful
join:2022-07-28
Thanks for taking a look at this.

I just re-ran the setup according to your instructions, but left ar10telnet firmware installed.

Re-ran refresh token steps. Rebooted a few times..

Syslog shows..

PROV: schedule the next provisioning process
PROV: Invalid server name, Skipped
PROV: Start to download files ...
PROV: Starting provisioning process

Also tried clearing zt_params

# clear_zt_params
mac: 9cadefxxxxxx, hw_vers: 000105ff
unknown hw_vers

Service says it's not configured.
naf
join:2017-12-12

3 recommendations

said by drexful:

# clear_zt_params
mac: 9cadefxxxxxx, hw_vers: 000105ff
unknown hw_vers

here's a version of clear_zt_params that supports 1.5 hw_vers (although i would have thought you shouldnt need it?)

try this:

# wget --no-check-certificate -O /var/tmp/clear_zt_params15 "https://drive.google.com/uc?export=download&id=1YQer0Mi3xwXmaWt4qfsDCjQ7c3OgFEtX"
# chmod +x /var/tmp/clear_zt_params15
# /var/tmp/clear_zt_params15
 

confirm with a 'y', reset config, re-provision xml config, then check and see if it saved correctly:
# wget --no-check-certificate -O /var/tmp/param_dump15 "https://drive.google.com/uc?export=download&id=1yCfU8beKjXu9m2o3cySe9Q7RsyXOJKH0"
# chmod +x /var/tmp/param_dump15
# /var/tmp/param_dump15 | sed 's/Password) = ".*/Password) = "***"/;s/Token) = ".*/Token) = "***"/'
 
drexful
join:2022-07-28

1 recommendation

Well that did it. GV is now up and running! I really appreciate your help with this Naf! You are a savior
naf
join:2017-12-12

3 recommendations

said by drexful:

Well that did it. GV is now up and running! I really appreciate your help with this Naf! You are a savior

OK, so to sum up, you had two problems:
1. /scratch partition had been partially erased, causing it to be unmountable and thus dropbear ssh to fail (and would cause other stock obi problems down the line). cause unknown, fixed by reformatting

2. clear_zt_params, which apparently is required for even non-vendor-locked Generic 30x's, needed to be updated to handle hw_vers1.5. fixed in arrynrob11.
naf

6 recommendations

arrynrob11: bsdiff from »www.obitalk.com/Download ··· 680EX.fw

modifications from arrynrob10
- update clear_zt_params and param_dump to support hw_vers 1.5

md5sum OBi2xx-3-2-2-8680EX-arrynrob11.fw = 7ef2a2d316e42c9c3d010ba7ec5deee3
mike1971
join:2014-09-11
Bella Vista, AR
Naf, can you please PM me a copy of your instructions for configuring GV without the Obi portal? I would appreciate it.

I was able to flash my Obi200 with arrynrob just fine, looking forward to trying this out.
bel_din
join:2022-06-27
to naf
HI Naf,

Could you PM me a copy of your instructions for configuring GV without the Obi portal?

I flashed my Obi302 with arrynrob11 allready.

HardwareVersion 1.4
SoftwareVersion 3.2.2 (Build: 8680EX-arrynrob11)
SystemTime 17:08:22 08/07/2022, Sunday
UpTime 0 Days 0:01:08 (2)
CertificatesStatus Installed
dabrain13
join:2022-08-13
to naf
Hi Naf! If you could please PM instructions for setting up GV on your excellent custom firmware that'd be great.

Already took care of updating to arrynrob11
HardwareVersion 1.4
SoftwareVersion 3.2.2 (Build: 8680EX-arrynrob11)
SystemTime 12:48:36 08/13/2022, Saturday
CertificatesStatus Installed
shopper1064
join:2022-08-16
Ely, MN
to naf
Naf, could you please PM me instructions for configuring GV on Obi200 without polycom servers. I have installed the firmware. Thanks for all your work on this.
meander
join:2022-08-20

1 edit
to naf
Hey naf, thanks for everything youve done. looks like i have several polycom branded obi300's that are vendor locked, no access to web ui, some of the IVR options, and the serial connection is asking for a user/pass and none of the known combos work. according to the IVR, they theoretically are running either 3.1.2.5897 or 3.1.2.5998 (sounds really old??). if you have any methods/instructions to get these with your much less restrictive firmware, id appreciate it

edit: i have soldering/desoldering/rework skills as well as an eeprom writer if that makes a difference
naf
join:2017-12-12

4 edits
said by meander:

Hey naf, thanks for everything youve done. looks like i have several polycom branded obi300's that are vendor locked, no access to web ui, some of the IVR options, and the serial connection is asking for a user/pass and none of the known combos work. according to the IVR, they theoretically are running either 3.1.2.5897 or 3.1.2.5998 (sounds really old??). if you have any methods/instructions to get these with your much less restrictive firmware, id appreciate it

edit: i have soldering/desoldering/rework skills as well as an eeprom writer if that makes a difference

im going to assume based on your description that these are vendor-locked boxes that phone home after reset to get a zt config that turns off web gui.

root pw's shadow entry is "$1$h38FDZWR$7ZVz3YV/yP.5FQRi". ive never cracked it, so kernel console is useless, but you do have a u-boot shell

id start using uboot console to dump whole flash for backup (and if possible send to me a copy cause im curious to see config). something like this (might have to fixup syntax, this is from memory):
FireFoxAV # sf probe
FireFoxAV # sf read 0 0 1000000
FireFoxAV # md 0 1000000
 

even without a serial console, you might be able to disconnect obi from internet and hard reset config (holding button on button while powering on). should let you into a webgui but its locked down to limited 'waiting to download zt config' options. cant remember if this includes fw update or not, but worth a quick check

failing that, should be able to use uboot shell to overwrite the flash partition containing the rootfs. dont waste time trying to write a valid squashfs, because uboot checks md5s of the partitions at boot time and it it fails it will boot to a recovery parition. in your case this is good, since you actually want recovery mode, so just clear the first block of the rootfs partition at 0x00480000 ('sf erase 480000 2000' ?)to do exactly that, then reboot. device should boot into recovery mode, where you can flash any unsigned fw through webgui

EDIT: crap. now i remember they turned off uboot bootdelay in the same fw version they enabled the root password. so uboot is out im guessing.

more desperately, might sniff to see if they are dumb enough to access post-zt config via non-ssl http. if so intercept, config yourself.

failing that, down to hardware SPI access to flash. use same trick as mentioned above to get to recovery webgui.

good luck, let me know how it goes.
jockovonred
join:2009-05-17
Bothell, WA
to naf
said by naf:

HardwareVersion 1.4
SoftwareVersion 3.2.2 (Build: 8680EX-arrynrob11)
SystemTime 21:42:21 08/20/2022, Saturday
UpTime 0 Days 0:03:11 (2)
CertificatesStatus Installed
CustomizationStatus Generic


I've read all pages and it took awhile.
Powered up brand new 202 which was at 5757.
Went to 5859EX-arrynrob7 and tried the old methods (OAuth2, project via google, etc).
Loaded SP1.xml using Laragon nginx server via ngrok... also tried the old EnableGVSIPWithoutOBiTALK.xml.
I got as far as 'Connecting to 216.239.36.145;Token Error'.
This all trying to get GV activated (not using Obitalk portal).

Upgraded to 8680EX-arrynrob11.
Based on all I've read I either need to provision via Obitalk or follow instructions that are only sent via PM from @naf.

@naf would you send the instructions to activate GV not using the Obitalk portal? Thanks in advance.
naf
join:2017-12-12

1 recommendation

said by jockovonred:

I've read all pages and it took awhile.
...
Based on all I've read I either need to provision via Obitalk or follow instructions that are only sent via PM from @naf.

correct, nice working interpreting through all the junk.

sent you that pm (ya its a shit system, but cant really post the instructions for reasons)
naf

1 recommendation

said by naf:
said by meander:

Hey naf, thanks for everything youve done. looks like i have several polycom branded obi300's that are vendor locked, no access to web ui, some of the IVR options, and the serial connection is asking for a user/pass and none of the known combos work. according to the IVR, they theoretically are running either 3.1.2.5897 or 3.1.2.5998 (sounds really old??). if you have any methods/instructions to get these with your much less restrictive firmware, id appreciate it

edit: i have soldering/desoldering/rework skills as well as an eeprom writer if that makes a difference

...
id start using uboot console to dump whole flash for backup (and if possible send to me a copy cause im curious to see config). something like this (might have to fixup syntax, this is from memory):
...
more desperately, might sniff to see if they are dumb enough to access post-zt config via non-ssl http. if so intercept, config yourself.

failing that, down to hardware SPI access to flash. use same trick as mentioned above to get to recovery webgui.
...
meander was kind enough to provide me a full dump of the flash.

based on the dump, looks like theres no need to manually write flash since we now know the webgui password. just use dumped password to login and upgrade fw to arrynrobX which can clear/ignore zt config

(also, the config URL was in fact non-ssl http, so spoofing would have been a viable option without hardware access to read flash)
Anonfff3d
@75.72.240.x
to naf
Hi @Naf please PM me the instruction on setting up an obi202 without the obihai/vendor server for GV as well. Thanks!
naf
join:2017-12-12

2 recommendations

to Anonfff3d

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

said by Anonfff3d :

Hi @Naf please PM me the instruction on setting up an obi202 without the obihai/vendor server for GV as well. Thanks!

hard to pm you when you post anonymously. either sign up for an account to get pms or email naf@sdf.org
jerk4less
join:2022-08-25
North Highlands, CA
to naf
Hi Naf,
I just loaded OBi2000-6-2-3-5330-taoman1.fw to my 2162 and 2182.
Could you please send/pm me instructions for portal-less GV configuration?
Thanks so much.
tb813
join:2005-02-06
USA
to naf
Hi naf,

I'd appreciate if you can PM me the GV setup instructions for 8680EX-arrynrob11 (OBi200) as well.

Thank you!
klaberte
join:2020-12-29
to naf
Wow, naf, what a heroic effort! I know a lot of us will benefit from being able to use our hardware long into the future! I would be very appreciative if you could send me instructions for provisioning GV on my Obi 202 without needing Obitalk. Could you send the instructions to me via PM?
klaberte
to naf
May it please the OP, but I am wondering if this thread would benefit from an extended first post that includes more information, similar to first posts of firmwares on XDA. Has there been an effort to do this already? Has it been considered by naf?

Just spitballing here, but here are some potential FAQs. If naf was open to this, we could also put together a small team to provide answers to the FAQ.

Here is a quick sample of what I had in mind (my answer may not be correct, and I would welcome corrections as part of this process):

Q: So what is this all about?
A: You are likely here because you own an Obi device. Traditionally, Obitalk was designed as a remote configuration tool for your Obi hardware. A hardware owner sets up a desired outcome/configuration on Obitalk, and the Obitalk system was able to update the hardware configuration next time it called home. There has always been a way to directly configure Obi hardware via logging in via a web interface, but it was always a bit complicated and prone to complications for some configurations, e.g. Google Voice and its authentication process. Recently, the company has announced that several Obi devices, specifically the 2XX models, will enter End of Life in 2023. There are some uncertainty what will become of Obitalk after the 2023 deadline, but it seems clear that Obitalk will not be able to further configure Obi hardware for Google Voice. There are of course other VoiP providers besides GV, and many think that Obitalk will remain, much as it is today, a terrific way to set up Obi hardware for these other services. But nothing is for certain.

This new firmware for your Obi device, like other community developed firmwares for e.g. routers and Android phones, makes the current/future functioning of the hardware a bit more independent of the company that sold you the hardware. With it, your Obi device is less dependent on Obitalk, especially for those that wish to set up their Obi device to use GV after the End of Life deadline. Whether there are advantages for users of other, non-GV VoiP services is unclear. This new community-created firmware will continue to grow and evolve, likely increasing the useful life of the hardware, and adding a few capabilities right now.

jsolo1
Premium Member
join:2001-07-01
PRIL
Maybe the first post should include a link to some sort of wiki that can be community edited/updated. That takes the burden off of naf to keep it updated.
RandyG
join:2020-08-13
to naf
I've been running 3.2.2 (Build: 8680EX-arrynrob10) with GV + two SIP accounts since 2020 on an OBI202, no complaints, (and thank you)

I see 8680EX-arrynrob11 available now, is this a straight upgrade?
GV, all my settings will remain 100% intact? Or is there more to it than that?
naf
join:2017-12-12
said by RandyG:

I see 8680EX-arrynrob11 available now, is this a straight upgrade?
GV, all my settings will remain 100% intact? Or is there more to it than that?

Yes, straight upgrade. Retains all settings.

In this particular case, arrynrob11 only adds support for a newer hw revision (1.5), so no particular need to upgrade at all if your happy with arrynrob10
RandyG
join:2020-08-13
As advertised, straight upgrade with no issues. naf, you are the OBI king. TY!
venividivici
join:2015-10-12
to naf
Hi Naf. So much appreciation for all of your efforts.

I've installed OBi2000-6-2-3-5330-taoman1.fw on my Polycom 2182. I'd be grateful if you could PM me the Google Voice provisioning instructions for the 2182, absent the Obitalk portal. Thank you!
naf
join:2017-12-12
said by venividivici:

I'd be grateful if you could PM me the Google Voice provisioning instructions for the 2182, absent the Obitalk portal

done
venividivici
join:2015-10-12
Thank you!
gmilligan
join:2005-02-03
Beverly Hills, CA
to naf
loooooooonnnngg time Obi202 user just learning that EOL had been announced. With regards to modded firmware a few general questions:

1. Is there a Github page or any repository for latest builds? I found a website "obifirmware" although are those really from the developer?
2. If you load 3rd party firmware on an Obi302, does that effectively make it a Obi202 so that it can function with Google Voice?
3. Any instructions or guides for flashing firmware?

Thanks
naf
join:2017-12-12
said by gmilligan:

1. Is there a Github page or any repository for latest builds? I found a website "obifirmware" although are those really from the developer?

new mods are released in this thread as small binary patches, then mirrored for convenience as fully loadable firmware files on obifirmware.com. not hosted by me, but you can always verify against the expected md5s i post.

github page at »github.com/naf419/obi-fi ··· re-tools has the source to custom tools included in the mod, but does not build releases since they are patched into obi's binaries
said by gmilligan:

2. If you load 3rd party firmware on an Obi302, does that effectively make it a Obi202 so that it can function with Google Voice?

yes
said by gmilligan:

3. Any instructions or guides for flashing firmware?

nothing more detailed than the instructions on obifirmware.com
cudos01
join:2018-08-30
to naf
Hi,

I just updated the firmware for an Obi300 to OBi2xx-3-2-2-8680EX-arrynrob11.fw. Can you guide me on how to get it working for google voice?
naf
join:2017-12-12
said by cudos01:

Can you guide me on how to get it working for google voice?

i wouldn't call it a guide exactly, but i did send you a pm with link to instructions

leoniv
join:2022-10-15
Alpharetta, GA
to naf
Hey everyone,
Long time Obi202 user here. My obi202 finally kicked the bucket after 10 years of service. The 20x boxes seem to be hard to find so was going to grab a Poly/obi302 box from Amazon. I'm curious if anyone has gone this route recently with the custom fw here. I've seen people request directions for this process for 302 boxes, but has anyone received a new 302 and immediately uploaded the custom fw? Just want to make sure a new-in-box poly 302 will work with the firmware here before I go down that path. Thanks.

edit: ...and sorry naf, was trying to reply directly to you. Just wanted to throw a general question out to the forum first before requesting fw directions.

hapollo
join:2007-05-13
WesterOS
said by leoniv:

Just want to make sure a new-in-box poly 302 will work with the firmware here before I go down that path. Thanks.

Lots of info here

»www.obifirmware.com/#cta

what's your currrent FW version?
Adiventure
join:2020-07-02
Newton, MA
to naf
Hoping I might jump on the bandwagon of getting some instructions in the ol inbox. I flashed my new to me 302 to the arrynrob firmware, but it's not clear to me how I would get Google Voice working locally, and I've been unable to add the 302 to an OBiTALK account.

OBi support initially told me to the issue was that the 302 is incompatible with a OBiTALK account which used a Gmail address, and has since gone silent. I omitted mentioning the custom firmware.
naf
join:2017-12-12

1 edit

1 recommendation

said by Adiventure:

Hoping I might jump on the bandwagon of getting some instructions in the ol inbox. I flashed my new to me 302 to the arrynrob firmware, but it's not clear to me how I would get Google Voice working locally, and I've been unable to add the 302 to an OBiTALK account.

OBi support initially told me to the issue was that the 302 is incompatible with a OBiTALK account which used a Gmail address, and has since gone silent. I omitted mentioning the custom firmware.

as a counterpoint to what obi support told you: with identical hardware to the obi202, the obi302 is only "incompatible" with GV or the obitalk portal due to the policy decisions made by obi/poly/whoever-they-are-now. instructions for configuring GV on the obi302 with modded fw coming to you by PM (plenty of room on the bandwagon)
Adiventure
join:2020-07-02
Newton, MA
Thank you.

The inability to link it with OBiTALK has been only mildly less perplexing than the claim that the reason was due to a Gmail account, while they maintained that a Google workspace account would be fine (I was unable to link using that either. If that's actually how they set up that process it's mind numbing. I can sort of see restricting Google voice, but filtering out Gmail at the stage of linking the device? If you were going to apply that filter it should have been done at account creation, or at least flashed warnings... SMH

leoniv
join:2022-10-15
Alpharetta, GA
to hapollo
That's not really info per se, just directions to install some software on the box. That doesn't really tell me the state of the poly 302 when they were flashed. I was curious if people are using poly302s flashed with a custom OEM firmware or just buying them on the internet, ie amazon, then flashing them. I was asking about the latter, a new-in-box poly 302 flashed with the custom firmware. I want to assume it works, but wanted to verify since it seems that path is a one way path. If the custom firmware doesn't work there's no other option with a poly 302.

hapollo
join:2007-05-13
WesterOS

2 edits
said by leoniv:

but wanted to verify since it seems that path is a one way path. If the custom firmware doesn't work there's no other option with a poly 302.

as far as I know, naf has always made it such that you can always revert to factory OEM firmware but given the freedom naf's custom FW allows, why would you want to go back?

and which way you can flash typically depends on the current fw installed in the Obi prior to flashing the custom fw. sometimes you have to downgrade fw in order to install custom fw. that's where reading the instructions carefully helps.

mostly people who install naf's custom fw are trying to be able to configure Google voice locally instead of via Obitalk portal. What providers are you planning to use the new 302s with?

leoniv
join:2022-10-15
Alpharetta, GA
I was hoping to use google voice. I'm not really interested in any other providers at the moment or going back, that's why I said this path is really one way: either I get GV to work with naf's fw or I end up with a poly paper weight.

I'll give it a shot. I'll circle back around when I have the poly 302 in hand. Thanks for the info.
naf
join:2017-12-12

2 edits

4 recommendations

ill give the naf guarantee* that any 302 you purchase on amazon can be made to work on GV free/consumer edition with software only changes (no hardware hacking/glitching/soldering, etc)

[*] guaranteed or price of modded firmware will be refunded to you via naf gift card. void where prohibited.

EDIT: changed whatever I wanted, this offer is bogus anyway

hapollo
join:2007-05-13
WesterOS
said by naf:

[*] guaranteed or price of modded firmware will be refunded to you via naf gift card. void where prohibited.

uum, isn't the price of the firmware free?!
naf
join:2017-12-12
said by hapollo:
said by naf:

[*] guaranteed or price of modded firmware will be refunded to you via naf gift card. void where prohibited.

uum, isn't the price of the firmware free?!
ya. guess ill make it an e-gift card then.

hapollo
join:2007-05-13
WesterOS
said by naf:

ya. guess ill make it an e-gift card then.

i'll take one as a souvenir if you don't mind. might be worth alot years down the road
naf
join:2017-12-12

1 recommendation

said by hapollo:
said by naf:

ya. guess ill make it an e-gift card then.

i'll take one as a souvenir if you don't mind. might be worth alot years down the road
find a 30x that is locked down too much for naf to unlock it without opening the case, file the appropriate warranty paperwork, and its yours.

hapollo
join:2007-05-13
WesterOS
that's a high hurdle.... better off playing megamillions for a better chance at a return
naf
join:2017-12-12

1 recommendation

to hapollo

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

said by hapollo:

that's a high hurdle.... better off playing megamillions for a better chance at a return

joking aside: i think there was maybe a couple of 30x's on this thread that had a zero touch config where the webgui password was set to an unknown value (which admittedly eliminates most of the known methods), but im not sure the owners ever exhausted all recommended attempts at software remedies before either giving up completely or opening it with the hardware method. (and some of the hardware-cracked ones were kind enough to send me the zt-config to pull the vendor password from, so even a subset of those can be done easily now too)

leoniv
join:2022-10-15
Alpharetta, GA
to naf
lol, thanks. I have a new 302 in hand so ready to give it a try. Could you pm me the instructions?
leoniv
doh, nevermind. just saw your pm from earlier. I'm good, thanks.
leoniv
to naf
Actually, I had some questions about the process:

The directions don't say how to set up the obi device. Meaning, should we skip the obitalk registration of the device entirely? I was under the impression your custom fw went around obitalk to reach gv so wasn't sure how to get started with the device.

I'm familiar with the manual way of accessing the device via it's IP and updating fw that way. I'm assuming that's the path here?
naf
join:2017-12-12

7 recommendations

said by leoniv:

Actually, I had some questions about the process:

The directions don't say how to set up the obi device. Meaning, should we skip the obitalk registration of the device entirely? I was under the impression your custom fw went around obitalk to reach gv so wasn't sure how to get started with the device.

I'm familiar with the manual way of accessing the device via it's IP and updating fw that way. I'm assuming that's the path here?

I'll try to clear up a common misconception:

The actual device to GV path is always independent of obi or anyone else.

Obihai has designed their software in a way that attempts to limit the creation of a GV-authorized oauth token that the device uses to login to GV (instead of giving obi or the device your GV username/password) to only be created/provided in the obitalk portal.

The modded fw provides the user an option to provide their own credentials instead of using credentials coming exclusively from the portal.

The modded fw can interoperate with the obitalk portal just as well as the stock firmware, but if you desire to bypass the obitalk portal to input your own GV credentials, this is done via the device's webgui [ab]using the otherwise-unused AuthPassword field.

In general, it is not advisable to mix obitalk portal configuration and manual webgui configuration (cause obitalk portal will overwrite your changes), so this how we typically arrive at the "modded fw should configure manually via webgui" advice.

leoniv
join:2022-10-15
Alpharetta, GA
Thanks for the help. The Obi302 is now talking to GV flawlessly. I added my old obi wifi n adapter so my obi is wireless now. I mount my obi under a cabinet so it can connect to the phone base in the kitchen. Now everything is as it was before.

My previous obi202 lasted 10 years so can't complain.
sbenlevy
join:2022-10-26
Roslyn, NY
to naf
Hi naf,

I'd appreciate if you can PM me the GV setup instructions for 8680EX-arrynrob11 (OBi200) as well.

Thank you!
sbenlevy
to naf
Hi naf,

I'd appreciate if you can PM me the GV setup instructions for 8680EX-arrynrob11 (OBi200) as well.

Thank you!
naf
join:2017-12-12
said by sbenlevy:

I'd appreciate if you can PM me the GV setup instructions for 8680EX-arrynrob11 (OBi200) as well.

said by sbenlevy:

I'd appreciate if you can PM me the GV setup instructions for 8680EX-arrynrob11 (OBi200) as well.

done and done.
theslug
join:2009-12-24
Santa Cruz, CA
Hi naf, can you PM me the same? Obi302 running 8680EX-arrynrob11. Thanks in advance!
naf
join:2017-12-12
said by theslug:

Hi naf, can you PM me the same? Obi302 running 8680EX-arrynrob11. Thanks in advance!

samed
SamAdams60
join:2022-10-26
Barrington, NH
naf, I just successfully flashed arrynrob firmware. Can you PM me the GV setup instructions?

Thanks!
naf
join:2017-12-12
said by SamAdams60:

naf, I just successfully flashed arrynrob firmware. Can you PM me the GV setup instructions?

you got it
SamAdams60
join:2022-10-26
Barrington, NH
Right on!
JoeOIVOV
join:2020-11-20
Sacramento, CA
to naf
302 in hand, can you please PM instructions. Thank you!!
JoeOIVOV

3 edits
to naf
that worked perfect. thank you!!

next, i'm trying to extract the certificates to work with asterisk from the 302/202's and cannot get it to work anymore did something change? Syslog is connected and running arrynrob11, showing data but when I do a configuration backup it doesn't show the certificate.

Do I need a earlier firmware then OBi2xx-3-2-2-8680EX-arrynrob11?

Found your extract_keys tool, which worked perfectly! Thank you again!
btcyanide
join:2022-10-29
Weston, CT
to naf
Hey just signed up for this website so I can ask for GV setup instructions as well, thank you!
naf
join:2017-12-12

1 edit

1 recommendation

said by btcyanide:

Hey just signed up for this website so I can ask for GV setup instructions as well, thank you!

check your pms.

friendly reminder [EDIT: to others]: if you dont *want* to signup for this website (and since I get no kickbacks for recruiting new users, ha) you can also email me at the address in my profile

EDIT: oops, i just saw that you had emailed previously. now you have two copies
GregW
join:2022-11-02
to naf
I just purchased Obi302, not knowing that it won't work with ObiTalk and GoogleVoice. @naf, could you please send me instructions on how to reconfigure my device to be able to do it?
naf
join:2017-12-12
said by GregW:

I just purchased Obi302, not knowing that it won't work with ObiTalk and GoogleVoice. @naf, could you please send me instructions on how to reconfigure my device to be able to do it?

of course.
GregW
join:2022-11-02
Thank you, worked like a charm!
theslug
join:2009-12-24
Santa Cruz, CA
to naf
Hi naf - like an idiot I didn't actually save the instructions, just the dpaste link which now is down. Can you resend the instructions? Sorry and thanks! It's working great, but probably a good idea to actually have them on hand.
naf
join:2017-12-12
said by theslug:

Hi naf - like an idiot I didn't actually save the instructions, just the dpaste link which now is down. Can you resend the instructions? Sorry and thanks! It's working great, but probably a good idea to actually have them on hand.

ya i like using the links that expire after a week. resent you a fresh one.
JoeOIVOV
join:2020-11-20
Sacramento, CA
can you please resend the instructions again for me as-well, sorry, just getting to it
naf
join:2017-12-12
said by JoeOIVOV:

can you please resend the instructions again for me as-well, sorry, just getting to it

done

hmishra
Premium Member
join:2006-01-04
Flower Mound, TX

2 edits
to naf
Hi naf,

I have couple of Obi devices, Obi200 and Obi2182. Can you please share the custom firmware and GV instructions for both?
g35flyer
join:2022-11-11
to naf
Hi naf,

I have a Obi2182. Can you please share the custom firmware and GV instructions. Thank you.

kenn10
join:2003-09-10
Highlands, NC

1 recommendation

»www.obifirmware.com/
phreich
join:2017-07-21
Portland, OR
Linksys EA8500
to naf

OBI20x/firmware modded OBI30x with Google Voice - no CNAM & no E911. Solutions!

This is a post about getting CNAM and E911 working while using Google Voice with an OBI20x/firmware modded OBI30x ATA. I am not sure if this is the correct place to post this information, but I saw that there was some discussion of CNAM and GV earlier in this thread, and a forum search didn't show this information elsewhere on this forum. If it needs to be it's own thread, I guess the MODS can move it, or if OP @naf suggests it be moved, I'll move it....

Background:
As many are aware, Google Voice does not do a normal CNAM (caller-id name) lookup when an incoming call comes in. It also does not provide for E911, so 3rd party solutions for both are needed when using GV for primary service if you want a "full-featured" phone experience using an OBI20x/firmware modded OBI30x ATA device with Google Voice.

When I set my sister up on GV with an OBI202 ATA several years ago, she found she couldn't do without the caller-id name functionality, so I had to research a cost effective solution. I found one at a VOIP provider named Callcentric. There is a less expensive E911 only (without CNAM) 3rd party solution (see details at the end).

Here's how Callcentric's service works with GV:
They offer a plan specifically tailored to solve both the E911 AND the caller-id (CNAM) function, which they call "DID - Dollar Unlimited" which costs $1/month with a mandatory service fee for 911 service which is an additional $1.50/month, so the total cost per month is $2.50. Note that they only charge the $1.50 911 service fee once per account, so if you have multiple "dollar unlimited" subscriptions for multiple GV numbers, each additional one only costs $1/month.

The way Callcentric's service works is by being a "man-in-the-middle". You get an incoming only phone number associated with the "dollar unlimited" (it's a NY or IL based number, but that doesn't matter), and you add this number as the forwarding number on Google Voice, so GV sends incoming calls there. On Callcentric, you set the "dollar unlimited" number to route to your OBI20x or firmware modded OBI30x device (they provide provisioning instructions), and when a GV call comes in and is routed to the Callcentric number, they do a caller-id-name (CNAM) lookup and populate the name field, and then route the call to your OBI device, which then rings your phone and the caller-id Name shows up. The outgoing calls from your home phone still are routed directly by the OBI ATA through Google Voice, but there are some provisioning changes to access Callcentric's E911 service. All of this happens without any noticeable delay in call routing.

If you choose to use it, you can also add some free "call treatments" to the "Dollar Unlimited" incoming line. One of which I chose to implement is a spam call blocker "treatment" that looks up numbers in a "known spam" database, and forces callers with those numbers to enter a random 1 digit number to continue with the call. This, plus GV's spam filtering does an adequate job of filtering out spam robocalls. It won't filter out human placed spam calls that illegally ignore the FCC's "do not call" list, if they bother to enter the prompted number. There are lots of other "call treatment" options that can be added, including routing based on a list of numbers, time-based forwarding, adding your own names tied to specific numbers, and more.

So, bottom line, you wind up with fully functional incoming and outbound VoIP services using the combination of Google Voice and Callcentric for $2.50/month or $30/year. This is much less expensive than what the "normal" VoIP provider's charge for their services (the minimum charge I have seen is around $100/year if it is pre-paid and often that is only a one-time deal).

Inexpensive E911 (only) service:
There is an inexpensive E911 service provided by a 3rd party for $12/year. You can find that by googling "GV911". I can't put the URL here per site posting rules. However, this doesn't provide caller-id name functionality. You don't need this service if you are using the Callcentric service because that includes E911.

I hope this is helpful to others who use GV with these OBI ATAs.

Philip
rwl408
join:2016-12-17
Fremont, CA
I was all excited when saw the title and thought finally a breakthrough. But no!
naf
join:2017-12-12
to phreich

Re: OBI20x/firmware modded OBI30x with Google Voice - no CNAM & no E911. Solutions!

Regarding CNAME, i had written a mod that injected a user-provided ash script in the incoming-call path that would could turn the incoming phone number into readable text in whatever manner it wanted, but it never caught on enough to become part of a released mod firmware (see »Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods)

i believe it died because:
1. i didnt want to write the script: i proposed that it should lookup the number in contacts.xml (to imitate existing functionality) and then query some tbd cname service, but too lazy to write myself
2. i didnt like having a blocking call to a script in the incoming phone call path: writing timeout in assembly non-starter, but possibly could be done in the script itself (although see #1)
3. i dont know of a free cnam lookup api for the script to leverage. i assume there exists paid ones, but interest here would be limited i imagine
4. i believe at the time there was some thought that GV's lack (removal?) of cname lookups might be a temporary glitch

Good Ol Dan
join:2000-05-15
The Villages, FL
to naf

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

Can you please PM me the GV setup instructions for 8680EX-arrynrob11 (OBi200)? Thanks!

I have an OBI202 set up now (via OBI Talk... for two different GV accounts/numbers plus a SIP account at VoIPo (w/9-1-1). I bought another new OBI-202 as a spare (still new in the box) last year as they were going EOL. Trying to figure out the best strategy to maintain all this as OBI Talk disappears.

Thanks!
naf
join:2017-12-12
said by Good Ol Dan:

...Trying to figure out the best strategy to maintain all this as OBI Talk disappears.

My understanding is that you still have 12 months, but I did pm you instructions
UsualNoise
join:2012-11-28
Pocatello, ID
Just wanted to say a quick thank you, I've successfully installed custom firmware on two Obi200s and an Obi302 for my mom.

I did notice one unexpected side-effect of setting up Google Voice the 'hacky' way: my 9-digit Obi number no longer works on any of these devices. (Using **9 followed by the Obi number.)

Is there some additional manual configuration I need to do to get this working again? Or is it just gone now? I'm fine either way, just curious!

(Apologies if it has been covered in this thread, I tried searching but came up empty.)
naf
join:2017-12-12

1 edit

2 recommendations

said by UsualNoise:

I did notice one unexpected side-effect of setting up Google Voice the 'hacky' way: my 9-digit Obi number no longer works on any of these devices. (Using **9 followed by the Obi number.)

Is there some additional manual configuration I need to do to get this working again? Or is it just gone now? I'm fine either way, just curious!

The suggested provisioning template simply disables the "OBiTALK Service", which is how 9-digit obi-number dialing works. (At the time the template was created, obi was using this service to push firmware upgrades to a version that supported new server-side GV changes but that version also included their attempt at a locked bootloader, and as there wasn't yet a convenient bootloader bypass, disabling it along with the other auto-config was/is a sensible default).

If desired, simply re-enable in webgui at Voice Services > OBiTALK Service > OBiTALK Service Settings > Enable

DaEnigma
join:2004-11-26
Troutdale, OR
to naf
I would love a copy of the modded FW for a OBi200 along with instructions, if possible, please.

hapollo
join:2007-05-13
WesterOS

4 edits

1 recommendation

said by DaEnigma:

I would love a copy of the modded FW for a OBi200 along with instructions, if possible, please.

It's hosted here as posted on page 1, post #1

»www.obifirmware.com/#cta

Simply go to your Obi Device Management tab, select Device Update, and upload the firmware(s) downloaded in the link(s) BUT double/tripe check your current installed firmware on the Status page to see if you may need to install stock 5921EX first OR must bypass uboot by installing bypass-uboot-mod first per the instructions on obifirmware page
MR19403
join:2009-02-25
to naf
I'm looking ahead to EOL for my OBi202 next December. I'm a Windows user using the OBi only with Google Voice. I'm technically competent...can naf's firmware be installed all with Windows 10/11 or is it only possible to install it with linux?

I'm not looking to install it until next fall since everything is working now and will want the latest modded firmware at that time. I expect that the modded firmware has a chance to get updated should Google make changes on their end, but I understand that it is entirely possible that Google could make a change that even a modded firmware won't be able to overcome.

jsolo1
Premium Member
join:2001-07-01
PRIL
You can use any browser to access the GUI to install the firmware. Not sure how you arrived at the conclusion of the firmware being windows compatible only.

If gv should go eol entirely or be significantly changed from current implementation, I doubt the obi will work then at all with it. You'll need to use a standard sip provider then. At that point it won't matter if you have modded firmware or not.

You should have a backup plan (some other provider) in case that happens.

hapollo
join:2007-05-13
WesterOS
to MR19403
said by MR19403:

I'm technically competent...can naf's firmware be installed all with Windows 10/11 or is it only possible to install it with linux?

technically it can be on ANY device that has a web browser that can access the Obi Device management GUI to upload the firmware is fine. so, tablet, smartphone, Ipad, computer, TV with browser.

However, when flashing firmware it tend to prefer hardwired with a browser with no browser extensions/adblock installed to minimize possible corruption/interruption during uploads.
smapdi
join:2003-07-07
Baldwin, NY
to naf
So I finally hooked up my Obi202 that I bought like 2 years ago and got it configured. Immediately I noticed the notice that it's going EOL within an year so I started looking for workarounds to the OBiTalk site and here I am. My question is, if I upgrade to the 3rd party firmware can I continue to use ObiTalk until the EOL date?

Also, can someone send me the instructions on how to configure the device without using ObiTalk?
naf
join:2017-12-12

1 edit
said by smapdi:

My question is, if I upgrade to the 3rd party firmware can I continue to use ObiTalk until the EOL date?

Yes, the modded firmware interacts with the obitalk portal in the exact same way as the stock firmware.
said by smapdi:

Also, can someone send me the instructions on how to configure the device without using ObiTalk?

On the assumption that you meant to request instructions *for configuring GV* without obitalk, I pm'd you those.
smapdi
join:2003-07-07
Baldwin, NY
Thanks for the reply. Yes, I mean to ask for instructions to configure GV without obitalk.
UsualNoise
join:2012-11-28
Pocatello, ID
to naf
If desired, simply re-enable in webgui at Voice Services > OBiTALK Service > OBiTALK Service Settings > Enable
Thanks, that's very helpful!

Is there any danger to doing this at this point, like allowing an automatic firmware to be installed over top of the custom one I now have?
naf
join:2017-12-12

2 recommendations

said by UsualNoise:

Is there any danger to doing this at this point, like allowing an automatic firmware to be installed over top of the custom one I now have?

I would think that by this point the danger is very low, since even if they pushed a firmware at all (unlikely as AFAIK the fleet-wide push mechanism has only been used once - for the GV interface change) you would only need to be concerned if the pushed firmware also fixed the exploitable bugs that can bypass firmware signature checks (unlikely since in addition to the publicly posted method, i have a separate exploit chain as a spare).
UsualNoise
join:2012-11-28
Pocatello, ID
said by naf:

I would think that by this point the danger is very low

Awesome, I won't worry about this for now - I regularly use the direct Obi number when calling my mom as it seems to have a slightly better call quality vs dialing the Google Voice number.

Again, thank you so much for your work making the ObiTalk alternative available so we can continue using our Obi devices longer! Hopefully Google Voice itself continues for the foreseeable future.

jsolo1
Premium Member
join:2001-07-01
PRIL
^^Things will be really exciting this time next year.

SuperNet
Go Ninja,Go Ninja Go..
Premium Member
join:2002-10-08
Hoffman Estates, IL
to naf
Can you pm me those as well please?
MR19403
join:2009-02-25
to naf
Please PM me the instructions as well. I'm sure it is more involved than a simple "device update" in the obi UI.
Mercury1
Premium Member
join:2018-08-28
netherlands
to naf
Please PM me the instructions as well. Thanks for the great support!
naf
join:2017-12-12
said by SuperNet:

Can you pm me those as well please?

said by MR19403:

Please PM me the instructions as well. I'm sure it is more involved than a simple "device update" in the obi UI.

said by Mercury1:

Please PM me the instructions as well. Thanks for the great support!

done, done, and done

DaEnigma
join:2004-11-26
Troutdale, OR
Not to be a bother but could I also get the instructions to configure GV without obitalk? TY for all of the help!
naf
join:2017-12-12
said by DaEnigma:

Not to be a bother but could I also get the instructions to configure GV without obitalk? TY for all of the help!

no bother, done.
centigrade
join:2022-12-22
Washington, DC
Could I have them as well?

I just installed the updated firmware without issue (thank you!) and figured I'd try it beforehand. I confess I don't see an easy way to do so.

Appreciate it!
naf
join:2017-12-12

7 recommendations

Not sure if the recent uptick in requests is due to people confusing the obitalk portal EOL date of Dec 2023 with Dec 2022 or thinking that it will somehow help them with the EOL, but I'll take the opportunity to throw out my view on that situation in case there is confusion:

Using the portal-less GV configuration method _now_ does not provide a hedge against the portal EOL next year.

Devices that require the portal-less method (OBi30x's, vendor-locked phones, and other more nefarious setups) obviously have no choice.

For devices that the portal will generate credentials for (OBi20x's, unlocked obiphone's, etc - including those with modded fw, cause that works with the portal just fine too):
- if credentials generated today using the portal-less method still work after the EOL, then so will the ones generated today by the portal itself
- if all credentials stop working at EOL time, then getting them in the portal-less fashion now doesnt help
- if existing credentials continue to work after EOL, but can't be newly generated in the portal because its EOL *and* somehow they forget to turn off credential creation so that the portal-less method still works, then yes the portal-less method might help _then_, but using it _now_ does not prepare for that because you could have just used the portal today while its up

So if you want to use the portal-less method just as a hedge to the portal EOL, don't bother. Leave it to people with devices that require it, or just hate the portal, or need it when the portal is temporarily offline because it sucks, or don't want to give their GV credentials to a website owned by obi/play/poly/tronny/whocankeeptrack, or whatever.
MR19403
join:2009-02-25

1 edit
I understand what you are saying. Tell me if this thinking is correct:

Once Poly steps out of the picture next Dec 2023, I expect my Obi202 to still work with Google Voice, and will continue to work until Google makes a change on their end that requires a firmware update. Once that happens, Poly is no longer in the picture, they will not make the firmware change. The only chance I have is that your modded firmware can be updated to work with the updated Google change. I understand the odds are low that you (or somebody who understands the firmware code) will be able to update the firmware to keep up with the Google change. But it is the only chance I got.

Judging from your post, you are advising against using your modded firmware on an OBi20x prematurely...I should wait until my device no longer works with Google Voice due to a Google change, and then see if your modded firmware can be updated successfully and then I should update my device if that allows me to continue using my OBi202 with Google Voice.

update: There is a small advantage in getting familiar with the modded firmware ahead of time, so I can learn it ahead of time. There may also be interesting features in the modded firmware that are not in the stock obihai/poly firmware.
naf
join:2017-12-12
There are many reasons to run the mod firmware and there are many reasons to use the portal-less GV config method. And not to.

My analysis above is meant only to provide information regarding the portal-less GV config instructions so that people can decide for themselves if that method would be useful to them without having to request it first, since obviously without being publicly posted they cant judge for themselves beforehand.
MR19403
join:2009-02-25
My mistake...I was under the impression that I had to use your "portal-less GV" instructions to properly use the modded firmware. I didn't realize I could just use the instructions on the obifirmware.com site.

Happy Holidays!
laketoback
join:2023-01-04
Beverly Hills, CA
to naf
Hello Naf, thanks for your activity on this question,
Just got obi200 and trying to activate it now, but after couple of days I am only on the halfway, lol
I don't know what is going on, but here is the progress:
My success in:
My obi200 got ip from the router.
I was able to update firmware to 3.2.2 (Build: 8680EX-arrynrob11)
I was able to get the ip address from the ***1

My fails in:
I cannot call to any other number. When I am calling to **9-222-222-222 or 333-333-333 I got the error there is no service available to complete your call.
I cannot call to next page to activate short number starts from **5 ?????
so the questions is - what I am doing wrong?
and another question can you please send me the instructions to activate GV without obitalk server.

thank you in advance!
naf
join:2017-12-12
said by laketoback:

Hello Naf, thanks for your activity on this question,
Just got obi200 and trying to activate it now, but after couple of days I am only on the halfway, lol
I don't know what is going on, but here is the progress:
My success in:
My obi200 got ip from the router.
I was able to update firmware to 3.2.2 (Build: 8680EX-arrynrob11)
I was able to get the ip address from the ***1

My fails in:
I cannot call to any other number. When I am calling to **9-222-222-222 or 333-333-333 I got the error there is no service available to complete your call.
I cannot call to next page to activate short number starts from **5 ?????
so the questions is - what I am doing wrong?
and another question can you please send me the instructions to activate GV without obitalk server.

thank you in advance!

it is possible that you are doing nothing wrong:
- others have reported that that obitalk service **9 dialing has stopped working, so I assume this is a server side issue, see here: »[Equipment] Obi *99 calling
- portal activation is very frequently temporarily unavailable also, especially around weekend and holidays. maybe retry later.

i responded to your email with the portal-less GV instructions.
Kirk137
join:2023-01-12
to naf

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

Hey @Naf, could you PM me the instructions as well please?

I currently am wanting to flash an Obi200 which is currently running 3.2.2 (Build: 8680EX). It appears I will need to flash to an older version, then flash the uboot mod, then flash the custom firmware. Is all of this done through the web UI, does the web UI become available on each firmware update after reboot, or are there additional steps?

I have done a lot of router flashes with DD-WRT years back and I know sometimes there were tricky recovery processes and TFTP involved and things like that. :P Just don't want to start this without a roadmap of what will be needed. If it's all in the web UI then that's easy unless something fails.

I bought this Obi200 a few weeks back specifically to start testing the custom FW because I maintain 4 or 5 of these at different family member's houses and I want to make sure I have my bases covered before the EOL.

Is there any reason why the instructions are being treated as a secret? Would it bother you if I did a blog write-up after I am done to help the community? Is there some reason the instructions are not being posted here?

Thanks
naf
join:2017-12-12
said by Kirk137:

Hey @Naf, could you PM me the instructions as well please?

done
said by Kirk137:

I currently am wanting to flash an Obi200 which is currently running 3.2.2 (Build: 8680EX). It appears I will need to flash to an older version, then flash the uboot mod, then flash the custom firmware. Is all of this done through the web UI, does the web UI become available on each firmware update after reboot, or are there additional steps?

I have done a lot of router flashes with DD-WRT years back and I know sometimes there were tricky recovery processes and TFTP involved and things like that. :P Just don't want to start this without a roadmap of what will be needed. If it's all in the web UI then that's easy unless something fails.

webui flashing only to install custom fw
said by Kirk137:

I bought this Obi200 a few weeks back specifically to start testing the custom FW because I maintain 4 or 5 of these at different family member's houses and I want to make sure I have my bases covered before the EOL.

gv instructions not intended to backstop EOL. see my recent lengthy post on that exact subject.
said by Kirk137:

Is there any reason why the instructions are being treated as a secret? Would it bother you if I did a blog write-up after I am done to help the community? Is there some reason the instructions are not being posted here?

instructions contain credentials that do not belong to me, so posting them in my opinion would be ill advised

Mangix
join:2012-02-16
united state
to naf
So I currently have an Obi200 with a Motorola landline which is kind of old with illegible LCD.

Instead of buying a new landline, would it make more sense to buy one of these Obi VoIP phones instead? I'm considering getting an Obi2182. the firmware website implies it's supported.
DA6030
join:2023-01-16
to naf
Hi @Naf, thanks for sharing your knowledge here.
Would you mind PMing me the instructions? Thx!
nav
join:2023-01-19
Vancouver, BC
to naf
Could you PM me the instructions as well please?
nav
to naf
@naf
Could you PM me the instructions as well please?

aa2k
join:2000-10-06
Damascus, MD
to naf
Hi,
Quick question,
As I understand the wireless ip phone Poly VVX D230 can only connect to business/suite G google voice (paid service), is there any firmware replacement mod that can be done or has been done so it can connect to regular/consumer google voice without ObiTalk portal? Since its web interface is similar to Obi202... Just wondering, thanks!
naf
join:2017-12-12
said by aa2k:

Hi,
Quick question,
As I understand the wireless ip phone Poly VVX D230 can only connect to business/suite G google voice (paid service), is there any firmware replacement mod that can be done or has been done so it can connect to regular/consumer google voice without ObiTalk portal? Since its web interface is similar to Obi202... Just wondering, thanks!

Has been done? No.
Can be done? Maybe

I think about it as 2 separate problems:
1) Can we put user-provided firmware on the d230 at all? Probably, since it looks like the d230 firmware uses the same lame obi firmware file structure, so its very likely one of the existing bypass methods would work.

2) Can we hack the firmware binary enough to use GV manually? Lots of unknowns here, since there is very little technical info out there on the GSuite version. Even if only the provisioning is different and the actual SIP interface is the same as the consumer version, youd have to hack something into the binary to bypass it. Could be a level of effort anywhere from trivial to impossible

aa2k
join:2000-10-06
Damascus, MD
Thanks naf for the information, I appreciate it.
Luzo
join:2023-02-01
Canada
to naf
Is it possible to add AccessFromWAN on a OBi200 firmware mod?
naf
join:2017-12-12

1 edit
said by Luzo:

Is it possible to add AccessFromWAN on a OBi200 firmware mod?

I don't understand why you'd want to. OBi200 only has one ethernet port, so you want to *disable* webgui access from the one and only port?

[That setting is only targeted at the OBi202, which has 2 separate ports for WAN and LAN, where only allowing webgui access from the LAN port makes more sense]
naf

1 edit
said by naf:

1) Can we put user-provided firmware on the d230 at all? Probably, since it looks like the d230 firmware uses the same lame obi firmware file structure, so its very likely one of the existing bypass methods would work.

Upon further look, d230 uses the exact same flawed scheme as the obi1000 where the firmware header's md5s are verified against the header's pki signature, but the actual payload is not checked against those signatures at upload time (and can't be checked at boot time because its UBI partitions). Trivial bypass.

Any testers out there with a d230?

[EDIT TO ADD} are there really two different reset buttons that can be held during boot to either reset config or boot previous firmware? bootloader has code for it if they are physically wired up. that would be neat.

aa2k
join:2000-10-06
Damascus, MD
said by naf:
said by naf:

1) Can we put user-provided firmware on the d230 at all? Probably, since it looks like the d230 firmware uses the same lame obi firmware file structure, so its very likely one of the existing bypass methods would work.

Upon further look, d230 uses the exact same flawed scheme as the obi1000 where the firmware header's md5s are verified against the header's pki signature, but the actual payload is not checked against those signatures at upload time (and can't be checked at boot time because its UBI partitions). Trivial bypass.

Any testers out there with a d230?

[EDIT TO ADD} are there really two different reset buttons that can be held during boot to either reset config or boot previous firmware? bootloader has code for it if they are physically wired up. that would be neat.
Hi naf,
I am interested, I will be getting a D230 sometime next week and I am ok with testing, once I get it I will let you know.. not sure what firmware version will be in there but we can upgrade to the latest... Give me a few days.
Thanks!
naf
join:2017-12-12
said by aa2k:

I am interested, I will be getting a D230 sometime next week and I am ok with testing, once I get it I will let you know.. not sure what firmware version will be in there but we can upgrade to the latest... Give me a few days.

Nice. It's been awhile since I've done a new device bring-up, hopefully I remember how

I should have a test build ready by the time you get it, but it will depend on what hardware revision you receive (see »www.poly.com/content/dam ··· tion.pdf).
Luzo
join:2023-02-01
Canada
to naf
said by naf:
said by Luzo:

Is it possible to add AccessFromWAN on a OBi200 firmware mod?

I don't understand why you'd want to. OBi200 only has one ethernet port, so you want to *disable* webgui access from the one and only port?

[That setting is only targeted at the OBi202, which has 2 separate ports for WAN and LAN, where only allowing webgui access from the LAN port makes more sense]
I misunderstood what AccessFromWAN was for.

I'm trying to plug my OBi200 into the Ethernet port of my Mac mini via Internet Sharing but it doesn't work and results in various 169.254.x.x self assigned IP addresses every time I connect it to the Mac. Internet Sharing on MacOS is via NAT and not bridging as is possible on Windows or Linux.

Does the OBi200 not support NAT?

jsolo1
Premium Member
join:2001-07-01
PRIL
^^Why would it? It's a single port device. The 202 is a dual port though given current speeds, it will choke on doing any serious nat.

Obi's dhcp client is a bit broken at times. Set it to a static ip on the subnet of your choice along with gateway/dns ip's. It should work.
OzarkEdge
join:2014-02-23
USA
·voip.ms

1 recommendation

to Luzo
said by Luzo:

Does the OBi200 not support NAT?

The OBi200 is a LAN client that you wire to your router.

OE
naf
join:2017-12-12

1 edit
said by naf:

Can we hack the firmware binary enough to use GV manually? Lots of unknowns here, since there is very little technical info out there on the GSuite version. Even if only the provisioning is different and the actual SIP interface is the same as the consumer version, youd have to hack something into the binary to bypass it. Could be a level of effort anywhere from trivial to impossible

Not looking good for converting to consumer GV:
$ strings obiapp_obi200_8680 | grep Bearer
Bearer token="%s", username="%s", realm="%s"
$ strings obiapp_polyd230_9112 | grep Bearer
<big fat nothing>
 

Assuming that the d230 actually works with the GSuite version (although I can't see any document that say it does, but that's not atypical), the GSuite version protocol must not be rfc8898-ish SIP + oauth bearer token like consumer GV.

This would make sense given the 30x firmware with the same limitation. But in that case we can just run the alternative 20x firmware that includes consumer GV on the 30x instead. No such option for the d230.

aa2k
join:2000-10-06
Damascus, MD

1 edit
I am wondering if this has the correct information already to connect to Google Voice?

Also I found a couple of places that said it was G Suite certified.. maybe its not the case..

By looking at my Obi202 and the ITSP Profile has the "SignalingProtocol" to select "Google Voice" option (which I am using)

According to this site:
»www.obitalk.com/forum/in ··· =17359.0
quote:
I have a VVX D230 with two handsets. It is theoretically supported by the OBiTALK portal/dashboard, but there are missing settings. However, all the settings are on its local web server configuration pages

and by looking at the Administration Guide Version 7.1 it shows that "Google Voice" selection is there (see screenshot).

btw, I am running: 3.2.2 (Build: 8680EX-arrynrob10) inside the Obi202.
naf
join:2017-12-12
Ha, their "7.1.0" documentation lies about SignalingProtocol "Google Voice" existing.
This option was actually removed in 7.1.0 itself (was present in 7.0.2):

$ find . -name obiapp -print -exec sh -c "strings {} | grep \"Google Voice\"" \;
./_VVX-D230-7-0-0-6932-2019-9-10.fw/ubifs-1/obiapp
Google Voice
./_VVX-D230-7-0-1-7251-2019-12-31.fw/ubifs-1/obiapp
Google Voice
./_VVX-D230-7-0-2-7359-2020-2-6.fw/ubifs-1/obiapp
Google Voice
./_VVX-D230-7-1-0-7866-2020-7-7.fw/ubifs-1-obi/obiapp
./_VVX-D230-7-1-3-9112-2022-10-11.fw/ubifs-1/obiapp
 

Luckily, the "Google Voice" signaling protocol actually meant XMPP (which google retired years ago in favor of GVSIP).
For devices that use GVSIP, the actual signaling protocol is controlled by a (hidden) setting appropriately named "GVSIP". To demonstrate, just switch your obi20x's SignalingProtocol to "SIP". Will still work the same.
said by aa2k:

Also I found a couple of places that said it was G Suite certified.. maybe its not the case..

I didn't see it listed here, but who knows (apparently GSuite is called Google Workspace now?): »www.poly.com/content/dam ··· e-os.pdf
Anon4331a
@35.149.110.x
Naf
Could I get the instructions via PM
jkaj3000
join:2023-02-04
Spring Lake, MI
to naf
installed the stuff this afternoon after getting the "The number you dialed has not received a response from the service provider" but i'm still getting the "The number you dialed has not received a response from the service provider" message when trying to call.

However if I do a reboot I can make one call that will connect but after that I just keep getting the message.
naf
join:2017-12-12

3 edits

3 recommendations

to Anon4331a
said by Anon4331a :

Naf
Could I get the instructions via PM

sure, but it's kinda hard since you don't have an account, or specificy what instructions you want...
either register here so I can pm you or send me an email: naf@sdf.org
said by jkaj3000:

installed the stuff this afternoon after getting the "The number you dialed has not received a response from the service provider" but i'm still getting the "The number you dialed has not received a response from the service provider" message when trying to call.

However if I do a reboot I can make one call that will connect but after that I just keep getting the message.

is this vague post day? no description of "the stuff", no device/firmware specified, no provider specified. yawn.
jkaj3000
join:2023-02-04
Spring Lake, MI
Google Voice
3.2.2 (Build: 8680EX-arrynrob11)
Obi200
naf
join:2017-12-12
said by naf:
said by aa2k:

I am interested, I will be getting a D230 sometime next week and I am ok with testing, once I get it I will let you know.. not sure what firmware version will be in there but we can upgrade to the latest... Give me a few days.

Nice. It's been awhile since I've done a new device bring-up, hopefully I remember how

I should have a test build ready by the time you get it, but it will depend on what hardware revision you receive (see »www.poly.com/content/dam ··· tion.pdf).
I got a build ready, just hoping that you don't get a V2.0 with stock fw 9112...

aa2k
join:2000-10-06
Damascus, MD
said by naf:
said by naf:
said by aa2k:

I am interested, I will be getting a D230 sometime next week and I am ok with testing, once I get it I will let you know.. not sure what firmware version will be in there but we can upgrade to the latest... Give me a few days.

Nice. It's been awhile since I've done a new device bring-up, hopefully I remember how

I should have a test build ready by the time you get it, but it will depend on what hardware revision you receive (see »www.poly.com/content/dam ··· tion.pdf).
I got a build ready, just hoping that you don't get a V2.0 with stock fw 9112...
That's awesome, thanks!! I hope is the correct version...
spicyvlveeta
join:2023-02-08
Groton, MA
to naf
naf,

Got a OBI202 to flash, can you PM the GV instructions? Thx
naf
join:2017-12-12
said by spicyvlveeta:

Got a OBI202 to flash, can you PM the GV instructions? Thx

(either continue to use obitalk portal, or) see pm

aa2k
join:2000-10-06
Damascus, MD
to naf
said by naf:
said by naf:
said by aa2k:

I am interested, I will be getting a D230 sometime next week and I am ok with testing, once I get it I will let you know.. not sure what firmware version will be in there but we can upgrade to the latest... Give me a few days.

Nice. It's been awhile since I've done a new device bring-up, hopefully I remember how

I should have a test build ready by the time you get it, but it will depend on what hardware revision you receive (see »www.poly.com/content/dam ··· tion.pdf).
I got a build ready, just hoping that you don't get a V2.0 with stock fw 9112...
Hi naf,
I haven't forgotten about this, I just got home and I was exited to see I had a package.. inside I found the phone but my coworker had sent me just the cradle/charger with the phone instead of the actual Base Station, I contacted him and he will be sending the Base.. sorry, I am afraid it will take a few more days... bummer... more waiting..
sportflyer1
join:2008-08-24
Vancouver, WA
to naf
Can you please PM the instructions to me as well . Thank you
naf
join:2017-12-12

1 recommendation

to sportflyer1

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

said by sportflyer1:

Can you please PM the instructions to me as well . Thank you

done
sportflyer1
join:2008-08-24
Vancouver, WA
Receive and Tks
naf
join:2017-12-12

2 recommendations

said by naf:
said by aa2k:

Hi,
Quick question,
As I understand the wireless ip phone Poly VVX D230 can only connect to business/suite G google voice (paid service), is there any firmware replacement mod that can be done or has been done so it can connect to regular/consumer google voice without ObiTalk portal? Since its web interface is similar to Obi202... Just wondering, thanks!

Has been done? No.
Can be done? Maybe

I think about it as 2 separate problems:
1) Can we put user-provided firmware on the d230 at all? Probably, since it looks like the d230 firmware uses the same lame obi firmware file structure, so its very likely one of the existing bypass methods would work.

2) Can we hack the firmware binary enough to use GV manually? Lots of unknowns here, since there is very little technical info out there on the GSuite version. Even if only the provisioning is different and the actual SIP interface is the same as the consumer version, youd have to hack something into the binary to bypass it. Could be a level of effort anywhere from trivial to impossible
im going to upgrade #2 to be "yes it can be done", but in a roundabout way: adding GV support into the d230 binary without source would be too hard, but the device has 256MB of flash... plenty of storage space to install asterisk

i feel like aa2k See Profile has nerd sniped me successfully.

aa2k
join:2000-10-06
Damascus, MD

3 edits
to naf
Hi naf...

I am serious about this, as you can see I have the phone but just the charging cradle was sent with the box, a coworker from another office (different state) got it but never used it.. I am waiting for the base station which is the one that handles the firmware as I understand...

Since this is a DECT phone I need the Base to register it.. I cant use it as standalone phone...
quote:
im going to upgrade #2 to be "yes it can be done", but in a roundabout way: adding GV support into the d230 binary without source would be too hard, but the device has 256MB of flash... plenty of storage space to install asterisk

if a choice is given I think the preference would be #1 since I am not versed on asterisk management, if not configured properly it can be a dangerously open door and prone to be hacked isn't it?
jbreaker
join:2006-07-31
Pittsburgh, PA
to naf
Any chance it would still be possible to get instructions on setting up an OBi300 w/ the 8680EX-arrynrob11??
naf
join:2017-12-12
said by jbreaker:

Any chance it would still be possible to get instructions on setting up an OBi300 w/ the 8680EX-arrynrob11??

100% chance
theclamman
join:2023-02-13
to naf
Hi @Naf, thanks for sharing your knowledge!
Would you mind PMing me the instructions? Thx!
naf
join:2017-12-12
said by theclamman:

Would you mind PMing me the instructions? Thx!

done
theclamman
join:2023-02-13
to naf
I have a OBi302 with 7628 software. I want to run the custom arrynrob firmware, had a quick question.

Based on the instructions, I attempted to install the 592EX fw first, however I get a message saying "Previous version identical to the update. Firmware not modified." And get the Firmware package checksum error error if i attempt the arrynrob

I'm unsure if I should attempt the bypass-uboot-mod or if I need to go into recovery mode in order to flash the arrynrob firmware.
naf
join:2017-12-12

1 edit
said by theclamman:

I have a OBi302 with 7628 software. I want to run the custom arrynrob firmware, had a quick question.

Based on the instructions, I attempted to install the 592EX fw first, however I get a message saying "Previous version identical to the update. Firmware not modified." And get the Firmware package checksum error error if i attempt the arrynrob

I'm unsure if I should attempt the bypass-uboot-mod or if I need to go into recovery mode in order to flash the arrynrob firmware.

Here's my recommended method:

Before starting, disconnect the 302 from the internet and reboot it with it disconnected, because 30x's are sometimes configured to download firmware 'updates' automatically 60 seconds after you boot into your newly installed firmware.

Then verify the starting firmware version in the webgui under System Status > Product Information > SoftwareVersion

And if its not "3.2.2 (Build: 5921EX)", make sure to install that first. Lets try to avoid recovery mode...

Then install bypass-uboot-mod, then arryrnrob11.

Then ssh into the obi (username 'root' password 'obi') to run 'clear_zt_params', then do a config reset, then reconnect to internet and you should be good to go.
theclamman
join:2023-02-13
Thank you naf! That resolved my issue, and I was able to get arrynrob firmware installed.
josh4trunks6
join:2012-01-12
Antioch, CA

1 edit
to naf
Hello, I have a Obi212 at my home, and Obi200 at my parents house. Can I please get the instructions to set up GV without the Portal?
I'll let everyone know if GV works as expected on the Obi212 after trying the instructions.

Thanks!
BigBrother
join:2023-02-17
to naf
Naf

I am looking for directions on the setup of GV on a Locked 1062, it is running your latest firmware.

Any help is appreciated.
naf
join:2017-12-12
said by BigBrother:

I am looking for directions on the setup of GV on a Locked 1062, it is running your latest firmware.

First, unlock it by ssh-ing in (root/obi) and running 'clear_zt_params'. then reset the configuration. then follow the gv setup instructions in your pms.
nsucsu
join:2023-02-18
United State
to naf
Hello naf
I have ordered OBi302-ATT model from ebay. It seems to be "locked" by ATT by looking at the name. Can I use the modded firmware for this model? If so, please PM me the instruction on setting up an OBi302 without the OBitalk and instruction for GV as well. Also, Please include the instruction for OBi110 too. Thanks!
josh4trunks6
join:2012-01-12
Antioch, CA
GV seems to be working without the OBiTalk portal on my OBi212!

I didn't first factory reset my OBi212, but I am pretty sure the steps I used reset the settings for SP1 and they still work as expected. Thanks!
naf
join:2017-12-12
to nsucsu
said by nsucsu:

I have ordered OBi302-ATT model from ebay. It seems to be "locked" by ATT by looking at the name. Can I use the modded firmware for this model?

Probably yes, if we can assume what you call an "OBi302-ATT" is actually just an OBi302 with vendor-locked configuration from ATT, and none of the vendor locked settings prevent you from upgrading firmware.
said by nsucsu:

Also, Please include the instruction for OBi110 too. Thanks!

For the obi110, just trunk off of your obi302. The 110 itself only supports the XMPP GV protocol which has been disabled for ~5 years now.
naf

1 recommendation

to josh4trunks6
said by josh4trunks6:

GV seems to be working without the OBiTalk portal on my OBi212!

attn: OBi1FW See Profile
OBi1FW
join:2017-12-27
Vienna, VA
Great!!!
Stevies3
join:2001-12-29
Woodbury, NY
to naf
Can you please send me update for OBI 202, TY!
nsucsu
join:2023-02-18
United State
to naf
Received my OBi302-ATT today. The firmware was 3.1.1 Build(5804). The build was less than 5853 therefore continue flashing with arrynrob11.fw

Attached is screenshot of before and after of firmware update.

However, I ran into an issue when adding the device via OBitalk account. I keep getting this error message "Failed to add device: This device is customized for another service provider and cannot be added to your account!" I also tried to create a new OBitalk account but it didn't help. Do you have any suggestion? Also please PM me how to configure with GV without OBitalk. Thank you
naf
join:2017-12-12
said by nsucsu:

I keep getting this error message "Failed to add device: This device is customized for another service provider and cannot be added to your account!" I also tried to create a new OBitalk account but it didn't help. Do you have any suggestion? Also please PM me how to configure with GV without OBitalk.

Yes, the expectation is that OBi30x's will not work with the portal (although I hear that some users have had success just asking obi support to allow their particular unit).

Luckily thats why the portal bypass method exists. See your pm.
nsucsu
join:2023-02-18
United State
Thank you so much. My OBi302 now works with GV without OBitalk.
nsucsu
to naf
Hello naf
I have ordered OBi302-ATT model from ebay. It seems to be "locked" by ATT by looking at the name. Can I use the modded firmware for this model? If so, please PM me the instruction on setting up an OBi302 without the OBitalk and instruction for GV as well. Also, Please include the instruction for OBi110 too. Thanks!
c2vo5a
join:2023-02-22
Houston, TX
to naf
Hi Naf-

I just flashed my OBi200 with your arrynrob firmware. Can you provide information on how to connect the device to my Google Voice account?

Thanks so much!
naf
join:2017-12-12
said by c2vo5a:

I just flashed my OBi200 with your arrynrob firmware. Can you provide information on how to connect the device to my Google Voice account?

connect via obitalk as normal, or see pm
tom42
join:2023-02-28
Cincinnati, OH
to naf
Can you please PM the instructions to me as well . Thank you
naf
join:2017-12-12
said by tom42:

Can you please PM the instructions to me as well . Thank you

done
kajoyce
join:2023-03-03
Lancaster, MA
@naf Can you PM me the instructions as well? By using your firmware I won't need to worry about the Obi200 being inactivated on 12/18/2023? My OBi200 says it is at softare version 3.2.2 (Build: 8680EX) can I use the instructions on »www.obifirmware.com/#cta for flashing the device? I just want to make sure I am checking the correct software version for the device.
naf
join:2017-12-12
said by kajoyce:

Can you PM me the instructions as well?

done
said by kajoyce:

By using your firmware I won't need to worry about the Obi200 being inactivated on 12/18/2023?

wrong, see »Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods
said by kajoyce:

My OBi200 says it is at softare version 3.2.2 (Build: 8680EX) can I use the instructions on »www.obifirmware.com/#cta for flashing the device?

yes
Stealth103
join:2023-03-08
United State
to naf

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

Please send me the GV setup instructions? I'm using an Obi200.

Thank you.
Stealth103

1 edit
to naf
Could you PM me the instructions as well please?

Thank you.

Also looks like Polycom took down the 5921EX firmware file for the Obi200. I found a compatible version here: »www.obitalk.com/forum/in ··· 9983.364 if anyone is looking.
naf
join:2017-12-12
said by Stealth103:

Could you PM me the instructions as well please?

done
said by Stealth103:

Also looks like Polycom took down the 5921EX firmware file for the Obi200. I found a compatible version here: »www.obitalk.com/forum/in ··· 9983.364 if anyone is looking.

Link on obifirmware.com still works, but your browser might not like it because its an http link from an https page. the wayback machine link might be better: »web.archive.org/web/2022 ··· 48940.fw

aa2k
join:2000-10-06
Damascus, MD
to naf
said by naf:
said by naf:
said by aa2k:

Hi,
Quick question,
As I understand the wireless ip phone Poly VVX D230 can only connect to business/suite G google voice (paid service), is there any firmware replacement mod that can be done or has been done so it can connect to regular/consumer google voice without ObiTalk portal? Since its web interface is similar to Obi202... Just wondering, thanks!

Has been done? No.
Can be done? Maybe

I think about it as 2 separate problems:
1) Can we put user-provided firmware on the d230 at all? Probably, since it looks like the d230 firmware uses the same lame obi firmware file structure, so its very likely one of the existing bypass methods would work.

2) Can we hack the firmware binary enough to use GV manually? Lots of unknowns here, since there is very little technical info out there on the GSuite version. Even if only the provisioning is different and the actual SIP interface is the same as the consumer version, youd have to hack something into the binary to bypass it. Could be a level of effort anywhere from trivial to impossible
im going to upgrade #2 to be "yes it can be done", but in a roundabout way: adding GV support into the d230 binary without source would be too hard, but the device has 256MB of flash... plenty of storage space to install asterisk

i feel like aa2k See Profile has nerd sniped me successfully.
Hi naf,
Sorry it took so long, I never got the original base station so I had to get it from another source, can we still try this?

The firmware version installed is 7.0.0 build 6932 and its hardware version 1.0.

This indeed a nice phone..
naf
join:2017-12-12
said by aa2k:

The firmware version installed is 7.0.0 build 6932 and its hardware version 1.0.

nice. ok ill pm you link to a couple firmwares. normal caveat: modded firmwares may brick your device, kill your cat, etc.

first flash 9112-noshell-signed, then flash 9112-aa2k1. should have an ssh shell available after that (user 'root', default pass 'obi') if that works, give param_dump a shot.

EDIT: can you report your CustomizationStatus also (one line past where your screenshot stops)

aa2k
join:2000-10-06
Damascus, MD
this reads under CUstomizationStatus:

CustomizationStatus InlerityUK

-- fingers crossed, I am about to upload the first firmware...
aa2k
to naf
ok, done, second firmware installed.

param_dump run, is there any information on it I'd need to change before publishing it?
naf
join:2017-12-12
said by aa2k:

ok, done, second firmware installed.

param_dump run, is there any information on it I'd need to change before publishing it?

pm me a copy of the param_dump output if its fairly short. should be if you haven't put any config on it [or if my guess at the offsets was wrong, ha]

actually if you could pm me a copy of /dev/mtd2 and /scratch/obi*.dat i should be able to run it locally

aa2k
join:2000-10-06
Damascus, MD

3 edits
ok, let me get that...

Edit: It has been uploaded.
There is no configuration at all, I did a reset to default before I started.
naf
join:2017-12-12
said by aa2k:

Question,
Under the option "DECT Base Information"
It reads the following so it seems to be UK , can this be changed to US?:
DectType EU DECT (CMBS_DECT_TYPE_EU)

Maybe. At first glance, it appears this is stored in the eeprom of the chip that handles the DECT functionality. There appears to be no user-accessible configuration method to reset it, but it looks like there is a command-line config function inside of the binary, but its not called by anything that I can see. Might be possible to resurrect that (probably at a later date when the weather is not nice outside)

aa2k
join:2000-10-06
Damascus, MD
said by naf:
said by aa2k:

Question,
Under the option "DECT Base Information"
It reads the following so it seems to be UK , can this be changed to US?:
DectType EU DECT (CMBS_DECT_TYPE_EU)

Maybe. At first glance, it appears this is stored in the eeprom of the chip that handles the DECT functionality. There appears to be no user-accessible configuration method to reset it, but it looks like there is a command-line config function inside of the binary, but its not called by anything that I can see. Might be possible to resurrect that (probably at a later date when the weather is not nice outside)
That would be nice...
Enjoy the nice weather and thanks!
Brown
join:2018-01-21
said by aa2k:

It reads the following so it seems to be UK

The DECT frequencies used in Europe are different than the US (and banned here). Maybe it will work if the handset matches the base unit (e.g. both UK) and the neighbors cell phones don't suddenly stop working
naf
join:2017-12-12
to aa2k
said by aa2k:
said by naf:
said by aa2k:

Question,
Under the option "DECT Base Information"
It reads the following so it seems to be UK , can this be changed to US?:
DectType EU DECT (CMBS_DECT_TYPE_EU)

Maybe. At first glance, it appears this is stored in the eeprom of the chip that handles the DECT functionality. There appears to be no user-accessible configuration method to reset it, but it looks like there is a command-line config function inside of the binary, but its not called by anything that I can see. Might be possible to resurrect that (probably at a later date when the weather is not nice outside)
That would be nice...
Enjoy the nice weather and thanks!
On second glance, we have more options. It looks like the eeprom is backup up automatically, and we can restore it after altering the dect_type byte.

So, I would think that if you copy the /obi/CMBSEEPROMmini.0.bin, modify the first byte to be "02" (CMBS_DECT_TYPE_US_FCC) instead of "00" (CMBS_DECT_TYPE_EU) and then rename that to /obi/CMBSEEPROMmini.bin, a reboot should restore it into the eeprom. if possible, capture a syslog when booting in case it doesn't work.

aa2k
join:2000-10-06
Damascus, MD
Just making sure this what you mean... changed '00' for '02'
naf
join:2017-12-12
said by aa2k:

Just making sure this what you mean... changed '00' for '02'

correct, looks good

aa2k
join:2000-10-06
Damascus, MD
ok, I did as instructed and changed it.. it did change from EU to US...

The handset that came with the base (EU as well) is not connecting anymore.. since the EU cant connect to US (and the other way around) due to the frequency this makes sense, I have a handset which is US only, I will try to connect that and if it works then it means the frequencies changed as well...
(sorry I did not have anything setup to capture syslog so I took the risk)..
aa2k

3 edits
ok, I tried to register the US headset to the base station and it worked just fine, the EU does not connect/register anymore.. so it seems the frequencies changed to US by changing the DECT region... this is nice since more headsets from US can be added now..

I wonder if there is a way to change the DEC type under the handset also...
naf
join:2017-12-12
said by aa2k:

sorry I did not have anything setup to capture syslog so I took the risk

:-P

EDIT: fyi you just need something that can capture udp packets, i.e. netcat -u (unfortunately the busybox version that came with the d230's shell lacks udp functionality i think)
said by aa2k:

ok, I tried to register the US headset to the base station and it worked just fine, the EU does not connect/register anymore.. so it seems the frequencies changed to US by changing the DECT region... this is nice since more headsets from US can be added now..

nice.

there appears to be some mechanism for updating the handset's firmware from the base station, so it might be possible to modify its region setting as well...

can you check what the Handset#FWVersion shows on the DECT page?

aa2k
join:2000-10-06
Damascus, MD

1 edit
Handset1Status Out-of-range (original handset EU)
Handset2Status Idle RSSI=160 (new added US handset)

Under the base GUI, the EU handset does not show anymore but the firmware used to be 1.33R-07
the new handset shows as 1.27R-01

the New handset information menu (from the same phone shows DECT Region: USDECT
the EU handset shows: EUDECT
aa2k

2 edits
to naf
quote:
there appears to be some mechanism for updating the handset's firmware from the base station, so it might be possible to modify its region setting as well...

so if there is such option then I could change the station back to EU, this will allow it to see the EU handset, then change the handset DECT type to US by pushing a handset firmware again somehow(?) and then bring the base station back to US?

here
»support.poly.com/support ··· ate-load

it reads:
quote:
Firmware upgrade on VVX D230 handset.

The DECT solution has a single firmware similar to VVX Obi edition firmware. This needs to be hosted on the provisioning server. The DECT firmware comprises of 3 sub firmware components: Base Station Updater, Base Station and Handset. VVX facilitates DECT firmware download and BS Software Updater handles updating the respective entities on VVX.

The VVX downloads BS software for the Base Station and shares it over Ethernet via SSH tunnel

The Base Station handler is responsible for handling FW update of itself, Base Station and Handset

The handset upgrade is over the air (SUOTA)

aa2k

2 edits
Update:

The US handset upgraded as soon as placed it in the cradle to charge the battery (no change on the EU handset, still not connecting even if in the cradle but a quick flash message on the LCD said it was looking for an upgrade and it went away)

The handset bin file (VVX230_H0001.33R07_FW_SUOTA.bin) is inside the /obi directory.. would the DECT region be there? I cant locate it so not sure if its there (I don't know what I am looking for exactly).. maybe a change there to convert it to US? move the base back to EU and let the EU firmware upgrade by itself?
There is another HSFw.bin but it seems is just a link.
naf
join:2017-12-12

1 edit
said by aa2k:

Update:

The US handset upgraded as soon as placed it in the cradle to charge the battery (no change on the EU handset, still not connecting even if in the cradle but a quick flash message on the LCD said it was looking for an upgrade and it went away)

The handset bin file (VVX230_H0001.33R07_FW_SUOTA.bin) is inside the /obi directory.. would the DECT region be there? I cant locate it so not sure if its there (I don't know what I am looking for exactly).. maybe a change there to convert it to US? move the base back to EU and let the EU firmware upgrade by itself?
There is another HSFw.bin but it seems is just a link.

The region can't be in the handset firmware itself because there isn't a separate firmware for different regions. I would expect it be be in a small eeprom with other handset-specific settings, like the IMEI (or whatever DECT calls unique phone identifiers).

Would have been programmed at the factory, just a question of if there is a (non-hardware) interface to program it in the field...
naf
to aa2k
There appears to be some sort of functionality on the handset itself to at least display the current DECT region, judging by the strings in the handset firmware containing various translations of "Region", "DECT Settings", "US DECT", "EU DECT" etc.

Can you get to some sort of settings menu on the handset itself and at least see the DECT region setting?

aa2k
join:2000-10-06
Damascus, MD
I dont see any other king of interface to the phone itself (usb, etc.) see picture for inside the battery location.. Under the settings this is what I see (see picture)
naf
join:2017-12-12
said by aa2k:

I dont see any other king of interface to the phone itself (usb, etc.) see picture for inside the battery location.. Under the settings this is what I see (see picture)

My thinking is that if the handset's firmware can read its own DECT region setting to display it on that menu, that would be a function to try to find in the handset firmware code to see where its stored, in order to make a modded handset firmware to overwrite it. Wishful thinking maybe.
naf

1 recommendation

I'll go ahead and release the d230 mods since it didn't destory aa2k's phone. Diffs too large to attach here, so I'll send them to OBi1FW See Profile to see if he will continue to generously host them alongside the rest of the collection

MD5s:
VVX-D230-7-1-3-9112-aa2k1.fw = c15d73707d3062b5f0508ebcbcc6b5b3
VVX-D230-7-1-3-9112-noshell-signed.fw = c88265af24a66a60d1df5e295e93095f

Instructions: flash stock 7-0-0-6932, then noshell-signed, then aa2k

Changes:
1) enable dropbear ssh server. default root passwd = "obi"
2) patch obiapp to not kill dropbear or overwrite root password
3) patch obiapp to bypass "zero touch" forced configuration. added clear_zt_params util to clear old zero touch params
4) patch obiapp to bypass x509 signature check for new fw
Darkbotic
join:2023-03-21
to naf
Would it be possible for you to send me the instructions on how to configure a Polycom Obi300 with the consumer/free version of Google Voice?
Darkbotic
to naf
How can I configure a Polycom Obi300 with the consumer/free version of Google Voice?
naf
join:2017-12-12
to Darkbotic
said by Darkbotic:

Would it be possible for you to send me the instructions on how to configure a Polycom Obi300 with the consumer/free version of Google Voice?

yes, sent you a pm
Chrushev
join:2008-07-30
Newport Beach, CA

1 edit
Im running Obi200 running 3.2.2 Build 8680EX-arynrob10 for years now. Once in a while I cant hear incoming caller, but they can hear me. After hanging up and they dial back in we can both hear each other. Im not on double NAT. Has anyone dealt with this before? Happens maybe one out of 10 calls?

Also, is there a reason why everyone asking for PM from @naf for instructions? Why not just post the instructions so that anyone can get them without needing to PM?

I just found out Obi200 EOL December 2023. I am currently set up through the portal. And its working (besides that issue I mentioned with not being able to hear incoming once in a while). After EOL, it should just continue to work right? Google hasnt updated stuff on their end in years, and seems unlikely they would, last update was due to ditching some legacy protocols and getting with the times. Now that they are with the times I think we can expect it to work as long as Google doesnt shut down GoogleVoice. Thoughts on this?

Also, if GV does go away, without portal from Obihai, will we be able to set up Obi200 to run on another service? Or does it become a paperweight at that point?
andre2
join:2005-08-24
Brookline, MA
to Chrushev

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

said by Chrushev:

Also, if GV does go away, without portal from Obihai, will we be able to set up Obi200 to run on another service? Or does it become a paperweight at that point?

Any services currently set up on one's OBi200, one can just delete them and set up new ones.
Chrushev
join:2008-07-30
Newport Beach, CA
said by andre2:
said by Chrushev:

Also, if GV does go away, without portal from Obihai, will we be able to set up Obi200 to run on another service? Or does it become a paperweight at that point?

Any services currently set up on one's OBi200, one can just delete them and set up new ones.
But nothing Obi200 supports is free right? GV is the only free one?
naf
join:2017-12-12

4 recommendations

said by naf:
said by aa2k:

I dont see any other king of interface to the phone itself (usb, etc.) see picture for inside the battery location.. Under the settings this is what I see (see picture)

My thinking is that if the handset's firmware can read its own DECT region setting to display it on that menu, that would be a function to try to find in the handset firmware code to see where its stored, in order to make a modded handset firmware to overwrite it. Wishful thinking maybe.
Just to close the loop on this: this strategy was successful to mod the d230 handset firmware. tracked down the region display code through the displayed strings and also conveniently found the code to a serial maintenance menu that contained an option to read/write eeprom bytes. combined those two to write a real ugly crashy handset firmware mod. used the modded base station firmware to push the modded handset firmware over the air to the handset and, a few failed attempts later, voila! US region for handset.
SteveInUS
join:2015-06-28
Champaign, IL
to naf
I'd love a PM as well with these instructions.

TIA!

mccabe
join:2012-08-10
Boca Raton, FL

2 edits
to naf
Can you PM me the GV setup instructions for 8680EX-arrynrob11 (OBi200) as well.
Any other instructions for backing up settings, restarting, resetting or any other relevant procedures would be appreciated.
SBT13
join:2015-07-19
New Jersey
to naf
Does anyone know if the Obi200 can use DHCP Option 66 and host a config file on a TFTP server?
Countryman
Premium Member
join:2010-07-13
to naf
I have Obi202 which is currently running 3.2.2 (Build: 8680EX).
OBI202 set up via OBI Talk... for two different GV accounts/numbers plus two SIP
accounts.
Can you please PM me with instructions for 3.2.2 (Build: 8680EX)

Thanks!
naf
join:2017-12-12
said by Countryman:

I have Obi202 which is currently running 3.2.2 (Build: 8680EX).
OBI202 set up via OBI Talk... for two different GV accounts/numbers plus two SIP
accounts.
Can you please PM me with instructions for 3.2.2 (Build: 8680EX)

Instructions to do what exactly?
Anon36ebd
@205.250.171.x
GV setup instructions for 8680EX-arrynrob11
Countryman
Premium Member
join:2010-07-13
to naf
said by naf:
said by Countryman:

I have Obi202 which is currently running 3.2.2 (Build: 8680EX).
OBI202 set up via OBI Talk... for two different GV accounts/numbers plus two SIP
accounts.
Can you please PM me with instructions for 3.2.2 (Build: 8680EX)

Instructions to do what exactly?
GV setup instructions for 8680EX-arrynrob11

Thank you
naf
join:2017-12-12
said by Countryman:
said by naf:
said by Countryman:

I have Obi202 which is currently running 3.2.2 (Build: 8680EX).
OBI202 set up via OBI Talk... for two different GV accounts/numbers plus two SIP
accounts.
Can you please PM me with instructions for 3.2.2 (Build: 8680EX)

Instructions to do what exactly?
GV setup instructions for 8680EX-arrynrob11
If you already have GV setup through the obitalk portal, then theres nothing else to do... otherwise see pm
Hol9798
join:2023-04-07
Dearborn, MI
Hi Naf,

Can you PM the instructions for no portal GV Set-up on a 302 using 8680EX-arrynrob11?

Thanks!
Hol9798
to naf
Hi NAF,

Can you PM me non-Obi Portal GV Set-up instructions for a 302 on 8680EX-arrynrob11?

Thx
Countryman
Premium Member
join:2010-07-13
to naf
Hi Naf,

Can you PM the instructions for no portal GV Set-up on a 202 using 8680EX-arrynrob11?

Thanks!
SteveInUS
join:2015-06-28
Champaign, IL

2 edits
to naf
Hi naf
Please PM me the GV setup instructions for 8680EX-arrynrob11 (OBi200).
coreyography
Premium Member
join:2010-01-15
Houston, TX
to naf
Thank you naf and other contributors for extending the life of these devices. I don't use GV but they are pretty solid on my VoIP service, and small/unobtrusive.

My latest project involves mounting one of these in an enclosure, so the small size is important. I have an OBi200 mounted right now, running the arrynrob firmware, and it is working fine, but I want a spare. So I sourced an OBi300 on eBay, with firmware version 3.2.4 build 7970. I tried flashing the stock OBi202 firmware build 5921EX in the web GUI per the instructions on obifirmware.com, but I get an error: "previous version identical to the update". Is there any way around this, outside of a SOIC clip?

I searched this thread for some insight but no results ever came up (maybe I'm doing something wrong), so apologies in advance if this is covered.

TIA
Silver7272
join:2023-04-11
Saint Clair, MI
to naf
Could you please PM me the GV setup instructions for OBi200, 8680EX-arrynrob11 fw?

Thank you in advance
naf
join:2017-12-12
to coreyography
said by coreyography:

So I sourced an OBi300 on eBay, with firmware version 3.2.4 build 7970. I tried flashing the stock OBi202 firmware build 5921EX in the web GUI per the instructions on obifirmware.com, but I get an error: "previous version identical to the update". Is there any way around this, outside of a SOIC clip?

Strange. I don't have a copy of 7970 to verify it uses the same logic as every other version, but i'd recommend trying these steps:
1) disconnect the box from the internet, so auto-downloading wont mess with firmware while you work on it
2) double check the firmware version really is 7970 in the webgui
3) configure syslog and see if the messages there during downgrade to 5921 make any more sense
4) trying flashing stock 8680 before 5921
coreyography
Premium Member
join:2010-01-15
Houston, TX
said by naf:

Strange. I don't have a copy of 7970 to verify it uses the same logic as every other version, but i'd recommend trying these steps:
1) disconnect the box from the internet, so auto-downloading wont mess with firmware while you work on it
2) double check the firmware version really is 7970 in the webgui
3) configure syslog and see if the messages there during downgrade to 5921 make any more sense
4) trying flashing stock 8680 before 5921

naf, thanks for replying. It has not been connected to the internet while I have had it.

I tried the easiest thing first, updating to 8680 (from a local file). It worked fine, webgui system status and IVR confirmed it.

I then set up syslog at the default level 7 to an OpenBSD box I have ("*.*" to its own file in syslog.conf). It shows messages on startup and shutdown, and for the device trying (and failing) to get provisioning from the internet. But nothing when I attempt a firmware downgrade.

But that is likely because it does not see the failed firmware downgrade as an error. The web page header says "Firmware Update Successful" along with the "Previous version identical to the update. Firmware not modified." Of course the firmware is not changed.

It is definitely wanting to get its setup from Obihai, judging from the failed DNS queries in syslog. The config menus in the webgui are missing most of the settings that exist on my OBi200.

Anyway, still no joy.
Brown
join:2018-01-21
Check the 'HardwareVersion' in the Obi300. I wonder if they have revised it again.
naf
join:2017-12-12
to coreyography
said by coreyography:

It is definitely wanting to get its setup from Obihai, judging from the failed DNS queries in syslog. The config menus in the webgui are missing most of the settings that exist on my OBi200.

Missing config items means the 30x is in the "connecting to server" vendor config mode. Can confirm this on status page by looking at "CustomizationStatus". But that shouldn't effect changing firmwares (and will be ignored by the modded fw)

syslog should definitely show logs related to parsing the firmware file before flashing, even if successful. verify your stock 5921 file looks ok.

If nothing else works you can always try to flash signed-fw-bypass-uboot-mod from 8680 directly
alexjunk
join:2023-04-14
Cedar Rapids, IA
to naf
Could you please PM me the GV setup instructions for OBi200, 8680EX-arrynrob11 fw?

I upgraded and am now not able to use GV. Within the Obitalk dashboard I'm getting a "Registration Not Required" followed by "Connecting to 216.239.36.145;Token Error" status error.

Thank you so much!
Countryman
Premium Member
join:2010-07-13
Hi Naf,

I just missed your IM and that link was expired
Could you please PM me again the GV setup instructions for OBi200, 8680EX-arrynrob11 fw?

Thanks a lot!
SteveInUS
join:2015-06-28
Champaign, IL
to naf
Hi Naf,

I just missed your IM and that link was expired
Could you please PM me again the GV setup instructions for OBi200, 8680EX-arrynrob11 fw?

Thanks a lot!

bbbc
join:2001-10-02
to coreyography

If size matters...

said by coreyography :

My latest project involves mounting one of these in an enclosure, so the small size is important.

Why not get a really tiny OBi100 then?
alexjunk
join:2023-04-14
Cedar Rapids, IA
to naf

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

Just FYI. I tried to upgrade my Obi202 to the 8680EX-arrynrob11 firmware and I was able to do that, but it broke my GV connections. I removed the GV connections and tried to add them back via the Obitalk portal and GV never came back up. I received "Registration Not Required" followed by "Connecting to 216.239.36.145;Token Error" status errors.

I went back to the stock firmware and everything works fine with GV now. Is this a known issue? Is it possible to get GV working correctly via the 8680EX-arrynrob11 firmware without the Obitalk portal?

Thank you!
powertex
join:2023-04-17
Beverly Hills, CA
to naf
Thank you for doing this. Could I get instruction for setting up GV for 8680EX-arrynrob11? I'm trying to get this working on the Obi300 and unfortunately it isn't supported on Obitalk's portal.
premsuni27
join:2023-04-26
Garden City, TX

1 edit
to naf
Hi Naf,

Could you please PM me the ssh config to remove the CustomizationStatus from Phonepower to generic, and the portal bypass method for my Obi302? I want to configure GV on this. I do not know how to ssh? So need help on that as well. I installed the 3.2.2 (Build: 8680EX-arrynrob11) on it. Thanks in advance. And thanks for all the time you give to this forum.
phantasm22
join:2023-04-28

1 recommendation

to naf
I have an Obi202 and I downgraded successfully to 5921EX. I then upgraded successfully to 6259 bypass uboot mod. However, every time I try updating to 8680EX, the update seems to go through but on reboot it's still showing 6259. Suggestions?
naf
join:2017-12-12
to premsuni27
said by premsuni27:

Could you please PM me the ssh config to remove the CustomizationStatus from Phonepower to generic

ssh in and run the 'clear_zt_params' command, then reset the device's config
naf
join:2017-12-12
to phantasm22

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

said by phantasm22:

I have an Obi202 and I downgraded successfully to 5921EX. I then upgraded successfully to 6259 bypass uboot mod. However, every time I try updating to 8680EX, the update seems to go through but on reboot it's still showing 6259. Suggestions?

Try doing all the upgrades while the device is disconnected from the internet (to avoid unwanted auto-upgrades)
phantasm22
join:2023-04-28
That worked! Thanks!
premsuni27
join:2023-04-26
Garden City, TX
to naf
I did ssh into my obi302. Ran the command and removed the Phonepower. It's generic now. How to get GV on it?

This is what I get when I tried to add Obi302 through Obitalk.

Failed to add device: This device is customized for another service provider and cannot be added to your account!
Please contact Obihai support if you need further help.

Thanks
premsuni27
Thanks Naf. I figured it out. All is well.
PainKiller89
join:2023-05-02
USA
to naf
Hi Naf,

My obi202 is flashing green/red power light. I am not sure if its bricked. I tried resetting it via pinhole it didn't work. I ordered Obi302 from amazon I will have it by Thursday. What are the instructions on getting it to work with free GV? Please let me know. Thanks. I am not sure what firmware it will come with. Please assist.
Rolento76
join:2023-05-06
Fair Lawn, NJ
to naf
Hi Naf! Can I get the instructions to provision my Obi200 with GV please?
naf
join:2017-12-12
said by Rolento76:

Hi Naf! Can I get the instructions to provision my Obi200 with GV please?

Have you read this? »Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods
Rolento76
join:2023-05-06
Fair Lawn, NJ
Thanks Naf. That sheds some light. I appreciate the guidance.
duderaf
join:2009-06-23
Mississauga, ON
to naf
hi naf, can you share the instructions trying to configure gv as the only portal didnt work for me and trying to troubleshoot issues
naf
join:2017-12-12
said by duderaf:

hi naf, can you share the instructions trying to configure gv as the only portal didnt work for me and trying to troubleshoot issues

done
thana216
join:2018-12-25
Bay Village, OH

1 edit
to naf
Hey Naf, Can you pm me the instructions for my Obi200 and setting up google voice. Thanks.
naf
join:2017-12-12
said by thana216:

Hey Naf, Can you pm me the instructions for my Obi200 and setting up google voice. Thanks.

Have you read this? »Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods
ChaLeeBoy
join:2023-05-13
GB
to naf
Hello, I just installed OBiPhone-5-1-11-5312EX-olisom5.fw on my Obi1032 IP Phone.

For the first time OpenVPN started working and I was connected to it but my SIP accounts could not register.

If I disable OpenVPN the SIP accounts immediately register.

How can I make both work together?
coreyography
Premium Member
join:2010-01-15
Houston, TX
to naf
said by naf:

Missing config items means the 30x is in the "connecting to server" vendor config mode. Can confirm this on status page by looking at "CustomizationStatus". But that shouldn't effect changing firmwares (and will be ignored by the modded fw)

syslog should definitely show logs related to parsing the firmware file before flashing, even if successful. verify your stock 5921 file looks ok.

If nothing else works you can always try to flash signed-fw-bypass-uboot-mod from 8680 directly

Sorry for the long delay in responding; I thought I already had.

I did what you suggested, flashed signed-fw-bypass-uboot-mod directly, and it worked fine. Thanks again for your help.
naf
join:2017-12-12
to ChaLeeBoy
said by ChaLeeBoy:

Hello, I just installed OBiPhone-5-1-11-5312EX-olisom5.fw on my Obi1032 IP Phone.

For the first time OpenVPN started working and I was connected to it but my SIP accounts could not register.

If I disable OpenVPN the SIP accounts immediately register.

How can I make both work together?

Generically, the olisom5 provides a shell so you can use standard linux network tools to diagnose openvpn network issues (ifconfig, route, etc) and establish that network traffic is successfully flowing through the vpn before trying SIP anything
ChaLeeBoy
join:2023-05-13
GB

1 edit
said by naf:
said by ChaLeeBoy:

Hello, I just installed OBiPhone-5-1-11-5312EX-olisom5.fw on my Obi1032 IP Phone.

For the first time OpenVPN started working and I was connected to it but my SIP accounts could not register.

If I disable OpenVPN the SIP accounts immediately register.

How can I make both work together?

Generically, the olisom5 provides a shell so you can use standard linux network tools to diagnose openvpn network issues (ifconfig, route, etc) and establish that network traffic is successfully flowing through the vpn before trying SIP anything
That sounds like a long painful process. I was hoping someone else had run into this problem.
Stewart
join:2005-07-13
to ChaLeeBoy
said by ChaLeeBoy:

For the first time OpenVPN started working and I was connected to it but my SIP accounts could not register.

I'm not a NordVPN user but in general I would not expect this to work with most commercial VPN providers. The tunnel endpoint is a NATted address (10.8.3.3 in your example) and the NAT is typically set up to pass only a few specific ports.

If you believe that shouldn't be the case with Nord, I would test using a softphone on a Windows, Mac or Linux PC, where you have easy access to logs and troubleshooting tools.

Using my CyberGhost account and MicroSIP, I was able to register and make calls, though I wouldn't be surprised if it only works with specific servers.

You could also get a VPS in the cloud and set up your own VPN server, which would avoid any issue with ports.

Could you please explain your application? Without VPN, connecting SIP via TLS and SRTP gives equivalent privacy, other than that your ISP or someone monitoring your connection could see the IP address of the VoIP provider.

I suppose VPN could be useful when traveling to a country where VoIP is blocked or illegal, but carrying a bulky IP phone such as the OBi seems impractical (and if I were doing that, I'd connect to a VPN server at my home).
ChaLeeBoy
join:2023-05-13
GB
I got the boffins at NordVPN looking into this but I think the problem is with OpenVPN on the Obi IP Phone.

I've used Nord on a Obi202 before without a problem.

My SIP provider doesn't support the secure methods you refer to but it is ultra cheap. I really wish it did.
ChaLeeBoy
to Stewart
Ok contacted Voipdiscount to ask if they support SIP via TLS and SRTP.
mzuri
join:2023-05-21
to naf
Hi Naf

Same old request. Can you PM me the GV non portal instructions please? Appreciate the work that you put in supporting us
Thank you!
ambit12
join:2023-05-22
Did you get an answer on this? I need the same thing.
mzuri
join:2023-05-21

1 edit
to naf
waiting
obifirmdsl
join:2023-06-02
to naf
Hi Naf! Can you PM me the GV non portal instructions please for my Obi200?
cmschwartz
join:2023-06-14
Maywood, NJ
to naf
Hello, can someone PM me the Google Voice Non-Portal instructions for my Obi212?
ntrakg
join:2023-06-20
Austin, TX
to mzuri
Any love? I'd love the instructions too, and THANK YOU naf. Also, how do I enable SSH on the Obi200?
Anonf5635
@24.55.33.x
to obifirmdsl
Hi - I just got an Obi200 and wanted the non-portal setup for GV please. Can someone please PM them to me, and also the instructions for enabling ssh on the Obi? I get "Unable to negotiate with 10.10.3.33 port 22:".
PDX_Mark
join:2020-08-21
Portland, OR
WAKE UP! You can not PM an Anon user! You need to logion and post
billybob911
join:2023-07-03
to theclamman
Can you PM me the instructions for a Obi202. I have 8680EX-arrynrob11 on the device, just need to know how to congifure GV without ObiTalk.

BillRoland
Premium Member
join:2001-01-21
Ocala, FL

5 recommendations

to naf
I just wanted to stop in and give my compliments to all for this thread. Bought a new OBi300 off Amazon, went to install it on site today only to find none of the service provider configuration options were available. Found a bunch of unhelpful crap in Google ("you bought one locked to a service provider, sucks to be you" type crap) before I found this thread here on DSLR of all places. Followed the directions and 20 minutes later I was in business. You guys rock!

acadiel
Press fire to begin
Premium Member
join:2002-06-22
Atlanta
Apple AirPort Express (2012)
Apple AirPort Extreme (2013)
ARRIS SB6183
to naf
Have my OBI200 successfully upgraded to your firmware, Naf. But, Google Voice isn't working any longer. I didn't change anything in the blanks, but I'm getting a token error now. How do I fix this? Thank you so much for the great firmware, so that we can keep using the equipment!
naf
join:2017-12-12
to acadiel

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

said by acadiel:

Have my OBI200 successfully upgraded to your firmware, Naf. But, Google Voice isn't working any longer. I didn't change anything in the blanks, but I'm getting a token error now. How do I fix this? Thank you so much for the great firmware, so that we can keep using the equipment!

Clear SPx Service > SIP Credentials > AuthPassword if you used portal to setup GV credentials

acadiel
Press fire to begin
Premium Member
join:2002-06-22
Atlanta
Apple AirPort Express (2012)
Apple AirPort Extreme (2013)
ARRIS SB6183
to naf
Thanks for the quick reply! Yep, it's clear already. I'm guessing the token needs refreshed? If so, where's the process on how to do that?
ml201
join:2023-07-23
to naf
Hi naf,
Can you PM me non-Obi Portal GV Set-up instructions for an OBI300 with OBi2xx-3-2-2-8680EX-arrynrob11.fw please?
ntrakg
join:2023-06-20
Austin, TX
to naf
Hi Naf - Can please PM me the instructions for setting up GV on a Obi200 without relying on ObiTalk at all?

Also, how can I enable ssh on the Obi? I get "Unable to negotiate with 10.10.3.33 port 22:".

Thanks - you are doing gods work!
naf
join:2017-12-12
said by ntrakg:

Hi Naf - Can please PM me the instructions for setting up GV on a Obi200 without relying on ObiTalk at all?

see pm
said by ntrakg:

Also, how can I enable ssh on the Obi? I get "Unable to negotiate with 10.10.3.33 port 22:".

no ssh in stock firmware. use modified firmware instead, see obifirmware.com
Anon1b17f
@173.72.201.x
to naf
I need help with config, came across this thread from google. can you send me the directions?

Thanks
skyy
join:2023-08-05
Ashburn, VA
to naf
Hey naf, could you DM me those instructions? Thanks.

Setting up GV without obitalk on a Obi300.
Also I was also wondering could you activate my SDF account? (skyy or skyy@sdf.org)
ntrakg
join:2023-06-20
Austin, TX

1 recommendation

to naf
Works perfect, thanks. The issue on the ssh was that I needed to ssh as root@IP... You are a hero.
Anon09a45
@96.255.49.x
to Anon1b17f
said by Anon1b17f :

I need help with config, came across this thread from google. can you send me the directions?

Thanks

You need to register, without an account naf cannot send you the information via PM.
spook
join:2023-08-05
to naf
May I please have a PM with those instructions too? Thanks!
Anon8c40f
@86.134.160.x
to naf
this is a god send
I had 2 302 units sitting in storage (got for a project that never happened)
thinking they are only good for the bin as are company uses google voice and I could never get them to connect to obi talk no matter what I did

would it be possible to get a PM of the setup instructions
I've done the FW flashing just need to know how to get OAuth and all done

aa2k
join:2000-10-06
Damascus, MD
said by Anon8c40f :

would it be possible to get a PM of the setup instructions

FYI - you need to register first in order to get a PM.
wbrown766
join:2023-08-07
BT45 7YE
to Anon8c40f
sorry, thought I had logged in befor posting this.

... ig thats what you get when searching forums tired
mpillaius
join:2012-04-01
Austin, TX
to naf
Hi naf,

I am trying to use the OBI300 with OBi2xx-3-2-2-8680EX-arrynrob11.fw.
Can you please PM me the non-Obi Portal GV Set-up instructions for an OBI300?
turtle
join:2019-04-29
United State
to naf
To naf
May I please have a PM with those instructions too? Thank you!
Reverdy
join:2023-08-26
Lorton, VA
to naf
Hi. I am new to the forum. I just installed arrynrob (plus the 2 prereq firmwares) on my Obi200. My phone can still send and receive calls, so that's good. How can I tell that my device no longer leverages OBiTALK for configuration? And thank you so much for all of the work on this!
Continuum2
join:2008-01-30
Madison, AL
to naf
Hi naf. Guess it's time for me to get around to requesting the instructions as well. I understand the whole portal credentials issue. 2024 will be here before we know it and I appreciate having options regardless of what may come. Thank you!
videobruce
join:2002-05-14
Buffalo, NY
to naf
Please PM me the GV setup instructions for OBi202, 8680EX-arrynrob11 F/W and any other private instructions.
Thanks, I appreciate your time.
k9bm
join:2023-09-03
usa
to naf
OK, maybe for once I shouldn't procrastinate, please send me the GV instructi8ons for the custom firmware and my Obi212, with my sincere thanks!
wbrown766
join:2023-08-07
BT45 7YE
to naf
hi, naf

i have flashed my obi302 and tried to add to GV via your instructions.
everything seems to work fine i get the proper responses etc.

however I keep getting the following status
fibrepunk
join:2005-01-30
Alhambra, CA
to naf
Hi naf:

Please PM me the GV setup instructions for Obi202 and Obi200 with 8680EX-arrynrob11 F/W. TIA..
casman
join:2023-09-07
Canton, GA
to naf
naf, would you please PM instructions for a OBI202 running 3.2.2 (Build: 8680EX-arrynrob11) and a OBI200 running 3.2.2 (Build: 8680EX-arrynrob11)? Much appreciated.
naf
join:2017-12-12
to wbrown766
said by wbrown766:

hi, naf

i have flashed my obi302 and tried to add to GV via your instructions.
everything seems to work fine i get the proper responses etc.

however I keep getting the following status

is this a consumer (free) GV account with phone number already associated to it?
kbfi206
join:2023-09-07
Seattle, WA
to naf
Hi naf,
I'm running 3.2.2 (Build: 8680EX-arrynrob11) on an OBi200 with a Google Voice line running on the device for over a year now. I'm trying to add a second Google Voice line but have been unsuccessful using obitalk.com.

Could you please send the instructions for adding Google Voice without using obitalk.com? Thank you very much.
wbrown766
join:2023-08-07
BT45 7YE
to naf
is this a consumer (free) GV account: No
with phone number already associated to it: Yes

does it have to be a free acount to work or is there a work around
naf
join:2017-12-12
said by wbrown766:

is this a consumer (free) GV account: No
with phone number already associated to it: Yes

does it have to be a free acount to work or is there a work around

i wouldnt call it a workaround if you have a (non-free) Workspace GV account and a device that google claims is supported. you should be able to follow their instructions to configure it, no?
wbrown766
join:2023-08-07
BT45 7YE
All Google instructions I have found that make sense/haven't have been updated since Google UI changes say to use OBI talk but no matter how much I try to link the obi302 to OBI talk it just keeps timing out

I was googling and came across this and thought I'd give it a go as nothing else I've found has worked
indiabhai
join:2023-09-21
Washington, DC
to naf
Hi naf! Thanks for all your work on keeping OBI units alive. I was wondering if I could also get a PM with the instructions on how to setup GVoice without the ObiTalk account? I'm using stock firmware on my Obi200 right now, but have custom firmware on a Obi110 somewhere that I'd like to revive. I'll eventually switch to custom on the 200 as well.

Additionally, would the steps to set this up also work on the dedicated handsets, like the VVX D320? I see there's a custom firmware for it
naf
join:2017-12-12
said by indiabhai:

Hi naf! Thanks for all your work on keeping OBI units alive. I was wondering if I could also get a PM with the instructions on how to setup GVoice without the ObiTalk account? I'm using stock firmware on my Obi200 right now, but have custom firmware on a Obi110 somewhere that I'd like to revive. I'll eventually switch to custom on the 200 as well.

Additionally, would the steps to set this up also work on the dedicated handsets, like the VVX D320? I see there's a custom firmware for it

neither d230 nor obi110 contain software that implements the current GV interface, so those wont work
indiabhai
join:2023-09-21
Washington, DC
Got it, thanks for the clarification! I think I'd still like to set up my 200 with your alternate method for future proofing. Could I get the instructions for that?
naf
join:2017-12-12

1 recommendation

to indiabhai

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

said by indiabhai:

Got it, thanks for the clarification! I think I'd still like to set up my 200 with your alternate method for future proofing. Could I get the instructions for that?

already sent. check your PMs.
xetrov123
join:2023-09-25
Tacoma, WA
to naf
Would you kindly send me the instructions for the OBI200? Thank you!
bbarry
join:2008-01-11
Watkins Glen, NY
to naf
Hi naf, can you Please PM me the GV setup instructions for Obi202 and OBI302.

Thanks
andre2
join:2005-08-24
Brookline, MA
to naf
Could you please PM instructions for non-ObiTALK provisioning of the OBi200? I did have it set up years ago but unfortunately had to do a full reset. (I believe the instructions back then were public but I can't find them now.) It already has 8680EX-arrynrob11. Thanks.
shodge
join:2005-05-03
Sarasota, FL
to naf
Hi Naf - Can please PM me the instructions for setting up GV on a Obi200 without relying on ObiTalk at all?

I have installed and working OBi2xx-3-2-2-8680EX-arrynrob11.fw. Will need to know how to re-provision for GV once ObiTalk exits...

BTW - thanks for you service to this community.
-Stan
jonqpublek
join:2021-04-09
Canada
to naf
Hi,

I have an interesting situation.

I have an Obihai 302 with arrynrob11.

I initially set it up to use my Google Voice account with SP1.

I now want to configure it to use FreePhoneLine with SP1 and Google Voice with SP2.

I did the configuration to set it up to use FreePhoneLine with SP1 using the instructions on this page:

»forum.fongo.com/viewtopi ··· &t=18805

When I restart my ATA I now receive an error similar to the one below:

Connecting to 162.213.111.21;Token Error

Note: 162.213.111.21 is the proxy server for FreePhoneLine (voip4.freephoneline.ca).

Based on some Google searching, the error I am getting appears to be related to an invalid Google Voice token.

What I am thinking is happening is that somehow, the system is using the original token from my Google Voice setup to try to authenticate with FreePhoneLine instead of the password for FreePhoneLine.

I ran the param_dump utility and I see entries for the Google Voice token and the FreePhoneLine password in the AuthPassword field for SP1. I see following entries:

# param_dump | grep -i AuthPassword
417777d4 00005c01: d4777741 (VoiceService.1.VoiceProfile.1.Line.1.SIP.AuthPassword) = ""
417777d4 09010001: d4777741 (VoiceService.1.VoiceProfile.1.Line.1.SIP.AuthPassword) = "client_id=XXXXX;rest of Google Voice password."
...
417777d4 09000001: d4777741 (VoiceService.1.VoiceProfile.1.Line.1.SIP.AuthPassword) = "FreePhoneLinePassword"
417777d4 09000001: d4777741 (VoiceService.1.VoiceProfile.1.Line.1.SIP.AuthPassword) = "FreePhoneLinePassword"
417777d4 09000001: d4777741 (VoiceService.1.VoiceProfile.1.Line.1.SIP.AuthPassword) = "FreePhoneLinePassword"
417777d4 00005c01: d4777741 (VoiceService.1.VoiceProfile.1.Line.1.SIP.AuthPassword) = ""
...
417777d4 09000001: d4777741 (VoiceService.1.VoiceProfile.1.Line.1.SIP.AuthPassword) = "FreePhoneLinePassword

Would anyone know why this could be happening?

I am going to factory reset the ATA (and run the clear_zt_params program) and then reconfigure SP1 for FreePhoneLine to see if it resolves the problem. But I am curious to know if there is another way to resolve this without doing the factory reset.

Thanks,

Jon
naf
join:2017-12-12
said by jonqpublek:

...
When I restart my ATA I now receive an error similar to the one below:

Connecting to 162.213.111.21;Token Error
...

Sounds like the SP's GVSIP setting is directing your new non-GV SP1 down the GV code path instead of regular SIP. It overrides the SignalingProtocol setting for no apparent reason. But the GVSIP setting can't be set in the GUI, so resetting config is an easy way to get rid of it (or just keep the GV line on SP1 and setup non-GV on SP2).

Or just set it directly by provisioning it to off with something like this:
<ParameterList>
  <Object>
    <Name>VoiceService.1.VoiceProfile.1.</Name>
    <ParameterValueStruct>
      <Name>GVSIP</Name>
      <Value>false</Value>
    </ParameterValueStruct>
  </Object>
</ParameterList>
 
thorzeen
join:2016-11-25
Marietta, GA
to naf
Hi naf, can you Please PM me the GV setup instructions for Obi212

Thanks
jonqpublek
join:2021-04-09
Canada
to naf
Hi,

Thanks Naf for the information!

I think what you are suggesting will probably work because the provisioning file used for Google Voice sets that parameter to true.

I will give it a shot and let you know if it works.

Thanks,

Jon
bjwil3
join:2023-10-20
Sterling Heights, MI
to naf
Good evening,

I followed the instructions for installing the OBi firmware on my OBi 302. Naf, may you please send me instructions for getting GV setup? Thank you.
jonqpublek
join:2021-04-09
Canada

1 recommendation

said by jonqpublek:

Hi,

Thanks Naf for the information!

I think what you are suggesting will probably work because the provisioning file used for Google Voice sets that parameter to true.

I will give it a shot and let you know if it works.

Thanks,

Jon

Some good news!

I used the XML file to set the GVSIP setting to false. As a safety precaution, I also cleared out some other settings related to Google Voice.

I used a pastebin service (dpaste.com) to store the file so I could apply the provisioning file. This way, I didn't need to set up my own web server.

After configuring my Obihai to apply the provisioning file, I was able to register with FreePhoneLine successfully.

If it is OK, I can provide the file I used (for SP1), and can create the files to use for SP2, SP3 and SP4. It would be then a good idea to put then on obifirmware.com for others to use if they need to.

Thanks once again,

Jon
bjwil3
join:2023-10-20
Sterling Heights, MI

2 edits
to naf
I'm following the instructions and cannot SSH into the OBi302. Says connection refused and this is with the arrynrob firmware installed and I followed the instructions with a "T" and no setting to enable SSH. Am I missing something here?

Or is a specific partition missing somehow or got hosed?

I attached a screenshot for reference.
pariah69
join:2003-07-26
Natick, MA
to naf
Please PM me the GV setup instructions for OBi202 with firmware mod, and any other tips you can offer.
Thanks naf, I appreciate your efforts and the community support.
SBT13
join:2015-07-19
New Jersey
to naf
I am currently on 3.2.2 (Build: 8680EX-arrynrob10) on a Obi200. If I try to upgrade to arrynrob11, nothing happens after reboot and the Obi stays on arrynrob10.

Anyone know why this is happening and how I can upgrade?
bjwil3
join:2023-10-20
Sterling Heights, MI
to naf
Made some progress. SIP1 is configured for Google Voice and it works. SIP2 is configured, but it says connecting still. I'm getting very close here. Also, thank you, naf, for letting me know I can do the GV token configuration. You're awesome, man.
dariflo
join:2023-10-25
Hi Naf, I have an OBI 202 firmware 3.2.2 build: 5921EX, can you please PM me the GV setup instructions for Obi212 without relying on ObiTalk

Thanks
tec8
join:2023-10-30
to naf
Please PM me the GV setup instructions for OBi300 with firmware mod, and any other tips,
fyi i have seen an old pdf on step by step instructions on other setup with Freephoneline (»forum.fongo.com/viewtopi ··· &t=16196) is there something similar for GV setup with obitalk?
Thanks naf, I appreciate your efforts and the community support.
jonqpublek
join:2021-04-09
Canada
said by tec8:

Please PM me the GV setup instructions for OBi300 with firmware mod, and any other tips,
fyi i have seen an old pdf on step by step instructions on other setup with Freephoneline (»forum.fongo.com/viewtopi ··· &t=16196) is there something similar for GV setup with obitalk?
Thanks naf, I appreciate your efforts and the community support.

To configure an Obi300 for FreePhoneline, you would use this guide:

»forum.fongo.com/viewtopi ··· &t=18805

It works with the modified firmware available at obifirmware.com.

As for setting up Google Voice, you will have to do it without Obitalk as the Obi300/302 do not officially support Google Voice. You will need to use the modified firmware and ask naf for the instructions.
Scoutfan
join:2023-10-31
New Tazewell, TN
to naf
Please PM me the GV setup instructions for OBi200 with firmware mod. Thanks a bunch, cant wait to get this old thing up and running again.
azrobert
join:2015-02-07
Fountain Hills, AZ
to naf
Please send me the GV setup instructions for an OBi200-8680EX and OBi1032-5312EX.

Thanks
lmrtrsp25
join:2018-07-04
FFFFFD
to naf
Can you please send me the information for the Obi 202/212's

Thank you very much.
pbj
join:2023-11-02
to naf
I have the Obihai200. How can I flash to the new custom firmware? I am not a programmer but a bit savvy.
Stewart
join:2005-07-13
There are instructions at »www.obifirmware.com/ , Download section.

If you don't understand something and don't want to risk bricking your device, please ask specific questions.

If you attempted to upgrade but failed, post details.
Anon935b5
@172.59.184.x
Where can I find the current firmware of my Obihai 200?
Stewart
join:2005-07-13
The System Status page should show Software Version under Product Information.
azrobert
join:2015-02-07
Fountain Hills, AZ

1 edit
to naf
I’m getting “Firmware package checksum error” when trying to flash “OBiPhone-5-1-11-4858EX-noshell-signed.fw” on my OBi1032-5312EX.

Any ideas why?

Checked MD5 on Windows 11:
PS C:\Users\Robert> Get-FileHash .\Downloads\OBiPhone-5-1-11-4858EX-noshell-signed.fw -Algorithm MD5

Algorithm Hash Path
--------- ---- ----
MD5 123BD1842A64AB967644E34E6A7D144C C:\Users\Robert\Downloads\OBi...

From obifirmware:
md5sum OBiPhone-5-1-11-4858EX-noshell-signed.fw = 123bd1842a64ab967644e34e6a7d144c

VoiperDude
join:2010-04-01
Pennsylvania
to naf
Please PM me the GV setup instructions for OBi200 with firmware mod.
naf
join:2017-12-12
to azrobert
said by azrobert:

I’m getting “Firmware package checksum error” when trying to flash “OBiPhone-5-1-11-4858EX-noshell-signed.fw” on my OBi1032-5312EX.

Any ideas why?

obi reports that error when the firmware isn't signed by obi. by 5312 they must have fixed the signature verification vulnerability used by noshell-signed, so just flash back to stock 4983 first, then proceed to 4858EX-noshell-signed
azrobert
join:2015-02-07
Fountain Hills, AZ
That did it. Thanks again.
azrobert
to naf
I have my OBi1032 configured for 2 GV accounts and it was an easy config. I also have an OBi200 flashed with your firmware and configured with the same GV accounts via OBiTalk.

Can I use the same Refresh Tokens as the OBi1032 to configure the OBi200 or do I need to request new Tokens? I’m guessing yes, but I thought asking before I screw something up.

Thank you
naf
join:2017-12-12
to azrobert

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

said by azrobert:

Can I use the same Refresh Tokens as the OBi1032 to configure the OBi200 or do I need to request new Tokens? I’m guessing yes, but I thought asking before I screw something up.

I haven't had an issue using the same refresh_token across multiple devices myself
whitefish
join:2023-11-03
Rose Hill, VA
to naf
Hi Naf- Can you please send me the Google Voice setup for Obi 200. Thanks
ericw12
join:2023-11-03
Cary, NC
to naf
Hi Naf,

Could you please send me the Google Voice setup for Obi 202? Thanks a lot!
whitbacon
join:2023-11-09
Santa Fe, NM
to naf
Could I get the instructions for provisioning google voice. Have flashed firmware, but cannot ssh in. using mac and ssh root@ip

thanks
crab987
join:2001-02-02
Calgary, AB
to naf
Can I have instructions to configure GV locally? I flashed OBi2xx-3-2-2-8680EX-arrynrob11.fw. Thank you.
azrobert
join:2015-02-07
Fountain Hills, AZ
to naf
I read your firmware disclaimer. If OBiTalk.com disappears and Google makes a change that requires a new refresh token then most likely we are SOL. Do I understand correctly?
naf
join:2017-12-12

1 recommendation

said by azrobert:

I read your firmware disclaimer. If OBiTalk.com disappears and Google makes a change that requires a new refresh token then most likely we are SOL. Do I understand correctly?

the implementation details of the shutdown/change have a dramatic effect on the outcome, anywhere from 'business as usual' to 'SOL'.

i have no info to indicate either outcome is more likely.
tsornin
join:2023-11-12
Wayne, NJ
to naf

Hi Naf, Can you please PM me the instructions for setting up GV on a Obi202 without relying on ObiTalk? Thank you!
EW4
join:2023-11-14
Kimberling City, MO
to naf
Could I please get a copy of the setup instructions for the Obi300? I have the firmware updated.
EW4
Thank you for the instructions.

Next problem: SSH appears to be disabled. A port scan shows port 22 is closed.
EW4
rosboy
join:2023-11-15
Brooklyn, NY
to naf
Hi naf See Profile,
I have the Obi302 with the following firmware installed, OBi2xx-3-2-2-8680EX-arrynrob11.fw.
Can you send me details how to get Google Voice working on it?
Also, it seems like ssh is blocked. Firmware says it is enabled.
Thank you so much!
naf
join:2017-12-12

2 recommendations

seeing a few reports of ssh not starting on arrynrob11. maybe more than i should brush off as user error?

if anyone with that problem has some time to try to diagnose, start by verifying what SoftwareVersion shows on the webgui page, then maybe ill send a test build with telnet or something to try
rosboy
join:2023-11-15
Brooklyn, NY

1 edit
I have the oBi302, it is refusing the ssh. below is the software info.

HardwareVersion 1.5 help
SoftwareVersion 3.2.2 (Build: 8680EX-arrynrob11) help
SystemTime 23:50:12 11/15/2023, Wednesday help
UpTime 1 Days 2:46:07 (0) help
CertificatesStatus Installed help
CustomizationStatus Generic help
PhoneBookEntries 0 Unique Name/Number Pairs help
OBiExtras Locked

Nmap port scan is showing the following:
PORT STATE SERVICE VERSION
23/tcp filtered telnet
53/tcp open tcpwrapped
80/tcp open http Obihai OBi302 VoIP adapter http config
EW4
join:2023-11-14
Kimberling City, MO
to naf
HardwareVersion 1.5 help
SoftwareVersion 3.2.2 (Build: 8680EX-arrynrob11) help
SystemTime 08:04:49 11/16/2023, Thursday help
UpTime 0 Days 16:55:02 (0) help
CertificatesStatus Installed help
CustomizationStatus Generic help
PhoneBookEntries 0 Unique Name/Number Pairs help
OBiExtras Locked help
naf
join:2017-12-12

2 recommendations

EW4 See Profile, i sent you a link to a telnet-enabled version of arrynrob11.

try flashing to that, verify version shows as 8680EX-arrynrob11t, and see if telnet works. login is root/obi.

if that works, check a few things to see whats up with ssh. something like this for starters:
# ps | grep [d]ropbear
# netstat -anp | grep 22
# iptables -L
# ls -lR /scratch/
 

rosboy See Profile testing on EW4's simpler obi300 first before your obi302, so hang tight
EW4
join:2023-11-14
Kimberling City, MO
to naf
naf
join:2017-12-12

2 edits

1 recommendation

ok well that blows all my initial guesses away.

EDIT: oops, my fault. let me spin a second test version real quick that actually works...
drack
join:2023-11-19
Gunnison, CO
to naf
I've got an Obi302 that was successfully flashed (3.2.2 (Build: 8680EX-arrynrob11)) following the obifirmware instructions. So Naf can you PM me as well with how to get this device associated with my GV number?

Also, I have an OBI202 as well and would love it if you could send me those instructions so I can try to keep that device going longer.

Thanks for your wisdom and have a great day.
EW4
join:2023-11-14
Kimberling City, MO
to naf
# ps | grep [d]ropbear

# netstat -anp | grep 22
udp 0 0 0.0.0.0:65322 0.0.0.0:* 702/obiapp
unix 2 [ ACC ] STREAM LISTENING 1223 702/obiapp /var/tmp/obiipc_socket

# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

# ls -lR /scratch/
/scratch/:
-rw-r--r-- 1 root root 0 Mar 23 2021 resolv.conf
EW4
to naf
all processes:

# ps
PID USER VSZ STAT COMMAND
1 root 2016 S init
2 root 0 SW [kthreadd]
3 root 0 SW [ksoftirqd/0]
4 root 0 SW [events/0]
5 root 0 SW [khelper]
9 root 0 SW [async/mgr]
182 root 0 SW [kblockd/0]
191 root 0 SW [khubd]
194 root 0 SW [ffxav_rx_refill]
196 root 0 SW [ffxav_test/0]
199 root 0 SW [bluetooth]
217 root 0 SW [pdflush]
218 root 0 SW [pdflush]
219 root 0 SW [kswapd0]
220 root 0 SW [aio/0]
221 root 0 SW [nfsiod]
223 root 0 SW [crypto/0]
355 root 0 SW [mtdblockd]
365 root 0 SW [ffxav-spi.0]
409 root 0 SW [usbhid_resumer]
426 root 0 SW [krfcommd]
427 root 0 SW [rpciod/0]
452 root 1664 S udevd --daemon
457 root 2016 S syslogd
652 root 2020 S /bin/busybox telnetd
664 messageb 2236 S /usr/bin/dbus-daemon --system
668 root 2756 S /usr/sbin/bluetoothd -d
669 root 2020 S /bin/sh ./obi
690 root 0 SW [ledd]
697 root 1956 S ./obid
702 root 27428 S ./obiapp
711 root 0 SW [mp_spi_wq]
823 root 2016 S /sbin/udhcpc -i eth1 -r x.x.x.x -H OBi300 -p /var/run/eth1udhcpc.pid -b -s /obi/udhcpc.script -S -V udhcpc
849 root 2020 S -/bin/sh
6197 root 2020 S -sh
6621 root 2092 R ps
naf
join:2017-12-12

2 edits
to EW4
said by EW4:
# ls -lR /scratch/
/scratch/:
-rw-r--r--    1 root     root             0 Mar 23  2021 resolv.conf
 
ah, busted scratch. we've seen this before, but confirm via:

# cat /proc/mtd
# mount
# mount -t jffs2 /dev/mtdblock4 /scratch -o rw,sync
# hd /dev/mtdblock4 | head 
 
EW4
join:2023-11-14
Kimberling City, MO
to naf
# cat /proc/mtd
dev: size erasesize name
mtd0: 00800000 00001000 "mtd-ram fs ro"
mtd1: 00800000 00001000 "mtd-ram"
mtd2: 00050000 00010000 "u-boot"
mtd3: 00280000 00010000 "kernel"
mtd4: 000c0000 00010000 "scratch"
mtd5: 006c0000 00010000 "rootfs"
mtd6: 01000000 00010000 "flash0"
mtd7: 00240000 00010000 "obi app"
mtd8: 00100000 00010000 "bluetooth"

# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro,relatime)
proc on /proc type proc (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
none on /var type ramfs (rw,relatime)
/dev/mtdblock7 on /obi type squashfs (ro,relatime)
none on /sys type sysfs (rw,relatime)
udev on /dev type tmpfs (rw,relatime,mode=0755)
none on /dev/shm type tmpfs (rw,relatime,size=512K)
none on /dev/pts type devpts (rw,relatime,mode=600)
/dev/mtdblock8 on /bluetooth type squashfs (ro,relatime)

# mount -t jffs2 /dev/mtdblock4 /scratch -o rw,sync
mount: mounting /dev/mtdblock4 on /scratch failed: Input/output error

# hd /dev/mtdblock4 | head
00000000 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
00090200 85 19 02 c0 44 00 00 00 1d fb f7 98 03 00 00 00 |....D...........|
00090210 05 00 00 00 a4 81 00 00 00 00 00 00 00 00 00 00 |................|
00090220 13 00 00 00 3b 00 00 00 3b 00 00 00 00 00 00 00 |....;...;.......|
00090230 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00090240 30 7f b2 3e 85 19 02 e0 64 00 00 00 23 54 c5 38 |0..>....d...#T.8|
00090250 03 00 00 00 06 00 00 00 a4 81 00 00 00 00 00 00 |................|
00090260 40 00 00 00 3b 00 00 00 3b 00 00 00 3b 00 00 00 |@...;...;...;...|
00090270 00 00 00 00 20 00 00 00 40 00 00 00 06 00 00 00 |.... ...@.......|
naf
join:2017-12-12
said by EW4:
# mount -t jffs2 /dev/mtdblock4 /scratch -o rw,sync
mount: mounting /dev/mtdblock4 on /scratch failed: Input/output error
 
ya, scratch is hosed, therefore no ssh.

fix is going to be this again: »Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods
EW4
join:2023-11-14
Kimberling City, MO
to naf
# /var/tmp/flash_erase -j /dev/mtd4 0 0
Erasing 768 Kibyte @ 0 -- 100 % complete flash_erase: 0 : Cleanmarker Updated.
flash_erase: 10000 : Cleanmarker Updated.
flash_erase: 20000 : Cleanmarker Updated.
flash_erase: 30000 : Cleanmarker Updated.
flash_erase: 40000 : Cleanmarker Updated.
flash_erase: 50000 : Cleanmarker Updated.
flash_erase: 60000 : Cleanmarker Updated.
flash_erase: 70000 : Cleanmarker Updated.
flash_erase: 80000 : Cleanmarker Updated.
flash_erase: 90000 : Cleanmarker Updated.
flash_erase: a0000 : Cleanmarker Updated.
flash_erase: b0000 : Cleanmarker Updated.

# mount -t jffs2/dev/mtdblock4 /scratch -o rw,sync
mount: can't read /etc/fstab: No such file or directory
naf
join:2017-12-12
said by EW4:

# /var/tmp/flash_erase -j /dev/mtd4 0 0
Erasing 768 Kibyte @ 0 -- 100 % complete flash_erase: 0 : Cleanmarker Updated.
flash_erase: 10000 : Cleanmarker Updated.
flash_erase: 20000 : Cleanmarker Updated.
flash_erase: 30000 : Cleanmarker Updated.
flash_erase: 40000 : Cleanmarker Updated.
flash_erase: 50000 : Cleanmarker Updated.
flash_erase: 60000 : Cleanmarker Updated.
flash_erase: 70000 : Cleanmarker Updated.
flash_erase: 80000 : Cleanmarker Updated.
flash_erase: 90000 : Cleanmarker Updated.
flash_erase: a0000 : Cleanmarker Updated.
flash_erase: b0000 : Cleanmarker Updated.

# mount -t jffs2/dev/mtdblock4 /scratch -o rw,sync
mount: can't read /etc/fstab: No such file or directory

missing a space between jffs2 and /dev/mtdblock4 in that second command
EW4
join:2023-11-14
Kimberling City, MO
to naf
Oops, that worked. SSH is now available.
naf
join:2017-12-12

1 edit
to rosboy
said by rosboy:

I have the oBi302, it is refusing the ssh. below is the software info.

rosboy See Profile ok you're up. ill send you a link to the telnet version if you wanna see if you have the same weird corrupted flash in the scratch jffs2 partition...

can confirm by accessing box via telnet, and verifying that scratch isn't mounting:
# mount | grep scratch
 

if nothing is there, fix like so: »Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods
rosboy
join:2023-11-15
Brooklyn, NY
Thank you naf, I am ready to test for you. Thanks for sending the instructions. Google Voice works perfectly on the Obi302.
rosboy
to naf

Hi Naf, can you please send a corrected file. Telnet seems to be blocked on this as well.

Thank you
naf
join:2017-12-12

1 recommendation

to rosboy

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

said by rosboy:

Hi Naf, can you please send a corrected file. Telnet seems to be blocked on this as well.

crap, i sent the wrong link. please try again with latest link (arrynrob11t2)
rosboy
join:2023-11-15
Brooklyn, NY
Still not working.
SoftwareVersion 3.2.2 (Build: 8680EX-arrynrob11t2)

PORT STATE SERVICE VERSION
23/tcp filtered telnet
53/tcp open tcpwrapped
80/tcp open http Obihai OBi302 VoIP adapter http config
naf
join:2017-12-12
said by rosboy:

Still not working.
SoftwareVersion 3.2.2 (Build: 8680EX-arrynrob11t2)

PORT STATE SERVICE VERSION
23/tcp filtered telnet
53/tcp open tcpwrapped
80/tcp open http Obihai OBi302 VoIP adapter http config

make sure you are connecting from a LAN port
rosboy
join:2023-11-15
Brooklyn, NY
Hi Naf, I connected via lan and was able to telnet in. mount | grep scratch was blank. I tried the flash_erase instructions and it seems to be fine,

# mount |grep scratch
/dev/mtdblock4 on /scratch type jffs2 (rw,sync,relatime)

but ssh is still not working.
naf
join:2017-12-12

1 edit

2 recommendations

said by rosboy:

Hi Naf, I connected via lan and was able to telnet in. mount | grep scratch was blank. I tried the flash_erase instructions and it seems to be fine,

# mount |grep scratch
/dev/mtdblock4 on /scratch type jffs2 (rw,sync,relatime)

but ssh is still not working.

now that scratch is a working partition, a restart should bring up ssh (might also be firewalled to only allow connection from LAN side).

if not, use telnet to run through the diagnostic commands here: »Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

EDIT: i should have said a 'real' restart (power off/on or use the shell reboot command), not the fake 'reboot' button on the webgui which just restarts the obi sw
rosboy
join:2023-11-15
Brooklyn, NY

1 recommendation

said by naf:

EDIT: i should have said a 'real' restart (power off/on or use the shell reboot command), not the fake 'reboot' button on the webgui which just restarts the obi sw

Thanks. I was missing this part. I just restarted via webgui. ssh is working fine now. the issue was the missing scratch and was fixed with the flash_erase. (Not sure what i will need ssh for. but tested anyways)
Thank you
andre2
join:2005-08-24
Brookline, MA
to naf
On Oct. 3, you PM'd me instructions which allowed me to provision my OBi200 for GV without OBiTalk (thanks!). Recently I bought an OBi1022 and attempted to use the same instructions on it, but so far the GV Status is always "Resolving DNS", never "Connected". However, I can provision it using OBiTalk. Is it expected that the same instructions won't work for more than one device? (I don't intend to use both devices at the same time, just have both configured so I have a backup.)

I found that back in 2018 I had originally provisioned my OBi200 without OBiTalk using the instructions at www.obifirmware.com/OAuth2 , which are no longer available (but snapshots are available at the Wayback Machine, the last snapshots say the instructions no longer work). It looks like if I could just generate a new client_id and client_secret for the 1022, I could substitute those into your instructions. Does Google still let you do that? I struggled with it a while but am not familiar with their new website.
naf
join:2017-12-12
said by andre2:

On Oct. 3, you PM'd me instructions which allowed me to provision my OBi200 for GV without OBiTalk (thanks!). Recently I bought an OBi1022 and attempted to use the same instructions on it, but so far the GV Status is always "Resolving DNS", never "Connected". However, I can provision it using OBiTalk. Is it expected that the same instructions won't work for more than one device? (I don't intend to use both devices at the same time, just have both configured so I have a backup.)

same instructions should apply to the OBi1022 as long as you have 5312EX-olisom5 fw installed. (and you can use both devices at one time, if you want)
said by andre2:

I found that back in 2018 I had originally provisioned my OBi200 without OBiTalk using the instructions at www.obifirmware.com/OAuth2 , which are no longer available (but snapshots are available at the Wayback Machine, the last snapshots say the instructions no longer work). It looks like if I could just generate a new client_id and client_secret for the 1022, I could substitute those into your instructions. Does Google still let you do that? I struggled with it a while but am not familiar with their new website.

while it is correct that oauth in general is designed to work with 3rd party client_id's as you describe, the obi GV endpoint stopped accepting credentials generated by non-obi client_id's many years ago.
andre2
join:2005-08-24
Brookline, MA
said by naf:
said by andre2:

On Oct. 3, you PM'd me instructions which allowed me to provision my OBi200 for GV without OBiTalk (thanks!). Recently I bought an OBi1022 and attempted to use the same instructions on it, but so far the GV Status is always "Resolving DNS", never "Connected". However, I can provision it using OBiTalk. Is it expected that the same instructions won't work for more than one device? (I don't intend to use both devices at the same time, just have both configured so I have a backup.)

same instructions should apply to the OBi1022 as long as you have 5312EX-olisom5 fw installed. (and you can use both devices at one time, if you want)
Thanks, I was easily able to upgrade the firmware to 5312EX.1311-olisom5 directly since the 1022 I bought came with old 4176 firmware. Will keep trying. I had some trouble getting it provisioned with OBiTalk as well but with a different error, which eventually went away.

P.S. Forgot to mention, I'm attempting to register both devices using the same Google account as well (which is the only Google account I have with a Google Voice number).
naf
join:2017-12-12
said by andre2:

P.S. Forgot to mention, I'm attempting to register both devices using the same Google account as well (which is the only Google account I have with a Google Voice number).

Thats fine too, and different devices can even share the same refresh_token if youd like
andre2
join:2005-08-24
Brookline, MA
Just tried again and it worked this time! When I tried before I had the OBi200 online shortly before switching to the 1022 and that might have confused Google's server, this time the 1022 had been online exclusively for a day or so. Thanks again for your work.
andre2
If I'm not mistaken, having Voice Services/OBiTALK Service enabled is necessary to make OBi-to-OBi calls. I was unable to access the OBi echo test **9 222 222 222 until I enabled this. All of the Auto Provisioning is still disabled. Is there any risk to enabling just OBiTALK Service?
naf
join:2017-12-12
said by andre2:

If I'm not mistaken, having Voice Services/OBiTALK Service enabled is necessary to make OBi-to-OBi calls. I was unable to access the OBi echo test **9 222 222 222 until I enabled this. All of the Auto Provisioning is still disabled. Is there any risk to enabling just OBiTALK Service?

leaving it enabled to make obitalk calls is probably low risk, but its not unprecedented that they use the obitalk connection to push firmware updates (which happen to also add DRM to prevent firmware changes)
andre2
join:2005-08-24
Brookline, MA
said by naf:
said by andre2:

If I'm not mistaken, having Voice Services/OBiTALK Service enabled is necessary to make OBi-to-OBi calls. I was unable to access the OBi echo test **9 222 222 222 until I enabled this. All of the Auto Provisioning is still disabled. Is there any risk to enabling just OBiTALK Service?

leaving it enabled to make obitalk calls is probably low risk, but its not unprecedented that they use the obitalk connection to push firmware updates (which happen to also add DRM to prevent firmware changes)
Just to be clear, that's possible even if all the Auto Provisioning (including Auto Firmware Update) is currently disabled? And if the device was not provisioned for any services including GV through OBiTALK and is not in the OBiTALK Dashboard? That sucks. If that's the case I'll disable it again, I don't expect to need to make OBi-to-OBi calls anytime soon.
ransur0t
join:2023-11-30
Vancouver, WA
to naf
Hi,

I've just completed the firmware upgrades on my Obi200 to custom fw. I've also disabled the relevant Auto Provisioning, Auto Updates, and ObiTalk services.

I've still got a working GV SIP config so I'll keep that in place until it breaks then configure it with Oath2 method. @naf please PM me the config instructions, thanks.

I suppose it is now safe to remove the device from the obitalk portal ... correct?
spock1104
join:2005-08-06
to naf
Hi Naf, can you please PM me the Google Voice instructions for Obi 200? Thanks for keeping these devices relevant!
naf
join:2017-12-12

1 recommendation

Reminder that the portal-less GV instructions are of no use to anyone whose only symptom is premature Dec 18 EOL anxiety, see here for details: »Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

jsolo1
Premium Member
join:2001-07-01
PRIL
Two weeks to go!!! More than likely everything will continue working just fine after 12/18, at least for some period of time. Then the sh!t will really hit the fan .
Expand your moderator at work
whoanow
join:2023-12-05
to naf

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

Hello, could you please PM me the GV setup instructions for OBi202 with your firmware mod?
Are there any other tips aside from the last FAQ provided on the EOL subject?
Thank you naf, I appreciate your efforts and the community support.
ericw12
join:2023-11-03
Cary, NC
Hi Naf,

Could you please send me the Google Voice setup for Obi 202? Thanks a lot! Last message expired somehow....
jonqpublek
join:2021-04-09
Canada

2 recommendations

said by jonqpublek:
said by jonqpublek:

Hi,

Thanks Naf for the information!

I think what you are suggesting will probably work because the provisioning file used for Google Voice sets that parameter to true.

I will give it a shot and let you know if it works.

Thanks,

Jon

Some good news!

I used the XML file to set the GVSIP setting to false. As a safety precaution, I also cleared out some other settings related to Google Voice.

I used a pastebin service (dpaste.com) to store the file so I could apply the provisioning file. This way, I didn't need to set up my own web server.

After configuring my Obihai to apply the provisioning file, I was able to register with FreePhoneLine successfully.

If it is OK, I can provide the file I used (for SP1), and can create the files to use for SP2, SP3 and SP4. It would be then a good idea to put then on obifirmware.com for others to use if they need to.

Thanks once again,

Jon
I am finally getting around to post the provisioning files you can use to disable Google Voice for a given service provider (SPx) slot.

Hopefully, this will help someone else out if they are in the same situation as I was.

Mods: If you think these files shouldn't be here, feel free to delete this post.

If the provisioning files are uploaded to obifirmware.com, you won't have to use a pastebin service like I did in order to apply them, as they could be accessed directly from that site.

Thanks,

Jon
PDX_Mark
join:2020-08-21
Portland, OR
·VBUZZER
·les.net

1 edit

1 recommendation

to naf
I have the OBi2xx-3-2-2-8680EX-arrynrob11.fw now installed on my Obi202 , and I guess it kept all the GV/Obitalk settings so it is working presently on GV, but I figure it probably needs to get reset and have the two GV accounts manually entered.

The problem is that I do not have all the info for programming it. I tried this in the past and was never able to get it to work, so I am hoping this time around it does.

How do I program the OBi2xx-3-2-2-8680EX-arrynrob11.fw for GV once I reset it? This is an Obi 202.
LorettaCt
join:2001-04-14
Centereach, NY
to naf
Hi Naf, Can you please PM me the instructions for setting up GV on a Obi202 without relying on ObiTalk? Thank you!

Fyremaker
join:2023-12-13
to naf
Hi Naf - Can please PM me the instructions for setting up GV on a Obi200, Obi202 and Obi2182+ without relying on ObiTalk at all?

The firmware instructions from the third party site were perfect.

Thanks.
Red.L
PDX_Mark
join:2020-08-21
Portland, OR
to naf
Hi Naf, Can you please PM me the instructions for setting up GV on a Obi202 without relying on ObiTalk? Thank you!
ymc
join:2018-01-31
Lakewood, NJ
to naf
hi it seems that it became reality. i tried to add google voice to a 202 already connected to obitalk and it wont work. i get Connect Failed: 403 Forbidden. can you please send me the instructions to to do it manually using the modded firmware. thanks
Sasa
join:2001-09-22
Universe
to naf
Good Morning Naf

First I want to thank you for providing us with this valuable information. Can you please send me the Google Voice setup for Obi 202 using modded firmware & without ObiTalk (which no longer works with Obi2xx). Thank you very much !

jsolo1
Premium Member
join:2001-07-01
PRIL
to ymc
said by ymc:

hi it seems that it became reality. i tried to add google voice to a 202 already connected to obitalk and it wont work. i get Connect Failed: 403 Forbidden. can you please send me the instructions to to do it manually using the modded firmware. thanks

Interesting. I just tested and got through the entire setup up to the point where google is asking if I give obi permission to access the google account.

Not that I'd ever use the obi portal (and haven't in years).
hazyipa
join:2023-12-23
Waban, MA
to naf
hello, I have a 200 and 202 in need of instructions to setup googlevoice, I have downloaded the firmwares from obifirmware.com

thanks!
Smash74
join:2023-12-23
Hazleton, PA
to naf

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

Hello, I have an OBI200 and am in need of the instructions to setup googlevoice without using on ObiTalk portal, I am going to use the arrynrob firmware. Can you please send them to me?

Thank you.
hazyipa
join:2023-12-23
Waban, MA
to naf
Hey all, stuck on getting refresh token:

SSH into obi202, enter the wget command, but no response then in my putty window (I tried wget in cygwin too)...am I expecting a reply in text showing a response or a download location for the token?
naf
join:2017-12-12

1 recommendation

said by hazyipa:

Hey all, stuck on getting refresh token:

SSH into obi202, enter the wget command, but no response then in my putty window (I tried wget in cygwin too)...am I expecting a reply in text showing a response or a download location for the token?

remove with "--quiet" option, retry with a new authorization token because they expire quickly.

(or... just use the portal, its still up at last check)
hazyipa
join:2023-12-23
Waban, MA

1 edit
Thanks....what portal?

EDIT: did get it working after removing the --quiet but would like to know what portal exists, thanks!
taoman
Premium Member
join:2013-09-13
Seattle, WA
to naf
said by naf:

(or... just use the portal, its still up at last check)

Portal is still up, but adding or provisioning a 2xx series OBi device has been disabled on the OBiTALK portal dashboard.

jsolo1
Premium Member
join:2001-07-01
PRIL

1 edit
@taoman Is it crapping out in a particular place? I went through the entire process and it appears to be successful for a obi200.

Obitalk indicates "configuring" under status for that sp slot.
msjoules
join:2017-01-10
Arlington, VA
to naf
Hi Naf - Would you please send me information for installing the correct firmware for GV? Many thanks!
taoman
Premium Member
join:2013-09-13
Seattle, WA

1 edit

1 recommendation

to jsolo1
said by jsolo1:

@taoman Is it crapping out in a particular place? I went through the entire process and it appears to be successful for a obi200.

Wow. You're right. I was just able to add an OBi200 and configure it for GV.

I had one 202 left on the OBiTALK dashboard. Last Monday the red E for OBi Expert was gone. Nor could you click on the blue gear icon for device setup and access settings there. A friend posted a screenshot of his dashboard and his 2xx device no longer could be configured thru OBiTalk but his OBi IP phone could.

PS. And I notice after I added the 200 to the dashboard and configured it successfully for GV I have no way to edit anything thru OBiTALK on the device. It can only be configured manually thru device IP. So it appears right now you can still add a 2xx device to OBiTALK and configure it for GV but you can't edit anything except locally. Thanks for checking!!
So the most you could do is add a 2xx device and configure GV on SP1. You couldn't add another GV trunk to that device as far as I can tell.
Webslinger
Premium Member
join:2004-05-01

1 edit

1 recommendation

said by taoman:

Last Monday the red E for OBi Expert was gone.

I'm in a bit of a brandy eggnog stupor and wondering whether I should bother sleeping when my eyelids are going to be forcibly pried open in a few hours anyway...

The "E" is gone, but URLs haven't changed and still exist. I'm not going to enable Obitalk Provisioning to see whether changes made are still pushed to the OBi2xx series ATAs, but the related web pages still exist.

I might try to delete this post later when I'm more lucid. Whenever I see things I'm uncertain I'm supposed to and discuss them publicly, suddenly I'm blocked from seeing them again. Strange how that works.

By the way, I'm reading that the Poly 4xx series ATAs support G.722, which I find amusing, given a response I received in 2014 with respect to adding the G.722 codec to the OBi2xx ATA series.

More significantly, at least, to me, the Poly 402 ATA, which appears to be the replacement (but doesn't support consumer Google Voice, obviously) for the OBi202 ATA, is supposed to work with Obitalk:

"The device [edit: Poly 4xx ATAs] supports using the Poly Device Management Service for Service Providers (PDMS-SP) web portal. PDMS-SP is the customer portal for device management allowing administrators to remotely inventory, monitor, and troubleshoot Poly devices.

Important:
PDMS-SP and OBiTALK are both terms used in the system web interface and the documentation to refer to the same functionality."

»docs.poly.com/bundle/pol ··· res.html

Okay, so I visit »pdmssp.obitalk.com/obinet/. I'm redirected to »www.obitalk.com/obinet/pg/obhdev.

Or visit »docs.poly.com/bundle/pdm ··· al.html:
"Sign in to the portal using your PDMS-SP account credentials.

1. Go to »www1.obitalk.com."

PDMS-SP is Obitalk.

If Obitalk is going to remain operational anyway, what's the problem with allowing existing users to make configuration changes to their 2xx ATA series? The web pages still exist, even if the "E" doesn't.

If the impetus to block OBi2xx ATA users from using Obitalk stems from the hope they will buy Poly 4xx series ATAs for that privilege, then good luck.
OzarkEdge
join:2014-02-23
USA
·voip.ms

2 edits
>>High-quality voice encoding using G.711, G.722, G.726, G.729, iLBC, and Opus algorithmsHigh-quality voice encoding using G.711, G.722, G.726, G.729, iLBC, and Opus algorithms

>>Recursive digit maps and associated call routing for outbound and inbound calls

Cool... the Komodo Sipura Cisco Obihai Polycom Poly HP OBix02 lives!

OE
halva
join:2023-12-25
New Britain, CT

1 recommendation

to naf
Hi, naf. Could you please PM me the GV setup instructions for OBi302 with your firmware mod? Thanks a lot!

shimonmor
Premium Member
join:2000-12-30
Sedro Woolley, WA
to naf
Found this thread through the OBiTalk forum as my GV stopped working on my OBi200. I went to »www.obifirmware.com/#intro and downloaded the FW but haven't applied them yet as I was looking for instructions on how the FW works. Then I see people requesting instrucitons from naf See Profile...so, may I please get a copy of the instructions? Thank you.
detune
join:2023-12-27
Mount Laurel, NJ
to naf
Hi Naf, would you please send me information for setting up Google Voice without the portal for OBi 200 and 202? Thank you much!
erdos
join:2014-01-30
to naf
hi, My obi202 finally died. can you please send the instruction on how to reflash the mod firmware to revive it?

many thanks!
bge38912
join:2023-12-31
to naf
Hi Naf. Please send me the instructions for setting up Google Voice on the Obi2182 and Obi202 without using the Obitalk portal. Thanks!
boostberry3g
join:2024-01-02
Saint Charles, MO
Hi Naf. Would you be so kind as to send me the instructions for setting up Google Voice on the Obi202 without using the Obitalk portal. I have already flashed the firmware to arrynrob11.fw. Thanks in advance
Adanode
join:2024-01-07
Springfield, OR
to naf
I am also requesting a PM with the GV instructions. Firmware is already updated to 8680EX-arrynrob11 on the OBi200.
Thank you.
caipirinha
join:2024-01-12
San Diego, CA
to naf
Good morning all. I’m hoping that naf or someone can dm me the instructions for getting GV setup on my obi200.

Thanks for all the work keeping free GV alive and well!!!
desertmorty
join:2024-01-15
Costa Mesa, CA
to naf
I got the 3.2.2 (Build: 8680EX-arrynrob11) and now looking for a little help on configuring GV manually. Any help would be greatly appreciated.

Thanks for all your awesome support and help!
sonrah
join:2024-01-16
Katy, TX
to naf
Hey hey!

I'm pretty much in the same boat as everyone else. I have a OBi200 and just flashed arrynrob on it, and would appreciate any help configuring google voice on it.

Thanks!
Anonf0cee
@64.92.23.x
to naf
Hey hey!

Same place as everyone else. I've got a OBi200 and just flashed arrynrob and would appreciate any help configuring google voice manually.

Thank you so much!
Mark963
join:2024-01-18
Cedar Rapids, IA
to naf
Hello! Could you please send me the GV setup instructions for OBi200? Thank you so much!!
Mark963
Are the GV manual setup instructions no longer available? Does anyone have a guide to setting up an OBi200 with arrynrob firmware? I'm desperate.
naf
join:2017-12-12
said by Mark963:

Are the GV manual setup instructions no longer available? Does anyone have a guide to setting up an OBi200 with arrynrob firmware? I'm desperate.

desperate enough to just use the portal?
Mark963
join:2024-01-18
Cedar Rapids, IA
I'm so sorry! I thought I understood that OBiTalk no longer supported or worked with the OBi200 with GV. "End of Service date is December 18, 2023." It seems like it still works.
taoman
Premium Member
join:2013-09-13
Seattle, WA
to naf
said by naf:

desperate enough to just use the portal?

Just tried adding an OBi200 to the portal. No longer works. Seems that loophole has been closed. Got the following message:
said by OBi portal :

Unable to add phone of OBi200 type. Phone must be an OBi phone that supports consumer portal

porch33
join:2024-01-22
to naf
Hi Naf! Can you send me the google voice instructions for an OBI300 flashed with arrynrob. Thanks!
Anon0c1d3
@24.186.220.x
to naf
Can you send the instructions on how to set up obi300 with google voice.
likealom3@gmail.com
rml1111
join:2024-01-26
Philadelphia, PA
to naf
Naf - after a little finagling, I was able to successfully flash arrynrob on my 200. Can you please PM me the instructions to set up GV? Thank you very much!
Anonbe987
@174.52.90.x
to naf
I have an Obi202 and would like to get the instructions for using arrynrob as well. Thank you.
ajpaterson6
join:2008-07-30
Toronto, ON
to naf

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

So my configured OBI200 with GV has given up the ghost on its phone port - no dial tone, no data reported in the web gui phone port status even though it shows its still connected to GV. No biggie I think. It's worked for over 5 years and I have a spare OBI200 anyway, only to find out about the eol. Obitalk will go through the process, but will not add my spare OBI200 to my obitalk dashboard. I guess it's time for arrynrob firmware and manual configuration. Could you also PM me the instructions, Naf?
gatsu
join:2024-01-28
to naf
I've flashed OBi2xx-3-2-2-8680EX-arrynrob11.fw on a obi200 I found at goodwill.

And I found some instrustions for manually provisioning GV on wayback machine.

Im stuck at the part to use ITSP provisioning since I'm getting a 404 Not Found error on the configure URLS

I tried to help myself, but I'm lost.

naf can you message me updated instructions for manually provisioning GV? Thanks
dariflo
join:2023-10-25
to naf
Good afternoon Naf

First I want to thank you for providing us with this valuable information. I have a OBI202 where the GV is not working. Can you please send me the Google Voice setup using modified firmware to use without ObiTalk. Thank you very much in advance!
Darkbotic
join:2023-03-21

3 recommendations

to naf
Just so everyone knows, it looks like Obi provisioning for Google Voice through the obitalk.com portal is dead for real as of this week.

You can still log in, add an Obi device and follow through the steps of adding a Google Voice account but all that is worthless because after you "Allow" your Google account to be used with Obi, and it attempts to "configure" the Obi device, it just doesn't work anymore. It gets stuck in "Configuring" and after a few minutes it shows "Connecting to 0.0.0.0" and there's nothing you can do to fix that. The only thing I could do is flashing the custom firmware and following naf's instructions.

Kermee
Premium Member
join:2006-04-28
Seattle, WA

1 recommendation

to naf
I have had an OBi200 and OBi202 working fine with firmware 3.2.2 (Build: 8680EX-arrynrob10). I don't know when but now it disconnects from GV and gives me the Connecting to 216.239.36.145;Token Error. My parents have an OBi200 (non-custom firmware) and it's working fine. Any ideas what might be the problem? Thanks in advance.
Kermee
to naf
Actually, hey naf. I think I need to reprovision GV on my OBi200 and OBi202 again. Could you send me the instructions again? Thank you very much!
Kermee
Thank you, naf! Reprovisioned my OBi200 and OBi202 and it seems to be working for now. I think it stopped working when I turned on Google's "Advanced Protection Program" for my Google account. But it seems to be staying "Connected" for now. I guess time will tell. Thanks!

EDIT: Also took the time to update firmware to arrynrob11 from arrynrob10 on both devices. Works great.

jsolo1
Premium Member
join:2001-07-01
PRIL
to naf
@naf

Re: firmware updates

I'm currently on 3.2.2 (Build: 5921EX-arrynrob8), can I flash directly to the latest 8680EX-arrynrob11.fw or do I need to flash OBi302-3-2-2-6259-signed-fw-bypass-uboot-mod.fw first?

If I do need to flash the uboot-mod first, will the current gv setings be retained or need to be reprovisioned?

Thanks!
naf
join:2017-12-12

1 recommendation

said by jsolo1:

I'm currently on 3.2.2 (Build: 5921EX-arrynrob8), can I flash directly to the latest 8680EX-arrynrob11.fw or do I need to flash OBi302-3-2-2-6259-signed-fw-bypass-uboot-mod.fw first?

If I do need to flash the uboot-mod first, will the current gv setings be retained or need to be reprovisioned?

can flash to any firmware from arryrob, so directly is fine

settings always retained

jsolo1
Premium Member
join:2001-07-01
PRIL

1 edit
^^Thanks. I wasn't entirely sure as the obifirmware was not clear on existing devices with the modded fw.

Lets hope this improves connectivity as periodically one can't dial out (using gv) even though status indicates connected/no issues. Can't believe it's been 5 years since I last updated these.
rollon
join:2024-02-04

2 edits
to naf
Hello, I have an OBI200 and am in need of the instructions to change the firmware from 8680EX and setup the device.
Thank you.

Edit: F/W upgraded to 8680EX-arrynrob11.
rollon
to naf
Hi,

Is there any way to register one of the voice service profiles to a PBX on the modified firmware?
Pufferty
Perpetual Newbie
join:2014-07-07
Rockville, MD
to rollon
Arrynrob11? The latest I found (using the wayback machine to access the now-defunct obifirmware.com site) was arrynrob10. Could you point me in the correct direction? Thanks so much!

EDIT: holy crap, just two days ago the website was down, but it appears to have been restored?! What timing.
OBi1FW
join:2017-12-27
Vienna, VA
As far as I know, no problems! Let me know if it seems down again.
Pufferty
Perpetual Newbie
join:2014-07-07
Rockville, MD
to naf
I just tried flashing the 4858EX-noshell-signed.fw on my Obi1062 because, as noted in the instructions, I am not on firmware 4858 (I am actually on stock 5312). When I try and do so, I get a "
Firmware package checksum error" despite confirming the MD5 is correct for the downloaded firmware. Am I missing something?

EDIT: I just tried flashing the 5312EX-Olisom firmware and got the same error.
naf
join:2017-12-12
said by Pufferty:

I just tried flashing the 4858EX-noshell-signed.fw on my Obi1062 because, as noted in the instructions, I am not on firmware 4858 (I am actually on stock 5312). When I try and do so, I get a "
Firmware package checksum error" despite confirming the MD5 is correct for the downloaded firmware. Am I missing something?

No, stock firmware overloads that error message to also include cases where the firmware fails obi signature verification to prevent custom fw.

Try downgrading to stock 4983 (»fw.obihai.com/OBi2000-6- ··· -4983.fw) before trying 4858EX-noshell-signed.
Pufferty
Perpetual Newbie
join:2014-07-07
Rockville, MD

3 recommendations

The link you provided above appears to be for the Obi2000 series - but I grabbed the stock 4983EX for the Obi1000 series and it flashed! I then applied the 4858EX-noshell firmware and, ultimately, the Olisom5 firmware. Thank you for the help!

@Obi1FW Perhaps the instructions on obifirmware.com should be changed a bit to reflect the need to downgrade to stock 4983?

charterengr
Premium Member
join:2002-03-09
Denver, CO

2 recommendations

to naf
A little tip if you're on a Mac. If you are making an ssh connection from Terminal, I found this is the format that will work:

ssh -v -oHostKeyAlgorithms=+ssh-rsa root@IP_ADDRESS

...where IP_ADDRESS is the IP address of your Obi phone or adapter.
compuguy
join:2003-05-26
Burke, VA

1 recommendation

to naf
said by naf:
said by Pufferty:

I just tried flashing the 4858EX-noshell-signed.fw on my Obi1062 because, as noted in the instructions, I am not on firmware 4858 (I am actually on stock 5312). When I try and do so, I get a "
Firmware package checksum error" despite confirming the MD5 is correct for the downloaded firmware. Am I missing something?

No, stock firmware overloads that error message to also include cases where the firmware fails obi signature verification to prevent custom fw.

Try downgrading to stock 4983 (»fw.obihai.com/OBi2000-6- ··· -4983.fw) before trying 4858EX-noshell-signed.
That's exactly what I had to with my Obi2000 series. Install the OBi2000-6-2-3-4907-signature-bypass firmware. Then I was able to apply the OBi2000-6-2-3-5330-taoman1 firmware.

charterengr
Premium Member
join:2002-03-09
Denver, CO
to naf
Is the Obitalk site still provisioning Obi10XX desk phones on Google Voice? Anyone tried in 2024? Thx.
Pufferty
Perpetual Newbie
join:2014-07-07
Rockville, MD

3 recommendations

Yes, it still works. I just decided to flash my firmware since I imagine they'll cut it soon.
Pufferty
OT but I snagged an new open-box Obi2062 off of eBay for $70 shipped. There are liquidation sellers who are unaware of (couldn't be bothered with) the bypass to the EOL. Look for a liquidation seller and make an offer. Good time to snag a great IPPhone for cheap. Your local mercari quite likely has polycom Obis for cheap too. I saw a $15 Obi302!
andre2
join:2005-08-24
Brookline, MA

1 recommendation

A few months ago I bought an OBi1022 from Amazon for $45. It appeared to be brand new in the box except for very old firmware from between April and August 2017, so apparently had been sitting untouched for 6 1/2 years. Currently it says out of stock, so maybe those are gone now. Amazon also has the OBi2182 for $50 used (link from the Obitalk website). I would have bought that instead if I had realized it was available for only $5 more. It was also released about 2 1/2 years later so hopefully will get updates longer.
Pufferty
Perpetual Newbie
join:2014-07-07
Rockville, MD
Does the 2182 take NAF's firmware? If so I may have to grab one of these 2182s!
andre2
join:2005-08-24
Brookline, MA

2 recommendations

There is a "taoman1 - for OBi2000 series" section at »www.obifirmware.com/#cta . BTW, I noticed that the only in stock Amazon listing for the OBi1022 that I could find now has a $60 price, they were all previously $45. Presumably the demand went up due to the older devices going EOL.
Pufferty
Perpetual Newbie
join:2014-07-07
Rockville, MD
Interesting how the entire series uses the same firmware (as is the case for the 1000 series too).
someperson
join:2015-11-14
Houston, TX
to naf
So this isn't clear to me: is it still possible to provision an Obi200 with Google Voice using custom firmware, or is this process completely impossible now?
Pufferty
Perpetual Newbie
join:2014-07-07
Rockville, MD
You can manually provision GV on Obi 200, 300, 1000, and 2000 series devices using modified firmware freely available at obifirmware.com and, for the actual provisioning, using instructions that you must request from a community member here named NAF. To my knowledge, you cannot provision 100 series devices in the same manner (and it's apparently very difficult to do so).

jsolo1
Premium Member
join:2001-07-01
PRIL

1 recommendation

Re Obi100, afaik, it lacks the necessary code to do oauth2. I suppose there are ways to getting to work with an obi200 on the same network as a client device (obi100 is the client that is).
naf
join:2017-12-12
said by 40043634:

The OBi200 admin page on my local network shows the following value under SP1 Service Status:

Connect Failed: No Response (server=216.239.36.145; retry in 29s)

Does anyone know how I can get my OBi200 working again with Google Voice?

- or -

Will installing the custom firmware allow me to use Google Voice with my OBi200 again?

It might just be a network issue between the obi and GV rather than a config/auth issue, but you could try the modded firmware and resetting config + reprovisioning without obitalk to have another diagnostic data point
bcf
join:2024-02-26
to naf

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

Hello naf,
I am looking to get a copy of the Manual Google Voice Configuration instructions. I just picked up an additional Obi200 and found ObiTalk no longer works so I downloaded the firmware updates so I can update my devices and keep them working.

Thanks in Advance!
Expand your moderator at work
halva
join:2023-12-25
New Britain, CT
to naf

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

Will GV work on OBI504vs?

I updated it with OBi500-4-0-5-5903EX-ssyspro5.fw. Then I tried to set it up following the instructions. However, it doesn't take neither curl nor wget.

[root@OBi500 ~]# curl
-sh: curl: command not found

[root@OBi500 ~]# wget
wget: applet not found
naf
join:2017-12-12
said by halva:

Will GV work on OBI504vs?

I updated it with OBi500-4-0-5-5903EX-ssyspro5.fw. Then I tried to set it up following the instructions. However, it doesn't take neither curl nor wget.

[root@OBi500 ~]# curl
-sh: curl: command not found

[root@OBi500 ~]# wget
wget: applet not found

try /usr/sbin/wget

or just run the command on any other box that has a working curl/wget
halva
join:2023-12-25
New Britain, CT
/usr/sbin/wget worked! Thank you!

I've got refresh token and configured SP1 with it.

However, it shows an error after restart

Connecting to 216.239.36.145;Token Error
naf
join:2017-12-12
said by halva:

Connecting to 216.239.36.145;Token Error

you had a 30x as well, correct? try copy/pasting the working AuthPassword from there to the 50x to make sure theres no typos first
halva
join:2023-12-25
New Britain, CT
Yes, I have OBi302 as well. I applied same instructions on 504 and 302. Refresh token generated on 504 works fine on 302. Token error on 504.
Does it mean that GV currently doesn't work on 504 with firmware OBi500-4-0-5-5903EX-ssyspro5.fw or my OBi504vs is defective?
Anon10ab2
@68.179.148.x
to naf
Can you send me the obi200 google voice configuration?
keve
join:2024-02-24
686011
to naf
I have obi200. our version: SoftwareVersion 3.2.2 (Build: 8680EX). Can you send you the google voice configuration? Thanks in advance.

Thanks
naf
join:2017-12-12

1 recommendation

to halva
said by halva:

Yes, I have OBi302 as well. I applied same instructions on 504 and 302. Refresh token generated on 504 works fine on 302. Token error on 504.
Does it mean that GV currently doesn't work on 504 with firmware OBi500-4-0-5-5903EX-ssyspro5.fw or my OBi504vs is defective?

It really means that I forgot that I never found a newer 50x firmware when the other devices firmware were updated with new google root certificates in late 2021, so you still need to manually add them.

See back on page 60 for the cert bundle and instructions: »Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods
halva
join:2023-12-25
New Britain, CT
It did the trick. Status connected! Thank you so much!

jsolo1
Premium Member
join:2001-07-01
PRIL
to naf
said by pagescribe:

After flashing to signature-bypass.fw, 5Ghz stopped working. Also, OBiWifi setup, which uses 5Ghz, doesn't work. Flashing to 6-2-3-5330-taoman1.fw doesn't change anything, and flashing back to stock keeps 5Ghz from working.

I think 5Ghz no longer functioning was coincidental, but it stopped working immediately after changing to signature-bypass.fw. 5Ghz was the first thing I checked after flashing.

Ref: »Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

Has any resolution been found? Is it even still an issue? The thread sequence above seems to suggest this was a problem with the stock fw.

These ip phones come with built in 2.4 and 5 ghz capability.

@Pufferty what has your experience been with your recently flashed unit?

@naf any ideas?

charterengr
Premium Member
join:2002-03-09
Denver, CO

3 recommendations

to naf
Since I've been bit by this twice already, I'll pass along that if you're having troubles configuring a device, be sure to try a full reset of the device first. System Management -> Device Update -> Reset Configuration
Pufferty
Perpetual Newbie
join:2014-07-07
Rockville, MD

1 recommendation

to jsolo1
jsolo1 See Profile I didn't see this for some reason, but to help others that read through this thread, I wanted to note the answer provided in another thread where the same question was asked (tweaked for proper cross-references):

My current WiFi connection appears to show 5G working perfectly fine with the taoman1 firmware by NAF. I am unclear why the folks you quoted above are having that issue. Of note, this 2182 has the Polycom branding so I don't know whether the folks on that thread have an older hardwire revision than what is being shipped now.

jsolo1
Premium Member
join:2001-07-01
PRIL

2 edits
to naf
@Naf,

Successfully flashed obi2182 to 6.2.3 (Build: 5330.1311-taoman1 firmware.

Trying to do the manual gv config. Everything seems to update properly, but on final reboot it just shows "Resolving DNS" under the SPx status.

I've verified device has full dns access (via ssh) through the firewall - in fact give it full internet access too. Did some tcpdumps which indicate it's trying to resolve talk.google.com. Oddly, working obi202 tries to resolve that as well, and appears to continue even though talk.google.com does not resolve, at least not using public dns.

I tried adding the certs that were added to the obi20x, but that yielded no joy either.

Please advise, what am I overlooking.

I tried some old copies of param_dump but they don't work on the 2182.
mac: ffffffffffff, hw_vers: 00000800
unknown hw_vers
 
jsolo1
to Pufferty
Re wifi, I encountered this too, sort of. Appears this device supports only the lowest and upper most channels. My 5ghz is set for ch 100.

I found the above by digging through some fcc documents which references freq under test.
andre2
join:2005-08-24
Brookline, MA
to jsolo1
I bought a 2182 last week and had the same trouble (after upgrading firmware to taoman1) provisioning GV without Obitalk. In fact, the same thing happened even using Obitalk. Finally, I did a factory reset, immediately followed by Obitalk provisioning, which worked, followed by provisioning without Obitalk. Maybe it wasn't in the default configuration to start with?

jsolo1
Premium Member
join:2001-07-01
PRIL
Hmm.. Is obitalk setting some other hidden parameters.... ?

Already did the factory default reset... twice.
Brown
join:2018-01-21
In the GV settings does the phone (OBITALK Device - xxxxxxxxx) show under "Calls" (my devices) and is it switched on?
If it's not there, the provisioning needs to be done.
No extra certificates are needed and should be deleted.

jsolo1
Premium Member
join:2001-07-01
PRIL
^^Not getting that far. Phone seems to be having dns issues to google voice.
Brown
join:2018-01-21

1 edit
Log into the obiPhone and check: System Management > WAN Settings > DNSserver1: 1.1.1.1 and DNSserver2: 8.8.4.4
I use those instead of defaults.
andre2
join:2005-08-24
Brookline, MA
In my case, when I was having the "Resolving DNS" trouble, when provisioning with Obitalk it would say successful, but was still stuck on the same error, the phone didn't show up under GV settings, and no set of DNS servers would fix it (tried Cloudflare, Google, default ISP). Only after the factory reset did it work and I have no idea why. Maybe coincidence?
naf
join:2017-12-12

1 recommendation

to jsolo1
param_dump.zip
55,240 bytes
param_dump for obi2000

jsolo1
Premium Member
join:2001-07-01
PRIL
Naf, check your pm's
jsolo1
to andre2
said by andre2:

Maybe coincidence?

There's no coincidences with obi/gv :). I didn't find anything obvious in the param dump but did see duplicate entries with different values at different offsets. For example;

8e6e3fdc 0d000001: dc3f6e8e (VoiceService.1.VoiceProfile.1.Name) = "Google Voice"
8e6e3fdc 00005c01: dc3f6e8e (VoiceService.1.VoiceProfile.1.Name) = ""
fb3a32b1 0d000005: b1323afb (VoiceService.1.VoiceProfile.1.SignalingProtocol) = "Google Voice"
fb3a32b1 00005c05: b1323afb (VoiceService.1.VoiceProfile.1.SignalingProtocol) = ""
998926d6 05000005: d6268999 (VoiceService.1.VoiceProfile.1.DTMFMethod) = "Auto"
998926d6 00005c05: d6268999 (VoiceService.1.VoiceProfile.1.DTMFMethod) = ""
eeaca3ea 12000001: eaa3acee (VoiceService.1.VoiceProfile.1.STUNServer) = "stun.l.google.com"
eeaca3ea 00005c01: eaa3acee (VoiceService.1.VoiceProfile.1.STUNServer) = ""
ca384cc5 04000003: c54c38ca (VoiceService.1.VoiceProfile.1.X_STUNServerPort) = 0x664b0000
ca384cc5 00005c03: c54c38ca (VoiceService.1.VoiceProfile.1.X_STUNServerPort) = 0x
 

Perhaps you and/or @Pufferty can run your own dumps? After sanitizing, post to pastebin.com and pm me the link? Note, make it obvious what you're sanitizing.. ie replace refreshtoken value with {REFRESH TOKEN}.

The only difference is this device has never been connected or provisioned via obitalk forum. Just updated to latest fw per instructions at obiforum and fully manually configured. A callcentric extension connects just fine.
naf
join:2017-12-12

2 recommendations

said by jsolo1:

The only difference is this device has never been connected or provisioned via obitalk forum. Just updated to latest fw per instructions at obiforum and fully manually configured. A callcentric extension connects just fine.

Looking at your param_dump output, its the GVSIP setting not getting saved correctly. So its going down the old xmpp code path which now leads to dns failure as you have pointed out.

Similar things happened before with the 30xs, it just means I missed removing some code that locks that setting to only work from obitalk provisioning. (one possible untested workaround idea: re-provision the same xml as 'obitalk' instead of 'itsp')

ill dust off the ol' decompiler and see if i can spot it...

jsolo1
Premium Member
join:2001-07-01
PRIL
said by naf:

(one possible untested workaround idea: re-provision the same xml as 'obitalk' instead of 'itsp')

ill dust off the ol' decompiler and see if i can spot it...

Thanks! Does this mean then that others who have working gv are in essence relying on the obiportal config still sticking when attempting to do a manual config?

Reprovisioning using "obitalk" instead of "itsp" with same config url results in same dns faults.
naf
join:2017-12-12
said by jsolo1:
said by naf:

(one possible untested workaround idea: re-provision the same xml as 'obitalk' instead of 'itsp')

ill dust off the ol' decompiler and see if i can spot it...

Thanks! Does this mean then that others who have working gv are in essence relying on the obiportal config still sticking when attempting to do a manual config?

Reprovisioning using "obitalk" instead of "itsp" with same config url results in same dns faults.
Yes, since the workaround doesn't work, people with working gv must either be provisioning with real obitalk (unknown what the difference is there), or doing the manual config but relying on the GVSIP setting to be kept from a previous real obitalk provisioning.

I pm'd you a proposed fix. To test, get that file to /var/tmp on the device, then:
chmod +x /var/tmp/obiapp5330mod2
mount --bind /var/tmp/obiapp5330mod2 /obi/obiapp
 
then restart the phone via webgui, re-provision the xml via itsp provisioning and check param_dump to make sure your GVSIP gets set to 'true' and gv should work

jsolo1
Premium Member
join:2001-07-01
PRIL

1 recommendation

Sorry, got delayed with calls.

We have a winner!

root@OBiPhone:/var/tmp# ./param_dump  | grep -i gvsip
75017d7f 3d000001: 7f7d0175 (X_DeviceManagement.ITSPProvisioning.ConfigURL) = "somexml"
b61aa863 00005004: 63a81ab6 (VoiceService.1.VoiceProfile.1.GVSIP) = ""
75017d7f 3d000001: 7f7d0175 (X_DeviceManagement.ITSPProvisioning.ConfigURL) = "somexml"
f555398b 3d000001: 8b3955f5 (X_DeviceManagement.Provisioning.ConfigURL) = "somexml"
75017d7f 3d000001: 7f7d0175 (X_DeviceManagement.ITSPProvisioning.ConfigURL) = "somexml"
root@OBiPhone:/var/tmp# ./param_dump  | grep -i gvsip
75017d7f 3d000001: 7f7d0175 (X_DeviceManagement.ITSPProvisioning.ConfigURL) = "somexml"
b61aa863 00005004: 63a81ab6 (VoiceService.1.VoiceProfile.1.GVSIP) = ""
75017d7f 3d000001: 7f7d0175 (X_DeviceManagement.ITSPProvisioning.ConfigURL) = "somexml"
f555398b 3d000001: 8b3955f5 (X_DeviceManagement.Provisioning.ConfigURL) = "somexml"
75017d7f 3d000001: 7f7d0175 (X_DeviceManagement.ITSPProvisioning.ConfigURL) = "somexml"
b61aa863 05000004: 63a81ab6 (VoiceService.1.VoiceProfile.1.GVSIP) = "true"
 

and Status = Connected.

Edit: Looks like my theory about obiportal remnants remaining was correct, @andre2
and @Pufferty. I bet if you factory reset your units, gv will not provision.
naf
join:2017-12-12

1 edit

3 recommendations

ok, i updated the obi2000 series fw to actually "patch OBiapp to bypass GVSIP provisioning lock", instead of just listing those words in the changelog, hehe

ill send a link over to OBi1FW See Profile and thank them once again for providing hosting for this silly project

(on this topic, the 2000 installation instructions should now just specify to begin by installing stock 4983 at »fw.obihai.com/OBi2000-6- ··· -4983.fw before installing 4907-signature-bypass, and the 1000 instructions should just say to unconditionally start at 4983EX)

md5sum OBi2000-6-2-3-5330-taoman2.fw = 41709afab22ba6bbfb7c2ff632c00d73

jsolo1
Premium Member
join:2001-07-01
PRIL
to naf

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

Looking forward to flashing the final version.

What is the reason for going to the stock 4983 fw first, then the sig bypass?
andre2
join:2005-08-24
Brookline, MA
to naf
My OBi2182 originally had SoftwareVersion 6.2.2 something (should have written down the whole thing) and I was able to do a direct upgrade to taoman1 without the bypass.

jsolo1
Premium Member
join:2001-07-01
PRIL
said by andre2:

My OBi2182 originally had SoftwareVersion 6.2.2 something (should have written down the whole thing) and I was able to do a direct upgrade to taoman1 without the bypass.

Unit here came with 6.2.3 (Build: 4946.1311) out of the box.
naf
join:2017-12-12
to jsolo1
said by jsolo1:

What is the reason for going to the stock 4983 fw first, then the sig bypass?

somewhere after 4983 but before/in 5330 obi introduced a fix to the vulnerability that signature-bypass takes advantage of, so downgrade is required for most who start at stock 5330

jsolo1
Premium Member
join:2001-07-01
PRIL
Understood. These must be old stock to come with 4946. Some googling suggests its from late 2019.

5330 is aug 2021. Probably the final fw too.

Success!

* Flashed and factory reset.
* Verified all config entries were cleared - placed param_dump into /scratch for future use (if needed).
* added the authpassword and config xml (can this go into /scratch too? referenced as /scratch/gvsip1.xml or such?), rebooted.

Winner! Thanks for the quick support in fixing this issue. I suspect many probably use the obitalk portal to do their initial config thus masking the issue.

This should not affect the obi20x fw right? I haven't factory reset mine in years but did use obi portal to do the initial config.

All without obitalk portal.

Unrelated, do you know if it's possible to change the supported wifi channels? Specifically to include dfs (ch 100+)?
Pufferty
Perpetual Newbie
join:2014-07-07
Rockville, MD

1 edit
Holy crap, all this and I missed it! The takeaway is that my GV currently working is due to having provisioned via the portal which then "sticks" when manually provisioning? But all of this has been rendered resolved by naf See Profile's lightning quick response and updated firmware? What a day to miss all this! I'm doubly grateful now that jsolo1 See Profile bought the device! You helped fix an issue that would have gut-punched me down the road!
andre2
join:2005-08-24
Brookline, MA
to naf
I just looked back at my message »Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods in this thread from Nov. 29 when I was initially having trouble provisioning my OBi1022. The error I was stuck on was the same, "Resolving DNS" (I eventually got it working after a number of attempts with and without Obitalk). Is it possible that olisom5 for the OBi1000 series has the same issue?
naf
join:2017-12-12

1 recommendation

to jsolo1
said by jsolo1:

can this go into /scratch too? referenced as /scratch/gvsip1.xml or such?

only http, https, and tftp schemes are supported (no file:///) in ConfigURL (but you could always run your own server on the device if youre nasty)
said by jsolo1:

Unrelated, do you know if it's possible to change the supported wifi channels? Specifically to include dfs (ch 100+)?

depends on how nicely you ask the included rtl8821au driver. try "iwlist wlan0 channel" to see supported channels, but you might be able to coax a different list by reloading the module with different params (see /sys/module/8821au/parameters)
naf
to andre2
said by andre2:

I just looked back at my message »Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods in this thread from Nov. 29 when I was initially having trouble provisioning my OBi1022. The error I was stuck on was the same, "Resolving DNS" (I eventually got it working after a number of attempts with and without Obitalk). Is it possible that olisom5 for the OBi1000 series has the same issue?

yes, same problem. fix coming soon...
Brown
join:2018-01-21
said by naf:
said by andre2:

I just looked back at my message »Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods in this thread from Nov. 29 when I was initially having trouble provisioning my OBi1022. The error I was stuck on was the same, "Resolving DNS" (I eventually got it working after a number of attempts with and without Obitalk). Is it possible that olisom5 for the OBi1000 series has the same issue?

yes, same problem. fix coming soon...
I only have 1022's and 1062's and have not had any problems. They have never been on Obitalk because they were banned (locked to Phonepower). Maybe because I'm still using older Olisom with updated certs? Idk.
naf
join:2017-12-12

1 recommendation

accouncing new fw for obi1000 phones, olisom6. link sent to OBi1FW See Profile

changes from obisom5:
- patch obiapp to bypass GVSIP provisioning lock

md5sum OBiPhone-5-1-11-5312EX-olisom6.fw = 64839cbb8f027f7fa6adc8f161ffc0af
naf

1 recommendation

to Brown
said by Brown:
said by naf:
said by andre2:

I just looked back at my message »Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods in this thread from Nov. 29 when I was initially having trouble provisioning my OBi1022. The error I was stuck on was the same, "Resolving DNS" (I eventually got it working after a number of attempts with and without Obitalk). Is it possible that olisom5 for the OBi1000 series has the same issue?

yes, same problem. fix coming soon...
I only have 1022's and 1062's and have not had any problems. They have never been on Obitalk because they were banned (locked to Phonepower). Maybe because I'm still using older Olisom with updated certs? Idk.
i went back and looked to be sure: the GVSIP locking code didn't exist in 4858, so you probably did the manual config on 4858EX-olisom5 and haven't reset it after upgrading to 5312-olisom5 (or less likely, its some weird http vs https provisioning thing or something, since i still dont know exactly what that 'provisioning lock' entails)

either way, fixed in 5312-olisom6 to be consistent with all other fw flavors. if someone wants to install 5312-olisom6 and do a config reset and then manually provision GV we can confirm

jsolo1
Premium Member
join:2001-07-01
PRIL
to Brown
said by Brown:

I only have 1022's and 1062's and have not had any problems. They have never been on Obitalk because they were banned (locked to Phonepower). Maybe because I'm still using older Olisom with updated certs? Idk.

I'm unfamiliar with the 1000 series, but if you specify your exact version, naf can comment if that version had the patch applied.

My guess is something slipped through the cracks with the newer firmwares . I recall when it was just the obi 1xx/2xx supported, then number of devices grew to include the 3xx and desktop phones. There has to be some nuances to each variant, ultimately causing a support nightmare.

These obi devices are quite dumb in terms of troubleshooting and logging. I even had mine connected to a syslog server which didn't reveal anything useful. Mostly kernel messages and nothing from obiapp. This makes it more challenging to figure out where what is failing, more so if you don't have shell access.

With param_dump it was became very obvious (to the trained eye, not mine), what's missing. After setting it (obi20x) up back in '16 and after the changes in 2018?, I really haven't touch it much other than to update fw here and there. That and not having intimate knowledge obiapp workflow/gvsip.

Although we're past expiration date, lets hope gvsip continue to work in its current form for the foreseeable future.
Gint
join:2024-03-06
to naf
Naf,
I have an OBi202 and OBi212 that I need to reconfigure manually for GV. Could you send me the instructions? Thank you!
Brown
join:2018-01-21
to jsolo1
I'm still using 4858EX.1311-olisom5b which is older than the non-b version.
BVik
join:2024-03-07
to naf
naf, could you please pm me the instructions for gv provisioning. I've got the firmware for my obi200 all switched over and ready to go. Thank you.
mmanoni
join:2024-03-07
to naf
Naf, I would also like the manual provisioning instructions for the 20x. Thanks!
andre2
join:2005-08-24
Brookline, MA

4 edits
to jsolo1
Firmware updates now available at obifirmware.com. Updated both my 2182 and 1022, then did a factory reset on the 1022 following by provisioning without Obitalk. It works perfectly except that the SP1 line key is unlabeled, previously it showed "Google Voice" and the name and email address of my associated Google account. Is that something that Obitalk provisioning is responsible for?

Edit: Looked at the settings on the 2182, which I didn't reset. Under Voice Services/SP1 Service, X_DisplayLabel is set to "Google Voice", and X_DisplayNumber is set to my email address. (On the 1022 both fields are now blank.) I thought my name was in the label before, but maybe not. The 1022 has a smaller display, so my email address was truncated there and my name might not have been there at all.

Edit: I had backed up the settings on my 1022 a few months ago, looking at the backup file, X_DisplayLabel was set to "Google Voice" and X_DisplayNumber was set to my email address, same as on my 2182 now. So my question is whether those specific settings are only expected to be set by Obitalk provisioning. Of course now that I know exactly what they are I can just do it manually.

Edit: I changed those two specific settings on the 1022 and rebooted, they still don't appear on the display, though everything works perfectly otherwise. BTW, I intended to reply to naf instead of jsolo1, sorry about that.
andre2

2 edits
to naf
See my post above which I intended as a reply to you but replied to jsolo1 by mistake.

Edit: Finally figured out that I needed to change the settings under IP Phone/Line Keys. The settings Service, Number, and Name needed to be set to "SP1", "myemailaddress" and "Google Voice", resp. I also noticed that under Voice Services/SP1 Service, the parameter X_AcceptSipFromRegistrarOnly is set to the non-default value of "true" by Obitalk, but that has no effect I can see. Would be interesting to go through all the settings with and without Obitalk provisioning to see exactly what the differences are.
andre2
to naf
A workaround for now is to provision by Obitalk, backup the configuration, then provision without Obitalk and finally restore the configuration from the backup file. Once one has the backup file they can use it to restore even if Obitalk goes away later, and the new firmware seems to work perfectly in getting GV phone service to work, even without Obitalk (at least for the 1022, I didn't test the 2182).

jsolo1
Premium Member
join:2001-07-01
PRIL
@andre2, why not just post your xml file with any private information sanitized.
yskgg
join:2024-03-15
to naf
When possible can you pm me the guides please! Thanks
Pufferty
Perpetual Newbie
join:2014-07-07
Rockville, MD
to andre2
Two (very dumb) questions:

1. How do you back up the configuration?

2. When you say "...provision without Obitalk and finally restore the configuration"...why would you have to provision the device in any way if you were going to apply the backed up configuration? Does the configuration not contain the necessary manual entries because the backed up configuration is being taken from the device after it has been provisioned with Obitalk? And if so, wouldn't there be a risk of the backup overwriting the manual provisioning done prior to applying the backup?

Thanks for any clarity you can provide!
andre2
join:2005-08-24
Brookline, MA

1 edit

1 recommendation

said by Pufferty:

1. How do you back up the configuration?

Go to System Management/Device Update. In the "Backup Configuration" section, check the "Use OBi Version" box and click Backup. By default it saves the file with the name backupXXXXXXXXXXXX.xml where XXXXXXXXXXXX is the device's MAC address. (Actually, the wired MAC address - the devices with built-in WiFi have a second WiFi MAC address which is visible under Status/System Status in the "WiFi Status" section which is visible when WiFi is enabled. That MAC address appears to differ by just one character.)
said by Pufferty:

2. When you say "...provision without Obitalk and finally restore the configuration"...why would you have to provision the device in any way if you were going to apply the backed up configuration? Does the configuration not contain the necessary manual entries because the backed up configuration is being taken from the device after it has been provisioned with Obitalk? And if so, wouldn't there be a risk of the backup overwriting the manual provisioning done prior to applying the backup?

Browsing through my backup files, in particular they don't save the AuthPassword entry under Voice Services/SP1 Service (they skip from AuthUserName to AuthTokenRefresh), so apparently they're sanitized and don't save everything.

jsolo1
Premium Member
join:2001-07-01
PRIL

1 recommendation

to Pufferty
Naf or someone else will have a more accurate answer. In essence certain fields are not saved. Such as the authpassword indicated by andre2 above.

For gvsip configured trunks (sp slots), a number of hidden values are not saved which actually enable the gvsip functionality (in the modded firmware). Remember, param_dump is your friend.

Review the xml file you used to provision gvsip offline in the first place, it references some standard settings (such as disabling obitalk provisioning), but also others.

I *believe you can combined those entries into your backed up xml to have one complete file. Not 100% sure as I've not tried it. If this works then you can restore the single xml which will include your gvsip settings and other (callcentric?).

As for password, I usually leave one of the comment fields with the login/pass details. That way I don't have to hunt for the authpassword entries.

Obihai made some bizarre choices to say the least. I suppose this is to prevent customers from gaining credentials if they manage to get access to service provider provided equipment.
andre2
join:2005-08-24
Brookline, MA

1 recommendation

The docs I found for the 1000 and 2000 series are at »www.obitalk.com/info/sup ··· ownloads . There is a User Manual for the 1000 series, and an Admin Guide which covers both the 1000 and 2000 series and is dated October 2017, around the time the 2000 series came out. I guess they didn't sell the 2000 series long enough to write a User Guide. The Admin Guide describes the Backup Configuration/Restore Configuration options (on page 241). Under the latter it says
quote:
IMPORTANT Note: All passwords and PINs are excluded from the backup file. Hence they will not be available to restore. Call history is excluded from the backup, but can be saved as an XML formatted file separately from the Call History web page.

skyy
join:2023-08-05
Ashburn, VA
to naf
hey naf! could I get the instructions? trying to set this up with an OBi300 and an OBi200.
nrp929
join:2024-03-22
to naf
Hey naf! Could you pm me the instructions please? I flashed OBi2xx-3-2-2-8680EX-arrynrob11.fw already on my Obi200.
RTfM2010
join:2010-07-07
to naf
Hi Naf, here's another request to please send me information for setting up Google Voice without the portal for OBi 200. Huge thanks to you and all the contributors.
jnmarshall
join:2024-03-26
Carrollton, TX
to naf
Hi naf. Can you send me the configuration instructions for GV. I've been locked out of the OBI portal and when Google required a password change, I lost access to GV. Looking forward to trying the new firmwares.
Thanks!
bluehouse
join:2024-03-28
to naf

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

Hi naf See Profile, would you please pm me the instructions for Google Voice w/o the portal? I've got the latest modded firmware on my Obi202 and am ready to finish the setup. Thanks so much
bjados
join:2010-03-12
to naf
@naf See Profile - Just procured an Obi200 and flashed with arrynrob11; would also love to have the instructions to configure it with Google Voice. I'm confused why they're not simply listed somewhere, but if this is the way to get them, consider it a formal request. Thanks!
naf
join:2017-12-12

2 recommendations

all requests (formal and otherwise) granted

coochpooch
join:2002-08-14
Atlanta, GA
Hi naf.

You seem to be a popular guy here. I am using a obi202 and its still working with Google Voice. Should I do anything or just leave it alone ? Any recommendations would be appreciated, and thank you.
naf
join:2017-12-12

3 recommendations

said by coochpooch:

I am using a obi202 and its still working with Google Voice. Should I do anything or just leave it alone ?

theres no advantages to be had by using the portal-less method if you already have a working portal-configured token.

if it ain't broke...

coochpooch
join:2002-08-14
Atlanta, GA
don't fix it................

Thanks!
andre2
join:2005-08-24
Brookline, MA
to Pufferty
said by Pufferty:

My current WiFi connection appears to show 5G working perfectly fine with the taoman1 firmware by NAF. I am unclear why the folks you quoted above are having that issue. Of note, this 2182 has the Polycom branding so I don't know whether the folks on that thread have an older hardwire revision than what is being shipped now.

I'm finishing reading through this entire thread and noticed those posts back on pages 66-67 starting on 2022/1/21. 5 GHz also appears to work fine on my 2182 with the latest modded firmware (I upgraded the firmware first thing so didn't test on anything older).
taz_devil
join:2024-04-01

1 edit
to naf
Hi naf,
My OBi200 hicked up yesterday (before I applied the mod). Two Google Voice accounts showed "Registration not required" when viewing from OBiTalk.

I've then applied the mod firmwhere from obifirmware.com. I had 8680EX firmware before the mod so I've followed the instruction in three steps: stock 5921EX, 6529 bypass, and 8680EX arrynrob11. After the 8680EX arrynrob11 mod I was able to rescue one GV account: showing connected in OBiTalk web UI and was able to place and receive calls. This is a non-primary GV line so I have to dial **2 to call out.

The primary GV line now shows "Connecting to 216.239.36.145;Token Error". The OBiTalk UI now cannot add or change my GV settings. I am wondering if you can show me how to do the trick to make it work again, no matter how hard it is.

Thanks

jsolo1
Premium Member
join:2001-07-01
PRIL
For those of you with dying or semi-dying obi's, now might be a good time to grab the certs before the devices crap out entirely.

»Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods

The keys will be required if you want to use gvsip.
taz_devil
join:2024-04-01
How do I use the tool?

jsolo1
Premium Member
join:2001-07-01
PRIL

1 recommendation

You can try something like

# wget https://www.dslreports.com/r0/download/2372758~bc2f8de44196163492c15fa0b6b83e35/extract_keys.zip -O - | gzip -d > /var/tmp/extract_keys
# chmod +x /var/tmp/extract_keys
# /var/tmp/extract_keys
 

It will generate 2 files, use winscp (or equiv) to retrieve them. The above downloads to tmpfs, so rebooting device will clear the ramdisk.
taz_devil
join:2024-04-01
As you mentioned winscp, I assume this can be done from windows os. Do I use PutTTY to get into the box? I remember the default crediential to get in is root/obi, is that correct?

jsolo1
Premium Member
join:2001-07-01
PRIL
My client of choice has been mobaxterm. It's the swiss army knife of all things terminal including telnet, ssh (w/scp), rdp, serial, and a dozen others. All under one app.
Stewart
join:2005-07-13
to taz_devil
Current Win 10 and 11 have command line ssh built in.
taz_devil
join:2024-04-01
to jsolo1
I completely lost. What do I do with those "extractted keys" (I haven't done it yet but would like to understand the steps)
DSLHeadaches
join:2001-01-03
Palm Springs, CA

2 edits
to naf
to naf
Obi202, 3.2.2.8680. Device no longer working and cannot remove the GV SP1 & SP2 so that I failover to Callcentric on SP3 & SP4. Tried logging in (SSH?) to device and disabled SP1 & SP2, but its still struggling (will sometimes connect to Callcentric but then stops). I downloaded extract-keys but no idea how to apply. I've tried logging into the IP and that works, but applying 5921EX using the device webpage does absolutely nothing, it remains on 3.2.2.8680. Instructions?

Oh, figured it out, set auto-provisioning to default, reboot, then I was able to update to 5921EX, bypass, then arrynob11. I still have no idea how to use the extract_keys tool, likely from a command line. Must be illegal since no one here posts the process, there is even a web page with firmware, but no instructions. Perhaps too late to extract now that I've applied arrynob11. I sure wish someone would post a better process than trying to read through 87 pages of these comments. At least I can use Callcentric now, but it doesn't display the correct caller-id unless I port #'s over from GV.

jsolo1
Premium Member
join:2001-07-01
PRIL
to taz_devil
said by taz_devil:

I completely lost. What do I do with those "extractted keys" (I haven't done it yet but would like to understand the steps)

As I mentioned in »Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods, those keys are needed if you want to run gvsip as a trunk in asterisk.

Tests with the latest debian based asterisk/freepbx have been successful. I haven't had time to write out any sort of tutorial, but rather cobbled together steps from the 2018 (2017?) process and some recent changes. Setting up a pbx is fairly advanced, know what you're getting into. My point was if the obi is about to die, that's one piece of software that could still be pulled from it and be usable in the future (or until gvsip stops working).

@DSLHeadaches, if you requested the howto, when naf gets around to it, he will reply. Callcentric has great cnam callerid, if it exists. If you're callers are cell phones, then you will need to define those in the callcentric address book. There was some discussion in previous years about importing google contacts into the obi20x. I never implemented it as it didn't apply to most callers here.
taz_devil
join:2024-04-01
Very excited to hear that GV still work outside OBi boxes. I assume I need some linux box to run asterisk? Will an old lapto work? Will rasbarry pi work?
Thanks!

jsolo1
Premium Member
join:2001-07-01
PRIL
My apologies, I started typing this 4+ hours ago, then got sidetracked.

There's a separate thread on here for freepbx on a raspberry. I'm not sure if RonR made accommodations to support it directly in the install script . Even if not, I would imagine it's using the same asterisk source as everything else. The gvsip extensions became part of asterisk going back to version 17 or 18.

It would be a matter of defining custom pjsip trunks - »github.com/naf419/gvsip. ··· erisk.md . My experimentation so far as been a debian 12 vm. I got it far enough to have successful registration and be able to call out.
LuluLynx
join:2017-04-13
8WO 1578

1 recommendation

Ron's script and guidelines include the set-up for GVSIP

»[PBX] FreePBX for the Raspberry Pi

I followed the GVSIP instructions in his first post (instructions headlined 'GVSIP')
to get GVSIP up and running with a FreePBX install from the FreePBX Distro iso, running in a VM.

jsolo1
Premium Member
join:2001-07-01
PRIL
Wow. Forget that tutorial. No need to reinvent the wheel. RonR's guide covers it in extremely great detail, at least for the pi.

Probably doesn't matter then whose certs are used. Those in the installer archive are good through 11/2026. Will be surprising if gvsip is still working by then.

The beauty of all this is while his instructions are for a different platform, asterisk trunk configuration is the same regardless which platform it running on (for the most part).

The only catch with x86 and current debian is the openssl 3.0 conundrum. A line will need to be updated in /etc/ssl/openssl.cnf. From the freepbx install script - »github.com/FreePBX/sng_f ··· stall.sh

line 468: CipherString = DEFAULT:@SECLEVEL=1

Change that to CipherString = DEFAULT:@SECLEVEL=0

Otherwise gvsip won't register.

I haven't done a recent installation using the above script in over a week. Initially when I did it, it was pulling an outdated asterisk from repo which was broken (for gvsip). Ended up uninstalling it and recompiling asterisk from scratch, grabbing latest available v21.

@naf any updates on a suitable workaround while still maintaining seclevel=1? The last set of patches you suggested didn't help (or I didn't apply them correctly).
naf
join:2017-12-12

1 recommendation

said by jsolo1:

@naf any updates on a suitable workaround while still maintaining seclevel=1? The last set of patches you suggested didn't help (or I didn't apply them correctly).

whether a given os/openssl version/patch/config considers a 1024-bit RSA key signed with SHA1 to be in what security level is beyond my capability to keep track anymore

but the patch to add seclevel=0 to the asterisk pjsip transport cipher configuration list is currently in the pjproject master branch, slated for the 2.15 pjproject release, and then whatever future asterisk version picks up that pjproject release.

until then you can apply it manually by placing it in third-party/pjproject/patches, removing third-party/pjproject/source and re-running configure (the alternative being to just set the seclevel globally via your os's openssl.cnf)
otr2004
join:2024-04-03
Minneapolis, MN
to naf
Hi naf,

can you also send me the instructions for setting up GV without the Obitalk portal

I have an OBi200 with 3.2.2 (Build: 8680EX-arrynrob11) installed

Thank you for your help!
otr2004
naf - many thanks! directions worked like a charm and GV working again!
taz_devil
join:2024-04-01
to naf
naf the Great! Many thanks. Though I'm old and slow, I eventually was able to follow your instruction and resurect my OBi200 - GV connection.
Samot
join:2018-11-15
United State
to jsolo1
said by jsolo1:

I haven't done a recent installation using the above script in over a week. Initially when I did it, it was pulling an outdated asterisk from repo which was broken (for gvsip). Ended up uninstalling it and recompiling asterisk from scratch, grabbing latest available v21.

And what version of Asterisk got installed? Because the FreePBX v17 install script (which is what you linked to) has been set to use Asterisk v21 since it was uploaded originally. So it would be helpful to know how a different version of Asterisk was installed and what version was installed.

FreePBX v17 and that install script are still in Beta and should not be used for production. So if you are having issues, it should be reported.
jtxdd
join:2024-04-04
Cicero, IL
to naf
Hi naf,

Can you please send me instructions for GV without the portal? I have an obi200 with the OBi2xx-3-2-2-8680EX firmware.

Thank you!

jsolo1
Premium Member
join:2001-07-01
PRIL

1 edit
to Samot
@Samot

This was v21.0.2 (from freepbx repo) of asterisk if I recall. Haven't fired up the vm in a week or two since last testing. I'll redo the whole test in the next few days when I have time and note exact version numbers of working/nonworking. I also want to try out naf's patch (»Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods) related to openssl again. My point was the asterisk available at the freepbx repo was outdated relative to that of the asterisk that can be compiled from asterisk's github (»github.com/asterisk/aste ··· g/21.2.0).

tl;dr 21.2.0 worked with gvsip, 21.0.2 did not.
jtxdd
join:2024-04-04
Cicero, IL
to naf
Hi Naf, I installed the arrynrob11 firmware but can't ssh my obi200. I've got it's ip address but no luck connecting.

jsolo1
Premium Member
join:2001-07-01
PRIL
Have you checked to see if there's some firewall setting on the system preventing access?

What client are you using to connect and what exactly are you typing in?
andre2
join:2005-08-24
Brookline, MA

1 recommendation

to jtxdd

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

Don't know what OS you're using, but with Fedora Linux it was necessary for me to use
ssh root@<IP address> -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedAlgorithms=+ssh-rsa
which has to do with my distro tightening security recently.
jtxdd
join:2024-04-04
Cicero, IL
On a Mac in terminal open new remote connection - Unable to negotiate with 192.168.1.64 port 22: no matching host key type found. Their offer: ssh-rsa
andre2
join:2005-08-24
Brookline, MA

1 edit
said by jtxdd:

On a Mac in terminal open new remote connection - Unable to negotiate with 192.168.1.64 port 22: no matching host key type found. Their offer: ssh-rsa

That's the exact error (except for the IP address) I get if I leave out either of the -o arguments shown in my above command. Don't know how to make it work on Mac.
jtxdd
join:2024-04-04
Cicero, IL
On an older High Sierra Mac it is recognized and asks for root@192.168.1.64's password. The only password I've ever used with the obi200 is admin.
andre2
join:2005-08-24
Brookline, MA
Don't remember if it's changed, but for ssh'ing into an obi with the current naf firmware, the default creds are root/obi. admin/admin are the default creds for logging into the web interface. And if you change the default "obi" password, be very careful not to lose the new password as I believe it survives a factory reset (I vaguely remember from when I read this entire thread).
dathbe
join:2024-04-03
What o/s does it have? None of the standard Linux (Debian) commands I normally use will do anything, including reboot. And it says the filesystem is read-only. I'm at a loss to figure out what one can do in the CLI. So far I've been limited to navigating the file system (cd), listing the contents (ls), and printing out files (cat).
andre2
join:2005-08-24
Brookline, MA
It should have all the commands in the dirs shown by "echo $PATH". The only significant thing I've done with it is to see the OAuth client_id and client_secret by using the command "grep client_id /obi/obiapp". (I was curious to see what they were when provisioning via Obitalk. Unless I'm mistaken, they're assigning the same values to every device.)
dathbe
join:2024-04-03
I did figure out that you have to "/sbin/reboot" to get the sbin commands to execute. I'm basically having the same basic problem with the modded firmware that I was having with the stock firmware. The device stays on, stays pingable, and stays ssh'able. But the UI and phone connection is down more often than not. Interestingly, I disabled auto-update when it was working for 36 hours, but now auto-update is back on and won't save to be disabled. It still says I'm on arrynrob, though. Very sad as I need a faux landline.

jsolo1
Premium Member
join:2001-07-01
PRIL
There's 4 spots in the provisioning you have to disable, and obitalk. So 5 areas total.

»i.imgur.com/HjVNBPR.png

»i.imgur.com/dRjEdBd.png
dathbe
join:2024-04-03
Done. And it survived reboot. Hopefully this works (fingers crossed).
jtxdd
join:2024-04-04
Cicero, IL
to naf
When using curl on a Mac in step 4 I get: "error": "unsupported_grant_type",
"error_description": "Invalid grant_type: author\nization_code"

With wget on the obi200 in step 4 I get. wget: option '--post-data' requires an argument
Usage: wget [OPTION]... [URL]...
andre2
join:2005-08-24
Brookline, MA

1 edit
The "\n" in the first error is a newline (or "Line Feed") character so I'm guessing that char got introduced when using copy and paste at the point where the line wrapped around?

Edit: You can see previous commands in the Obi shell by using the up-arrow key so you should be able to see exactly what command you actually executed if it wasn't too far back. (Or if you ran the command in Linux or any Linux-like OS, it probably lets you browse the command history the same way.)
jnmarshall
join:2024-03-26
Carrollton, TX
to jsolo1
What exactly is the purpose of these certs? If I take a new or factory defaulted Obi2xx and use Naf’s directions to configure GV are you saying that won’t work unless you have these certs for that particular device?

jsolo1
Premium Member
join:2001-07-01
PRIL
said by jnmarshall:

What exactly is the purpose of these certs? If I take a new or factory defaulted Obi2xx and use Naf’s directions to configure GV are you saying that won’t work unless you have these certs for that particular device?

I answered this 5 days ago - »Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods . If it doesn't apply to you then disregard. If you're still using an obi device it definitely does not apply.
spspspspspsp
join:2024-04-12
to naf
Hello,

May I also have the instructions for GV provisioning?

I have an Obi200 with OBi200 with firmware 3.2.2 (8680EX-arrynrob11).

Thank you very much.

And, do you have a 'tip jar' or similar?
vcsu
join:2008-06-04
to naf
Hi naf,

Could you please send me instructions for GV provisioning?

I have an Obi202 with OBi2xx-3-2-2-8680EX-arrynrob11 firmware.

Thank you very much.
theslug
join:2009-12-24
Santa Cruz, CA
Hi naf, or anyone else who still has them....
I have the same request... please pm me the GV instructions if you see this. I've had it running since 2022 but need to reprovision and lost the instructions 🥺
jpap
join:2024-04-23

1 edit
to phantasm22
said by phantasm22:

I have an Obi202 and I downgraded successfully to 5921EX. I then upgraded successfully to 6259 bypass uboot mod. However, every time I try updating to 8680EX, the update seems to go through but on reboot it's still showing 6259. Suggestions?

I've got the same problem. Did you work out a way to get arrynrob11 flashed onto the device from 6259?

I'm using the firmware files from the obiformware website and have verified the MD5s.
Bird222
join:2003-08-25
to naf
Anybody got the checksum for the 4983 stock firmware for the OBi2182?
naf
join:2017-12-12
said by Bird222:

Anybody got the checksum for the 4983 stock firmware for the OBi2182?

$ wget -q http://fw.obihai.com/OBi2000-6-2-3-4983.fw
$ md5sum OBi2000-6-2-3-4983.fw
4fcc23d205f37815fc4485dec976f0bc
 
Bird222
join:2003-08-25
to naf
I have updated to OBi2000-6-2-3-5330-taoman2.fw on my OBi2182. Are there any settings I should disable (or enable) to be safe? I have already have firmware update and ITSP provisioning disabled. naf I would also like to get the GV instructions. Thanks!
andre2
join:2005-08-24
Brookline, MA

1 edit

1 recommendation

Obitalk provisioning adds a label with "Google Voice" and the associated Google email address to the associated line key, which non-Obitalk provisioning doesn't. OTOH, the non-Obitalk provisioning disables several auto-provisioning settings to prevent Obitalk from automatically modifying the settings. What I did is to first provision via Obitalk to get the cosmetic touches, then followed that with non-Obitalk provisioning with naf's instructions. Then after that, and making any other desired changes, I backed up the settings by going to System Management/Device Update/Backup Configuration (described on page 241 of the Admin Guide). This apparently saves everything except passwords and PINs, so if you have to do a factory reset, you can restore from the backup file and then do the non-Obitalk provisioning again to put the password back.

Edit: Of course, after you do the non-Obitalk provisioning you can remove the device from Obitalk's dashboard.
Bird222
join:2003-08-25
to naf
Is there a way to completely black out the screen after a certain time limit? Are there any 'secret' features that are opened up by using this firmware?
hardly
Premium Member
join:2004-02-10
USA
in-n-out secret menu?

jsolo1
Premium Member
join:2001-07-01
PRIL
to andre2
"Obitalk provisioning adds a label with "Google Voice" and the associated Google email address to the associated line key, which non-Obitalk provisioning doesn't."

Can you elaborate on this, or better yet show a pic?

@Bird222, secret features - yes! You don't need obitalk to provision the device. You also can ssh which can be used for diagnostic purposes, testing, etc.
Bird222
join:2003-08-25
Ok, I was just wondering was there anything beyond that. I guess I've been spoiled by Tomato firmware on my router.

jsolo1
Premium Member
join:2001-07-01
PRIL
The main changes are listed on the obifirmware.com site for the device in question. I don't believe the goal of the project was to add additional functions beyond having greater control of device and offline (obitalk portal) provisioning capability.

Maybe @naf wants to tackle the new poly 401/402 units to add gv back in? Reading their admin guide sure seems like it's much of obi under the hood.
andre2
join:2005-08-24
Brookline, MA

2 edits
to jsolo1
said by jsolo1:

"Obitalk provisioning adds a label with "Google Voice" and the associated Google email address to the associated line key, which non-Obitalk provisioning doesn't."

Can you elaborate on this, or better yet show a pic?

I'm using the OBi1022 right now. My backup file has 4 occurrences of "Google Voice" and 2 occurrences of my Google email address (in all lower case). I've only provisioned Google Voice on SP1 and no other services. Under Service Providers/ITSP Profile A/General, both Name and SignalingProtocol are set to "Google Voice" (without quotes). Under Voice Services/SP1 Service, X_DisplayLabel is set to "Google Voice" and X_DisplayNumber is set to my Google email address. Finally, under IP Phone/Line Keys/Key 1, Function is set to "Call Appearance", Service is set to SP1, Number is set to my Google email address, and Name is set to "Google Voice". I vaguely remember that the ones under IP Phone were responsible for seeing them on the display, but I'd have to double check.

Edit: My backup file for the OBi2182 also has 4 occurrences of "Google Voice" and 2 occurrences of my Google email address, so the settings are probably exactly the same.

jsolo1
Premium Member
join:2001-07-01
PRIL
^^From memory, I think these are all cosmetic changes. I don't have the 2182 available to check these at the moment but will when I get a chance.
andre2
join:2005-08-24
Brookline, MA
Obitalk probably makes some other changes from the factory defaults but I trust that the later non-Obitalk provisioning will change/lock down the important settings. I like the idea of having the device look like it was provisioned by Obitalk since the vast majority of them are.

jsolo1
Premium Member
join:2001-07-01
PRIL

1 recommendation

to andre2

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

I think if google was to shut off/disconnect those devices provisioned NOT using obitalk portal, they would have done it by now. The product (google voice via obi/gvsip) is technically on life support now. I suspect when google (or obi) pull the plug, it will affect all obi20x using gv, not just those provisioned using obitalk.
andre2
join:2005-08-24
Brookline, MA
I don't think Google can even tell whether the devices are provisioned with or without Obitalk. By ssh'ing into the device and running the command "grep client_id /obi/obiapp", one can see both the client_id and client_secret. My values for both are exactly the same whether I use Obitalk or naf's instructions, so it appears that they're using the same values of both of those variables for everyone, and distinguishing based on which Google account the refresh token corresponds to. In particular, the client_id is posted at »blog.markdepalma.com/?m=201812 (in Step 5).
zionmatrix
join:2024-05-01
Vermontville, MI

1 edit
to naf
I'm new to this page but have 2 Obi200's I need to reconnect to GV
@naf would you please pm the instructions for the updates.

thanks
Bird222
join:2003-08-25
to jsolo1
said by jsolo1:

You can try something like

# wget https://www.dslreports.com/r0/download/2372758~bc2f8de44196163492c15fa0b6b83e35/extract_keys.zip -O - | gzip -d > /var/tmp/extract_keys
# chmod +x /var/tmp/extract_keys
# /var/tmp/extract_keys
 

It will generate 2 files, use winscp (or equiv) to retrieve them. The above downloads to tmpfs, so rebooting device will clear the ramdisk.
FYI, your instructions don't seem to work anymore.

jsolo1
Premium Member
join:2001-07-01
PRIL
said by Bird222:

FYI, your instructions don't seem to work anymore.

What device are you attempting on?
Bird222
join:2003-08-25
2182

jsolo1
Premium Member
join:2001-07-01
PRIL
^^My instructions never worked with that device to begin with.
Bird222
join:2003-08-25
Oh ok. Do you have instructions for that device?

jsolo1
Premium Member
join:2001-07-01
PRIL
The instructions would be the same except no extract_keys tool was ever made for the 2000 series. Read some posts above what you quoted initially; it applies to the 20x series.
andre2
join:2005-08-24
Brookline, MA
I can confirm that it doesn't work for the OBi1022 either. I had to modify the instructions for download (by using --no-check-certificate with wget) and uncompressing (by using unzip instead of gzip -d), then when running extract_keys it segfaults.
dial
join:2024-05-09
united kingd
to naf
Hi, I have an OBI200 (build 8680EX) and would like instructions to flash the Arryn firmware. Would someone PM me the instructions? Thanks!
dsnedeker
join:2017-12-07
Forsyth, GA
to naf

Re: Obihai OBi202 firmware mods

Please someone send me instructions on the Obi202 firmware swap. I haven't used mine for 3 years, and discovered the EOL stuff going on.
naf
join:2017-12-12
said by dial:

Hi, I have an OBI200 (build 8680EX) and would like instructions to flash the Arryn firmware. Would someone PM me the instructions? Thanks!

said by dsnedeker:

Please someone send me instructions on the Obi202 firmware swap. I haven't used mine for 3 years, and discovered the EOL stuff going on.

let us know if the instructions on obifirmware.com are missing anything...
fishhy
join:2024-05-10
Jacksonville, FL
to naf

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

@naf
Using a 202 on firmware 8680EX.
Can you please pm the GV provisioning instructions?
Thank you!
fishhy
sorry for silly questions, but how do I find my "obi client_id" ?
naf
join:2017-12-12

3 recommendations

said by fishhy:

sorry for silly questions, but how do I find my "obi client_id" ?

there is no "my" obi client_id; there's only one client_id that works and it belongs to obihai. just use the one in the instructions.
paperclip
join:2018-09-01
:
to naf
My obi200 (with 8680EX-arrynrob10) has been acting weird lately. I can't make or receive calls sometimes.

Obibox's call history would show outgoing call immediately ends when initiated. Incoming call doesn't show in obibox's call history, but I see missed call when I log into GV.

An obibox reboot fixes this until it happens again.
whit3y
join:2024-05-21
Trenton, NJ
to naf
Hi naf,

Could you please send me instructions for GV provisioning?

I have an Obi302 with firmware 3.2.2 (Build: 8680EX-arrynrob11)

Thank you very much.
RenewedVoice
join:2024-06-04
Hattiesburg, MS
to naf
Hello naf,

Grateful for finding your custom firmware for my Obi300!

May I bother you for provisioning instructions with consumer GV? Many thanks!
ericw12
join:2023-11-03
Cary, NC
to naf
Hi naf,

Could you please send me instructions for GV provisioning?

I have an Obi200 and Obi202 with firmware 3.2.2 (Build: 8680EX-arrynrob11)

Thank you very much!!
iwork
join:2024-06-11
Wilmington, DE
to naf
Hello, naf, I have an OBI202, F/W upgraded to OBi2xx-3-2-2-8680EX-arrynrob11, I am looking to get a copy of the Manual Google Voice Configuration instructions. Please PM me a copy of the GV manual configuration instructions. Thank you for your contribution!
azrobert
join:2015-02-07
Fountain Hills, AZ

1 edit
to naf

Re: Obihai OBi202 firmware mods

I have a locked ZT OBi300 with firmware 8680EX. I can login with admin/admin, but it doesn’t display any config options.

To unlock is it as simple as flashing with the modified firmware and running clear_zt_params? If I need to do something else, please send me the instructions.

Thanks

Edit:
I tried to flash the FW and it failed.
naf
join:2017-12-12

2 edits
said by azrobert:

I have a locked ZT OBi300 with firmware 8680EX. I can login with admin/admin, but it doesn’t display any config options.

To unlock is it as simple as flashing with the modified firmware and running clear_zt_params? If I need to do something else, please send me the instructions.

Thanks

basically yes. i would recommend to reboot and reset config after running clear_zt_params just to be thorough

ETA: and keep it away from an internet connection until complete to prevent any unwanted (and confusing) auto firmware reverts
said by azrobert:

Edit:
I tried to flash the FW and it failed.

*counter* edit: "flashing modified firmware" means doing the firmware downgrade dance as specified at obifirmware.com
azrobert
join:2015-02-07
Fountain Hills, AZ

1 edit
Deleted
azrobert

1 recommendation

to naf
It always helps to read the instructions, but I’m still having a problem. I flashed with 5921EX, flashed with 6258 bypass-uboot-mod and flashed with 8680-EX-arrynrob11. I checked system status and arrynrob11 is installed.

I’m now trying to login to the OBi300 with PuTTY to run clear_zt_parms, but I’m getting “Network error. Connection refused” I can login to my OBi200/ arrynrob11 with Putty. I get the same error with WinSCP. A factory reset didn’t help. Any ideas?

Thanks again.
naf
join:2017-12-12

2 recommendations

said by azrobert:

It always helps to read the instructions, but I’m still having a problem. I flashed with 5921EX, flashed with 6258 bypass-uboot-mod and flashed with 8680-EX-arrynrob11. I checked system status and arrynrob11 is installed.

I’m now trying to login to the OBi300 with PuTTY to run clear_zt_parms, but I’m getting “Network error. Connection refused” I can login to my OBi200/ arrynrob11 with Putty. I get the same error with WinSCP. A factory reset didn’t help. Any ideas?

Thanks again.

First double check its not just a local networking issue.

If not, try installing the telnet-enabled firmware i pm'd you a link to (you can install if directly from arryrob11) and see if you can connect via telnet instead of ssh [because maybe your scratch partition is hosed?]
azrobert
join:2015-02-07
Fountain Hills, AZ
Telnet worked perfectly. I also configured GV on SP1 and successfully made a call. Thank you so much!

One more question. Should I worry about the scratch partition?
naf
join:2017-12-12

2 edits

1 recommendation

said by azrobert:

One more question. Should I worry about the scratch partition?

Somewhat worried, yes, but let's verify that was the problem and see if we can fix it.
Run these in telnet and let's see the output:
# ls -l /scratch/
# mount | grep scratch
# mount -t jffs2 /dev/mtdblock4 /scratch -o rw,sync
 

If the results are "empty, empty, 'can't do that cause its fucked beyond comprehension'", then try using flash_erase to correct it:
# wget --no-check-certificate -O /var/tmp/flash_erase "https://drive.google.com/uc?export=download&id=1_0VR-U1geV9h3kNFFhZ-rcTJm3zjkZ2C" 
# chmod +x /var/tmp/flash_erase
# /var/tmp/flash_erase -j /dev/mtd4 0 0
# mount -t jffs2 /dev/mtdblock4 /scratch -o rw,sync
 

EDIT: fixed spurious linefeed in wget command
azrobert
join:2015-02-07
Fountain Hills, AZ

1 edit
# ls -l /scratch/
-rw-r--r-- 1 root root 0 Mar 23 2021 resolv.conf
# mount | grep scratch
# mount -t jffs2 /dev/mtdblock4 /scratch -o rw,sync
mount: mounting /dev/mtdblock4 on /scratch failed: Input/output error


I'm not sure I understand. Should I do the 2nd step?

Edit:
I'm going to continue this tomorrow.
naf
join:2017-12-12

1 recommendation

said by azrobert:

# ls -l /scratch/
-rw-r--r-- 1 root root 0 Mar 23 2021 resolv.conf
# mount | grep scratch
# mount -t jffs2 /dev/mtdblock4 /scratch -o rw,sync
mount: mounting /dev/mtdblock4 on /scratch failed: Input/output error


I'm not sure I understand. Should I do the 2nd step?

Edit:
I'm going to continue this tomorrow.

The /scratch folder that should be overwritten by the jffs2 mount contains that lame 0-byte resolve.conf and "Input/ouput error" is as close to "can't do that cause its fucked beyond comprehension" as you're gonna get.

Everything you've shown is consistent with a botched scratch partition, so I would run the second set of commands above to hopefully fix it.
after doing that and hard rebooting ("/sbin/reboot", not via webgui), i would expect ssh (and call history, etc) to work
azrobert
join:2015-02-07
Fountain Hills, AZ
to naf

Re: Obihai OBi202 firmware mods


# wget --no-check-certificate -O /var/tmp/flash_erase "https://drive.google.com/
uc?export=download&id=1_0VR-U1geV9h3kNFF
> hZ-rcTJm3zjkZ2C"
--2024-06-13 00:09:06-- »drive.google.com/uc?expo ··· V9h3kNFF
hZ-rcTJm3zjkZ2C
Resolving drive.google.com... 172.217.12.142, 2607:f8b0:4007:801::200e
Connecting to drive.google.com|172.217.12.142|:443... connected.
WARNING: cannot verify drive.google.com's certificate, issued by 'CN=WR2,O=Google Trust Services,C=US':
Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 404 Not Found
2024-06-13 00:09:07 ERROR 404: Not Found.

# chmod +x /var/tmp/flash_erase
# /var/tmp/flash_erase -j /dev/mtd4 0 0
# mount -t jffs2 /dev/mtdblock4 /scratch -o rw,sync
mount: mounting /dev/mtdblock4 on /scratch failed: Input/output error


It doesn’t look like it worked.
naf
join:2017-12-12

1 recommendation

said by azrobert:


# wget --no-check-certificate -O /var/tmp/flash_erase "https://drive.google.com/
uc?export=download&id=1_0VR-U1geV9h3kNFF
> hZ-rcTJm3zjkZ2C"
--2024-06-13 00:09:06-- »drive.google.com/uc?expo ··· V9h3kNFF
hZ-rcTJm3zjkZ2C
Resolving drive.google.com... 172.217.12.142, 2607:f8b0:4007:801::200e
Connecting to drive.google.com|172.217.12.142|:443... connected.
WARNING: cannot verify drive.google.com's certificate, issued by 'CN=WR2,O=Google Trust Services,C=US':
Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 404 Not Found
2024-06-13 00:09:07 ERROR 404: Not Found.

# chmod +x /var/tmp/flash_erase
# /var/tmp/flash_erase -j /dev/mtd4 0 0
# mount -t jffs2 /dev/mtdblock4 /scratch -o rw,sync
mount: mounting /dev/mtdblock4 on /scratch failed: Input/output error


It doesn’t look like it worked.

oops, looks like i inadvertently introduced a linefeed in that wget command somehow. i edited the original post to remove it. should be better now.
azrobert
join:2015-02-07
Fountain Hills, AZ
said by naf:

oops, looks like i inadvertently introduced a linefeed in that wget command somehow. i edited the original post to remove it. should be better now.

It worked and I can login with SSH.

Thanks for about the 5th time.
therofl98
join:2024-06-13
Chicago, IL
to naf

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

Hi naf See Profile, would I be able to get instructions on setting up GV on an OBi202 without using the portal? Thanks
numus19
join:2014-02-05
to naf
@naf can I please also get the GV provisioning instructions... running the latest arryn firmware
RenewedVoice
join:2024-06-04
Hattiesburg, MS
to naf
Anybody figure out how to ssh into an Obi300 using Mac terminal? ssh root@IP isn't working for me. Get result connect to host IP port 22: Connection refused
tuloabe1187
join:2024-06-30
to naf
Hello naf, I hope you are doing well. I have an OBi200 on firmware 8680EX-arrynrob11. Could you please send me the instructions to setup/configure GV manually. Thank you for your efforts.
vcsu
join:2008-06-04
to naf
Hello naf, could you please send me instructions for GV provisioning? Thank you very much.
Chester
join:2024-07-20
Boston, MA
to naf
Hello naf. naf, i flashed my obi302 with: OBi2xx-3-2-2-8680EX-arrynrob11.fw. It went successfully. It is possible you can send me the outline list on how to get Google Voice working with my 302. Much appreciated.
gillhog
join:2024-07-23
Fort Worth, TX

1 edit
to naf
Obtained procedure for provisioning Obi202 from naf. Working great.
LarLei
join:2024-07-26

1 edit

1 recommendation

to naf

Re: Obihai OBi202 firmware mods

Hi naf. Please provide instruction(s) on how to manually (without ObiTalk) configure Google Voice for Obi202. I have successfully updated firmware to 3.2.2 (Build: 8680EX-arrynrob11). Many thanks!

Edit 1:
I got the instruction from naf (really appreciate your super quick response) via forum's IMs and got GVoice working again for outbound calls.

I setup Obi202 at least 7+ years ago using ObiTalk portal. My setup uses 2 GVoice accounts for outbound calls. The same 2 GVoice redirect to 2 different Callcentric numbers in order to get caller-ID functionality. I also use Callcentric for E911. My setup is very typical as suggested by ObiTalk forum.

Last year, I noticed after a power outage (usually happens randomly 3-4 times a year), the Obi202's power LED would blink red/green. So I would just re-upload the firmware and everything would be running OK after the reboot.

Earlier this week, there was a power outage and the power LED was solid red. I had to do the factory reset (depress the reset pin at the bottom) many times before it would go to blinking red/green. Then I tried re-uploading the firmware many times, but it would still stay at blinking red/green. So I think unit serves its useful purpose. Unless someone has other troubleshooting ideas or fixes?

I have a spare Obi202, so I uploaded a newer firmware and a config that I saved last year. Afterward, Callcentric would not register the 2 extensions. To fix this I had to manually add the "Phone password/SIP password" to Voice Services | SPx Service | SIP Credentials | AuthPassword. My guess is that the config I saved did not actually contain any password. Does anyone know how to save config that also save all passwords?

After adding the SIP passwords, the 2 extensions registered, and I was able to receive calls (made to the GVoice numbers) with caller-IDs. E911 was also working as well (dial 933 to verify). However, outbound calls were not working: "no service configured error".

I followed the instruction from »www.obifirmware.com and updated the firmware in this order:
1. OBi202-3-2-2-5921EX-332148940.fw
2. OBi302-3-2-2-6259-signed-fw-bypass-uboot-mod.fw
3. OBi2xx-3-2-2-8680EX-arrynrob11.fw

Make sure to verify the MD5 of each firmware before updating. After each of the firmware update, I confirmed that I did not loose functionality with Callcentric (extensions registered, inbound calls with caller-ID, E911 verification).

Here are my addendum to the instruction that naf sent:
1. If you are using wget in step 4, you need to SSH into the OBi and the login username/password (root/obi = default) is not the same as the local web portal login (admin/admin = default)
2. Once done, be sure to undo any changes that were made in step 1
naf
join:2017-12-12
said by LarLei:

Last year, I noticed after a power outage (usually happens randomly 3-4 times a year), the Obi202's power LED would blink red/green. So I would just re-upload the firmware and everything would be running OK after the reboot.

Earlier this week, there was a power outage and the power LED was solid red. I had to do the factory reset (depress the reset pin at the bottom) many times before it would go to blinking red/green. Then I tried re-uploading the firmware many times, but it would still stay at blinking red/green. So I think unit serves its useful purpose. Unless someone has other troubleshooting ideas or fixes?

flashing red/green indicates that the bootloader detected a discrepancy between the contents of the kernel or root partition read from flash with their expected contents based on the most recent firmware update. if flashing firmware from the recovery mode doesn't fix that, i would assume that the flash chip is non-functional, but try swapping with a known-working power supply just to be sure.
said by LarLei:

I have a spare Obi202, so I uploaded a newer firmware and a config that I saved last year. Afterward, Callcentric would not register the 2 extensions. To fix this I had to manually add the "Phone password/SIP password" to Voice Services | SPx Service | SIP Credentials | AuthPassword. My guess is that the config I saved did not actually contain any password. Does anyone know how to save config that also save all passwords?

correct, passwords and many other hidden settings are not saved in obi's backups.
param_dump (»Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods) can display the passwordes/hidden settings, but there isn't currently a tool to restore them.
Smash74
join:2023-12-23
Hazleton, PA
to naf

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

Hello naf, I have an OBi200 and firmware 8680EX-arrynrob11. Could you please send me the instructions to setup/configure GV manually. Thank you for your efforts.

wamp5280
Premium Member
join:2017-04-30
Westminster, CO
to naf
Hello naf, I recently acquired an OBi202, flashed 8680EX-arrynrob11.fw, and I verified that I'm able to ssh into the device. Could you please send me the instructions for configuring GV? Thanks in advance, much appreciated!
nsucsu
join:2023-02-18
United State
to naf
Hi naf,

I flashed new OBi300 (Hardware version 1.5) with the custom firmware in the following order.
1. OBi202-3-2-2-5921EX-332148940.fw
2. OBi302-3-2-2-6259-signed-fw-bypass-uboot-mod.fw
3. OBi2xx-3-2-2-8680EX-arrynrob11.fw

However, after reset config and reboot, I can't ssh to OBi300. The port 22 is not open. I've also had the OBi302 with same firmware and can see the port 22. Please help.
naf
join:2017-12-12

1 recommendation

said by nsucsu:

I can't ssh to OBi300.

Sounds like a hosed scratch partition.
I'll pm you a telnet-enabled firmware with no dependency on a functioning /scratch that you can either use permanently or just use to verify/fix ssh problem (see here: »Re: Obihai OBi202 firmware mods for verify/fix)
nsucsu
join:2023-02-18
United State
Hi naf,

Thank you for a prompt reply. Using telnet-enabled firmware did confirm the root-cause with an empty /scratch partition (step-1), the fix procedure (step-2) did actually fixed the issue. I can see port 22 with telnet-enabled firmware as well as OBi2xx-3-2-2-8680EX-arrynrob11.fw.

However, this OBi300 picked up from ebay has a physical phone port issue (no dial tone at all). Thank you for your big help. I need to move on to find a good working one.
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net

1 recommendation

No dial tone is sometimes expected, if the device is not configured. If you dial ***1 does the device read its IP address to you? Apologies if you already tried that.
nsucsu
join:2023-02-18
United State
I have tried the followings, none of them worked and no sound feedback from the phone.

dial ***1
dial ***0
dial **9 222 222 222
Click on Status, then on Phone Port Status, show no values
Click on System Management, Device Admin, no AccessFromWAN under Web Server

try all suggestions from this discussion, none of them worked
»www.obitalk.com/forum/in ··· =14349.0

My conclusion is the physical phone port is dead.
nsucsu
to naf
Hi naf,

Your instruction of GV without OBiTalk in step 4 does not work. It returned "400 Bad Request" with wget and "error": "invalid_grant", "error_description": "Malformed auth code." with curl.
naf
join:2017-12-12
said by nsucsu:

Hi naf,

Your instruction of GV without OBiTalk in step 4 does not work. It returned "400 Bad Request" with wget and "error": "invalid_grant", "error_description": "Malformed auth code." with curl.

it sure sounds like you didn't replace the xxxxxxx's with the actual auth code (from previous step) which includes everything between (but not including) "code=" and "&scope"
nsucsu
join:2023-02-18
United State
Yes, I did replace the xxxxxxx correctly. I did successfully run for two OBi302 last year. I've also tried the save wget with "code=" string. With --quiet removed, here is the reply. Would you please advise a further lead. Thank you

--2024-08-16 09:01:38-- »accounts.google.com/o/oa ··· h2/token
Resolving accounts.google.com... 142.250.113.84, 2607:f8b0:4023:1006::54
Connecting to accounts.google.com|142.250.113.84|:443... connected.
WARNING: cannot verify accounts.google.com's certificate, issued by 'CN=WR2,O=Google Trust Services,C=US':
Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 400 Bad Request
2024-08-16 09:01:39 ERROR 400: Bad Request.
naf
join:2017-12-12

1 recommendation

said by nsucsu:

Your instruction of GV without OBiTalk in step 4 does not work.

said by nsucsu:

... I did successfully run for two OBi302 last year...

^^^ one of these statements is incorrect

remember, those oauth code's expire after a couple minutes. you need to grab a fresh one (just redo all the steps) when you retry.
nsucsu
join:2023-02-18
United State
Sorry, I didn't realize that expiration. Thank you
laughsaw
join:2024-08-20
to naf
Hi naf, I have an obi302 which I followed firmware installation, can you help me with setting it up?
naf
join:2017-12-12
said by laughsaw:

Hi naf, I have an obi302 which I followed firmware installation, can you help me with setting it up?

assuming you mean setting up GV, then see your pm. if otherwise, probably not but ask here so other people can answer
Sasa
join:2001-09-22
Universe
to naf
Good Morning Naf. Would you be so kind to provide (PM) me the instructions how to manually configure Google Voice for Obi202 (without ObiTalk that we were notified is shutting down Oct 31, 2024). I have successfully updated firmware to 3.2.2 (Build: 8680EX-arrynrob11) & sincerely appreciate your thoughtful help to the community!
naf
join:2017-12-12

1 recommendation

said by Sasa:

Would you be so kind to provide (PM) me the instructions how to manually configure Google Voice for Obi202

done
said by Sasa:

without ObiTalk that we were notified is shutting down Oct 31, 2024

here we go again...
stemfi
join:2024-08-24
Hello naf, I have an OBi200 with software version: 3.1.1 (Build: 5463EX). Could you please send me the instructions to setup/configure GV manually. Thank you for your efforts.
naf
join:2017-12-12

1 edit

5 recommendations

said by naf:

Not sure if the recent uptick in requests is due to people confusing the obitalk portal EOL date of Dec 2023 with Dec 2022 or thinking that it will somehow help them with the EOL, but I'll take the opportunity to throw out my view on that situation in case there is confusion:

Using the portal-less GV configuration method _now_ does not provide a hedge against the portal EOL next year.

Devices that require the portal-less method (OBi30x's, vendor-locked phones, and other more nefarious setups) obviously have no choice.

For devices that the portal will generate credentials for (OBi20x's, unlocked obiphone's, etc - including those with modded fw, cause that works with the portal just fine too):
- if credentials generated today using the portal-less method still work after the EOL, then so will the ones generated today by the portal itself
- if all credentials stop working at EOL time, then getting them in the portal-less fashion now doesnt help
- if existing credentials continue to work after EOL, but can't be newly generated in the portal because its EOL *and* somehow they forget to turn off credential creation so that the portal-less method still works, then yes the portal-less method might help _then_, but using it _now_ does not prepare for that because you could have just used the portal today while its up

So if you want to use the portal-less method just as a hedge to the portal EOL, don't bother. Leave it to people with devices that require it, or just hate the portal, or need it when the portal is temporarily offline because it sucks, or don't want to give their GV credentials to a website owned by obi/play/poly/tronny/whocankeeptrack, or whatever.

as a reminder, this is still true. just substitute "December 2023" with "October 2024 or whenever", and "obi/play/poly/tronny/whocankeeptrack" with "obi/play/poly/tronny/whocankeeptrack/hp"
stemfi
join:2024-08-24

2 edits

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

Hi naf. Thanks for the quick response.
richs
join:2024-08-24
Raleigh, NC
to naf
Is there a link to instructions for setting up a obihai 202 with gv without the obitalk portal?
naf
join:2017-12-12
said by richs:

Is there a link to instructions for setting up a obihai 202 with gv without the obitalk portal?

theres one in your PMs now.
for right or wrong, i try to keep it off of google-able locations.
Anon3c548
@65.191.9.x
Understood.
Thank you.

Rich
yskgg
join:2024-03-15
to naf
naf, could you please send me instruction on how to set it up?
Anon1d223
@73.241.81.x
to naf
Please also send me a PM (via email preferably) about reconfiguring an Obihai 20x for GV. My Obihai continues to work fine with GV and voip.ms, as of today. But I worry about future hiccups. Thanks.
naf
join:2017-12-12

1 edit
said by Anon1d223 :

Please also send me a PM (via email preferably) about reconfiguring an Obihai 20x for GV. My Obihai continues to work fine with GV and voip.ms, as of today. But I worry about future hiccups. Thanks.

hard to pm anonymous users... how about you email me: click my name to see my email in profile
dasvolt
join:2024-08-27
to naf
hi naf, can you PM me the instructions to setup GV on an obi300 without the portal?

I also have an obi110 and it kept on showing "Resolving DNS" error for my GV account. is there any mod that can make obi110 to work again? or I should better off switching to ob300?

thanks
naf
join:2017-12-12
said by dasvolt:

I also have an obi110 and it kept on showing "Resolving DNS" error for my GV account. is there any mod that can make obi110 to work again? or I should better off switching to ob300?

you may be a little behind: GV switched protocol from XMPP to SIP in 2018. obi100's haven't worked with GV since. no mods to change that (natively, you can obviously still proxy the obi's physical telephone port via a software pbx or obi2xx/3xx)

sounds like switching to obi300 is in order. see pm for GV config. (requires lastest modded firmware from obifirmware.com)
richs
join:2024-08-24
Raleigh, NC
to naf
NAF,
Will this also work on a obi312?
naf
join:2017-12-12
said by richs:

NAF,
Will this also work on a obi312?

i expect it will, yes
dasvolt
join:2024-08-27
to naf
just want to thank you for your prompt reply and PM. your instructions worked like magic!

two quick notes:
1. one needs to install the 3rd party firmware (arrynrob) first to see the SPx configuration settings, the stock firmware removed those options

2. for some reason, firefox on a linux box does not redirect following hosts settings, switching to chromium worked.
baliktad
join:2008-11-20
to naf
Hi naf, I have an Obi200 I have been using with Google Voice for home phone service. Can you please send me instructions for how to update the firmware? Here is what info I have from the local admin portal if that matters:

HardwareVersion 1.4
SoftwareVersion 3.2.2 (Build: 8680EX)
naf
join:2017-12-12

1 recommendation

said by baliktad:

Hi naf, I have an Obi200 I have been using with Google Voice for home phone service. Can you please send me instructions for how to update the firmware? Here is what info I have from the local admin portal if that matters:

HardwareVersion 1.4
SoftwareVersion 3.2.2 (Build: 8680EX)

assuming you mean 'upgrade' to the modified firmware with a shell and some tricks that mostly help obi30x's, see instructions on obifirmware.com and let us know if theres anything that doesn't work as described there.

but if it ain't broke...
baliktad
join:2008-11-20
said by naf:

assuming you mean 'upgrade' to the modified firmware with a shell and some tricks that mostly help obi30x's, see instructions on obifirmware.com and let us know if theres anything that doesn't work as described there.

but if it ain't broke...

It's working for now, just concerned if I need to do something to preserve Google Voice functionality. I guess my biggest concern at this point would be provisioning my current config on new hardware if/when my current hardware fails, now that the Obi portal is gone.

Any way to export or back up all settings with stock firmware? I used to manage a bunch of Linksys SPA IP phones that had a hidden /admin/spacfg.xml page which was super convenient for saving state.
naf
join:2017-12-12

1 recommendation

said by baliktad:
said by naf:

assuming you mean 'upgrade' to the modified firmware with a shell and some tricks that mostly help obi30x's, see instructions on obifirmware.com and let us know if theres anything that doesn't work as described there.

but if it ain't broke...

It's working for now, just concerned if I need to do something to preserve Google Voice functionality. I guess my biggest concern at this point would be provisioning my current config on new hardware if/when my current hardware fails, now that the Obi portal is gone.

Any way to export or back up all settings with stock firmware? I used to manage a bunch of Linksys SPA IP phones that had a hidden /admin/spacfg.xml page which was super convenient for saving state.
theres no great method to backup obi config with any firmware unfortunately.
the stock backup leaves out hidden settings (needed for GV) and passwords, and even on the modded fw the param_dump tool does show every setting but doesn't have an easy restore equivalent.

as for gv specifically, see my post at the top of this page. tldr just wait and see, nothin to do now.
nahsha
join:2001-10-18
Montreal, QC

1 edit
to naf
Hi naf, are there instructions for obi 202? I installed the recommended f/w, and I am able to connect via ssh. Thanks!

handydave
join:2000-12-14
Totowa, NJ
to naf
Can you please PM the instructions?

Thank you
richs
join:2024-08-24
Raleigh, NC

2 recommendations

Confirmed working on obi312.
andrewvanh
join:2024-08-30
52213-9554
to naf
Naf, I would like the instructions please for GV setup on obi2000. Thank you
bhamblin
join:2024-08-31
Marion, OH
to naf
Hello, I’m wanting to upgrade the firmware on my OBi2182. Can someone kindly provide me the instructions to do so?
ericw12
join:2023-11-03
Cary, NC
to naf
Hi Naf,

I have to apologize. I don't check this forum often. You sent me the instructions previously, but they expired in a week, and I missed every time.

Could you please send me the obihai 202 with gv without the obitalk portal again? I will check daily this time. Thanks again!
ericw12
to naf
Hi Naf,

I have tried the offline Google voice provisioning method on ITSP-C. It works well. Thank you!

However, I have a new problem.

On the same Obi 200, I have a SIP phone service from freephoneline.ca configured on ITSP-A, and it is no longer working. I used to be able to check the obihai 200 status in their website, but it won’t show on their site anymore.

I am not sure if it has anything to do with manual google voice provision on ITSP-C.

Any suggestion?

Thanks
ericw12
Well, I found the solution myself. Change the X_UserAgentPort to something different in between 30000-60000 solved the problem. Something to do with router UDP timeout.
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
If the problem comes back, make sure you set RegistrationPeriod to an unreasonably large number like 3600 or 7200.
naf
join:2017-12-12

1 recommendation

to ericw12
said by ericw12:

Well, I found the solution myself. Change the X_UserAgentPort to something different in between 30000-60000 solved the problem. Something to do with router UDP timeout.

I think you are on to something. It looks like the templates for EnableGVSIPWithoutOBiTALK_SPx.xml should probably use X_UserAgentPort = 5080+(SP#-1) [even though they don't use the port themselves] or allow it to remain at the default setting [5060+(SP#-1)] so as not to conflict with common configs of non-GV SPs on SP1, instead of just all being hardcoded to 5080
bhamblin
join:2024-08-31
Marion, OH
said by naf:
said by ericw12:

Well, I found the solution myself. Change the X_UserAgentPort to something different in between 30000-60000 solved the problem. Something to do with router UDP timeout.

I think you are on to something. It looks like the templates for EnableGVSIPWithoutOBiTALK_SPx.xml should probably use X_UserAgentPort = 5080+(SP#-1) [even though they don't use the port themselves] or allow it to remain at the default setting [5060+(SP#-1)] so as not to conflict with common configs of non-GV SPs on SP1, instead of just all being hardcoded to 5080
Hello naf, I’m wanting to upgrade the firmware on my OBi2182. Can someone kindly provide me the instructions to do so?
naf
join:2017-12-12
said by bhamblin:

Hello naf, I’m wanting to upgrade the firmware on my OBi2182. Can someone kindly provide me the instructions to do so?

see instructions on obifirmware.com and let us know if theres anything that doesn't work as described there

or maybe you want to upgrade to stock? i dunno, no goals specified.
vcsu
join:2008-06-04
to naf
Hello naf, could you please send me instructions for GV provisioning? I apologize if this is a duplicate request. I did not see that you PM'd me until the link expired, but I will try to check daily this time. Thank you very much.
poedenon
join:2024-09-04
Fenton, MO
to naf
naf, could you please send me instructions on how to set it up for the 2x?
poedenon
join:2024-09-04
Fenton, MO

1 edit
to naf

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

..
poedenon
to naf
... sorry for the dup
evox2008
join:2013-11-17
to naf
Hello everyone.

Can someone please help me answer this qs?

The way I understand it, is that even with the obitalk portal going EOL, the service that obi device uses (GV in my case) will still continue to work because the creds are saved on the device (through a use of encryption/cert/etc). Only if you need to change your login creds (obi/google/etc) I will need to reconfigure the device's config, and that's where this M0D'ed FW can be useful (because the portal will no longer be available to us), right?

With this alt FW we can change the config without the portal after EOL?

Thank you!
naf
join:2017-12-12

2 recommendations

said by evox2008:

Hello everyone.

Can someone please help me answer this qs?

The way I understand it, is that even with the obitalk portal going EOL, the service that obi device uses (GV in my case) will still continue to work because the creds are saved on the device (through a use of encryption/cert/etc). Only if you need to change your login creds (obi/google/etc) I will need to reconfigure the device's config, and that's where this M0D'ed FW can be useful (because the portal will no longer be available to us), right?

With this alt FW we can change the config without the portal after EOL?

Thank you!

Pretty close, I'll just clarify a few things:

Non-GV credentials (SIP user/pass) can already be modified in the stock firmware's local webui. No worries there if portal goes away.

When (if?) the portal actually goes down, the GV service the obi device uses will still continue to work because the GV oauth creds are saved on the device. You can change your google password however you like and it wont effect those oauth credentials once they are issued. Only if you revoke the oauth token [by going to »myaccount.google.com/connections, where obi has unhelpfully named their oauth access "Google Voice" instead of "obi"] will that oauth credential cease to work.***

If you need to use a different oauth credential after the portal shutdown (new/different GV account, revoked old creds for some reason, etc) *or* you currently have a device that can't use the portal (obi300, etc) -- that's where the modded FW can be useful, because it allows you to specify the oauth credential directly in the webgui instead of relying on the portal to send it over to the device.

*** GV *could* stop issuing new oauth credentials, deny existing ones, or take down the whole GV service at any time but we'll cross that path when/if we get there.
Anond77f9
@108.26.180.x
Hello everyone. Tried to config SP1 for GV on arynrob11/obi300, couldn't get it to work. Would someone please pm me the setup instructions? Thanks!
Anon5367f
@69.248.46.x
to naf
Would you know how unlocking USB devices work on NAF? I have an USB Wifi recognized but won't initialize.

# cat /proc/bus/usb/devices
...
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480 MxCh= 0
D:  Ver= 2.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=2357 ProdID=0120 Rev= 2.00
S:  Manufacturer=Realtek
S:  Product=802.11ac WLAN Adapter
S:  SerialNumber=00e04c000001
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 6 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=87(I) Atr=03(Int.) MxPS=  64 Ivl=500us
E:  Ad=08(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=09(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
 

usb 1-1: new high speed USB device using ffxav-ehci and address 2
usb 1-1: New USB device found, idVendor=2357, idProduct=0120
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: 802.11ac WLAN Adapter
usb 1-1: Manufacturer: Realtek
usb 1-1: SerialNumber: 00e04c000001
usb 1-1: configuration #1 chosen from 1 choice
usbcore: registered new interface driver rtl8821au
 
ntshd
join:2024-09-07
Newton Center, MA
to naf
Hi naf, may I get a copy of the gv setup instructions please?

glnz
join:2006-11-26
New York, NY
to naf
Naf - thanks for your PM, but wow is this complicated! I need a week off to try to understand all these steps. But I also see general advice that if my Obi 200 is working with our GV number, just leave it alone.
In our case, the time may have come to go with a commercial VOIP provider and stop the struggle. And our important incoming telephone number is actually with Skype (which is forwarding to our GV number).
But GV with Obi was sure great! I am sad.
indyjosh69
join:2024-09-14
Apex, NC
to naf
Hi Naf, Just picked up an OBi302 and would like to use it with my GV account. May I request you for instructions to setup the box?
Many Thanks!
naf
join:2017-12-12
to Anon5367f
said by Anon5367f :

Would you know how unlocking USB devices work on NAF? I have an USB Wifi recognized but won't initialize.

# cat /proc/bus/usb/devices
...
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480 MxCh= 0
D:  Ver= 2.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=2357 ProdID=0120 Rev= 2.00
S:  Manufacturer=Realtek
S:  Product=802.11ac WLAN Adapter
S:  SerialNumber=00e04c000001
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 6 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=87(I) Atr=03(Int.) MxPS=  64 Ivl=500us
E:  Ad=08(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=09(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
 

usb 1-1: new high speed USB device using ffxav-ehci and address 2
usb 1-1: New USB device found, idVendor=2357, idProduct=0120
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: 802.11ac WLAN Adapter
usb 1-1: Manufacturer: Realtek
usb 1-1: SerialNumber: 00e04c000001
usb 1-1: configuration #1 chosen from 1 choice
usbcore: registered new interface driver rtl8821au
 
you would need a driver backported to the obi's kernel. i never had any luck trying to recreate their kernel config/patches to do so
ambit12
join:2023-05-22

1 edit
to naf
Hi Naf, I am hopeful that you can send over the instructions for Obi302 (updated with 3.2.2 (Build: 8680EX-arrynrob11) I also have the 202, 3.2.2 (Build: 8680EX) so would be grateful for whatever you can provide for this one as well. It suddenly stopped working a couple of weeks ago (configured with a ported GV number) and I just assumed it was because of some firmware update with my ATT router. I then read about EOL scheduled for OCT 31, 2024.

Would so much appreciate your set up procedures for the 202, and 302. Thanks so much for your work!
Anon1ce39
@69.248.46.x
to naf
Thank you for your reply making the firmware available. I mistakenly thought the kernel module meant it was supported and sought this one out. Is the stock wifi usb the only hopeful choice?
naf
join:2017-12-12
said by Anon1ce39 :

Thank you for your reply making the firmware available. I mistakenly thought the kernel module meant it was supported and sought this one out. Is the stock wifi usb the only hopeful choice?

Yes, the obi sourced usb wifi adapter is the only wifi kernel module that the kernel provides.

I don't think I've seen any reports of anyone using a non-obi adapter successfully (if you are reading this and have done this, let us all know)
ambit12
join:2023-05-22
to indyjosh69
How did this work out for you?
indyjosh69
join:2024-09-14
Apex, NC
Hello,
I was able to successfully flash the patched firmware from obifirmware.com but haven't had the time to configure the 302. I hope to continue sometime shortly. Thanks!
Luzo
join:2023-02-01
Canada
to naf
Does the custom firmware for Obi20x/30x have the feature to automatically restart the Obi every day or every week at a certain time? If not, would it be possible to add this feature?
naf
join:2017-12-12
said by Luzo:

Does the custom firmware for Obi20x/30x have the feature to automatically restart the Obi every day or every week at a certain time? If not, would it be possible to add this feature?

something close to this for 3am daily, adjust as necessary ( »crontab.guru/#0_3_*_*_* ):
mkdir -p /scratch/etc/crontabs
echo "0 3 * * * /sbin/reboot >/dev/null 2>&1" >> /scratch/etc/crontabs/root
echo "crond -l 0 -c /scratch/etc/crontabs/" >> /scratch/etc/rc.custom
 
Luzo
join:2023-02-01
Canada
said by naf:
said by Luzo:

Does the custom firmware for Obi20x/30x have the feature to automatically restart the Obi every day or every week at a certain time? If not, would it be possible to add this feature?

something close to this for 3am daily, adjust as necessary ( »crontab.guru/#0_3_*_*_* ):
mkdir -p /scratch/etc/crontabs
echo "0 3 * * * /sbin/reboot >/dev/null 2>&1" >> /scratch/etc/crontabs/root
echo "crond -l 0 -c /scratch/etc/crontabs/" >> /scratch/etc/rc.custom
 
3am daily is perfect.

SSH into the obi after installing the custom firmware and then enter those commands?
naf
join:2017-12-12
said by Luzo:

3am daily is perfect.

SSH into the obi after installing the custom firmware and then enter those commands?

yes. username 'root', default password 'obi'

warning: don't mess up rc.custom by removing the line that starts dropbear, or else you won't be ssh-ing into the obi anytime soon. adding things to the end, like in the commands above, seems like a safe way to do things even if they dont work/hang/etc
jfarre20
join:2024-09-17
Pittsboro, NC

1 edit
to naf
Hello, may you please PM me the instructions for GV on an obi200? I've installed the firmware and can SSH into the device.
Device was working before but now says Connect Failed: 403 Forbidden (server=216.239.36.145; retry in 20s)
I suspect I just need to redo the creds, my GV portal doesn't show the obi anymore. not sure what changed.
Luzo
join:2023-02-01
Canada
to naf
said by naf:
said by Luzo:

3am daily is perfect.

SSH into the obi after installing the custom firmware and then enter those commands?

yes. username 'root', default password 'obi'

warning: don't mess up rc.custom by removing the line that starts dropbear, or else you won't be ssh-ing into the obi anytime soon. adding things to the end, like in the commands above, seems like a safe way to do things even if they dont work/hang/etc
This is my first time SSH'ing into a device. I ctrl+c and ctrl-v one line at a time without spaces on either side. I didn't receive any error messages as you can see in the photo. Did I do everything correctly?
naf
join:2017-12-12

1 recommendation

said by Luzo:

This is my first time SSH'ing into a device. I ctrl+c and ctrl-v one line at a time without spaces on either side. I didn't receive any error messages as you can see in the photo. Did I do everything correctly?

Looks good to me. Log in once more and issue a manual reboot command (webgui reboot won't work) to get it to run that startup script on boot, and wait until tomorrow morning to verify it works (either look at UpTime on the webgui or ssh in and run uptime)
Luzo
join:2023-02-01
Canada
said by naf:

Looks good to me. Log in once more and issue a manual reboot command (webgui reboot won't work) to get it to run that startup script on boot, and wait until tomorrow morning to verify it works (either look at UpTime on the webgui or ssh in and run uptime)

-sh: reboot: not found

reboot command doesn't work; uptime does. I simply unplugged the power out of the obi and plugged it back in. Hopefully this is fine.
naf
join:2017-12-12

1 recommendation

said by Luzo:
said by naf:

Looks good to me. Log in once more and issue a manual reboot command (webgui reboot won't work) to get it to run that startup script on boot, and wait until tomorrow morning to verify it works (either look at UpTime on the webgui or ssh in and run uptime)

-sh: reboot: not found

reboot command doesn't work; uptime does. I simply unplugged the power out of the obi and plugged it back in. Hopefully this is fine.
/sbin/reboot i should have said, but you got the job accomplished equally well
Luzo
join:2023-02-01
Canada
said by naf:

/sbin/reboot i should have said, but you got the job accomplished equally well

Thank you. I appreciate it.
jfarre20
join:2024-09-17
Pittsboro, NC
to naf
is there a way to copy my token from a bad obi to a replacement?

my obi200 was hit by lightning and it killed the analog chip, but the device still boots, connects to GV. etc. I got a replacement 200 on ebay.

I already installed the custom fw on both boxes, and ran the provision script, and tried the oauth instructions but it says token error. I exported my client cert and key from the good obi, how would you import that on the other obi?
jfarre20
to naf
is there a way to copy my token from a bad obi to a replacement? »imgur.com/a/hit-by-light ··· -KzE7foO

my obi200 was hit by lightning and it killed the analog chip, but the device still boots, connects to GV. etc. I already installed the custom fw on both boxes, and ran the provision script, and tried the oauth instructions but it says token error. I exported my client cert and key, how would you import that on the other obi?
naf
join:2017-12-12
said by jfarre20:

is there a way to copy my token from a bad obi to a replacement? »imgur.com/a/hit-by-light ··· -KzE7foO

my obi200 was hit by lightning and it killed the analog chip, but the device still boots, connects to GV. etc. I already installed the custom fw on both boxes, and ran the provision script, and tried the oauth instructions but it says token error. I exported my client cert and key, how would you import that on the other obi?

extract oauth token with param_dump: »Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods
modded firmware allows that token to be specified in webgui (but its easier imo to just create a new one)

client certs are unnecessary, any obi-signed device certificate is accepted
jfarre20
join:2024-09-17
Pittsboro, NC
I never received a PM with the instructions, so I was trying to figure this out myself. I found a wayback page to your site and saw where you load the XML in the ITSP provisioning, and put the refresh token string thing in the password field, but it doesn't seem to work with 'token error'. I had some trouble with the google talk api thing so I thought taking the known good token would be the best move.
naf
join:2017-12-12
said by jfarre20:

I never received a PM with the instructions...

Sorry, I missed your original request. PM sent now.
jfarre20
join:2024-09-17
Pittsboro, NC
to naf

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

Thanks it worked. I built a little webpage that could help users thru these instructions - but I read earlier in this forum that you don't want it 'googleable'

I wonder if a different redirect URI would work, or if it would break things. If it would work, that'd make the whole hosts file thing not an issue.
naf
join:2017-12-12
said by jfarre20:

Thanks it worked. I built a little webpage that could help users thru these instructions - but I read earlier in this forum that you don't want it 'googleable'

I wonder if a different redirect URI would work, or if it would break things. If it would work, that'd make the whole hosts file thing not an issue.

Nope, oauth docs specify that the redirect URL must get checked against the list of valid URLs to prevent 3rd party token intercept attacks (or, atleast ones that don't involve dns shenanigans also). But you're welcome to prove me wrong...
nerdtavious
join:2024-09-18
San Jose, CA
to naf
I would like to also have the instructions after flashing the firmware for the Obi200 please.

Thank you!
nerdtavious
Thank you, working perfectly after following instructions.
ntshd
join:2024-09-07
Newton Center, MA
to naf
2024-09-20.csv.zip
5,507 bytes
Thank you, naf, for the instructions!
ran into an issue
No errors on each steps, but the OBI300 (with arrynrob11) went into a reboot loop after setup (status: Connect Failed: 403 Forbidden (server=216.239.36.145; retry in 5s))
syslog:
9/20/2024 10:48 Info PARAM Cache Write Back(256 bytes)
9/20/2024 13:01 Info PARAM Cache Write Back(256 bytes)
9/20/2024 13:01 Info PARAM Cache Write Back(256 bytes)
9/20/2024 13:01 Info Timers adjusted according to SNTP clock
9/20/2024 13:01 Info SNTP clock is ready
9/20/2024 13:01 Info [BT#1] BT_EVT_BT_DOWN @ 485
9/20/2024 13:01 Info [BT#0] BT_EVT_BT_DOWN @ 485
9/20/2024 13:01 Info Actual Randome Delay: 14
9/20/2024 13:01 Info Random Delay Range: 30
9/20/2024 13:01 Info 0xe0 written to TONEN. DTMF_PASS 2. DTMF_FAIL 3.
9/20/2024 13:01 Emergency Si3226x PCMStart
9/20/2024 13:01 Emergency ProSLIC_RingSetup : VBATR_EXPECT (5500000): Clamped to Gen Conf Limit (51eb82a)
9/20/2024 13:01 Emergency Starting LB Cal on channel 0
9/20/2024 13:01 Emergency VBAT Up = 58.272 v
9/20/2024 13:01 Emergency VBAT Up = 58.482 v
9/20/2024 13:01 Emergency Patch verification passed
9/20/2024 13:01 Emergency Patch verification passed
9/20/2024 13:01 Emergency si3226x : Channel 1 : Chip Rev 3
9/20/2024 13:01 Emergency si3226x : Channel 1 : Chip Type 28
9/20/2024 13:01 Emergency si3226x : Channel 0 : Chip Rev 3
9/20/2024 13:01 Emergency si3226x : Channel 0 : Chip Type 28
9/20/2024 13:01 Emergency si3226x : Channel 1 : Type = PROSLIC
9/20/2024 13:01 Emergency si3226x : Channel 0 : Type = PROSLIC
9/20/2024 13:01 Error SYSTEM REBOOTED (Reason: 9
9/20/2024 13:01 Notice CustomID 1
9/20/2024 13:01 Emergency Netmask = 255.255.255.0
9/20/2024 13:01 Emergency Gateway = 192.168.x.y
9/20/2024 13:01 Emergency IP Address= 192.168.x.x
9/20/2024 13:01 Notice ==== Networking is ready ====
9/20/2024 13:01 Emergency DNS SERVER: 192.168.x.y
9/20/2024 13:01 Emergency Goodbye! Reboot Now. (reason: 9)
9/20/2024 13:01 Emergency Final Cleanup before reboot....
9/20/2024 13:01 Emergency Reboot checking.....
9/20/2024 13:01 Alert Reboot is scheduled in 1 second(s)

Any ideas on how to fix this?
more logs in the attracted file.
Thanks!
naf
join:2017-12-12
said by ntshd :

Thank you, naf, for the instructions!
ran into an issue
No errors on each steps, but the OBI300 (with arrynrob11) went into a reboot loop after setup (status: Connect Failed: 403 Forbidden (server=216.239.36.145; retry in 5s))
...
Any ideas on how to fix this?
more logs in the attracted file.
Thanks!

From logs, looks like the AuthPassword refresh_token did fetch an access token, so that part works. But then that token gets '403 Forbidden', eh?

The 2 GV accounts that you used to generate those refresh_tokens: these are both consumer/free (not gsuite/business/whatever) GV accounts that you can login to voice.google.com and see a phone number assigned (in the upper right)?
ntshd
join:2024-09-07
Newton Center, MA

From logs, looks like the AuthPassword refresh_token did fetch an access token, so that part works. But then that token gets '403 Forbidden', eh?

The obi300's config GUI is missing the following attributes:

GVSIP
X_GApiRefreshToken
X_GApiInitAccessToken
X_GoogleClientInfo

Can they be added by hard coding or using SSH?
naf
join:2017-12-12
said by ntshd :
said by naf:

From logs, looks like the AuthPassword refresh_token did fetch an access token, so that part works. But then that token gets '403 Forbidden', eh?

The obi300's config GUI is missing the following attributes:

GVSIP
X_GApiRefreshToken
X_GApiInitAccessToken
X_GoogleClientInfo

Can they be added by hard coding or using SSH?
These are added through ITSP config, as in the template: »www.obifirmware.com/fw/E ··· TALK.xml
Can be verified with param_dump (»Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods)

NOTE: the modded firmware ignores the 2 tokens in favor of what you put in AuthPassword field

That part is working right as shown in your logs ("Using AuthPassword as token request override", "GAPI:refresh tk ok")
said by naf:

The 2 GV accounts that you used to generate those refresh_tokens: these are both consumer/free (not gsuite/business/whatever) GV accounts that you can login to voice.google.com and see a phone number assigned (in the upper right)?

^^^
ntshd
join:2024-09-07
Newton Center, MA
param_dump seems not to be working on obi300.

wget »/r0/do ··· dump.zip -O - | gzip -d > /var/tmp/param_dump
chmod +x /var/tmp/param_dump
/var/tmp/param_dump | grep RefreshToken

# /var/tmp/param_dump | grep RefreshToken
# /var/tmp/param_dump
mac: 9cadef841788, hw_vers: 000105ff
unknown hw_vers
# /var/tmp/param_dump | grep 0
mac: 9cadef841788, hw_vers: 000105ff
naf
join:2017-12-12
param_dump.zip
21,508 bytes
Latest param_dump for obi2xx/3xx (allow hw v1.5)

# wget http://www.dslreports.com/r0/download/2550334~9f32a5010ac4a31a72ad6485bb27737e/param_dump.zip -O - | gzip -d > /var/tmp/param_dump
# chmod +x /var/tmp/param_dump
# /var/tmp/param_dump
 
naf

1 edit
to ntshd
said by ntshd :

param_dump seems not to be working on obi300.

wget »/r0/do ··· dump.zip -O - | gzip -d > /var/tmp/param_dump
chmod +x /var/tmp/param_dump
/var/tmp/param_dump | grep RefreshToken

# /var/tmp/param_dump | grep RefreshToken
# /var/tmp/param_dump
mac: 9cadef841788, hw_vers: 000105ff
unknown hw_vers
# /var/tmp/param_dump | grep 0
mac: 9cadef841788, hw_vers: 000105ff

see updated param_dump for v1.5 above, but I still dont think thats your problem since we can see those settings are correct based on your logs
said by naf:
said by naf:

The 2 GV accounts that you used to generate those refresh_tokens: these are both consumer/free (not gsuite/business/whatever) GV accounts that you can login to voice.google.com and see a phone number assigned (in the upper right)?

^^^
^^^
still need to confirm this or no amount of troubleshooting is going to help
ntshd
join:2024-09-07
Newton Center, MA
Thank you for fixing param_dump. I pm'd you the output.
Both GV accounts are consumer/free. I can see the phone numbers. One account has two numbers (one of the 2 numbers is ported in from t-mobil)
naf
join:2017-12-12

1 edit
said by ntshd :

Thank you for fixing param_dump. I pm'd you the output.
Both GV accounts are consumer/free. I can see the phone numbers. One account has two numbers (one of the 2 numbers is ported in from t-mobil)

OK, I can recreate your "SIP/2.0 403 Forbidden" with my obi20x using the single refresh_token in the param_dump output you sent me.

It looks like your refresh_token is valid, but it is only scoped for generic email and profile, not the scopes specific to GV. Which is weird since the scopes are provided in the instructions, and I've never seen it just silently deny them.

(You can see the scopes granted to a refresh_token by replacing the postdata in the wget/curl command that you used to generate the refresh_token with contents that you would use in the AuthPassword field)

Try this:
Goto »myaccount.google.com/connections, choose "Google Voice™" and choose "Delete all connections you have with Google Voice™"
Then just generate a new refresh_token following the same procedure as previously (preferably using the account with only 1 phone number associated), and (hand-wavy) see if anything weird looking shows up on the google screens where you are granting access
Check the scopes granted to the new refresh_token or just try it in the AuthPassword field again.
kuya1284
join:2024-09-23
American Canyon, CA

1 edit
Hi naf See Profile, could I please get the instructions for OBi200 as well? Thank you.
ntshd
join:2024-09-07
Newton Center, MA
to naf
Tried multiple times, with account signed in or out, same error.
last "scope": "https://www.googleapis.com/auth/userinfo.email »www.googleapis.com/auth/ ··· .profile openid"
Do you, or anyone, have a test account that I can test the token generation? Google doesn't let me generate new account now.
naf
join:2017-12-12
said by ntshd :

Tried multiple times, with account signed in or out, same error.
last "scope": "https://www.googleapis.com/auth/userinfo.email »www.googleapis.com/auth/ ··· .profile openid"
Do you, or anyone, have a test account that I can test the token generation? Google doesn't let me generate new account now.

My old test account is long expired, I'll try to come up with a new one.

Can you confirm that you can make calls using the GV android app (testcall.com's 1-804-222-1111 will read back your caller id#)
naf
said by naf:
said by ntshd :

Tried multiple times, with account signed in or out, same error.
last "scope": "https://www.googleapis.com/auth/userinfo.email »www.googleapis.com/auth/ ··· .profile openid"
Do you, or anyone, have a test account that I can test the token generation? Google doesn't let me generate new account now.

My old test account is long expired, I'll try to come up with a new one.

Can you confirm that you can make calls using the GV android app (testcall.com's 1-804-222-1111 will read back your caller id#)
WAIT.

On this screen, you did click "Select All" before clicking "Continue", right?
dgm727
join:2024-09-24
to naf
Please PM instructions on Obi220 and 200 firmware and GV manual configuration. Many thanks!
ntshd
join:2024-09-07
Newton Center, MA
to naf
said by naf:

WAIT.

On this screen, you did click "Select All" before clicking "Continue", right?

Connected. Thank you very much and really appreciate your help!

jsolo1
Premium Member
join:2001-07-01
PRIL
to naf
@naf, ref »Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

That screen is different than before, where it would populate the permissions automatically and not allow any option to change. Is the issue here he never clicked select all?
ntshd
join:2024-09-07
Newton Center, MA
said by jsolo1:

@naf, ref »Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

That screen is different than before, where it would populate the permissions automatically and not allow any option to change. Is the issue here he never clicked select all?

correct. Maybe for obi2xx devices, both ways work.
naf
join:2017-12-12
to jsolo1
said by jsolo1:

@naf, ref »Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

That screen is different than before, where it would populate the permissions automatically and not allow any option to change. Is the issue here he never clicked select all?

yes, just that simple. that screen looks new to me also (or maybe i just last used it like 8 years ago, ha), but it just looks like google changed their oauth consent screen to be opt-in for non-email permissions requested by rando websites who might misuse 'signin with google'-lookalike activities. ill just slap a note in the instructions to make sure its clear.
naf

1 recommendation

to jfarre20
said by jfarre20:

Thanks it worked. I built a little webpage that could help users thru these instructions - but I read earlier in this forum that you don't want it 'googleable'

I wonder if a different redirect URI would work, or if it would break things. If it would work, that'd make the whole hosts file thing not an issue.

can you pm me the webpage to take a look?
something that can do an http post from a client-hosted web script (javascript i assume) for the oauth token retrieval part might be useful to the linux-averse
Darkbotic
join:2023-03-21
to naf
How can I enable SSH on my Obi 30x? I already have the custom firmware. I tried to SSH into it and it doesn't work.
naf
join:2017-12-12
said by Darkbotic:

How can I enable SSH on my Obi 30x? I already have the custom firmware. I tried to SSH into it and it doesn't work.

Nothing to enable, it should work out of the box. Problem is either networking issues or busted scratch. for latter see »Re: Obihai OBi202 firmware mods and the telnet firmware ill pm you
jeffnyc
join:2004-06-09
Atlanta, GA

1 recommendation

to naf
Hi Naf. If you can please pm me instructions.

Have an Obi200
Current setup is line 1 - Google Voice, line 2 Callcentric

Long time member of DSLReports, mostly discussing VOIP Tech Chat but also cable too...
ThisIsIt
join:2024-09-27
to naf
To naf. I have a Obi 202. 3.2.2.Build 8680EX. Do I
1. Flash stock 5921EX first
2. Flash 6259 signed fw bypass 2nd
and finally
3. Flash 2.2.2.8680 arrynrob11.fw
After all the flashing the Obitalk forum says to ask you for FURTHER INSTRUCTIONS on how to configure for GV.
Where do I find the instructions as this post is 93 pages long HELP?
naf
join:2017-12-12
Sounds about right. See pm for config (or don't do any of this since it wont make it work any different during the alleged shutdown)
ListedGuru
join:2001-09-14
Canton, MI
Not sure if this is the correct place to post this but here it goes. I have a Obi 200 and a GV# that I've been using with it for years as my landline. I just saw the news recently that Obi is EOL and they are shutting down their website too? Anyway I would like to keep using it as is if that is possible? Is there anything I need to do or should this continue to work for me?

Not sure really sure what my other options are if my GV# and the Obi quit working for me...

aa2k
join:2000-10-06
Damascus, MD

3 recommendations

said by ListedGuru:

Not sure if this is the correct place to post this but here it goes. I have a Obi 200 and a GV# that I've been using with it for years as my landline. I just saw the news recently that Obi is EOL and they are shutting down their website too? Anyway I would like to keep using it as is if that is possible? Is there anything I need to do or should this continue to work for me?

Not sure really sure what my other options are if my GV# and the Obi quit working for me...

Hi,
If you go back one page you will see thiis, maybe it helps to answer your question, it seems similar to what you are asking:
said by naf:
said by evox2008:

Hello everyone.

Can someone please help me answer this qs?

The way I understand it, is that even with the obitalk portal going EOL, the service that obi device uses (GV in my case) will still continue to work because the creds are saved on the device (through a use of encryption/cert/etc). Only if you need to change your login creds (obi/google/etc) I will need to reconfigure the device's config, and that's where this M0D'ed FW can be useful (because the portal will no longer be available to us), right?

With this alt FW we can change the config without the portal after EOL?

Thank you!

Pretty close, I'll just clarify a few things:

Non-GV credentials (SIP user/pass) can already be modified in the stock firmware's local webui. No worries there if portal goes away.

When (if?) the portal actually goes down, the GV service the obi device uses will still continue to work because the GV oauth creds are saved on the device. You can change your google password however you like and it wont effect those oauth credentials once they are issued. Only if you revoke the oauth token [by going to »myaccount.google.com/connections, where obi has unhelpfully named their oauth access "Google Voice" instead of "obi"] will that oauth credential cease to work.***

If you need to use a different oauth credential after the portal shutdown (new/different GV account, revoked old creds for some reason, etc) *or* you currently have a device that can't use the portal (obi300, etc) -- that's where the modded FW can be useful, because it allows you to specify the oauth credential directly in the webgui instead of relying on the portal to send it over to the device.

*** GV *could* stop issuing new oauth credentials, deny existing ones, or take down the whole GV service at any time but we'll cross that path when/if we get there.
jeffnyc
join:2004-06-09
Atlanta, GA
to aa2k

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

So basically, if I have gv on line 1, callcentric on line 2 and I dont change need to change my google account, I dont need to install any mods at this point? I can leave as is?
ac222
join:2024-09-28
to naf
@naf

I would like to also have the instructions after flashing the firmware for the Obi200 please.
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net

3 recommendations

to jeffnyc
Correct. There's nothing you can do to hedge against future changes. If it works now, just use and enjoy it.
baddy420
join:2022-02-03
to naf
Hi naf, I would appreciate if you could pm me instruction steps to install mod firmware for OBi200. Many thanks.
naf
join:2017-12-12

9 recommendations

I think I'm just going to implement a moratorium on sending out the non-obitalk GV instructions for now, since it seems its mostly just people who don't need them freaking out about portal EOL.

everyone just relax. either it keeps working like it is now and you won't even notice, or we are all screwed, or somewhere in between. we shall see, but nothing to be done now.

if there's a breaking change in the future, I'm in the same boat as you and we can all work together on a solution at that time.

ObiUser
join:2024-09-27
Santa Clara, CA
Is it safe to assume that if (in the future) GV will stop working with Obi200, I will be able to sign up for cheap Callcentric (CC) plan and use GV-CC-Obi200 combination to get working phone service, without the need to port my phone number from GV to CC?

hapollo
join:2007-05-13
WesterOS

1 edit
said by ObiUser:

I will be able to sign up for cheap Callcentric (CC) plan and use GV-CC-Obi200 combination to get working phone service, without the need to port my phone number from GV to CC?

If by GV-CC-Obi200 combination, you mean to sign up with a CC plan and have GV forward to a phone number that's includes that CC DID# plan; then yes that will work.

Had that setup going on for years before CC removed the Free NY# DID feature in 2018
ambit12
join:2023-05-22

1 edit

1 recommendation

to naf
Sorry for the double post. Never seen a forum where you could not delete your own post.
ambit12
to naf
What about people that have a GV number but never set it up on an ATA. Will it be possible to set such numbers up on OBI devices after the EOL?
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net

1 recommendation

Unfortunately, your guess as good as anyone's on that. If Google continues to allow credentials to be created, then the naf technique can absolutely be used. However, Google has yet to make a public statement about their plans.
andre2
join:2005-08-24
Brookline, MA
to naf
I can remember back when people were hoping Google would allow arbitrary SIP accounts as forwarding "phones" (like Gizmo5 back in 2009). That would have been so simple. Not sure whether there were technical reasons not to do that or if it was politics.

ObiUser
join:2024-09-27
Santa Clara, CA
to hapollo
Yes and thank you for the confirmation hapollo.
ThisIsIt
join:2024-09-27

2 edits
to azrobert

Re: Obihai OBi202 firmware mods

I Have the exact same problem. How did you get it to work?
azrobert
join:2015-02-07
Fountain Hills, AZ
I don’t know which problem you’re referring to.

I got an error flashing the firmware. I didn’t read the instructions and just tried to flash the firmware. It worked after following the instructions.

I couldn’t SSH into my OBi300 because of a corrupted scratch partition. Naf sent me another firmware version that supports Telnet. I then was able to Telnet (putty) into the OBi300 and run the wget. Ask naf for the Telnet firmware version. He also posted instructions to fix the scratch partition.
ambit12
join:2023-05-22
to naf

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

Has anyone had success, or tried to have 2 OBI devices, like a 202 and 302 connected to the same ISP modem? I am having problems doing this. Sip providers say that they see nothing coming from either of the 2 302's I have tried to configure. However, the 202 GV is working fine.
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
It's fine to use multiple OBi devices. If your service providers that are not working are not Google Voice, it may be worthwhile for you to make a new thread with details about your setup as you may get more attention that way.

hapollo
join:2007-05-13
WesterOS

1 edit
to ambit12
said by ambit12:

Has anyone had success, or tried to have 2 OBI devices, like a 202 and 302 connected to the same ISP modem? I am having problems doing this. Sip providers say that they see nothing coming from either of the 2 302's I have tried to configure. However, the 202 GV is working fine.

When you have 2 OBis connected to the same network behind the same ISP modem, you may need to change the X_UserAgentPort to a unique port number under SPx page in the settings. Out of the box, both Obis will use the same X_UserAgentPort (5060, 5061, 5062 and 5063). So when you have 2 pointing to the same port, it can cause issues.

At one point we had 1 Obi 110, 1 Obi 200 and 1 Obi2182 connected to the same Router, same switch and same modem without issues after changing those ports.

If you still have problems after changing it, start another thread asking for further help
ambit12
join:2023-05-22
Thanks. Funny, I asked about this very issue of the 2 units using the same ports, and the Tech support SIP provider said it shouldn't be an issue. Thanks so much, I'll give it a shot.
gsu135
join:2015-02-23
to naf
Hi naf - could you send me instructions for Obi200 and Obi202. I have four devices all currently working with stock firmware (I confirmed at least the Obi202's and one of the Obi200s are 1.4 and 3.2.2 (Build: 8680EX). I guess am preparing if something starts to fail next month - thanks
sonrah
join:2024-01-16
Katy, TX
to naf
Ni Naf,

Could you send me the instructions again? It had worked perfect for my device; my dad also has a obi 200 and I need to do the same thing for his device also. Thanks!
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net

2 recommendations

For now the portal should still work so just use that since you have a 200.
andre2
join:2005-08-24
Brookline, MA
to naf
I know that backing up the OBi configuration using the web admin doesn't save PINs or passwords, so if one does a factory reset, for example, it's not enough to restore from a backup configuration file. This could be done by reprovisioning, but is it possible to avoid that by manually saving the missing settings in advance and then putting them back manually?
naf
join:2017-12-12
said by andre2:

I know that backing up the OBi configuration using the web admin doesn't save PINs or passwords, so if one does a factory reset, for example, it's not enough to restore from a backup configuration file. This could be done by reprovisioning, but is it possible to avoid that by manually saving the missing settings in advance and then putting them back manually?

yes, manually in this case would involve running param_dump (»Re: Obihai OBi200/202/302 + OBi1022/1032/1062 + OBi50x firmware mods) to display the missing settings then formatting them into an ITSP xml file to re-provision
Bird222
join:2003-08-25
Can you make a version of this that works for the 2182?
pagescribe
join:2021-02-09

3 edits
to naf
Hi naf,

I'm able to SSH into OBi202s, but with an OBi302, I can't SSH into it. Based on nmap, only port 80 is available. I don't think SSH is even enabled. 22 isn't responding to anything.

ModelName OBi302
HardwareVersion 1.6
SoftwareVersion 3.2.2 (Build: 8680EX-arrynrob11)

Is this a scratch partition issue? If so may I please get the telnet enabled firmware, please?
Thank you
naf
join:2017-12-12

1 edit
said by pagescribe:

I'm able to SSH into OBi202s, but with an OBi302, I can't SSH into it. Based on nmap, only port 80 is available. I don't think SSH is even enabled. 22 isn't responding to anything.

Is this a scratch partition issue? If so may I please get the telnet enabled firmware, please?

sounds like it. pm sent for telnet-enabled firmware. for diagnosis/fix see: »Re: Obihai OBi202 firmware mods
naf
to Bird222
said by Bird222:

Can you make a version of this that works for the 2182?

this what?
pagescribe
join:2021-02-09

4 edits
to naf
said by naf:

sounds like it. pm sent for telnet-enabled firmware.

Thank you

Unfortunately, I still can't connect.

Nmap scan report for OBi302
Host is up (0.029s latency).
Not shown: 65534 filtered ports
PORT STATE SERVICE
80/tcp open http

*Update*
Bleh. Having OBi302's firewall enabled caused the problem. Someone else configured this ATA. Router Configuration->Firewall and DMZ->Firewall Settings->uncheck "Enable" box-->Submit

My apologies. I am very sorry.

jsolo1
Premium Member
join:2001-07-01
PRIL
to naf
said by naf:
said by Bird222:

Can you make a version of this that works for the 2182?

this what?
I think he's referring to the param dump tool.
naf
join:2017-12-12

2 edits

4 recommendations

param_dump.zip
53,367 bytes
param_dump for OBi2000 phones

# wget --no-check-certificate https://www.dslreports.com/r0/download/2551157~9f32a5010ac4a31a72ad6485bb27737e/param_dump.zip -O - | gzip -d > /var/tmp/param_dump
# unzip /var/tmp/param_dump.zip -d /var/tmp/
# chmod +x /var/tmp/param_dump
# /var/tmp/param_dump
 
Anon37693
@47.45.130.x
to naf

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

I see that you recently proposed a moratorium on sending out Google Voice configuration instructions because it was just people with an existing working configuration asking needlessly, but I need to provision a new OBi300 against my Google Workspace Voice account. Hopefully this is an appropriate situation to ask for instructions. I've already flashed arrynrob11 on my device, so I just need to know how to get the Google Voice Oauth working. Thanks
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
naf can't PM you if you're anonymous. Try to sign up for an account here and then see if they'll make an exception.
czscout
join:2024-10-08
Bozeman, MT
I did, but now I can't PM for 8 hours as a new user haha
Mango
Use DMZ and you get a kick in the dick.
Premium Member
join:2008-12-25
www.toao.net
In any case, you're now set up for when the moratorium is over.
naf
join:2017-12-12
to Anon37693
said by Anon37693 :

I see that you recently proposed a moratorium on sending out Google Voice configuration instructions because it was just people with an existing working configuration asking needlessly, but I need to provision a new OBi300 against my Google Workspace Voice account. Hopefully this is an appropriate situation to ask for instructions. I've already flashed arrynrob11 on my device, so I just need to know how to get the Google Voice Oauth working. Thanks

Assuming that "Google Workspace Voice" is what google is calling the paid/business GV service today, then this is *not* an appropriate situation for the portal-less instructions, because the portal was never involved in the configuration of paid GV anyway as far as i know.

Why not just do whatever your paid support says to do to configure it?
Bird222
join:2003-08-25
to jsolo1
said by jsolo1:

I think he's referring to the param dump tool.

Yes. @naf I thought my reply was going to include your quote. Sorry about that.
Bird222

1 edit
to naf
said by naf:

param_dump for OBi2000 phones

Thanks for the file. A couple of issues

1.The command wget »/r0/do ··· dump.zip -O - | gzip -d > /var/tmp/param_dump" gives some kind of 'certificate' error. I just copied the file over with 'WinSCP'.

2. When I run this on my 2182, I get this error at the end '-- params at 00020000 -- Segmentation fault'.

Do you know what the problem is? TIA

EDIT: Also get this message at the beginning. WARN: unknown hw_vers. assuming need_mask = true
using mac as rc4 key mask: true
andre2
join:2005-08-24
Brookline, MA
said by Bird222:
said by naf:

param_dump for OBi2000 phones

1.The command wget »/r0/do ··· dump.zip -O - | gzip -d > /var/tmp/param_dump" gives some kind of 'certificate' error. I just copied the file over with 'WinSCP'.
As I recall I was able to work around that by using wget's --no-check-certificate option.

I noticed that the param_dump for OBi2000 is only about 1/20 the size of that for OBi2xx/OBi3xx, I suppose that might be due to the earlier version being for multiple devices?
naf
join:2017-12-12

1 recommendation

to Bird222
said by Bird222:
said by naf:

param_dump for OBi2000 phones

Thanks for the file. A couple of issues

1.The command wget »/r0/do ··· dump.zip -O - | gzip -d > /var/tmp/param_dump" gives some kind of 'certificate' error. I just copied the file over with 'WinSCP'.

2. When I run this on my 2182, I get this error at the end '-- params at 00020000 -- Segmentation fault'.

Do you know what the problem is? TIA
1. missing "--no-check-certificate' *and* gzip is acting up? either way, i added some working commands above

2. no, but i could find out if you pm me the contents of both /dev/mtd2ro and /scratch/obiparam.dat [warning: contains passwords, remember to reset them all afterwards so i dont steal your minutes :-)]
naf

1 recommendation

to andre2
said by andre2:

I noticed that the param_dump for OBi2000 is only about 1/20 the size of that for OBi2xx/OBi3xx, I suppose that might be due to the earlier version being for multiple devices?

nah, just means i figured out how to dynamically link against the fw's builtin openssl lib, as opposed to just statically linking in a complete copy of my own
andre2
join:2005-08-24
Brookline, MA

1 edit
I see the same error as Bird222, and would be willing to PM the contents of the two files, but though I can ssh into the OBi, I haven't figured out how to transfer files from the OBi filesystem to my desktop. I can plug a thumb drive into the OBi, and access the files under /media/sda (and later eject it cleanly using Settings/Storage on the OBi's display). Unfortunately, the filesystem is read-only, so I can only use this to transfer files from the thumb drive to the OBi, not the other way. I haven't had any success with the rsync or scp commands either.

As an aside, is this expected to work with the OBi1000 phones as well? I haven't tried yet. Does the code need to be specific for each type of device or is it possible to write one version to handle them all? If it needs to be specific it probably would be good to put the device type in the file name (i.e, param_dump_2000.zip instead of just param_dump.zip).

Edit: Does not work on an OBi1022, just outputs
mac: ffffffffffff, hw_vers: ffffffff
unknown hw_vers
 
naf
join:2017-12-12
said by andre2:

I see the same error as Bird222, and would be willing to PM the contents of the two files, but though I can ssh into the OBi, I haven't figured out how to transfer files from the OBi filesystem to my desktop. I can plug a thumb drive into the OBi, and access the files under /media/sda (and later eject it cleanly using Settings/Storage on the OBi's display). Unfortunately, the filesystem is read-only, so I can only use this to transfer files from the thumb drive to the OBi, not the other way. I haven't had any success with the rsync or scp commands either.

remount /media/sda as read/write? mount -o remount,rw /dev/sda /media/sda

scp prolly might require the "-O" old-school flag
said by andre2:

As an aside, is this expected to work with the OBi1000 phones as well? I haven't tried yet. Does the code need to be specific for each type of device or is it possible to write one version to handle them all? If it needs to be specific it probably would be good to put the device type in the file name (i.e, param_dump_2000.zip instead of just param_dump.zip).

code just differs by the flash location that encoded params get read from. ill #ifdef and fix the filenames in a future release, hopefully once we get the whole 'it crashes' thing fixed
apaschov
join:2024-10-08
Brooklyn, NY
to naf
Hi naf. I just received a new Obi200. I already have a functioning Obi200 with GV, so the new one is just to play around with. If I brick it - no big deal. Can you, please, make an exception and send me instructions for manual propgramming GV into Obi. Thanks in advance.
andre2
join:2005-08-24
Brookline, MA
to naf
Thanks - it works with the thumb drive after remounting as rw. With scp, the -O flag allows me to copy /scratch/obiparam.dat, but not /dev/mtd2ro, giving the error "not a regular file" (because it's a device file). All the references to this error I found say to use the -r option, but that only works for directories, not device files. Anyway, the thumb drive will work for now. Will try to run param_dump after a factory reset, and if that reproduces the same error, will PM those files instead, otherwise I'll send the files I have now.
naf
join:2017-12-12
said by andre2:

Thanks - it works with the thumb drive after remounting as rw. With scp, the -O flag allows me to copy /scratch/obiparam.dat, but not /dev/mtd2ro, giving the error "not a regular file" (because it's a device file). All the references to this error I found say to use the -r option, but that only works for directories, not device files. Anyway, the thumb drive will work for now. Will try to run param_dump after a factory reset, and if that reproduces the same error, will PM those files instead, otherwise I'll send the files I have now.

if goal is to clear passwords, make sure to factory reset *twice*: params are double-buffered and reset just switches the buffer. then again this wont really test param_dump...

re: regular file, either run cat directly and avoid scp ssh root@obi "cat /dev/mtd2ro" > mtd2.bin or use obi shell to copy to /var/tmp before scp
andre2
join:2005-08-24
Brookline, MA

1 edit
said by naf:
said by andre2:

Thanks - it works with the thumb drive after remounting as rw. With scp, the -O flag allows me to copy /scratch/obiparam.dat, but not /dev/mtd2ro, giving the error "not a regular file" (because it's a device file). All the references to this error I found say to use the -r option, but that only works for directories, not device files. Anyway, the thumb drive will work for now. Will try to run param_dump after a factory reset, and if that reproduces the same error, will PM those files instead, otherwise I'll send the files I have now.

if goal is to clear passwords, make sure to factory reset *twice*: params are double-buffered and reset just switches the buffer. then again this wont really test param_dump...
I did a double reset and was able to reproduce the param_dump error even after the reset. I have the two files for both before and after the reset and have reprovisioned the 2182 without ObiTALK again. As before it was necessary for me to use Chromium instead of Firefox to complete the instructions (someone else mentioned this as well earlier in the thread a few months back). I tried Firefox first and was actually prompted to log separately into ObiTALK and was then told the process couldn't be completed. I don't remember this happening before so Google may already be making OBiTALK-related changes. When I switched to Chromium it worked normally. I will PM you the two files from after the reset, it might be easier to debug the error with those but will send the two files from before the reset as well if you need them, since I've already reprovisioned.
said by naf:

re: regular file, either run cat directly and avoid scp ssh root@obi "cat /dev/mtd2ro" > mtd2.bin or use obi shell to copy to /var/tmp before scp

Both of these suggestions work, thanks.

Edit: I think the reason I was prompted to log into OBiTALK when using Firefox is that I had been running it before blocking OBiTALK in /etc/hosts and it must have been saved in Firefox's cache. I shouldn't even have been able to log into OBiTALK otherwise. So ignore all that.
naf
join:2017-12-12

1 recommendation

received your dump. problem is easy to fix: i was trying to read an empty section, and size 0xFFFFFFFF is rather large. gimme a couple days to either make a real github release for all device types or give up and just post a fixed version here
naf

2 recommendations

param_dumps for all devices built from common source:

»github.com/naf419/obi-fi ··· tag/v0.1
andre2
join:2005-08-24
Brookline, MA

4 edits
Thanks! Verified that this appears to work on my OBi1022 (param_dump_1000) and OBi2182 (param_dump_2000), though my output is 67556 bytes for the 1022 and 31704 bytes for the 2182, don't know why it's shorter for the 2182. I tried hooking up my old OBi200 which was working a year ago but I'm not able to ssh into it although it has 8680EX-arrynrob11 installed, when I enter the default password "obi" for root it says "Permission denied, please try again.". Can't remember if I ever actually ssh'd into it when I was using it before. It's also not connecting to GV, says "Connecting to 216.239.36.145;Token Error". I had it provisioned without OBiTALK last year after receiving your instructions. Don't know if it's gone bad. Anyway, someone else will have to test param_dump_200 for now.

Edit: I published a comment in this thread on April 5, 2024 saying that in order to ssh into my device, i had to use the command
ssh root@<IP address> -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedAlgorithms=+ssh-rsa
 
which was months after I stopped using the OBi200 (late last year). Likely I never attempted to ssh into the 200. Will leave it connected overnight to see if it eventually connects to GV. If not I could try reprovisioning it. (BTW I also need the above options to use scp.)

Edit: I reprovisioned the 200 and it now connects to GV and a test call works. Still can't ssh into it, same error. AFAIK this problem existed before and I never noticed. Since I got the 200 around 10 years ago, I might have reset the root password on it way back sometime after installing the custom firmware, and forgotten.

Edit: I figured it out, I HAD changed the root password, and guessed the right one. The param_dump output for the OBi200 is 309144 bytes, much longer than the 67556 bytes for the 1022 or the 31704 bytes for the 2182.

Edit: If I grep the output for "client", I can see the client_id and client_secret in each of the three output files. The output for the 1022 and the 2182 is the same length, but the output for the 200 is in triplicate (so 3 times longer). For the 200, the first two copies have identical refresh tokens, and the third copy has a different token. Is that normal?
naf
join:2017-12-12

2 recommendations

Let me explain the param_dump output a little bit, which might answer your questions (or atleast explain why length is pretty meaningless metric to compare the output):

there are three "-- params at xxxxxxxx --" sections. the first two are double-buffered copies of the main parameters, like those you save on the webgui or provision via obitalk. the third section is the "zero-touch" vendor-locked params.

in each section, the params are just a stream-of-consciousness list of the key/value pairs as they get saved, so later values for the same key take precedence. from time to time the params get 'compressed' and the running history is removed, leaving only the most recent value for each key. i believe this compressing corresponds to when the active buffer switches from the first section to the second or vice-versa. (i never reverse engineered how to tell which one is active, i just look for which the section with the most recent identifiable change in it for now)

the keys are a one-way hash of the config item name as it appears in the provisioning xml. since only the hash is referenced in the code, i don't know all the pretty string values, but the ones i do know (from seeing them in a provisioning file or backup or guessing) are translated by the tool to their pretty names. some of the values look more like internal variable storage and not anything you would set on the webgui.

 
         len  type               image of key hash, if known
         vv    vv            vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
8e6e3fdc 0d000001: dc3f6e8e (VoiceService.1.VoiceProfile.1.Name) = "Google Voice"
^^^^^^^^   ^^^^    ^^^^^^^^                                         ^^^^^^^^^^^^
    |      flag?     big endian key hash                                  value
    |
    \---- device-native endian key hash
 

there appears to be a common pattern where the same setting gets saved twice at the same time, once with the real value and then again with a blank value but the flag set to 5c. (ive never tracked this down as to why)

annoyingly obi's seem to save the oauth access token every time they retreive a new one (hourly?), so the dump from gv-connected devices is usually mostly "VoiceService.1.VoiceProfile.1.Line.1.X_GApiAccessToken" over and over.
andre2
join:2005-08-24
Brookline, MA
Can verify that each of my devices has the three "params" sections. The first always starts near the beginning of the output. The third is always near the end of the output and is just a few lines. On the 1022 and 2182, the second just contains the one line "WARN: empty section header", and the third is just 7 lines and identical on the two devices (except for the address right after "params at").

Last 9 lines on the 1022:
-- params at 00020000 --
WARN: empty section header
-- params at 00340000 --
318c16d1 04000003: d1168c31 () = 0x01000000
318c16d1 00007003: d1168c31 () = 0x
25a4ed70 08000001: 70eda425 () = "Generic"
25a4ed70 00007001: 70eda425 () = ""
a780dddb 06000001: dbdd80a7 () = "12345"
a780dddb 00007001: dbdd80a7 () = ""
 
Last 9 lines on the 2182:
-- params at 00020000 --
WARN: empty section header
-- params at 00180000 --
318c16d1 04000003: d1168c31 () = 0x01000000
318c16d1 00007003: d1168c31 () = 0x
25a4ed70 08000001: 70eda425 () = "Generic"
25a4ed70 00007001: 70eda425 () = ""
a780dddb 06000001: dbdd80a7 () = "12345"
a780dddb 00007001: dbdd80a7 () = ""
 
naf
join:2017-12-12

1 recommendation

That final section (the "zero-touch" vendor-locked params) is just showing that your devices are not vendor-locked (CustomizationStatus = "Generic"). Vendor-locked devices would go into a locked down mode where you can't change any setting while it downloads a vendor-forced config from the obi server (if it exists anymore). For non-generic devices, you would see the downloaded config in that section. The modded firmware of course avoids the forced-download and allows the section to be cleared via clear_zt_params.

On OBi2xx/3xx it easy to tell which devices try to force a vendor config: the serial number contains "ZT" in the middle for vendor locked ones. On phones I'm not sure, but I would guess all of them on stock firmware phone home and check if they need to be download the vendor-specified parameters.

Apparently the phone's actually clear the flash when they reset config on one of the two double-buffered sections (thus the "empty section header" warning in the new version, or the crash in the old version). obi2xx's on the other hand do something (that i dont know) to indicate which buffer is in use but don't clear it completely.
Bird222
join:2003-08-25
to naf
said by naf:

Let me explain the param_dump output a little bit, which might answer your questions (or atleast explain why length is pretty meaningless metric to compare the output):

there are three "-- params at xxxxxxxx --" sections. the first two are double-buffered copies of the main parameters, like those you save on the webgui or provision via obitalk. the third section is the "zero-touch" vendor-locked params.

in each section, the params are just a stream-of-consciousness list of the key/value pairs as they get saved, so later values for the same key take precedence. from time to time the params get 'compressed' and the running history is removed, leaving only the most recent value for each key. i believe this compressing corresponds to when the active buffer switches from the first section to the second or vice-versa. (i never reverse engineered how to tell which one is active, i just look for which the section with the most recent identifiable change in it for now)

the keys are a one-way hash of the config item name as it appears in the provisioning xml. since only the hash is referenced in the code, i don't know all the pretty string values, but the ones i do know (from seeing them in a provisioning file or backup or guessing) are translated by the tool to their pretty names. some of the values look more like internal variable storage and not anything you would set on the webgui.

 
         len  type               image of key hash, if known
         vv    vv            vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
8e6e3fdc 0d000001: dc3f6e8e (VoiceService.1.VoiceProfile.1.Name) = "Google Voice"
^^^^^^^^   ^^^^    ^^^^^^^^                                         ^^^^^^^^^^^^
    |      flag?     big endian key hash                                  value
    |
    \---- device-native endian key hash
 

there appears to be a common pattern where the same setting gets saved twice at the same time, once with the real value and then again with a blank value but the flag set to 5c. (ive never tracked this down as to why)

annoyingly obi's seem to save the oauth access token every time they retreive a new one (hourly?), so the dump from gv-connected devices is usually mostly "VoiceService.1.VoiceProfile.1.Line.1.X_GApiAccessToken" over and over.
Just an fyi, I did a comparison of the old 'params' file (that gave the segmentation fault) and the new params file. The old one had descriptions for some of the values whereas the new one didn't. For example, old one had (VoiceService.1.VoiceProfile.1.Line.1.X_DisplayLabel) = "Google Voice" but the new one had () = "Google Voice". I did find one instance where it was the other way around. The old one had () = "false" and the new one had (VoiceService.1.VoiceProfile.1.Line.1.Codec.X_Settings.T38Enable) = "false". Is it possible to make param_dump always include the descriptions? TIA
naf
join:2017-12-12

1 edit

1 recommendation

said by Bird222:

Just an fyi, I did a comparison of the old 'params' file (that gave the segmentation fault) and the new params file. The old one had descriptions for some of the values whereas the new one didn't. For example, old one had (VoiceService.1.VoiceProfile.1.Line.1.X_DisplayLabel) = "Google Voice" but the new one had () = "Google Voice". I did find one instance where it was the other way around. The old one had () = "false" and the new one had (VoiceService.1.VoiceProfile.1.Line.1.Codec.X_Settings.T38Enable) = "false". Is it possible to make param_dump always include the descriptions? TIA

i can't do "always" due to the nature of a one-way hash, but i gave another crack at a multi-device merge and re-released here: »github.com/naf419/obi-fi ··· tag/v0.2

if i missed anything else, just submit a pull request here: »github.com/naf419/obi-fi ··· p_keys.h
andre2
join:2005-08-24
Brookline, MA

1 edit
Output sizes for v0.1 vs. v0.2:

param_dump_200_v0.1.txt : 309144 bytes
param_dump_200_v0.2.txt : 309864 bytes

param_dump_1022_v0.1.txt : 67556 bytes
param_dump_1022_v0.2.txt : 70217 bytes

param_dump_2182_v0.1.txt : 31704 bytes
param_dump_2182_v0.2.txt : 73172 bytes

Edit: The 2182 is the one I did the double factory reset on shortly before you released v0.1, I didn't factory reset either of the others recently. That might account for the much larger size difference for the 2182?
naf
join:2017-12-12

3 edits

2 recommendations

its not about the size of the output. its about how you use it

now if someone wanted to write some code to take the last value for each key (ignoring non-zero flags) and format it in the provisioning xml format, that would be pretty cool backup tool i imagine

bonus points for adding a z3 solver/bruteforce/hash lookup table to reverse the djb2 hash into not-so-human-readable strings
andre2
join:2005-08-24
Brookline, MA

1 edit
Since the file generated by System Management/Device Update/Backup Configuration is supposed to include everything except passwords and PINs, would it make things any easier to have param_dump just grab those missing fields?
naf
join:2017-12-12

4 edits
said by andre2:

Since the file generated by System Management/Device Update/Backup Configuration is supposed to include everything except passwords and PINs, would it make things any easier to have param_dump just grab those missing fields?

i guess its possible, but since its not really just password/pins (GVSIP settings, for example), youd need to have a test to determine for every setting if the backup succesfully restores it or not to get that list.

i assume its easier to just format some xml in the existing param_dump tool, or post-process its output in javascript or whatever.

EDIT TO ADD: i guess for pure backup, just copying the whole mtd or obiparam.dat file gets the job done (and can be made human readable by just running param_dump on the files off-device). you just can't edit it, or restore it onto a different device because the params are encrypted with the mac address. if i wasn't chicken shit i'd just write the mtd from a tool directly, but the provisioning xml would be a lot safer. OR make a tool that can read the param_dump format and write modified mtd contents to file and let you flash it manually, which guarantees you have a backup copy and can just soft reset the app to test it didn't break everything...

jsolo1
Premium Member
join:2001-07-01
PRIL

1 recommendation

I'd wait and see what direction gv goes in the near future. It might all be a moot point come 12/18...
ppme
join:2024-10-23
to naf
hi naf

Could you please send me an instructions for setting up a obihai 202 with gv without the obitalk portal?

I did update firmware from obifirmware.com
naf
join:2017-12-12

1 edit

2 recommendations

to ppme

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

said by ppme:

hi naf

Could you please send me an instructions for setting up a obihai 202 with gv without the obitalk portal?

I did update firmware from obifirmware.com

no, just use the portal. 'but what if...?' what if nothing happens, then it doesnt matter. what if theres unknowable changes that need to be made in firmware/instructions? then it doesnt matter still cause we don't know what the changes are going to be. not productive preparation.
Anonc21d8
@149.22.80.x
to naf
I have an Obi2062 that just began rebooting indefinitely over and over after I tried to update a Contact in the phone this morning (this has happened before when updating contacts) and the only way to stop it from rebooting was to reset the phone to factory settings using OBITALK's website which is now offline - so my desk phone is bricked now of course.

Is there a way to reset the phone while it is constantly trying to boot up over and over (there is no reset button to press with a paperclip, etc, despite the directions instructing users to press the reset button for 10 seconds??? The only hole on the phone that fits a paperclip is the speakerphone mic hole on the bottom right corner of the phone.

I'm looking forward to the firmware!! I have 3 of these phones connected by LAN which I'd hate to lose.
naf
join:2017-12-12

1 recommendation

said by Anonc21d8 :

I have an Obi2062 that just began rebooting indefinitely over and over after I tried to update a Contact in the phone this morning (this has happened before when updating contacts) and the only way to stop it from rebooting was to reset the phone to factory settings using OBITALK's website which is now offline - so my desk phone is bricked now of course.

Is there a way to reset the phone while it is constantly trying to boot up over and over (there is no reset button to press with a paperclip, etc, despite the directions instructing users to press the reset button for 10 seconds??? The only hole on the phone that fits a paperclip is the speakerphone mic hole on the bottom right corner of the phone.

I'm looking forward to the firmware!! I have 3 of these phones connected by LAN which I'd hate to lose.

i cant tell if you are saying that the phone restarts so fast that you cannot access »admin:admin@OBI_IP/reset.htm in time to reset the config manually, or if you are unaware of the local webgui completely.

ive never seen a obi phone so i cant advise on a physical button location, but i would guess that if it boots far enough to download an obitalk config from their server (r.i.p.) then it already has network and the webserver running so you should be able to do it via the local web gui (might require scripting flooding the server with repeated requests if speed is the issue)
andre2
join:2005-08-24
Brookline, MA

1 recommendation

to Anonc21d8
said by Anonc21d8 :

Is there a way to reset the phone while it is constantly trying to boot up over and over (there is no reset button to press with a paperclip, etc, despite the directions instructing users to press the reset button for 10 seconds??? The only hole on the phone that fits a paperclip is the speakerphone mic hole on the bottom right corner of the phone.

I have a 1022 and a 2182. Unfortunately there's no reset button like on the ATAs, just the mike hole you mentioned. Does it still boot over and over if you disconnect it from the internet? If not, then you can factory reset it from the display menu. Go to Settings and there should be a "Factory Reset" Soft Key (if your phone's display menus are like mine).

jsolo1
Premium Member
join:2001-07-01
PRIL
Last time I had one of these apart I could have sworn there were some pins to attach a usb UART to. I didn't pay much attention to it, but believe this is it.

»i.imgur.com/mSo7fLx.png

Perhaps can be erased that way?
Anoncea8d
@73.231.247.x
to naf
So is Obi done as far as new GV accounts go now that the portal is gone?
naf
join:2017-12-12

5 recommendations

said by Anoncea8d :

So is Obi done as far as new GV accounts go now that the portal is gone?

no. new GV accounts work fine (and configuring is even slightly easier than before for those of us who never used the portal).

you just need the latest modded firware from obifirware.com and some not-so-super-secret config instructions that you can either pm me here or email me to receive
Anon2845b
@72.107.118.x

1 recommendation

Hi. I think i successfully messaged you about getting those instructions, every time I think I'm gonna have this work it throws another thing in my way so I can't comment yet with profile but can anonymous? Any how, bought an OBi202, arrived after portal shut down, but i have a new Google voice, internet, and phone to plug into it. If you didn't get an email, or maybe 2 accidentally, tonight about sending that, hopefully this works this time
naf
join:2017-12-12

2 recommendations

said by Anon2845b :

Hi. I think i successfully messaged you about getting those instructions, every time I think I'm gonna have this work it throws another thing in my way so I can't comment yet with profile but can anonymous? Any how, bought an OBi202, arrived after portal shut down, but i have a new Google voice, internet, and phone to plug into it. If you didn't get an email, or maybe 2 accidentally, tonight about sending that, hopefully this works this time

did you have a question? i havent seen any pms or emails...
naf
i need some help with some html/css/javascript if anyone has a minute:
its regarding adding the GV setup instructions to the webgui itself (no more hosts/wget/curl nonsense).

i just need a button that when clicked cause about 20 lines text/buttons to appear in the webgui.
easy, right?
trick is that you must put the button in the obi webgui's index.htm or left.htm or menu.htm (or in the DI_S_.xml if you want to fuck with the generated values and stylesheets i suppose)

ill pm you the text/buttons/javascript that i would like to see added as the popup/visible content.

any volunteers? first one to post a solution wins a virtual high five... (and be sure to add your credit tag in there somewhere if desired)

you can copy/paste the source html of the frames to your own env to edit, or you can edit on-device like so:
cd /var/tmp
cp -r /obi/webfile /var/tmp
mount --bind /var/tmp/webfile /obi/webfile
#vi /var/tmp/webfile/left.htm
 
OBi1FW
join:2017-12-27
Vienna, VA

1 edit

1 recommendation

One way to do it would be to add the following to the second nav2 in menu.htm. (It's not valid to have multiple elements with the same id but let's just ignore that).

      <li class="collapsed">
        <span class="menuheading">Google Voice</span>
        <ul style="display:none;">
          <li><a href="javascript:void(0);" onclick="parent.mainFrame.document.write('Hello, world.'); ">Provisioning</a></li>
       </ul>
      </li>
 

If no one else is working on this already, you can send me the content that needs to replace "Hello, world."
naf
join:2017-12-12

3 edits

2 recommendations

OBi1FW See Profile!

"I wanted it to be you. I wanted it to be you so badly." -- You've Got Mail

EDIT: removed stoned nonsense. back to business tomorrow then.
DOUBLE EDIT: nonsense restored since there was responses, ha
OBi1FW
join:2017-12-27
Vienna, VA

1 recommendation

All this time I had no clue that was a line from a movie. My ex couldn't even come up with her own material apparently.
naf
join:2017-12-12

4 recommendations

OBi1FW See Profile has provided some excellent code and wins the virtual high five (along with much thanks for their years-long and still ongoing adminsitration of obifirmware.com)
OBi1FW
join:2017-12-27
Vienna, VA

3 recommendations

Likewise, thank you. Your dedication to the cause is inspiring. These are great pieces of hardware and I think it's great that they can be kept out of the landfill as much as possible.
Anon0a012
@174.196.54.x
to naf
Yes, i need the instructions for adding a new GV number to the OBI202 after successfully downgrading and then updating the firmware. I found one of your documents but I'm having trouble following along and I'm not sure how I need to modify the parameter dump.

For some reason I haven't gotten a verification email so I can't comment with my profile or pm. I don't know if the email gets flagged since I'm still unverified and I put my email address in it.
naf
join:2017-12-12

3 recommendations

said by Anon0a012 :

Yes, i need the instructions for adding a new GV number to the OBI202 after successfully downgrading and then updating the firmware. I found one of your documents but I'm having trouble following along and I'm not sure how I need to modify the parameter dump.

For some reason I haven't gotten a verification email so I can't comment with my profile or pm. I don't know if the email gets flagged since I'm still unverified and I put my email address in it.

Feel free to email naf@sdf.org directly, or if you can hang back a week I am working on an update to make things easier than the old instructions (and take myself out of the loop finally)

jsolo1
Premium Member
join:2001-07-01
PRIL

3 recommendations

said by naf:

.... (and take myself out of the loop finally)...

This project wouldn't be where it's at without you. Long live gvsip!!!
naf
join:2017-12-12

1 edit

2 recommendations

ok, i have a test version built that has GV config built into the webgui.
would be nice to find tester(s) who already have GV setup using the AuthPassword no-portal method (to check backwards compatibility). if this is you and you have a minute to test a couple things, send me a pm.

EDIT: i should have said this was for the obi200/300, obiphone folks you are next...

jsolo1
Premium Member
join:2001-07-01
PRIL
I've got an obi2182 not in use I can experiment with. Remember way back when you compiled the latest obiapp into an earlier firmware base to fix audio issues in bridged/conferenced calls (because newer != better).
naf
join:2017-12-12

4 edits

6 recommendations

new firmware for OBi2xx/3xx: arrynrob12. see attached bsdiff from stock 8680 (»web.archive.org/web/2024 ··· 680EX.fw)

md5sum OBi2xx-3-2-2-8680EX-arrynrob12.fw = 7e8cc2cb166210d78aa9ea5c0c9b79b3

changes from arrynrob11:
1) add Google Voice config instructions to webgui
2) changed GV AuthPassword override format to only require the refresh_token itself (backward compatibility mode is enabled if AuthPassword being with "client=" so no config changes are required)

thanks to OBi1FW See Profile, , andre2 See Profile for code/ideas/feedback

EDIT TO ADD: mod code open sourced @ »github.com/naf419/obi-fi ··· h_inject (i certainly have better tools for writing code to shove inside a huge binary than i had when i first made this mod like 7 years ago on a obi100)

EDIT: fixed link to stock
naf
and with that, the dark era of "pm naf for GV instructions" has come to an end. hopefully it lasts.
andre2
join:2005-08-24
Brookline, MA

1 edit
to naf
The URL for stock 8680 says "The Wayback Machine has not archived that URL." BTW, Archive.org seems flaky since they were hacked recently, for example it's not letting me log in right now, despite my having had an account for years.

Edit: Yet I can log into Open Library which uses the same login creds as Archive.org.
OBi1FW
join:2017-12-27
Vienna, VA
As an alternate, it will be on obifirmware.com tonight.
naf
join:2017-12-12

1 recommendation

to andre2
said by andre2:

The URL for stock 8680 says "The Wayback Machine has not archived that URL." BTW, Archive.org seems flaky since they were hacked recently, for example it's not letting me log in right now, despite my having had an account for years.

dslreports was re-encoding my valid link. original post edited with alternative, so should be working now.
naf
said by an emailed in user's question :

> Is there any issues with provisioning [a] GV acct with your instructions to my obi200 device?
> I don't want to impact [my] working GV acct as it stands, just want to get the obi200 to work with that acct.
> The obi200 still has the old non-working GV number/acct stored in its memory/configuration.
> I assume when I provision with the working GV acct that all the old GV acct configuration will automatically get replaced, auth, tokens, etc. via following new instructions.

I don't know of any issues you will have. Having multiple devices connected to a single GV account is a GV-supported config AFAIK [any my personal Device List page on GV config says I have *23* connected devices right now ]

I believe you're assumption is wrong though regarding any 'replacement' of credentials: the portal-less instructions (and the way the portal used to worked) have you are granting access for an *additional* on-going service. Every credentials generated remains valid indefinately (maybe it expires at some point, but maybe not?), even if not in use, until you explicitly deny the access to obitalk on the google security page.

The only thing overwritten when is the setting that obi is storing/using, so TLDR no problems anticipated with your description.
Anon882b2
@72.107.118.x
to naf
Subject: Re: Obi202, new gv, param_dump.zip?

please post at »Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods for help

On Sun, Nov 17, 2024 at 12:39 AM wrote:

Hi Naf,

I'm still getting failed to connect, no response, and unable to see any device other than my mobile or web in gv.

I tried scraping everything. I installed the newest firmware. I went through the steps of the Google provisioning, it showed the permissions were still enabled, generated a refresh token/ access password, saved. I did it twice, firstwhere i did not reboot before then performing entering the itsp provisioning and rebooting and the a second time where I rebooted and power cycled before provisioning. I then rebooted twice and power cycled several times. 

Is there something else I need to put in a field like a personal clientname, email address or password? Any of the numbers on the back label? 

Does it saying "Polycom" in the corner of the ui change something vs saying "Obihai"? I read in someone's comment about putting a 9 or 8 in front of the dialing number? 

I'm not sure how to use the  param_dump.zip. I do not have Linux. I did get my desktop computer back up and running, it has windows 10.

I wish I was more knowledgeable in this. 

Thank you again for you help, 
andre2
join:2005-08-24
Brookline, MA

1 recommendation

Not sure if this has anything to do with your problem, but according to the OBi manual (for either the ATAs or Phones):
IMPORTANT: Every configuration page must be submitted individually after changes made on the page. Otherwise those changes will be discarded once you navigate to another page. Most changes will require a reboot of the unit (by clicking the reboot button for instance) to take effect. However, you may reboot the unit just once after you have made and submitted all the necessary changes on all the pages.
The instructions require changes in two pages in the webui so one must hit the Submit button at the bottom of each page separately. I mentioned this to naf See Profile in a PM so they included it in the instructions, but they must be followed exactly. The new instructions shouldn't require any Linux knowledge, though it definitely helped with the old ones.
Anonadeb2
@72.107.118.x
yes. i followed the instructions exactly as they were written in the instructions enough i could probably do it with my monitor off at this point. so then i did it with rebooting after each save cause i figured that couldn't hurt.

I'd love to be able to send someone the config so they could check for the missing values or explain to me how to do it but this site hasn't sent me a verification email so i currently can't pm, email, or comment through my profile, only anon.

after the several late nights i've had combing over this forum and other links i'm starting to get hung up on the fact that this is an OBIHAI device that reads "Google Voice" on the front but in the user interface it says "Polycom" and what i've seen of the Polycom branded devices is that they didn't have the google voice capability. could this device at somepoint have Polycom hardware installed in an Obihai case? i read about a modification that was needed to the inbound and outbound numbers for a polycom unit. again not sure of what i need for getting this to work.

also i'd mention that our home internet is the verizon box, not Fios. i used to work with fire/burglary alarms and i know there were always issues going from those analog signals through voip and i had a lot of cell communicators i had to install so places weren't on firewatch anymore, and then go replace when 3g was taken out.

i'm just trying to get a vintage phone that's been decorative for a decade to ring a call from Santa to my kids on christmas and then they'll have a phone their friends can call instead of tying up my wife's and mine. kids under 10 they don't need a cell phone
andre2
join:2005-08-24
Brookline, MA

1 recommendation

AFAIK the hardware is identical regardless of whether the device is branded Obihai or Polycom (which acquired Obihai in 2018, before HP acquired Polycom in 2022 - see »en.wikipedia.org/wiki/Ob ··· chnology ).

Just to be sure in case you're using it for testing, I'm guessing that Obi-to-Obi calling, like that Obitalk test number **9 222 222 222, wouldn't work anymore now that Obitalk is gone. The non-Obitalk provisioning has the side effect of disabling that, since before Obitalk went away, it would have otherwise been possible for Obitalk to make unauthorized changes or firmware updates. But at this point it shouldn't work regardless. GV calling is normally 10 digits for US numbers, so you can try the echo test number 909-390-0003 for testing (which echoes anything you say).

Also, in the webui, under Status/System Status/SPx Service Status (where SPx is the one you used in the instructions), it should say "Connected" (I have my 2182 hooked up right now but hopefully the 200 has the same menu labels). If not, what does it say?
naf
join:2017-12-12
to andre2

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

said by andre2:

Also, in the webui, under Status/System Status/SPx Service Status (where SPx is the one you used in the instructions), it should say "Connected" (I have my 2182 hooked up right now but hopefully the 200 has the same menu labels). If not, what does it say?

said by Anonadeb2 :

I'm still getting failed to connect, no response, and unable to see any device other than my mobile or web in gv.

andre2 See Profile is correct, polycom/obihai hardware wont matter, if the custom firmware is installed then you are good.

in addition to service status (to see what the error message actually says), let see Product Information > SoftwareVersion and Product Information > CustomizationStatus (to make sure you are running the right fw and you don't have a vendor-locked device)

if its "cannot connect to 0.0.0.0" its dns not working (network problem). if its "cannot connect to 216.239.36.145", dns worked but ip connection did not (different network problem). the provided linux shell could be used to check comms from device, but alas.

"forbidden" or "token error" mean an account or token problem, but it sounds like you haven't even connected.

dont think its a certificate problem because the hardware flash chip *should* have those installed at factory (would be nice to use the provided linux shell to dump flash contents to check, or run param_dump_200, but alas)

seeing the syslog would be nice if you could set that up
naf

2 recommendations

new firmware for OBi1000 series phones: olisom7. bsdiff too big to post, but link sent to OBi1FW See Profile so I expect it might be available on obifirmware.com sometime soon.

md5sum OBiPhone-5-1-11-5312EX-olisom7.fw = 1a090964938d8279d7e8b0b4ca47874d

changes from olisom6:
1) add Google Voice config instructions to webgui
2) changed GV AuthPassword override format to only require the refresh_token itself (backward compatibility mode is enabled if AuthPassword being with "client=" so no config changes are required)
3) included param_dump v0.2

thanks to andre2 See Profile for testing
Anonadeb2
@75.243.170.x
to naf
said by andre2:

GV calling is normally 10 digits for US numbers, so you can try the echo test number 909-390-0003 for testing (which echoes anything you say).

any number dialed gives back the response "the number you dialed xxxxxxxxxx has not received a response from the service provider."
said by naf:

andre2 See Profile is correct, polycom/obihai hardware wont matter, if the custom firmware is installed then you are good.

in addition to service status (to see what the error message actually says), let see Product Information > SoftwareVersion and Product Information > CustomizationStatus (to make sure you are running the right fw and you don't have a vendor-locked device)

if its "cannot connect to 0.0.0.0" its dns not working (network problem). if its "cannot connect to 216.239.36.145", dns worked but ip connection did not (different network problem). the provided linux shell could be used to check comms from device, but alas.

"forbidden" or "token error" mean an account or token problem, but it sounds like you haven't even connected.

dont think its a certificate problem because the hardware flash chip *should* have those installed at factory (would be nice to use the provided linux shell to dump flash contents to check, or run param_dump_200, but alas)

seeing the syslog would be nice if you could set that up

system status shows sp1 service status Connect Failed: No Response (server=216.239.36.145; retry in 12s)

HardwareVersion 1.4
SoftwareVersion 3.2.2 (Build: 8680EX-arrynrob12)
CertificatesStatus Installed
CustomizationStatus Generic

I saw something on an archived obitalk forum about changing the DNSServer1 to 8.8.8.8 so i tried that and there was no change so put it back to default.

just now i found some port forwarding settings that i entered into the router and verified that SIP ALG was disabled in there.

also all this time i've been dialing in to enable/disable WAN access but i've been plugged in directly to the LAN.

I can see where i would put in the info to send syslog and i found a link to a program to send it too on the archived obitalk page but the program itself is gone. Is there another i could use?

I know you responded in email that you are getting out of the personal support role which i completely understand, but i am at a loss.
Brown
join:2018-01-21
said by Anonadeb2 :

also all this time i've been dialing in to enable/disable WAN access but i've been plugged in directly to the LAN.

Back to basics: after enabling WAN access (like you have done), you must connect the WAN port to your router.

You can access the web gui from any device on your local subnet.
naf
join:2017-12-12
said by Brown:
said by Anonadeb2 :

also all this time i've been dialing in to enable/disable WAN access but i've been plugged in directly to the LAN.

Back to basics: after enabling WAN access (like you have done), you must connect the WAN port to your router.

You can access the web gui from any device on your local subnet.
ya. still sounds like a networking problem. they have some working outbound networking, because they can resolve obihai.telephony.goog to 216.239.36.145, but can the obi actually communicate with 216.239.36.145 on tcp 5061 at all?

its a little complicated by the fact that the name-based virtual server on 216.239.36.145:5061 for obihai enforces a tls connection have a valid *client* certificate in order for it to respond after the tls handshake, but... surely that part of the obi is working. (?)

still most likely a firewall or network problem preventing the connection outbound from their network.

but unless they use the shell to debug network connectivity or provide any syslog output (»web.archive.org/web/2013 ··· logd.zip) that might support that they have *any* network connectivity (time server, etc), all we can do is guess
Brown
join:2018-01-21
I wondered if they had the Obi connected to a PC with the LAN port and the PC is connected to their router.

I've done that before for config but GV can't work like that.
andre2
join:2005-08-24
Brookline, MA
to naf
Could the problems with not getting a verification email to set up a DSLR account, and not being able to connect to GV, be related somehow? They're both unusual.
naf
join:2017-12-12

2 recommendations

to jsolo1
said by jsolo1:

I've got an obi2182 not in use I can experiment with. Remember way back when you compiled the latest obiapp into an earlier firmware base to fix audio issues in bridged/conferenced calls (because newer != better).

thanks for the reminder. i loosely remember making a frankenbuild with whatever strange combo of versions you requested (against my own objections and common sense and everything that is good and right in the universe). this was the build named "4907-obi5330" correct? wasn't someone else using it also?

i was kind hoping that there might be another official release of stock firmware that cleans all the issues up (hahaha), but hp doesn't even list any 2000-series firmware at all (»support.hp.com/au-en/dri ··· 01743703) and the top google result for "obi 2000 series firmware" is obifirmware.com, so i guess that means we are in charge now? (yikes)

so i think if the concensus of obi2000 users think we should use 4907-obi5330 as a base going forward we can just do that. ill let you folks work that out amongst yourselves...
OBi1FW
join:2017-12-27
Vienna, VA

3 recommendations

to naf
Website updated. Thanks for all your work!
andre2
join:2005-08-24
Brookline, MA
to naf
said by naf:

so i think if the concensus of obi2000 users think we should use 4907-obi5330 as a base going forward we can just do that. ill let you folks work that out amongst yourselves...

I personally don't know anything about the issues this is intended to fix. jsolo1 See Profile, can you explain further?

jsolo1
Premium Member
join:2001-07-01
PRIL

1 recommendation

to naf
said by naf:

thanks for the reminder. i loosely remember making a frankenbuild with whatever strange combo of versions you requested (against my own objections and common sense and everything that is good and right in the universe). this was the build named "4907-obi5330" correct? wasn't someone else using it also?

i was kind hoping that there might be another official release of stock firmware that cleans all the issues up (hahaha), but hp doesn't even list any 2000-series firmware at all (»support.hp.com/au-en/dri ··· 01743703) and the top google result for "obi 2000 series firmware" is obifirmware.com, so i guess that means we are in charge now? (yikes)

so i think if the concensus of obi2000 users think we should use 4907-obi5330 as a base going forward we can just do that. ill let you folks work that out amongst yourselves...

The issue I ran into with the latest fw was broken call conferencing. That is, when the obi2xxx is used to bridge 2 calls together. There is resulting extreme static making it nearly impossible to hear either party. In testing, I had go to go back as far as the 4907 to fix this problem. I believe it's driver related. Somewhere along the way obi fucked things up but never fixed it.

On a whim I asked naf to bake in the latest obiapp into 4907 (this is mentioned somewhere in this thread, maybe a year ago?). Surprisingly it worked, in fact it worked great. There was also a wifi reconnect issue in older fw which the latest obiapp fixed. I don't believe this was related to the base fw but rather obiapp.

Both are easy to test, just bridge 2 calls and have each party report on audio quality. For wifi, kick the obi phone off the wifi using block option on router or AP. Wait a minute then delete the block. Phone should automatically reconnect.

I have this as filename "OBi2000-6-2-3-4907-base-obi5330-obiapp.fw"
MD5: 3270025cc87deedb4683caba691f1305
SHA-1: 1815e75aac191ef93649b79be856be15e00d7f2f
SHA-256: 5c108d79b29a9f102f504b3e1592e819032a89d258a4568390141f1db651cf99

The link you sent me on 20240319 still works.
Anon882b2
@174.196.54.x
to andre2
said by andre2:

Could the problems with not getting a verification email to set up a DSLR account, and not being able to connect to GV, be related somehow? They're both unusual.

I was wondering this too. The Verizon Fios box can do a home phone line but that isn't available in my area apparently. This box from what i understand runs through a Verizon VPN and similar with my cell data service. I don't know would a dns be able to do something? I also thought about taking it how I have now and plugging it in at my parent's broadband to see if there's any success there. I'll first try it how it's set up now and if still fail I'll try to reprovision maybe it affects the token too.
andre2
join:2005-08-24
Brookline, MA

1 edit
to jsolo1
If you've used 4907-base-obi5330 for the past 8 months with no problems, I'd be willing to go with that. I don't understand the distinction between the two components 4907 and obi5330, what do those represent?

I suspect the issues you had would affect the 1000 series as well. I've never done conference calls and my wifi usage is rare, plus the 1022 doesn't have built-in wifi anyway (though the 1062 does).

Edit: Is obi5330 related to the optional hardware plugins for Bluetooth, WiFi, etc.? Not sure what obiapp refers to.
andre2
to Anon882b2
Yes, I was thinking it would be a good idea to plug it in elsewhere, plus maybe you could see if you can get the DSLR verification email there to set up your account.
naf
join:2017-12-12
anybody got an obi50x and a gv account?
hit me up with a pm, got something to test

jsolo1
Premium Member
join:2001-07-01
PRIL

1 recommendation

to andre2
@andre2 4907 and 5330 are firmware build numbers. they're all part of the 6.2.3 base iirc. 4907 was the last build that didn't introduce the audio issues I mentioned earlier.

obiapp is the actual binary that the webui interacts with and handles the voip interaction.

Contents of the /obi folder on the obi device. There's other files in there too, but this is one that gets massaged to suit our needs ;).

# cd /obi
# ls -l
.
-rwxr-xr-x    1 22071    users      2441276 Jul 31  2021 obiapp
.
 
andre2
join:2005-08-24
Brookline, MA

1 edit
said by andre2:

Just to be sure in case you're using it for testing, I'm guessing that Obi-to-Obi calling, like that Obitalk test number **9 222 222 222, wouldn't work anymore now that Obitalk is gone. The non-Obitalk provisioning has the side effect of disabling that, since before Obitalk went away, it would have otherwise been possible for Obitalk to make unauthorized changes or firmware updates. But at this point it shouldn't work regardless.

I tried enabling Voice Services/OBiTALK Service/OBiTALK Service Settings/Enable to check if the OBi echo test number was working, and in fact it is! I don't know why. Anyway, I disabled it again, in case they're still capable of tampering with local settings as well.

Edit: @Anon882b2: Maybe you could try this as well to see if it works for you when the OBiTALK service is enabled, it's totally independent of the GV provisioning.
andre2
to jsolo1
I tried reproducing the static problem with conferencing, first with two simultaneous calls to the echo test number 909-390-0003, then one to the echo test number and one to the time number 202-762-1401. I couldn't do it, but don't know if it was a proper test (I've never used conferencing before). I'm using a 2182 with taoman2 firmware. My motivation was that I'm guessing the same problem exists with the 1022 and I could test for that.

Edit: Ideally I'd like to be able to reproduce it with automated numbers such as the ones above so my testing doesn't have to be coordinated with other people, if that's possible.

jsolo1
Premium Member
join:2001-07-01
PRIL
^^Might be easier with some cell phones?
andre2
join:2005-08-24
Brookline, MA
Interestingly, I normally only get the G711U codec with the echo test number (or almost any number), but when I have more than one instance it starts using G722.
MR19403
join:2009-02-25
to naf
Something I've been curious about. The most likely reason OBi200 stock firmware will quit working with GV is if a certificate gets updated by Google (because current certificate expires). Poly had to issue a firmware update for the new certificate when that happened in the past.

Does the arrynrob firmware have the same issue with Google certificates?
naf
join:2017-12-12

2 edits
[deleted snarky response]
OBi1FW
join:2017-12-27
Vienna, VA
I'm sorry I missed it
said by MR19403:

Does the arrynrob firmware have the same issue with Google certificates?

Any certificate can expire, so in that sense yes it does have the same issue. But naf is probably the only person in the world who is updating them from now on.
naf
join:2017-12-12

4 edits

1 recommendation

to MR19403
said by MR19403:

The most likely reason OBi200 stock firmware will quit working with GV is if a certificate gets updated by Google (because current certificate expires). Poly had to issue a firmware update for the new certificate when that happened in the past.

are you placing your money on the "a certificate" problem being:
- the SN-specific obihai-signed cert that GV verifies for the SIP client connection expiring in 2032 (and later), or
- the obihai root cert of that key that expires in 2030, or
- some unknown future root ca cert that GV theoretically could change to, which your device would need to verify, which (even if naf retires and doesn't update the pre-configured root ca list) can already be user-provided by placing at /scratch/customca.pem, or
- the dtls cert that expires in 2114, or
- other?

i think i would paylay the "google just chooses to stop doing GV for obihai" and "nobody cares enough to hack auth tokens from the android app or javascript webpage or whatever" options with my bet
itfan
join:2023-12-28
said by naf:

- the SN-specific obihai-signed cert that GV verifies for the SIP client connection expiring in 2032 (and later),

Are you referring to the certificate that gets extracted by your "extract_keys" program? If so, I got the impression that those are valid for 15 years from around the time of production of the device. I extracted these certificates from two OBi302 devices. One is an older OBIHAI branded device. Its certificate is valid from May 2012 until May 2027. The other is a newer Polycom branded device (but still hardware version 1.4 and a white sticker on the back). Its certificate is valid from July 2018 until July 2033.
naf
join:2017-12-12

1 recommendation

said by itfan:
said by naf:

- the SN-specific obihai-signed cert that GV verifies for the SIP client connection expiring in 2032 (and later),

Are you referring to the certificate that gets extracted by your "extract_keys" program? If so, I got the impression that those are valid for 15 years from around the time of production of the device. I extracted these certificates from two OBi302 devices. One is an older OBIHAI branded device. Its certificate is valid from May 2012 until May 2027. The other is a newer Polycom branded device (but still hardware version 1.4 and a white sticker on the back). Its certificate is valid from July 2018 until July 2033.
yes, that one.

that key/cert is/was used both by:
- obitalk for authenticating the specific serial# of your individual device to the obitalk portal (R.I.P.) to download your device config
- your local device to encrypt its config in flash, so that nefarious hackers can't dump the params you have stored.
- google to authenticate the tls connection to the obihai GV endpoint, to show you were indeed an obihai device (and not just some rogue asterisk install, ha)

so i guess if you were planning on using your device unchanged after 2033 you are SOL, but im not going to lose any sleep over it.
Bird222
join:2003-08-25

1 edit
to itfan
said by itfan:
said by naf:

- the SN-specific obihai-signed cert that GV verifies for the SIP client connection expiring in 2032 (and later),

Are you referring to the certificate that gets extracted by your "extract_keys" program? If so, I got the impression that those are valid for 15 years from around the time of production of the device. I extracted these certificates from two OBi302 devices. One is an older OBIHAI branded device. Its certificate is valid from May 2012 until May 2027. The other is a newer Polycom branded device (but still hardware version 1.4 and a white sticker on the back). Its certificate is valid from July 2018 until July 2033.
Is there an 'extract keys' program for the 2182? If so, do you have a link to it?
naf
join:2017-12-12

1 edit
said by Bird222:

Is there an 'extract keys' program for the 2182? If so, do you have a link to it?

it exists, but i dont think anyone actually has a use for it. of all the 3 uses i listed above:
- obitalk doesnt exist anymore (and you weren't going to spoof its connection anyway)
- your local device already has it (and if you were stealing someone elses param you would just param_dump them)
- your local device already has it, there's no current method to modify it on device, and obi device clones don't need to clone a specific device's cert for their GV connection (contraindicated, i would think) because clones are fine using either my obi100 key/cert i posted (»Re: Asterisk Google Voice SIP testing and technical discussion) or the test key/cert that obi accidentally included in the d230 7866 firmware

that being said, check your pms

EDIT TO ADD: on the other hand, if someone submitted a PR to »github.com/naf419/obi-fi ··· re-tools that unified the extract_keys.c source for every device, similar to whats already posted for param_dump, i would certainly accept it
Bird222
join:2003-08-25
Thanks for the link but the two files that are output look like some binary blobs. They don't look like key files that I am used to seeing.
andre2
join:2005-08-24
Brookline, MA
to jsolo1
said by jsolo1:

@andre2 4907 and 5330 are firmware build numbers. they're all part of the 6.2.3 base iirc. 4907 was the last build that didn't introduce the audio issues I mentioned earlier.

obiapp is the actual binary that the webui interacts with and handles the voip interaction.

OK, so 4907-obi5330 is basically just 4907 except using 5330's /obi/obiapp file. (With taoman2 I see SoftwareVersion "6.2.3 (Build: 5330.1311-taoman2)".) What was claimed to be fixed between 4907 and 5330? Was there a changelog for those versions? (Of course at least some of those changes would be in obiapp itself, those would be in 4907-obi5330 as well.)
naf
join:2017-12-12

3 edits
to Bird222

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

said by Bird222:

Thanks for the link but the two files that are output look like some binary blobs. They don't look like key files that I am used to seeing.

well, they are in DER format, thats why they're name includes ".der."
i guess you could convert them to PEM if you like staring at base64 instead of hex (but still not actually doing anything with them?), see the last two lines here (or google) for conversion info: »Re: ObiHAI Obi100/Obi110 Firmware Mod Discussion
or maybe its raw prime number p and q that you like, so you can do some pen-and-paper encryption/decryption? google for that too i guess.

OK enough snark, now im actually curious what format you are used to seeing keys in? like openssh format (id_rsa/id_rsa.pub)? something else?
Bird222
join:2003-08-25
Thanks for the info. I can't find openssl on the obi phone. I assume any version of openssl will do the conversion?

jsolo1
Premium Member
join:2001-07-01
PRIL
to andre2
said by andre2:

OK, so 4907-obi5330 is basically just 4907 except using 5330's /obi/obiapp file. (With taoman2 I see SoftwareVersion "6.2.3 (Build: 5330.1311-taoman2)".) What was claimed to be fixed between 4907 and 5330? Was there a changelog for those versions? (Of course at least some of those changes would be in obiapp itself, those would be in 4907-obi5330 as well.)

Re change log.. your guess is as good as mine. You know the saying, 1 step forward, 2 steps back.

Check your private messages on here.
MR19403
join:2009-02-25

1 edit
to naf
said by naf:

are you placing your money on the "a certificate" problem being:
- the SN-specific obihai-signed cert that GV verifies for the SIP client connection expiring in 2032 (and later), or
- the obihai root cert of that key that expires in 2030, or
- some unknown future root ca cert that GV theoretically could change to, which your device would need to verify, which (even if naf retires and doesn't update the pre-configured root ca list) can already be user-provided by placing at /scratch/customca.pem, or
- the dtls cert that expires in 2114, or
- other?

I have no idea what the expiration date is on the certificate that caused Poly to issue a firmware update about 2 years ago. So I'm placing my money on "the SN-specific obihai-signed cert that GV verifies for the SIP client connection expiring in 2032"...with the 2032 date being the answer to my question. [snark]Now that you are out of the "PM me for instructions" business, what will you be doing with all your spare time?[/snark] ...(angle brackets disappear during posting)
naf
join:2017-12-12

5 recommendations

said by MR19403:
said by naf:

are you placing your money on the "a certificate" problem being:
- the SN-specific obihai-signed cert that GV verifies for the SIP client connection expiring in 2032 (and later), or
- the obihai root cert of that key that expires in 2030, or
- some unknown future root ca cert that GV theoretically could change to, which your device would need to verify, which (even if naf retires and doesn't update the pre-configured root ca list) can already be user-provided by placing at /scratch/customca.pem, or
- the dtls cert that expires in 2114, or
- other?

I have no idea what the expiration date is on the certificate that caused Poly to issue a firmware update about 2 years ago. So I'm placing my money on "the SN-specific obihai-signed cert that GV verifies for the SIP client connection expiring in 2032"...with the 2032 date being the answer to my question. [snark]Now that you are out of the "PM me for instructions" business, what will you be doing with all your spare time?[/snark] ...(angle brackets disappear during posting)
love the reverse snark. (and i was an asshole before, there was no reason for me to answer like that. i should have left it deleted.)

what i should have said: the poly update from a couple years back was to update a ca root certificate expiration. i cant remember the details, but i think i remember publishing instructions for how to use the mod firmware to update the certs manually before obi/poly/hp/whoever updated the stock fw. this continues to be an option with mod firmware (because noone at obi is going to sign a cert update package) going forward.

but to answer your snark question in earnest: ive been dabbling in android development (the os, not 'apps'), hacking some tplink routers (mostly from skills learned along the way with these silly obi devices), and hoping some young gun will come in here and reverse the GV android apps SIP endpoint so i can retire like phonesimon See Profile
naf
(not that i got nerd sniped, but totally because the obi500's certs are super old and it cant connect to fucking anything and the stock "customca" mechanism only supports 8 additional certs and the existing area in the binary where the certs live is too small to paste in any modern root ca list)

im thinking about trying to do a thing where i hollow out the hardcoded certs location in the obiapp binary and replace it with code that reads a user-supplied file from somewhere on flash that can be modified via ssh

either
- just read from /scratch/the_actual_customca.pem or whatever and the mod firmware bootup script can provide a default copy of said cert list (probably copied from obi200 8680's list because im lazy), just as it does for the /etc/passwd file. cons: another requirement on scratch which occasionally shits the fan cause its a heavy read-write target
- hardcode the location to a flash location in the ROM area like /obi/rootcerts.pem and then the interface to change it would be mount-binding over that in a startup script (with maybe a commented out example included in default /scratch/etc/rc.custom). cons: a little harder to setup and probably riskier cause if yall fuck up that /scratch/etc/rc.custom file and delete the ssh server, that would be a mistake

either way would provide future support for (8+) root ca changes without a new build. id think start on the 500 build but maybe port it to others if successful.

thoughts?

jsolo1
Premium Member
join:2001-07-01
PRIL
^^Always plan for the lowest denominator .

If either relies on the scratch partition, then it really doesn't matter which method is used. If scratch get corrupted, you're sol anyway.
naf
join:2017-12-12

2 edits
alternative idea for the 500 atleast: if someone could whittle down the 87159 bytes of obi200 8680 certs down to fit in 31527 bytes by removing old/junk/unpopular root CAs and keeping the popular/good ones, that would work too. but must have the roots used by obifirmware.com, obihai.telephony.goog, and accounts.google.com

wouldnt be as fun obviously

EDIT TO ADD: guess i can pull the obihai certs. nobody to connect to, ha.
EDIT TO ADD 2: wait, why the crap is root.pnn.obihai.com (obitalk 9-digit calling network *and* sometimes unwanted config pushes) still up?
andre2
join:2005-08-24
Brookline, MA
said by naf:

EDIT TO ADD 2: wait, why the crap is root.pnn.obihai.com (obitalk 9-digit calling network *and* sometimes unwanted config pushes) still up?

I'm guessing so people can still call the **9 222 222 222 OBi test number shown on the Quick Start guides, they don't want to break that yet.
Brown
join:2018-01-21
said by andre2:

they don't want to break that yet.

That suggests they (HP) did want to break the other functionality. Maybe Google told them to stop? IDK
Anon00d82
@98.97.10.x

2 recommendations

to naf
Naf, I wanted to say thanks! My Google is up and working again on OBIHAI 1062!!!!!!!!!!!!!!!!
jonqpublek
join:2021-04-09
Canada
to naf
Hi,

I was looking at the HP ATA forum and found this post:

»h30434.www3.hp.com/t5/AT ··· /9240287

which indicates that there is a later version of the firmware than the one being used for the arrynrob12 firmware.

This is the link to download it:

»downloads.polycom.com/vo ··· 10-12.fw

I couldn't find release notes for the Obi202 firmware, but there are release notes for the Obi302 release of the same version of the firmware, which is located here:

»docs.poly.com/bundle/pol ··· -2-5.pdf

I have no idea if the firmware is better or worse than the stock firmware (3.2.2 (Build: 8680EX)) used as the base for the current arrynrob12, but if it is better, it may be interesting to use it.

Thanks,

Jon
heithmaint
join:2024-11-13
Maryland Heights, MO
to andre2
said by andre2:

Yes, I was thinking it would be a good idea to plug it in elsewhere, plus maybe you could see if you can get the DSLR verification email there to set up your account.

I haven't gotten the chance to try that yet, but yesterday I got a flood of emails from all my attempts to verify and I tried again after the site was back up and now my account is good.

Going to try again, I think my parents' might have the problem too if it's a hardline issue as they have dTV and internet. I may just accept defeat and get a mjack for the call from the north.
naf
join:2017-12-12
to jonqpublek
said by jonqpublek:

...OBi202-3-2-5-8732-2021-10-12.fw

I have no idea if the firmware is better or worse than the stock firmware (3.2.2 (Build: 8680EX)) used as the base for the current arrynrob12, but if it is better, it may be interesting to use it.

$ strings 8680/_OBi2xx-3-2-2-8680EX.fw/squashfs-3-obi/obiapp | grep "Bearer"
Bearer token="%s", username="%s", realm="%s"
$ strings 8732/_OBi202-3-2-5-8732-2021-10-12.fw/squashfs-3-obi/obiapp | grep "Bearer"
$
 

no GV support, so i ignored it.
andre2
join:2005-08-24
Brookline, MA
to heithmaint
Try temporarily enabling the OBiTALK service at Voice Services/OBiTALK Services/OBiTALK Service Settings/Enable (and Submit and reboot) to see if you can at least make an OBi test call (**9 222 222 222) (that should also work immediately after a factory reset as long as the server is still up).
jonqpublek
join:2021-04-09
Canada
to naf
Hi,

Thanks Naf for letting us know.

So 3.2.2 8680 it is.

- Jon
heithmaint
join:2024-11-13
Maryland Heights, MO
to andre2
said by andre2:

Try temporarily enabling the OBiTALK service at Voice Services/OBiTALK Services/OBiTALK Service Settings/Enable (and Submit and reboot) to see if you can at least make an OBi test call (**9 222 222 222) (that should also work immediately after a factory reset as long as the server is still up).

Nope no luck, and still getting failed to connect
andre2
join:2005-08-24
Brookline, MA

1 edit
I'm wondering if you wouldn't be able to make any kind of SIP call? I believe certain ports have to be open but I'm not familiar with that. Googled and it says that Magic Jack uses SIP so maybe that wouldn't work either? Anyone know?

Edit: After I posted, I checked again that I could still make an OBI test call when the OBiTALK service is enabled. Never know when that will go away. Anyway, you obviously have a more general problem than GV, since the OBi test call is supposed to work for any OBi device, even one not configured/compatible with GV. Hopefully now that you have an account you can upload/PM whatever is needed to diagnose this to someone qualified (not me!).
naf
join:2017-12-12
fyi im slowly working on obi500 GV support again, being thwarted by some IT problems. (modding binaries: easy. MITM-ing oauth: easy. dns and ssl certificates: hard)

pinging OBi1FW See Profile for help if you can check your IMs.
heithmaint
join:2024-11-13
Maryland Heights, MO
to andre2
said by andre2:

I'm wondering if you wouldn't be able to make any kind of SIP call? I believe certain ports have to be open but I'm not familiar with that. Googled and it says that Magic Jack uses SIP so maybe that wouldn't work either? Anyone know?

Edit: After I posted, I checked again that I could still make an OBI test call when the OBiTALK service is enabled. Never know when that will go away. Anyway, you obviously have a more general problem than GV, since the OBi test call is supposed to work for any OBi device, even one not configured/compatible with GV. Hopefully now that you have an account you can upload/PM whatever is needed to diagnose this to someone qualified (not me!).

The magic jack worked just fine. But of course I didn't need to do anything really. I've noticed in the vbox settings there's a SIP ALG which from what I'm reading basically turns it into just a modern and would require a separate router/switch but would open any bandwidth and other firewall restrictions that I may be failing to circumvent. I have several IP cameras that are all ported through it ok without dns.

The only thing I can think of outside of the device or network that could cause failure is all the Google voice stuff i see say it won't support SIP unless I get the business workspace account. With those workplace admin settings I could create a trunk that points to it... I think.

Have any of you all had luck with set up of brand new numbers since Nov 1 that isn't a legacy account? Like literally created the same day from free Google account and created the token and made a call?
richfife
join:2024-12-07
Richmond, CA
to naf
Obi202 with the modded firmware not taking up the provisioning xml?

Seems to just be sitting at (see attached image) indefinitely.
naf
join:2017-12-12
said by richfife:

Obi202 with the modded firmware not taking up the provisioning xml?

Seems to just be sitting at (see attached image) indefinitely.

assuming that you did "click Reboot to force the config to download", a syslog (Device Admin > Syslog) to any device capable of receiving udp packets on the configured port would be needed to make any informed diagnosis.
richfife
join:2024-12-07
Richmond, CA
I did a soft reboot and a power cycle.

I copied the XML files to my web host (which is on the same network as the Obi202) and it worked. Sooo... I suspect the problem is on my router settings.

Odd that this worked previously with the same hardware connected the same way. When I'm more caffeinated, I'll put on my diagnosis boots.
naf
join:2017-12-12
said by richfife:

I did a soft reboot and a power cycle.

I copied the XML files to my web host (which is on the same network as the Obi202) and it worked. Sooo... I suspect the problem is on my router settings.

Odd that this worked previously with the same hardware connected the same way. When I'm more caffeinated, I'll put on my diagnosis boots.

theres also some dns and cert changes been going on on the server side of [www.]obifirmware.com, might be the culprit as well
richfife
join:2024-12-07
Richmond, CA
That and the fact that the Obi202 is attached to a DD-WRT bridge connected to a FreshTomato router. That may be provoking crankiness.

jsolo1
Premium Member
join:2001-07-01
PRIL
Also keep in mind, you only need to load the obifirmware xml values once, not at each reboot. Once set they do not change (until factory reset).
richfife
join:2024-12-07
Richmond, CA
I'm trying to load both sp1 and sp2. Current status is it provisioned sp1 but not sp2. I'm leaving it at "Periodically, interval 1"* for now.

Or should I merge the two xml files?

* Is that hours or minutes?
ambit12
join:2023-05-22

2 edits
to naf
Has anyone considered this problem when seeking a GV token from within the anyrob firmware?:

"the requested URL /obinet/pg/obhdev/gvtoken was not found on this server."

jsolo1
Premium Member
join:2001-07-01
PRIL
to richfife
The only difference is the variable names (to reference the different sp slots). As I mentioned, once these values are set, they're set. My ITSP provisioning is set to disabled (once configured).

The main point of my post is to reduce load on the obifirmware server. Not that obi's are rebooted often (or maybe they are). I have a custom script in the pbx vm that pushes a reboot to both obi's nightly at 12:01am. This is mainly to deal with gv weirdness where connectivity is intermittently lost.
richfife
join:2024-12-07
Richmond, CA
Right now I'm referencing local copies of the xml, so hopefully that shouldn't be a load problem. I see the, uh, fields? (sorry, haven't xmled in a while) that turn off the provisioning post application.
naf
join:2017-12-12
to ambit12

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

said by ambit12:

Has anyone considered this problem when seeking a GV token from within the anyrob firmware?:

"the requested URL /obinet/pg/obhdev/gvtoken was not found on this server."

what you describe as "the problem" is acually "the solution" to doing the person-in-the-middle attack to grab the token.

to quote the instructions to you:
"your browser will receive a 404 error from www.obitalk.com because it is no longer functional as of 10/31/2024. however, an authorization code is present in that url"
naf

1 edit
to richfife
said by richfife:

I'm trying to load both sp1 and sp2. Current status is it provisioned sp1 but not sp2. I'm leaving it at "Periodically, interval 1"* for now.

Or should I merge the two xml files?

* Is that hours or minutes?

haha its seconds, per the provisioning guide here: »kaas.hpcloud.hp.com/pdf- ··· US-1.pdf

dont merge. set it to do the first one, let it reboot and download the config (youll know its done when the Method returns to Disabled), then set it to do the second one, let it reboot, etc

interval would only be useful in a scenario the contents of the URL are changing. here it is static, so it just needs to happen once (or after a whole config reset)
ambit12
join:2023-05-22
to heithmaint
.
ambit12
to naf
Oops. My bad. The 404 error wasn't stated as the error, so I thought... Who knows? Thanks once again.
richfife
join:2024-12-07
Richmond, CA
to naf
So copy everything from here:

»richfife.com/EnableGVSIP ··· /Name%3E

to the end of file (not including ) into the SP1 xml file?
naf
join:2017-12-12
to ambit12
said by ambit12:

The 404 error wasn't stated as the error

was it not? take it up with your browser (or your eyeballs if you didn't look at the titlebar) :-)

$ curl -v "https://www.obitalk.com/obinet/pg/obhdev/gvtoken"
...
> GET /obinet/pg/obhdev/gvtoken HTTP/1.1
> Host: www.obitalk.com
> User-Agent: curl/8.9.1
> Accept: */*
>
...
< HTTP/1.1 404 Not Found
< Date: Sat, 07 Dec 2024 18:44:15 GMT
< Content-Type: text/html; charset=iso-8859-1
< Content-Length: 222
< Connection: keep-alive
< Server: Apache
<
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /obinet/pg/obhdev/gvtoken was not found on this server.</p>
</body></html>
 
naf

4 edits
to richfife
said by richfife:

"
So copy everything from here:

»richfife.com/EnableGVSIP ··· rofile.2.

to the end of file (not including ) into the SP1 xml file?

wait, what are you trying to do? why not copy the original?
all of these work for me:
»www.obifirmware.com/fw/E ··· TALK.xml
»web.archive.org/web/2024 ··· TALK.xml

»www.obifirmware.com/fw/E ··· _SP2.xml
»web.archive.org/web/2022 ··· _SP2.xml

EDIT: i mean they work in real life, this website mangles the archive.org links by converting the : to %2A (*) :-(
EDIT 2: ok i fixed the archive links above to workaround dslreports weirdness
richfife
join:2024-12-07
Richmond, CA

1 edit
If I set up one line on SP1, it works. If I proceed from there and attempt to set up a second line on SP2, it doesn't take up the provisioning file.

I was conjecturing that, if I merged the SP1 and SP2 file, it would take it up and do both at once.
richfife
For what it's worth, I just set up my 202 with a different AuthPassword for SP1 and SP2 and provisioned with:

»richfife.com/EnableGVSIP ··· SP12.xml

And it worked. Doing them one at a time didn't work.
naf
join:2017-12-12
ya, https certs on obifirmware.com are being rejected.

from the syslog (that no one ever wants to provide, grump grump):
<150> PROV: Starting provisioning process
<150> PROV: Start to download files ...
<147> PROV: Invalid server name, Skipped
<150> PROV: schedule the next provisioning process
<150> PROV: Start to download files ...
<7> TCP:Connect OK(HTTP GET)38
<7> Trying to connect ssl
<7> BASESSL:verifing:20
<7> BASESSL:connect error:-1:1[4401]
<7> TC[HTTP GET]:ssl connection failed
<155> HTTPC: Connection Failed<7> TCP:Connect OK(HTTP GET)38
 

# wget --ca-certificate=/scratch/certs_from_8680.pem https://www.obifirmware.com/fw/EnableGVSIPWithoutOBiTALK.xml
--2024-12-07 14:08:51--  https://www.obifirmware.com/fw/EnableGVSIPWithoutOBiTALK.xml
Resolving www.obifirmware.com... 18.238.171.110, 18.238.171.18, 18.238.171.51, ...
Connecting to www.obifirmware.com|18.238.171.110|:443... connected.
ERROR: cannot verify www.obifirmware.com's certificate, issued by 'CN=Amazon RSA 2048 M02,O=Amazon,C=US':
  Unable to locally verify the issuer's authority.
To connect to www.obifirmware.com insecurely, use `--no-check-certificate'.
 

OBi1FW See Profile can we revert to before my latest requested cert changes for the 500, or do we just need to move forward and fix this shit for once and for all?
richfife
join:2024-12-07
Richmond, CA
"that no one ever wants to provide,"

I resemble that remark. Sorry...
naf
join:2017-12-12

1 recommendation

and the obi's shitty http client doesn't like archive.org either (at least it likes the cert :-P)
<150> PROV: Starting provisioning process
<150> PROV: Start to download files ...
<7> [CPT] tone compression done - 11561 !!
<7> TCP:Connect OK(HTTP GET)43
<7> Trying to connect ssl
<7> TC:ssl connected
<158> HTTPC: Server responses: 200
<158> NO content length?! Chunk: 1 Allocating (8192 bytes)
<158> HTTPC: Last Chunk has been received, total: 12564
<147> PROV: Config File is not supported!
 

# wget --no-check-certificate https://www.obifirmware.com/fw/EnableGVSIPWithoutOBiTALK.xml -O from_obifirmware
--2024-12-07 14:24:56--  https://www.obifirmware.com/fw/EnableGVSIPWithoutOBiTALK.xml
Resolving www.obifirmware.com... 18.238.171.27, 18.238.171.110, 18.238.171.18, ...
Connecting to www.obifirmware.com|18.238.171.27|:443... connected.
WARNING: cannot verify www.obifirmware.com's certificate, issued by 'CN=Amazon RSA 2048 M02,O=Amazon,C=US':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 6760 (6.6K) [text/xml]
Saving to: 'from_obifirmware'
 
from_obifirmware              100%[=================================================>]   6.60K  --.-KB/s    in 0s
 
2024-12-07 14:24:57 (83.7 MB/s) - 'from_obifirmware' saved [6760/6760]
 
# wget --ca-certificate=/scratch/certs_from_8680.pem "https://web.archive.org/web/20240507160514/www.obifirmware.com/fw/
EnableGVSIPWithoutOBiTALK.xml" -O from_archive.org
--2024-12-07 14:25:15--  https://web.archive.org/web/20240507160514/www.obifirmware.com/fw/EnableGVSIPWithoutOBiTALK.xml
Resolving web.archive.org... 207.241.237.3
Connecting to web.archive.org|207.241.237.3|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6760 (6.6K) [text/xml]
Saving to: 'from_archive.org'
 
from_archive.org              100%[=================================================>]   6.60K  --.-KB/s    in 0s
 
2024-12-07 14:25:16 (87.1 MB/s) - 'from_archive.org' saved [6760/6760]
 
# md5sum from_*
90aa6b66f2ea8fbcebbc920b426d3dec  from_archive.org
90aa6b66f2ea8fbcebbc920b426d3dec  from_obifirmware
 

not sure it wouldnt be easier to just include a goddamn http server in the obi image and serve the file locally than it would be to learn the nuances of cert validation in a 10 year old openssl version or a janky source-less http client
naf

1 recommendation

ok so atleast using a modern ca root list works:

# wget --no-check-certificate https://curl.se/ca/cacert-2024-11-26.pem
--2024-12-07 14:40:37--  https://curl.se/ca/cacert-2024-11-26.pem
Resolving curl.se... 151.101.65.91, 151.101.129.91, 151.101.193.91, ...
Connecting to curl.se|151.101.65.91|:443... connected.
WARNING: cannot verify curl.se's certificate, issued by 'CN=R10,O=Let\'s Encrypt,C=US':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 236849 (231K) [application/x-pem-file]
Saving to: 'cacert-2024-11-26.pem'
 
cacert-2024-11-26.pem         100%[=================================================>] 231.30K  40.2KB/s    in 5.8s
 
2024-12-07 14:40:43 (40.2 KB/s) - 'cacert-2024-11-26.pem' saved [236849/236849]
 
# wget --ca-certificate=/scratch/cacert-2024-11-26.pem "https://www.obifirmware.com/fw/EnableGVSIPWithoutOBiTALK.xml"
--2024-12-07 14:41:32--  https://www.obifirmware.com/fw/EnableGVSIPWithoutOBiTALK.xml
Resolving www.obifirmware.com... 18.238.171.18, 18.238.171.27, 18.238.171.51, ...
Connecting to www.obifirmware.com|18.238.171.18|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6760 (6.6K) [text/xml]
Saving to: 'EnableGVSIPWithoutOBiTALK.xml'
 
EnableGVSIPWithoutOBiTALK.xml 100%[=================================================>]   6.60K  --.-KB/s    in 0.002s
 
2024-12-07 14:41:33 (3.23 MB/s) - 'EnableGVSIPWithoutOBiTALK.xml' saved [6760/6760]
 
 

i think the real answer here is that i do need to implement the option i was working on for the 500 to replace the hardcoded-in-the-obiapp-binary list of root cas with a naf-provided and user-overridable list ("naf-provided" meaning default to the most recent mozilla/curl list)
richfife
join:2024-12-07
Richmond, CA
to naf
Do you need a full blown web server or just something that sits at localhost on 4 different ports and goes accept()/send()/close()?
naf
join:2017-12-12
said by richfife:

Do you need a full blown web server or just something that sits at localhost on 4 different ports and goes accept()/send()/close()?

it would have to meet the requirements of the homebrew http client that obiapp implements, so unknown. if it doesnt even like archive.org, i doubt it complies to any standards. i havent looked at the storage space requirements in detail, but i dont think including lighttpd would be out of the question.

tftp is allegedly an option also, i guess. or theoretically could just mod the binary to read a local file, that would be pretty funny.

but even if working around the config problem was a trivial fix, i think in the big picture that improving the current limitation of having a limited root ca list hardcoded into the obiapp binary is a change we want anyway, not just to avoid the current problem with rejecting obifirmware.com's AWS certs, but also with the other necessary GV tls connections (accounts.google.com, obihai.telephony.goog) or any other tls connection that other ITSPs might use.
richfife
join:2024-12-07
Richmond, CA
Either you're overthinking this or I'm underthinking it. Probably the latter.

This client accepts http, not just https. So just use curl to capture the complete http reply (both header and body) to a request for the xml, put that in either a file or a C string and set up a short program that parks on a TCP port on localhost, waits for a connection, reads the request, discards it unprocessed and sends that string as a reply no matter what.

World's most idiotic HTTP server, but it does that one thing.
richfife

1 recommendation

to naf
In the meanwhile, I'll leave these up in http land:

http ://richfife.com/EnableGVSIPWithoutOBiTALK.xml
http ://richfife.com/EnableGVSIPWithoutOBiTALK_SP2.xml
http ://richfife.com/EnableGVSIPWithoutOBiTALK_SP3.xml
http ://richfife.com/EnableGVSIPWithoutOBiTALK_SP4.xml

Provision SP1 and SP2 in one go:

http ://richfife.com/EnableGVSIPWithoutOBiTALK_SP12.xml
naf
join:2017-12-12

3 edits

4 recommendations

to richfife
said by richfife:

Either you're overthinking this or I'm underthinking it. Probably the latter.

This client accepts http, not just https. So just use curl to capture the complete http reply (both header and body) to a request for the xml, put that in either a file or a C string and set up a short program that parks on a TCP port on localhost, waits for a connection, reads the request, discards it unprocessed and sends that string as a reply no matter what.

World's most idiotic HTTP server, but it does that one thing.

sure, a tiny "just dump a fixed xml with http hardcoded http headers and all" util would make sense to serve the static config file locally. its a good idea.

but that only addresses the "how to get GV config onto the device without requiring a user to setup their own ftp/http/https server [and the https server has to have a root cert already hardcoded in an years-old-and-not-inclusive root ca list]" problem, not the "what about other tls connections [and https ones where you can't just change the URL] that obi wants to verify against a hardcoded years-old-and-not-inclusive root ca list" problem.

EDIT TO ADD: also theres even more non-obi200 obi devices that have even older/shorter root ca lists (older than the google root ca changeover of years ago) where a replaceable root ca list is needed

plus modding the binary to replace the shitty hardcoded list with a dynamic one is more... pleasing. it brings me joy. and now that obi/poly/granny/hp isn't releasing any new firmwares, i dont have to worry about porting all my changes to the next version, so i can go to town on this shit
OBi1FW
join:2017-12-27
Vienna, VA
said by naf:

OBi1FW See Profile can we revert to before my latest requested cert changes for the 500, or do we just need to move forward and fix this shit for once and for all?

Well, having the CN fixed is probably for the best. Unfortunately I have very little control over the CA but I did finally get around to turning HTTP back on.
naf
join:2017-12-12

4 edits
ok maybe another set of eyeballs on this will help see something obvious i dont. i replaced the stock function that looks like this (note i dont have source, but its all dynamic linked externals so i get pretty names easily), which gets called with the buffer set to the hardcoded cert list in the binary:
 
int get_certs(SSL_CTX *ctx,void *buf,int len,int type_always_1)
{
  X509_STORE *store;
  BIO *bio;
  X509 *x509;
  int res;
  X509_NAME *x509_name;
  int count;
  char name [1024];
  
  store = SSL_CTX_get_cert_store(ctx);
  bio = BIO_new_mem_buf(buf,len);
  if (type_always_1 == 2) {
    x509 = d2i_X509_bio(bio,(X509 **)0x0);
    if (x509 == (X509 *)0x0) {
      return -1;
    }
    res = X509_STORE_add_cert(store,x509);
    X509_free(x509);
    if (res == 0) {
      return -1;
    }
    count = 1;
  }
  else if (type_always_1 == 1) {
    count = 0;
    while (x509 = PEM_read_bio_X509_AUX(bio,(X509 **)0x0,(undefined1 *)0x0,(void *)0x0),
          x509 != (X509 *)0x0) {
      res = X509_STORE_add_cert(store,x509);
      if (res == 0) {
        x509_name = X509_get_subject_name(x509);
        memset(name,0,0x400);
        X509_NAME_get_text_by_NID(x509_name,0xd,name,0x400);
        printf("!!!Not able to load CA CERT: %s\n",name);
      }
      else {
        count = count + 1;
      }
      X509_free(x509);
    }
  }
  else {
    count = 0;
  }
  printf("%d CA certificates are loaded\n",count);
  return count;
}
 

with a much better (and same number of arm instructions) naf implementation:
int get_certs(SSL_CTX *ctx) {
  static const char *FNAME = "/obi/rootca.pem";
 
  int count = 0;
  int err_count = 0;
  int fd = open(FNAME, O_RDONLY);
  if (!fd) {
    printf("GET_CERTS: cannot open %s\n", FNAME);
    goto err;
  }
  struct stat s;
  if (fstat(fd, &s)) {
    printf("GET_CERTS: cannot fstat %s\n", FNAME);
    goto err;
  }
  off_t len = s.st_size;
  void* buf = mmap(0, len, PROT_READ, MAP_PRIVATE, fd, 0);
  if (!buf) {
    printf("GET_CERTS: cannot mmap len %d\n", len);
    goto err;
  }
  X509_STORE* store = (X509_STORE*) SSL_CTX_get_cert_store(ctx);
  BIO* bio = BIO_new_mem_buf(buf,len);
 
  X509* x509;
  while ( (x509 = (X509*)PEM_read_bio_X509_AUX(bio,NULL,NULL,NULL)) != NULL) {
    if (X509_STORE_add_cert(store,x509) != 0) {
      count++;
    }
    else {
      err_count++;
    }
    X509_free(x509);
  }
  //yes im leaking this fd, but just to save space in binary
  //close(fd);
err:
  printf("GET_CERTS: %d CA certificates loaded and %d errors, reading from %s\n", count, err_count, FNAME);
  return count;
}
 

and i swap it into the binary along with the latest mozilla/curl root ca list, and i see the beautiful output of GET_CERTS: 152 CA certificates loaded and 0 errors, reading from /obi/rootca.pem

and then this motherfucker has the *audacity* to not work. syslog shows BASESSL:verifing:20 errors verifying the certs on the connections to both accounts.google.com and obihai.telephony.goog, which i feel confident are included in the rootca list...

using a test harness (»github.com/naf419/obi-fi ··· et_certs) that uses this function to modify a new-created ssl context and connects to a specified server/port works fine running locally and on the obi:
# rm rootca.pem
# ./get_certs.arm www.obifirmware.com 443
GET_CERTS: cannot fstat rootca.pem
GET_CERTS: 0 CA certificates loaded and 0 errors, reading from rootca.pem
www.obifirmware.com:443
BASESSL:verifing:20
certificate verify failed
# ./get_certs.arm accounts.google.com 443
GET_CERTS: cannot fstat rootca.pem
GET_CERTS: 0 CA certificates loaded and 0 errors, reading from rootca.pem
accounts.google.com:443
BASESSL:verifing:20
certificate verify failed
# ./get_certs.arm obihai.telephony.goog 5061
GET_CERTS: cannot fstat rootca.pem
GET_CERTS: 0 CA certificates loaded and 0 errors, reading from rootca.pem
obihai.telephony.goog:5061
BASESSL:verifing:20
certificate verify failed
#
# ln -s /scratch/certs_from_8680.pem rootca.pem
# ./get_certs.arm www.obifirmware.com 443
GET_CERTS: 62 CA certificates loaded and 0 errors, reading from rootca.pem
www.obifirmware.com:443
BASESSL:verifing:20
certificate verify failed
# ./get_certs.arm accounts.google.com 443
GET_CERTS: 62 CA certificates loaded and 0 errors, reading from rootca.pem
accounts.google.com:443
SUCCESS!
# ./get_certs.arm obihai.telephony.goog 5061
GET_CERTS: 62 CA certificates loaded and 0 errors, reading from rootca.pem
obihai.telephony.goog:5061
SUCCESS!
#
# rm rootca.pem
# ln -s /scratch/cacert-2024-11-26.pem rootca.pem
# ./get_certs.arm www.obifirmware.com 443
GET_CERTS: 152 CA certificates loaded and 0 errors, reading from rootca.pem
www.obifirmware.com:443
SUCCESS!
# ./get_certs.arm accounts.google.com 443
GET_CERTS: 152 CA certificates loaded and 0 errors, reading from rootca.pem
accounts.google.com:443
SUCCESS!
# ./get_certs.arm obihai.telephony.goog 5061
GET_CERTS: 152 CA certificates loaded and 0 errors, reading from rootca.pem
obihai.telephony.goog:5061
SUCCESS!
#
 

WTF?

im at a temporary loss of good ideas. any guesses?
naf

2 edits

2 recommendations

said by naf:

im at a temporary loss of good ideas. any guesses?

well i had an idea:

there was some rando code that took the sha256 of the hardcoded cert. i ignored it before, thinking "let it take the sha256 of my mods, just dont crash and i dont care). so i tried to track it down some more. some other section then takes the sha1 of that sha256, but doesnt store it. ok, now im intrigued. then it encrypts the sha256(certs) with AES. it then uses that in some sort of communications with another process i think, maybe the watchdog obid?

at this point i have to think this is anti-tamper on the certs. WTF obi? you think you can anti-tamper *me*?!? i been modding this shit since obi100s, shiiiiiiiit

problem solved by leaving the old certs in place, and only modifying the code that used to read them (RIP my beautiful debug logging though), leaving whatever madness they put in place that just warms up our cpu by taking repeated checksums or whatever.

arrynrob13-rc2 ready. ill pm a link to the usual testers, if u want it early hmu. should fix the obifirmware cert issue (AWS certs, really) and future-proof for other cert changes by allowing the root CA list to be changed by mount-binding over /obi/rootca.pem (in /scratch/etc/rc.custom to do it automatically at boot, for example)
andre2
join:2005-08-24
Brookline, MA
Confirmed that it now has param_dump_200 v0.2 (as /usr/bin/param_dump). Not familiar with certs so don't know how to check that. I've also been running the frankenbuild 4907.1311-obi5330 for a while on my 2182, seems fine in my very limited use though I was unable to test to see if it fixed jsolo1 See Profile's audio issues with taoman2. Also confirmed that /obi/obiapp is identical in 4907.1311-obi5330 and 5330.1311-taoman2.
naf
join:2017-12-12
said by andre2:

Confirmed that it now has param_dump_200 v0.2 (as /usr/bin/param_dump). Not familiar with certs so don't know how to check that. I've also been running the frankenbuild 4907.1311-obi5330 for a while on my 2182, seems fine in my very limited use though I was unable to test to see if it fixed jsolo1 See Profile's audio issues with taoman2. Also confirmed that /obi/obiapp is identical in 4907.1311-obi5330 and 5330.1311-taoman2.

if you have an unused SP slot, try to do the ITSP config from www.obifirmware.com for that SP. see the GV tab in webgui for link. dont need the oauth stuff, just see if it changes the unused SP slots ITSP SignalingProtocol to "Google Voice", then you can just disable that SP so it doesn't error out connecting without an auth token
andre2
join:2005-08-24
Brookline, MA

1 edit
I was only using SP1 before. I put the URL for SP2 in ConfigURL, set "Method" to "System Start", clicked Submit, and rebooted. Under Service Providers/ITSP Profile B/General, SignalingProtocol is now "Google Voice".

Edit: Did a factory reset, restored configuration from backup file, reprovisioned SP1 for GV using the instructions in the firmware, back to normal.
naf
join:2017-12-12
said by andre2:

I was only using SP1 before. I put the URL for SP2 in ConfigURL, set "Method" to "System Start", clicked Submit, and rebooted. Under Service Providers/ITSP Profile B/General, SignalingProtocol is now "Google Voice".

Edit: Did a factory reset, restored configuration from backup file, reprovisioned SP1 for GV using the instructions in the firmware, back to normal.

ok AWS certs confirmed fixed then.

i also need someone (maybe myself) to check the concept of mount-binding over the pre-installed root CA list at boot time. im somewhat concerned that the order of the startup would mean obiapp had already read them before hand and the startup script would need to restart it somehow (sounds like an easy way to brick the device). more to come on that part, but at least theres a build with working GV instructions again. or i could always change the default pickup location to /scratch and just copy a default version there the first time in the read-only startup script (like passwd), now that i can verify (can i?) that obiapp mod wont crash if /scratch doesnt exist for whatever reason.
naf

4 recommendations

arryrob13 bsdiff from stock 8680 (»web.archive.org/web/2024 ··· 680EX.fw)

md5sum OBi2xx-3-2-2-8680EX-arrynrob13.fw = b438e5161220e1e7c161e005de1d6bb6

changes from arrynrob12:
1) make full root Certificate Authority list user-editable at /scratch/rootca.pem (by default symlinked to 2024-11-26 mozilla/curl root CA list from »curl.se/ca/cacert-2024-11-26.pem)
2) attempt to autorecover from broken /scratch partition
naf

1 edit
new release for obi50x: ssyspro6
bsdiff too big, but i sent a link to OBi1FW See Profile for them to do their thing (with continued thanks for still hosting this silly project after all these years)

md5sum OBi500-4-0-5-5903EX-ssyspro6.fw = 2a9b9b62a2d2b8602ab356222079fe46

changes from sssyspro5:
1) add GV config instructions to webgui
2) make full root Certificate Authority list user-editable at /scratch/rootca.pem (by default symlinked to 2024-11-26 mozilla/curl root CA list from »curl.se/ca/cacert-2024-11-26.pem)
andre2
join:2005-08-24
Brookline, MA
Not that I have a 50x device, but does that include param_dump_500 (since it's recent and I didn't see any mention of it on the obifirmware site)?
naf
join:2017-12-12

1 recommendation

said by andre2:

Not that I have a 50x device, but does that include param_dump_500 (since it's recent and I didn't see any mention of it on the obifirmware site)?

i dont have one either, but yes it is included as a convenience to save wgetting from github release page. (shoulda done the "various changes" changelog entry like obi i guess)
Anon202a0
@172.58.245.x
to naf
I need help with configuring my 2182 with GV. Since this does not have the GV provisioning gui, how do I go about this.

Appreciate the help.
pagescribe
join:2021-02-09
to naf

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

Thank you. Are people generally advised to visit this thread for firmware updates instead of the Obifirmware site?
andre2
join:2005-08-24
Brookline, MA
said by pagescribe:

Thank you. Are people generally advised to visit this thread for firmware updates instead of the Obifirmware site?

The updates will appear on the Obifirmware site eventually, the delay could be holiday-related. (And the OBi50x update bsdiff is too big to be posted here anyway, as naf See Profile said.)
andre2
BTW, regarding the audio issues with the 2182 on conference calls and whether to use the 5330 frankenbuild, I've had OBi2000-6-2-3-4907-obi5330.fw installed on my 2182 for a couple weeks now with no issues. Although I normally never use conferencing and was unable to reproduce the issue with taoman2. So personally I'm indifferent as to which way to go with the next 2182 update. It would be nice if there was a changelog for the stock firmware to know what Obihai/Poly was trying to fix after 4907.
Anon83d1f
@76.76.25.x
Can you post the frankenbuild you are referring to. Does it allow GV configuration?

Thx
andre2
join:2005-08-24
Brookline, MA
said by Anon83d1f :

Can you post the frankenbuild you are referring to. Does it allow GV configuration?

jsolo1 See Profile PM'd me a Google Drive link on Nov. 20 that naf See Profile had PM'd to them back in March. As of right now the link appears to still work, but I'd rather not post it publicly. The build does NOT have the GV configuration built in, right now there's no modded firmware for the OBi2000 series that has that (I'm working with a copy of the instructions that naf PM'd me last year).
Anon83d1f
@76.76.25.x
Ok thanks for your reply.

I’ll wait until you have it ready. 👍🏾

jsolo1
Premium Member
join:2001-07-01
PRIL
to andre2
I doubt there will be. I don't think there's enough demand to justify it. Manual method still works though.
naf
join:2017-12-12

3 recommendations

said by jsolo1:

I doubt there will be. I don't think there's enough demand to justify it. Manual method still works though.

nah, ill try to bust out a modded firmware for 2000s with the gv instructions included, if only to be thorough.

just gotta find a couple hours of sobriety to knock it out. maybe this week, who knows
strats
join:2024-12-23
to naf
Is bypass-uboot-mod installed like any other firmware update using the obi gui?
Depending on my current fw I would browse to stock 5921EX and update, then browse to bypass-uboot-mod.fw and press update, finally browse again to OBi2xx-3-2-2-8680EX-arrynrob12.fw and press update?
I'm currently on stock 8680EX.
naf
join:2017-12-12
said by strats:

Is bypass-uboot-mod installed like any other firmware update using the obi gui?
Depending on my current fw I would browse to stock 5921EX and update, then browse to bypass-uboot-mod.fw and press update, finally browse again to OBi2xx-3-2-2-8680EX-arrynrob12.fw and press update?
I'm currently on stock 8680EX.

yes that description sounds correct. a long series of firmware updates and reboot and repeating. fives of minutes.

worth the wait? who can say.
btd_tech
join:2024-12-24
to naf
Hi, naf.
Just found my OBi200 was not taking calls and I see that there are some users here that have had some success with your help. I've installed 3.2.2 (Build: 8680EX-arrynrob12) and just need the setup for the web interface.
I'd love to get this to work and I am grateful for your help.
naf
join:2017-12-12
said by btd_tech:

Hi, naf.
Just found my OBi200 was not taking calls and I see that there are some users here that have had some success with your help. I've installed 3.2.2 (Build: 8680EX-arrynrob12) and just need the setup for the web interface.
I'd love to get this to work and I am grateful for your help.

if you have arrynrob12, see the (new) GV setup instructions in the webgui under Google Voice > Provisioning

if you have any questions after following those instructions, feel free to ask specifics
naf

3 edits
OBi2000-6-2-3-5330-taoman3-rc1.fw created. links sent to the usual suspects.
pm me if u want a link (especially if the firmware is named after your handle and you have pms turned off or otherwise dslreports wont let me send you one?)

EDIT TO ADD: shit, it has been pointed out that i forgot to do the certificate thingee, so obifirmware.com (and all other modern tls endpoints) certificates are rejected (so provisioning instructions dont work). look for an -rc2 coming sometime...
andre2
join:2005-08-24
Brookline, MA
Does this mean that the OBi1000 firmware needs to be updated as well to allow provisioning?
naf
join:2017-12-12
said by andre2:

Does this mean that the OBi1000 firmware needs to be updated as well to allow provisioning?

too many devices and changes to remember if 1000 testing occured before or after the obifirmware.com cert change that made anyone notice the ca root list problems... can someone with a 1000 test this and get back to us?

either way, the 1000 would certainly benefit from use the user-replaceable certs mod from the 200, so im not sure it matters if it all gets cleaned up if i port that mod over.
andre2
join:2005-08-24
Brookline, MA
ATM I'm not able to provision on my 2182 (even after reverting to taoman2) so I'm using my 1022 which was already provisioned but don't want to risk testing on that until the 2182 is able to provision again. You posted olisom7 to this thread on Nov. 17 which was before the rootca.pem change was applied to the 200 fw and I can confirm that with olisom7, the only .pem files are in /obi/dtls (no rootca.pem file).
naf
join:2017-12-12
said by andre2:

ATM I'm not able to provision on my 2182 (even after reverting to taoman2) so I'm using my 1022 which was already provisioned but don't want to risk testing on that until the 2182 is able to provision again. You posted olisom7 to this thread on Nov. 17 which was before the rootca.pem change was applied to the 200 fw and I can confirm that with olisom7, the only .pem files are in /obi/dtls (no rootca.pem file).

when you say 'not able to provision', we're just talking about the cert to obifimware.com being rejected, correct?

this can be confirmed by checking syslog packets for a "BASESSL:verifing:20" error , similar to the one i posted here: »Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods
andre2
join:2005-08-24
Brookline, MA

3 edits
Not sure how to check that, I see there's a System Management/Device Admin/Syslog menu item but have never looked at that. What I meant is that the provisioning fails in exactly the same way it did after I attempted it with taoman3-rc1 - namely, after going through the GV instructions and rebooting, the settings under ITSP Provisioning are unchanged from the ones I had just set. Unfortunately, I don't remember when I last did a successful provisioning on the 2182, but it was at least a few weeks ago.

Edit: OBiPhoneAdminGuide.pdf talks about Syslog on p. 226, I'll read up on it. Unfortunately it involves networking which I'm not good at.
andre2

1 recommendation

to btd_tech
said by btd_tech:

Hi, naf.
Just found my OBi200 was not taking calls and I see that there are some users here that have had some success with your help. I've installed 3.2.2 (Build: 8680EX-arrynrob12) and just need the setup for the web interface.
I'd love to get this to work and I am grateful for your help.

Were you able to get it working with arrynrob12 and the built-in GV instructions? It just occurred to me that it might not work anymore since arrynrob12 doesn't have the cert fix, though arrynrob13 does (but you'd have to either generate that using the bsdiff patch posted to this thread on Dec. 11, or wait for it to appear on the Obifirmware site).
naf
join:2017-12-12
said by andre2:
said by btd_tech:

Hi, naf.
Just found my OBi200 was not taking calls and I see that there are some users here that have had some success with your help. I've installed 3.2.2 (Build: 8680EX-arrynrob12) and just need the setup for the web interface.
I'd love to get this to work and I am grateful for your help.

Were you able to get it working with arrynrob12 and the built-in GV instructions? It just occurred to me that it might not work anymore since arrynrob12 doesn't have the cert fix, though arrynrob13 does (but you'd have to either generate that using the bsdiff patch posted to this thread on Dec. 11, or wait for it to appear on the Obifirmware site).
andre2 is correct. i was getting the version numbers confused. you do need arrynrob13 for the GV instructions to work.
btd_tech
join:2024-12-24
Thanks to both of you. I didn't get any errors with arrynrob12, but I can't make or receive calls. I will give the bsdiff patch a shot this weekend.
andre2
join:2005-08-24
Brookline, MA

1 recommendation

If you look in the webui under Status/System Status/SPx Service Status (where SPx is the one you tried to provision GV on), it probably still says "Service Not Configured", and under System Management/Auto Provisioning/ITSP Provisioning, it probably still has the temporary settings you put in from the instructions. If it worked properly then Method should go back to "Disabled" and ConfigURL should be blank again after you rebooted.
naf
join:2017-12-12

1 recommendation

said by naf:

OBi2000-6-2-3-5330-taoman3-rc1.fw created. links sent to the usual suspects.
pm me if u want a link (especially if the firmware is named after your handle and you have pms turned off or otherwise dslreports wont let me send you one?)

EDIT TO ADD: shit, it has been pointed out that i forgot to do the certificate thingee, so obifirmware.com (and all other modern tls endpoints) certificates are rejected (so provisioning instructions dont work). look for an -rc2 coming sometime...

rc2 out now. same rules apply.
andre2
join:2005-08-24
Brookline, MA

4 edits
AFAICT it works perfectly. Thanks!

Edit: I just realized that in the GV instructions, it's assuming that there are four SPx options, even though some of the devices have more (for example the 2182 has 6). As long as the corresponding URLs exist (it appears that they exist up to SP9) it's obvious how to modify them. Also, the "request GV oauth token" link needs to be middle-clicked to be able to continue with the instructions in the same tab. I'm not familiar with HTML, is there an easy standards-based way to make it open in a new tab if it's left-clicked, the same way that the instructions themselves open in a new tab if one left-clicks on Google Voice/Provisioning in the webui? (Obviously these are both trivial issues and won't stop anyone from completing the instructions as is.)

Edit: According to OBiDeviceAdminGuide.pdf, p. 8, OBi[100,110] have 2 accounts, and OBi[200,202,300,302] have 4 accounts. According to OBiPhoneAdminGuide.pdf, p. 20, it appears that all the 1000 and 2000 OBiPhones have 6 accounts. I confirmed by checking that both the 1000 and 2000 webuis have settings for SP1 to SP6.

Edit: I see that if one middle-clicks on Google Voice/Provisioning in the webui, it doesn't bring up the instructions in the new tab, JavaScript appears to be involved. If it's difficult to make the "request GV oauth token" link work the same way, it's probably not worth the trouble.
naf
join:2017-12-12

2 edits
said by andre2:

AFAICT it works perfectly. Thanks!

Edit: I just realized that in the GV instructions, it's assuming that there are four SPx options, even though some of the devices have more (for example the 2182 has 6). As long as the corresponding URLs exist (it appears that they exist up to SP9) it's obvious how to modify them. Also, the "request GV oauth token" link needs to be middle-clicked to be able to continue with the instructions in the same tab. I'm not familiar with HTML, is there an easy standards-based way to make it open in a new tab if it's left-clicked, the same way that the instructions themselves open in a new tab if one left-clicks on Google Voice/Provisioning in the webui? (Obviously these are both trivial issues and won't stop anyone from completing the instructions as is.)

Edit: According to OBiDeviceAdminGuide.pdf, p. 8, OBi[100,110] have 2 accounts, and OBi[200,202,300,302] have 4 accounts. According to OBiPhoneAdminGuide.pdf, p. 20, it appears that all the 1000 and 2000 OBiPhones have 6 accounts. I confirmed by checking that both the 1000 and 2000 webuis have settings for SP1 to SP6.

Edit: I see that if one middle-clicks on Google Voice/Provisioning in the webui, it doesn't bring up the instructions in the new tab, JavaScript appears to be involved. If it's difficult to make the "request GV oauth token" link work the same way, it's probably not worth the trouble.

ha, i personally requested SP5 through SP9 versions of the config get added to obifirmware.com for the obi500, then proceeded to forget to add the links in the obi500 build. and also the obi1000 build. i guess i could say that forgetting the additional links on the 2000 is "for consistency"

if anyone can send me whatever javascript functionality you are wanting to see, ill add it in the build, otherwise ill leave it. (i do whatever opens a new tab out of muscle memory i think, didn't notice anything strange)

another user reports that wifi doesn't come up on that rc2 build perhaps?
can someone confirm or whatever-the-opposite-of-confirm-is wifi functionality?
andre2
join:2005-08-24
Brookline, MA
Actually, I just noticed that the instructions do say "open this link in new tab", so that should be enough.
andre2
to naf
said by naf:

another user reports that wifi doesn't come up on that rc2 build perhaps?
can someone confirm or whatever-the-opposite-of-confirm-is wifi functionality?

I think they're right, I don't normally use the wifi on my 2182 so I didn't notice, but I only see one MAC address on the Status page instead of the usual two, and when I try to do a WiFi Scan, it says "OBiWiFi Dongle Not Found!" (even after "enabling" the wifi under WiFi Settings).
naf
join:2017-12-12
can someone post output of 'lsmod' and 'dmesg', from both taoman2 and taoman3-rc2? i bet the answer is in that diff.

(this is assuming the wifi worked in taoman2?)

jsolo1
Premium Member
join:2001-07-01
PRIL
I haven't had a chance to try either rc2/3 on the 2182, but that original frankenbuild did have working wifi. It's on my to do list this weekend, I promise!!
naf
join:2017-12-12
no hurry, you aren't missing out on anything but broken wifi

jsolo1
Premium Member
join:2001-07-01
PRIL
to naf

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

Actually that would be a problem. I'm not using ethernet for the 2182's. I have superior wifi here by way of tplink --- (eap670).
naf
join:2017-12-12
got lsmod outputs. thanks andre2 See Profile
8821cs kernel driver is not loaded on rc2. well theres your wifi problem right there...

i think i crossed the config script that loads the driver with the driver itself (frankenbuilt poorly). they have different params (appears to be related to region). it probably just rejected it because the region params that i passed in didn't exist in 4907 (where i stole the wifi driver from to fix the audio driver problem)

can someone run these on rc2 and show output:
```
cat /scratch/region
insmod /lib/firmware/8821cs.ko
dmesg
lsmod
```

and i guess check if wifi starts working after running the commands
andre2
join:2005-08-24
Brookline, MA
root@OBiPhone:~# cat /scratch/region
0
root@OBiPhone:~# insmod /lib/firmware/8821cs.ko
root@OBiPhone:~# lsmod
    Tainted: G  
8821cs 1932736 0 - Live 0xbf3b4000
snd_usb_audio 71570 0 - Live 0xbf39d000
hci_uart 8553 1 - Live 0xbf397000
8821au 930994 0 - Live 0xbf074000
snd_usbmidi_lib 14311 1 snd_usb_audio, Live 0xbf06d000
snd_rawmidi 13086 1 snd_usbmidi_lib, Live 0xbf066000
snd_hwdep 4289 1 snd_usb_audio, Live 0xbf061000
dwc_driver 154737 0 - Live 0xbf033000
dwc_common 10237 1 dwc_driver, Live 0xbf02c000
fusion 88003 2 - Live 0xbf011000
linux_one 45372 0 - Live 0xbf000000 (O)
root@OBiPhone:~#
 
I will also PM you the dmesg output if you need it.
naf
join:2017-12-12
said by andre2:
root@OBiPhone:~# cat /scratch/region
0
root@OBiPhone:~# insmod /lib/firmware/8821cs.ko
root@OBiPhone:~# lsmod
    Tainted: G  
8821cs 1932736 0 - Live 0xbf3b4000
snd_usb_audio 71570 0 - Live 0xbf39d000
hci_uart 8553 1 - Live 0xbf397000
8821au 930994 0 - Live 0xbf074000
snd_usbmidi_lib 14311 1 snd_usb_audio, Live 0xbf06d000
snd_rawmidi 13086 1 snd_usbmidi_lib, Live 0xbf066000
snd_hwdep 4289 1 snd_usb_audio, Live 0xbf061000
dwc_driver 154737 0 - Live 0xbf033000
dwc_common 10237 1 dwc_driver, Live 0xbf02c000
fusion 88003 2 - Live 0xbf011000
linux_one 45372 0 - Live 0xbf000000 (O)
root@OBiPhone:~#
 
I will also PM you the dmesg output if you need it.
no dmesg necessary as long as 8821cs appears in that list now, which it does.

wifi working now i bet? (until you restart, that is)
andre2
join:2005-08-24
Brookline, MA
It seems to be working. I'm not 100% sure since I have it configured to connect to my local wifi but I normally use ethernet instead. I tried earlier to disconnect the ethernet and connect via wifi but it didn't connect to GV. Not sure what's going on there, I remember it working a long time ago when I tested it. Don't take it too seriously.
naf
join:2017-12-12
i feel good about my change: literally the only diff between the obi startup script on 4907 (where drivers are stolen from) and 5330 (where obi stuff is from) is adding some params when loading the 8821cs wifi driver, and they point at things that definitely do not exist in the 4907 rootfs that i am using (for audio problems). removing that diff seems obvious.

if the FCC-equivalents in US/CA/EU/AUS didn't slap down obi for releasing 4907, i guess they won't slap me down either

rc3 coming soon.
naf

1 recommendation

taoman3-rc3 released to usual suspects.
ill wait until early next week to let everyone have a chance to catch up on the action and give it a try.
andre2
join:2005-08-24
Brookline, MA

2 edits

1 recommendation

AFAICT works perfectly, including wifi (near as I can tell). Also thanks for adding SP5 and SP6 to the GV instructions.

Edit: Unplugged ethernet with wifi enabled, it reboots automatically and then connected to GV and I could make calls, so wifi seems fine.
drecha
join:2024-12-25
Severn, MD

1 recommendation

to naf
Yep, works 100%. Thanks for your awesome work.
btd_tech
join:2024-12-24
to naf
Ok. I'm not having luck with the bsdiff patch. It seems the search function here at dslreports is not working so it's not easy to find the right steps.
andre2
join:2005-08-24
Brookline, MA

1 recommendation

This is easier if you have a Linux box available. bsdiff and bspatch are complementary commands - bsdiff creates the patch and bspatch applies it. First you unzip the .bsdiff.zip file to get the .bsdiff file, then use the bspatch command to apply it, the syntax is "bspatch oldfile newfile patchfile" (and finally verify that the md5sum of the generated file matches the posted one). naf See Profile might also be able to give you a Google Drive download link for arrynrob13.
naf
join:2017-12-12
said by andre2:

naf See Profile might also be able to give you a Google Drive download link for arrynrob13.

done, see pms

jsolo1
Premium Member
join:2001-07-01
PRIL
Re: 6.2.3 (Build: 5330.1311-taoman3-rc3) for obi2000

1) Wifi works, but with caveats
a) 2.4ghz works no problem
b) 5 ghz is tempermental - may take several attempts to connect, disable wifi in between or connect to 2.4ghz ssid. The old frankenbuild was equally neurotic. Probably due to old wifi (in the obi) and newer wifi6 AP (eap670).

2) No noise in conference mode with 2 calls bridged!

3) Gvsip config works as advertised - just a few suggestions

a) In step 1, possible to forcibly open link in new tab/window? Most will likely just click on it which opens it in the same tab/window.

b) At the far bottom of the screen, bold the extracted "refresh token" words.

c) For steps 4 & 6 to use some indenting for easier readability. For example

System Management 
  > Auto Provisioning 
    > ITSP Provisioning 
      > ConfigURL
 

Very impressive.

ps. ssh still works too!
andre2
join:2005-08-24
Brookline, MA
said by jsolo1:

1) Wifi works, but with caveats
a) 2.4ghz works no problem
b) 5 ghz is tempermental - may take several attempts to connect, disable wifi in between or connect to 2.4ghz ssid. The old frankenbuild was equally neurotic. Probably due to old wifi (in the obi) and newer wifi6 AP (eap670).

2) No noise in conference mode with 2 calls bridged!

Just speculating, is it possible that the noise you've experienced in conference mode could be connected with your using wifi instead of ethernet (not that it should happen either way)?

jsolo1
Premium Member
join:2001-07-01
PRIL
^^I recall hearing the same noise when over ethernet. My money is on the audio driver being messed up somehow. The noise is like a constant static overlaid on the actual call audio. Wifi is just my preference for convenience.
andre2
join:2005-08-24
Brookline, MA

1 edit
to jsolo1
said by jsolo1:

3) Gvsip config works as advertised - just a few suggestions

a) In step 1, possible to forcibly open link in new tab/window? Most will likely just click on it which opens it in the same tab/window.

I asked about this earlier, later realized that step 1 DOES say "open this link in new tab". Maybe it could explicitly mention middle-clicking? (Assuming one has a 3-button mouse - does anyone use 2-button mice anymore?) In any case, the instructions have to be followed carefully to work anyway, for example in steps 4 and 6 it's necessary to click "Submit" separately on each of the two pages for settings on each page to be saved.

jsolo1
Premium Member
join:2001-07-01
PRIL
The steps aren't complicated by any means. For someone unfamiliar with the obi gui, it may seem foreign. But yes, submit has to be done after changing any pages, and a reboot is necessary to actually make them effective. Rebooting doesn't reboot the whole thing either, just restarts the obiapp.

It also helps to have the firewall allow outbound 443 tcp traffic. My voip vlan only allows very specific traffic, obifirmware.com wasn't part of this. Realized this after the first reboot when the .xml script didn't take.
jsolo1

1 edit
to naf
Naf,

I'm seeing lots of this - »pastebin.com/WSwm9eKA

in /var/volatile/log/messages. Log fills up with these when ethernet is unplugged. If it's unplugged it shouldn't be trying to do a dhcp session?

EDIT: With respect to wifi problems, a factory reset seems to help, especially after bouncing between the different fw's.
andre2
join:2005-08-24
Brookline, MA

3 edits
From the pastebin:
Dec 27 19:37:08 OBiPhone daemon.info udhcpc[1343]: Sending discover...
Dec 27 19:37:31 OBiPhone daemon.info udhcpc[1343]: Sending discover...
Dec 27 19:37:34 OBiPhone daemon.info udhcpc[1343]: Sending discover...
Dec 27 19:37:37 OBiPhone daemon.info udhcpc[1343]: Sending discover...
Dec 27 19:38:00 OBiPhone daemon.info udhcpc[1343]: Sending discover...
Dec 27 19:38:03 OBiPhone daemon.info udhcpc[1343]: Sending discover...
Dec 27 19:38:06 OBiPhone daemon.info udhcpc[1343]: Sending discover...
Dec 27 19:38:29 OBiPhone daemon.info udhcpc[1343]: Sending discover...
Dec 27 19:38:32 OBiPhone daemon.info udhcpc[1343]: Sending discover...
Dec 27 19:38:35 OBiPhone daemon.info udhcpc[1343]: Sending discover...
Dec 27 19:38:58 OBiPhone daemon.info udhcpc[1343]: Sending discover...
Dec 27 19:39:01 OBiPhone daemon.info udhcpc[1343]: Sending discover...
Dec 27 19:39:04 OBiPhone daemon.info udhcpc[1343]: Sending discover...
Dec 27 19:39:27 OBiPhone daemon.info udhcpc[1343]: Sending discover...
Dec 27 19:39:30 OBiPhone daemon.info udhcpc[1343]: Sending discover...
Dec 27 19:39:33 OBiPhone daemon.info udhcpc[1343]: Sending discover...
Dec 27 19:39:56 OBiPhone daemon.info udhcpc[1343]: Sending discover...
Dec 27 19:39:59 OBiPhone daemon.info udhcpc[1343]: Sending discover...
Dec 27 19:40:02 OBiPhone daemon.info udhcpc[1343]: Sending discover...
Dec 27 19:40:25 OBiPhone daemon.info udhcpc[1343]: Sending discover...
 
The time diffs in seconds are 3, 3, 23, 3, 3, 23, ... all the way to the end of the file at 19:48:13. Am not familiar with /var/volatile, do the logs in there automatically truncate to limit their size (and if so does it only happen at reboot)? I'm on ethernet and not seeing significant new messages except caused by my activity.

Edit: Does your audio distortion problem only happen when the ObiPhone has been running a long time? You reported just after testing taoman3-rc3 that it wasn't there.

jsolo1
Premium Member
join:2001-07-01
PRIL
@andre2 That was just a snippet from the log, I believe /var/volatile/log is tempfs, so a ramdisk with ~120MB of space. @naf can better answer what happens when theres too much log data. I don't have one of these with enough uptime to see.

The whole concept seems retarded. Why is it polling for dhcp if the interface is disconnected. Which brings us to wifi. 5ghz is still exceptionally flaky. I have an old (circa 2014) wifi 5 AP I will use for testing to see if 5ghz connectivity is more reliable. What I can see is it it tries to connect (animated bars), but gives up after 5-10s. AP logging is terrible, so I can't tell why it's not connecting. I think it's something to do with wpa, it connects 100% reliably when there is no encryption. But enable wpa/wpa2/wpa3 (or combinations), and it goes to shit.

Works fine on 2.4ghz.

Re audio distortion, happens immediately. I didn't hear any in rc3. Should I have? My understanding rc3 is the next frankenbuild with gvsip sprinkles added.
andre2
join:2005-08-24
Brookline, MA
said by jsolo1:

Re audio distortion, happens immediately. I didn't hear any in rc3. Should I have? My understanding rc3 is the next frankenbuild with gvsip sprinkles added.

The filename of the frankenbuild I tested is OBi2000-6-2-3-4907-obi5330.fw, and all of the taoman builds appear to be entirely based on 5330, judging by the names:

OBi2000-6-2-3-5330-taoman1.fw (dated 2021/10/31)
OBi2000-6-2-3-5330-taoman2.fw (dated 2024/03/11, just before the frankenbuild)
OBi2000-6-2-3-5330-taoman3-rc[1,2,3].fw

but I could be wrong.

jsolo1
Premium Member
join:2001-07-01
PRIL

2 edits
to naf
@andre, I have frankenbuild based on the 4907 firmware with a 5330 obiapp.

When the ramdisk fills up, the phone crashes, eventually it hard reboots (full reboot, not just restarting obiapp).

@naf

root@OBiPhone:/var/volatile/log# ps | grep cpc
  731 root      2116 S    /sbin/udhcpc -i wlan0 -r 192.168.1.5 -H OBi2182 -p /var/run/wlan0udhcpc.pid -O 66 -b -s /obi/udhcpc.script -S -V udhcpc
  763 root      2116 S    /sbin/udhcpc -i eth0 -H OBi2182 -p /var/run/eth0udhcpc.pid -O 66 -b -s /obi/udhcpc.script -S -V udhcpc
 

The above is with no ethernet cable attached.

This is flooding the message log file in /var/volatile/log/messages with dhcp discover errors. Did you leave any bootstraps to launch scripts in say /scratch after start up? I'd make make a shell script that identifies the process responsible for eth0 dhcp and kill it, say after a 60s pause.

Edit: Setting wan settings to static with no actual ip disables the eth dhclient from firing. This works. Dhcp can be re-enabled from the phone's display UI when needed. Better than the above sledge hammer approach. Of course, the right solution is for it to not start dhclient for a disconnected interface ;).
naf
join:2017-12-12

1 recommendation

said by jsolo1:

Did you leave any bootstraps to launch scripts in say /scratch after start up?

On the 2000, both the ubifs obi and root partitions are mounted read/write, so no need to make bootstraps, just add to /obi/obi at the end after my dropbear additions.
but, like, dont screw it up and brick your phone

jsolo1
Premium Member
join:2001-07-01
PRIL

1 edit
^^Smart!

I'm going to take the safer approach with setting eth0 to static. The work around deals with the issue and is easily recoverable. The networking seems strange, at least with wifi. When it connects to a new ssid from the phone display gui, it does a reboot of sorts (restarts obiapp?). Wouldn't want to break ethernet dhcp if/when go wired.

Still fighting the wifi5 issues. Connecting to an older wifi5 ap (netgear r6700 flashed with asus firmware) is reliable. It connects each and every time. I still think this is wpa related.

Edit: Did more testing with the above wifi5 router. Even from a few rooms away it connected each and every time. With the eap, even when near by, it's hit or miss. Latency on 5ghz is more consistent than on 2.4, with the latter having occasional spikes to 30-40ms. Voip is such a low bw device, 2.4ghz will have to do.
naf
join:2017-12-12
said by jsolo1:

When it connects to a new ssid from the phone display gui, it does a reboot of sorts (restarts obiapp?).

"unexpected mini reboots" sound an awful lot like obiapp segfaults and the watchdog restart it automatically.

you might try to capture obiapp stdout/stderr (and syslog, goes without saying) and recreate the 'sponteous reboot' conditions to confirm:
$ killall obiapp; cd /obi; ./obiapp >/var/log/obi.log 2>&1 &
 

jsolo1
Premium Member
join:2001-07-01
PRIL
@naf I will try this, but I don't think it's a crash. There's a message that pops up on the display few sec before rebooting about applying the change or something to that effect. If the app was crashing I'd expect nothing to pop up.

Maybe this is a wifi related effect - to apply the wifi ssid change obiapp has to restart?
andre2
join:2005-08-24
Brookline, MA
said by jsolo1:

There's a message that pops up on the display few sec before rebooting about applying the change or something to that effect.

You _might_ be able to capture a screenshot (if needed) just before it reboots by enabling LCDScreenShot under System Management/Device Admin/Web Server and then clicking on "Snap" under System Management/Device Update/Screenshot (page 27 of OBiPhoneAdminGuide.pdf).
andre2

3 edits

1 recommendation

to naf
Just noticed that in the taoman3-rc3 GV instructions, in step 5 it says "based on the desired SPx # used in step5", but that should be "based on the desired SPx # used in step 4".

Edit: Same in olisom7 (in addition to only having SP1 to SP4).

Edit: And in arrynrob13. Sorry for missing all these. Not a big deal since it's pretty obvious what it's supposed to be, though.

Edit: In taoman3-rc3, step 4 has "web gui" and step 6 has "webgui". I know that's REALLY nit-picky, I'm not going to bother checking the other ones.
naf
join:2017-12-12
said by andre2:

Just noticed that in the taoman3-rc3 GV instructions, in step 5 it says "based on the desired SPx # used in step5", but that should be "based on the desired SPx # used in step 4".

Edit: Same in olisom7 (in addition to only having SP1 to SP4).

Edit: And in arrynrob13. Sorry for missing all these. Not a big deal since it's pretty obvious what it's supposed to be, though.

queued to be fixed in (if?) next releases of firmwares for 2000/1000 (and 200 and 500 :-P)
andre2
join:2005-08-24
Brookline, MA

1 edit
I saved local copies of the 9 Obifirmware .xml provisioning files (and saved snapshots on the Wayback Machine) and tried doing GV provisioning by putting "file:///pathtolocalcopy/EnableGVSIPWithoutOBiTALK.xml" into ConfigURL under ITSP Provisioning, but it doesn't work, even though I was using firmware with the cert fix (Method stays on "System Start"). Same if I just use the local filename without "file://". When I put in the regular Obifirmware URL it works fine. Not sure exactly what type of URL will be accepted, or if the cert fix could be rendered unnecessary this way (I note that each of the files has a reference to both stun.l.google.com and obihai.sip.google.com, is the cert fix needed to handle those?).

Edit: There are examples for ConfigURL in OBiPhoneAdminGuide.pdf that use tftp:// , which I'm not familiar with at all.
naf
join:2017-12-12

1 recommendation

to andre2

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

said by andre2:

I saved local copies of the 9 Obifirmware .xml provisioning files (and saved snapshots on the Wayback Machine) and tried doing GV provisioning by putting "file:///pathtolocalcopy/EnableGVSIPWithoutOBiTALK.xml" into ConfigURL under ITSP Provisioning, but it doesn't work, even though I was using firmware with the cert fix (Method stays on "System Start"). Same if I just use the local filename without "file://". When I put in the regular Obifirmware URL it works fine. Not sure exactly what type of URL will be accepted, or if the cert fix could be rendered unnecessary this way

edit is correct. the provisioning guide documents the SYNC command (implied if no other command is specified in provisining ConfigURL) like so: "HTTP, HTTPS, and TFTP schemes are supported".

i think i discussed previously how a locally-running provided-by-the-firmware tftp or http server would solve the GV provisioning problem, but not the general "we need to make tls connections to modern servers" problem that is solved by the user-overrideable cert update.
said by andre2:

I note that each of the files has a reference to both stun.l.google.com and obihai.sip.google.com, is the cert fix needed to handle those?

nope, the stun client isnt over tls, and the GV root certs used by obihai.sip.google.com were already included in stock
andre2
join:2005-08-24
Brookline, MA

1 recommendation

said by naf:

edit is correct. the provisioning guide documents the SYNC command (implied if no other command is specified in provisining ConfigURL) like so: "HTTP, HTTPS, and TFTP schemes are supported".

Thanks. I used a pastebin service (Pastebin.com) as a poor man's web server (since I don't know how to set up my own) and copy/pasted my local copy of EnableGVSIPWithoutOBiTALK.xml into it, then set it to "raw" to just get a literal copy, and put that URL into ConfigURL, and it works.
naf
join:2017-12-12
said by andre2:
said by naf:

edit is correct. the provisioning guide documents the SYNC command (implied if no other command is specified in provisining ConfigURL) like so: "HTTP, HTTPS, and TFTP schemes are supported".

Thanks. I used a pastebin service (Pastebin.com) as a poor man's web server (since I don't know how to set up my own) and copy/pasted my local copy of EnableGVSIPWithoutOBiTALK.xml into it, then set it to "raw" to just get a literal copy, and put that URL into ConfigURL, and it works.
which platform (obi200/1000/2000/500) is this still necessary on?
andre2
join:2005-08-24
Brookline, MA

4 edits
said by naf:

which platform (obi200/1000/2000/500) is this still necessary on?

So far I only tested this on my 2182, with the cert-fixed taoman3-rc3, to check that it accepts the URL. This guards against Obifirmware.com going away in the future (since the GV instructions refer to it). I haven't tested it with non-cert-fixed firmware yet. The olisom7 firmware doesn't have the fix, so I currently don't dare test on my 1022, since it's already provisioned. I could test to see if it works without the cert fix by temporarily downgrading either my 200 or 2182 to non-cert-fixed firmware (arrynrob12 or taoman2) but have not tried that yet.

Edit: I plan to save the param_dump output next time I hook up my 1022 in the hope that I could figure out how to restore the existing GV provisioning from that after a factory reset, instead of doing a new provisioning. Not sure if that's possible or easy.

Edit: I downgraded the firmware on my OBi200 to arrynrob12 and attempted provisioning after factory resets. As expected, I could not do it with »www.obifirmware.com/fw/E ··· TALK.xml . However, it DOES work if I simply replace "https://" with "http://" which is a pretty easy workaround. It also works if I use my Pastebin.com link for the same xml file starting with "https://pastebin.com/raw/". (I'm guessing those work because in the first case, http is insecure so it doesn't check the cert, and in the second case because Pastebin.com has no cert to check, so even https works?)

jsolo1
Premium Member
join:2001-07-01
PRIL

2 edits
This has been a popular tftp server. Simple and gets the job done.

»pjo2.github.io/tftpd64/

Edit:I use something called mobaxterm. It's a swissarmy knife of terminal applications supporting ssh, telnet, rdp, any many others. Among its functions it includes a tftp server as well under network tools.

Note, if using either of these, be sure to allow inbound udp/69 or you'll get nothing. Windows firewall (if in use) blocks this.
OBi1FW
join:2017-12-27
Vienna, VA

3 recommendations

to andre2
said by andre2:

The updates will appear on the Obifirmware site eventually, the delay could be holiday-related.

Sorry for the delay!

arrynrob13 and ssyspro6 are up.
naf
join:2017-12-12
those running taoman3-rc3, everybody happy with it to become the official release?

(the only change i have queued is the one nitpick of the step# typo in the GV instructions.)
andre2
join:2005-08-24
Brookline, MA
Fine with me.

charterengr
Premium Member
join:2002-03-09
Denver, CO
to naf
Running 5312EX.1311-olisom7 firmware, has anyone else struggled to get the SPx X_DisplayLabel and X_DisplayNumber fields to translate and show up on the OBi2000 phone screen? These Line labels are something that ObiTalk used to take care of.
andre2
join:2005-08-24
Brookline, MA

2 edits

1 recommendation

said by charterengr:

Running 5312EX.1311-olisom7 firmware, has anyone else struggled to get the SPx X_DisplayLabel and X_DisplayNumber fields to translate and show up on the OBi2000 phone screen? These Line labels are something that ObiTalk used to take care of.

If you're using olisom7 then you must be on one of the OBi1000 phones. Regardless, there were several settings that OBiTALK set, see my posts from April 27 and 29 in this thread (should be on page 88 in this thread). I believe the settings that actually show up on the screen were under IP Phone/Line Keys, see my post on that for details.

Edit: »Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods
Anon202a0
@173.69.187.x
to naf
Works great for me. No issues.

jsolo1
Premium Member
join:2001-07-01
PRIL
to naf
Other than my comments above, functionally it's fine.

@charterengr Can't you configure those parameters manually? This firmware sets up the right environment, but it's still on the user to provide the right values.
naf
join:2017-12-12

1 edit

2 recommendations

taoman3 for obi2000 released. too big for diff, look for it on obifirmware.com soon...

md5sum OBi2000-6-2-3-5330-taoman3.fw = c403c79f49e3694e72a40da93c770c01

changes:
- fix audio problem during conference calls
- add Google Voice config instructions to webgui
- changed GV AuthPassword override format to only require the refresh_token itself (backward compatibility mode is enabled if AuthPassword being with "client=" so no config changes are required)
- make full root Certificate Authority list user-editable at /scratch/rootca.pem (by default symlinked to 2024-11-26 mozilla/curl root CA list from curl.se/ca/cacert-2024-11-26.pem)
andre2
join:2005-08-24
Brookline, MA

1 edit
And of course (same as arrynrob13 and ssyspro6) "NEW: make full root Certificate Authority list user-editable at /scratch/rootca.pem (by default symlinked to 2024-11-26 mozilla/curl root CA list from curl.se/ca/cacert-2024-11-26.pem)".

What about "NEW: attempt to autorecover from broken /scratch partition" (for arrynrob13)? Was that specific just to that firmware? (I'm not familiar with that issue, it's never happened to me.)
naf
join:2017-12-12

1 recommendation

said by andre2:

And of course (same as arrynrob13 and ssyspro6) "NEW: make full root Certificate Authority list user-editable at /scratch/rootca.pem (by default symlinked to 2024-11-26 mozilla/curl root CA list from curl.se/ca/cacert-2024-11-26.pem)".

oya, thanks, edited changelog to fix.
said by andre2:

What about "NEW: attempt to autorecover from broken /scratch partition" (for arrynrob13)? Was that specific just to that firmware? (I'm not familiar with that issue, it's never happened to me.)

I only made that mod on the 20x/30x firmware, with my thinking being that that problem is only commonly reported in the 30x

EDIT TO ADD: also forgot to thank all the testers (even the anonymous ones)
OBi1FW
join:2017-12-27
Vienna, VA

5 recommendations

Site is updated. Thanks to naf and everyone else who contributed!
naf
join:2017-12-12

1 edit

1 recommendation

olisom8-rc1 created with updateable certs. link sent to usual suspects, remind me if you have a 1000 and want to be one of the first on the block to try it

only substantial difference is it has the updateable certs (and the instruction typo fixes, *i hope*)
andre2
join:2005-08-24
Brookline, MA

1 edit

1 recommendation

Looks perfect. First, while using olisom7 on my 1022, I confirmed that the GV provisioning doesn't work exactly as stated, but does work if I replace "https" with "http" in the Obifirmware URL in step 5. So for anyone using olisom7, that's a workaround. Then, after upgrading to olisom8-rc1, confirmed that provisioning works exactly as stated. The new GV instructions now have SP1 to SP6 and fix the "step5" typo in step 5 (same as taoman3). And logging into the OBi, I see rootca.pem in /obi and the symlink to it in /scratch.

Edit: Can't test WiFi as only the 1062 has built-in (2.4 GHz) WiFi and I don't have an OBiWiFi dongle.

charterengr
Premium Member
join:2002-03-09
Denver, CO
said by charterengr:

Running 5312EX.1311-olisom7 firmware, has anyone else struggled to get the SPx X_DisplayLabel and X_DisplayNumber fields to translate and show up on the OBi2000 phone screen? These Line labels are something that ObiTalk used to take care of.

Thank you @andre2 and @jsolo1 - after messing around for a while, I was able to use @andre2 commentary from last year to crack the code. For the benefits of others, I'll repeat the main items to adjust in the phone UI (replace ALLCAPS with your info):

• Under Voice Services/SP1 Service, X_DisplayLabel is set to YOUR_LABEL and X_DisplayNumber is set to my YOUR_PHONE_NUMB.
• Under IP Phone/Line Keys/Key 1, Function is set to "Call Appearance", Service is set to SP1, Number is set to YOUR_PHONE_NUMB, and Name is set to YOUR_LABEL.
• Under Service Providers/ITSP Profile A/General, both Name and SignalingProtocol are set to "Google Voice" (without quotes).

Note - on that last item, "SignalProtocol" doesn't appear in the UI of my Obi1032.
Bird222
join:2003-08-25
Your post made me look at my setup and now I have questions.

My phone was done using the obi portal before it shut down.

My display number is set to the corresponding email address of my GV account not the phone number. Can I change it to the phone number? Will it somehow stop the phone from working if I do?

jsolo1
Premium Member
join:2001-07-01
PRIL
to charterengr
@charterengr It sounds like these parameters are there for cosmetics. That is, they don't affect gv signaling at all.

charterengr
Premium Member
join:2002-03-09
Denver, CO
to Bird222
said by Bird222:

My display number is set to the corresponding email address of my GV account not the phone number. Can I change it to the phone number? Will it somehow stop the phone from working if I do?

I just experimented a bit. You should be fine and I think the ONLY item you need to change is Voice Services/SP1 Service —> X_DisplayNumber. I just made that single change (changed it from a # to "Google Voice") and the label changes. Phone still functioned.
said by jsolo1:

@charterengr It sounds like these parameters are there for cosmetics. That is, they don't affect gv signaling at all.

Agree - these are cosmetic only. Phone visual interface items.
naf
join:2017-12-12

2 edits

1 recommendation

olisom8-rc1 on hold based on some reports that it doesn't work due to out-of-space related problems, similar to olisom5/5b (the b stood for 'besmallened' remember?)

it appears that (my build machine's version of) ubireader_extract_files (most likely) or mkfs.ubifs have a bug/change from whatever i used during the olisom6 timeframe that results in the generated ubifs using too much space (too many leb's to be exact). gotta figure this shit out before a release.

$ ~/obi-firmware-tools/fw-unpack.sh OBiPhone-5-1-11-5312EX-olisom6.fw
$ cd _OBiPhone-5-1-11-5312EX-olisom6.fw
$ sudo ubireader_extract_files 4-body.unpacked
$ sudo mkfs.ubifs -F -m 2048 -e 126976 -c 150 -x zlib -r ubifs-root -o 4-body.unpacked.repacked
$ diff -u <(ubireader_display_info 4-body.unpacked | grep leb_cnt) <(ubireader_display_info 4-body.unpacked.repacked | grep leb_cnt) | head -5
--- /dev/fd/63  2025-01-10 11:47:06.967433672 -0600
+++ /dev/fd/62  2025-01-10 11:47:06.969433666 -0600
@@ -1,4 +1,4 @@
-               leb_cnt: 136
+               leb_cnt: 140
 

EDIT TO ADD: i hate it
andre2
join:2005-08-24
Brookline, MA

1 edit
root@OBiPhone:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
ubi0:rootfs              15364     15220       144  99% /
none                     57336       776     56560   1% /dev
tmpfs                    57336     20492     36844  36% /var/volatile
tmpfs                    57336         0     57336   0% /media/ram
ubi1:obiapp               4584      4552        32  99% /obi
ubi2:scratch             34176       100     32296   0% /scratch
root@OBiPhone:~#
 
This is what you're talking about (the 99% on / and /obi)? I've been running olisom8-rc1 without noticing any problems, what is the normal usage and does it grow with time?

Edit: Just rebooted after uptime of over a day, the usage is exactly the same on both lines.
naf
join:2017-12-12

1 recommendation

said by andre2:

This is what you're talking about (the 99% on / and /obi)? I've been running olisom8-rc1 without noticing any problems, what is the normal usage and does it grow with time?

Edit: Just rebooted after uptime of over a day, the usage is exactly the same on both lines.

ya. the rootfs sizing at initial install is very close to full capacity, and i think probably the ubi bad block management steals a couple percent more from some devices and than others, resulting in the read-write rootfs being full even on first boot after install and then bad things happen, like theres nowhere to write the dropbear rsa key to so ssh fails to init and some stock code that handles the display wants to write a temp file so the display on the phone doesnt work either. pretty ugly stuff.

i thought i needed to remove some files that *i* added from rootfs (what i did last time for 5 vs 5b) but this time theres no files that i added its just the unpack/repack cycle fucks up in some new/unknown way [or im really losing my touch]
Brown
join:2018-01-21
How about a two-version procedure:
Install olisomA just to configure GV
Install olisomB as final working GV version
andre2
join:2005-08-24
Brookline, MA
to naf
Just for comparison, OBi200 with arrynrob13:
# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root                 6400      6400         0 100% /
/dev/mtdblock7            2304      2304         0 100% /obi
/dev/mtdblock8            1024      1024         0 100% /bluetooth
/dev/mtdblock4             768       248       520  32% /scratch
/dev/mtdblock4             768       248       520  32% /etc/passwd
#
 
and OBi2182 with taoman3:
root@OBiPhone:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
ubi0:rootfs              31424     18860     12564  60% /
none                    122812       988    121824   1% /dev
tmpfs                   122812      1160    121652   1% /var/volatile
tmpfs                   122812         0    122812   0% /media/ram
ubi1:obiapp              34864     17016     17848  49% /obi
ubi2:scratch             34176       100     32296   0% /scratch
root@OBiPhone:~#
 
I would check the OBi1022 with olisom7 but my UPS battery died and I want to minimize firmware updates until it's replaced.
naf
join:2017-12-12
said by andre2:

Just for comparison, OBi200 with arrynrob13:

obi200/300 firmware is not an apt comparison, it uses readonly squashfs partitions via the mtd subsystem, not read-write ubifs partitions via ubi-on-top-of-mtd like the 1000 and 2000 series

obi2000 just have larger flash capacity in general, so they are easily below max capacity no matter how many extra space (my recently-gone-insane copy of?) mkfs.ubifs uses.
naf

1 recommendation

tested a bunch of older versions of mkfs.ubifs, and they all have the same leb_cnt, so must be a bad version of ubireader_extract_files?

sometime ill have to try to use the infradead mtd-utils tools to mount a virtual ubi device to get a 2nd source of truth about "what the shit is in this ubifs file" instead of ubireader_extract_files...

damn i thought this shit was gonna be easy since, you know, ive done it hundreds of times before. now i cant even re-create olisom6 :-(
naf

3 recommendations

my latest guess for the "naf in unable to build ubi images correctly anymore" problem is that *zlib* is fucked on fedora. they replaced it with zlib-ng at some point, and maybe that just has shittier (but faster!) compression on x86_64 so the same files destined for the ubi filesystem really do occupy ~1% more space, and if obi1000 phones are really within 1% of full normally, that fucks us (atleast the folks with 1% more bad flash blocks than others).

so perhaps sometime since the olisom6 timeframe (because being off by a couple leb's on any other ubifs build would not be noticeable, only the 1000 phones cut it so close to max size) my build machine upgrading borked zlib (or whatever). great. super.

i atleast have a workaround: running ubireader_extract_files/mkfs.ubifs on a ubuntu arm box works fine.

anyway.... olisom8 creation back in business (just on a new build machine)
andre2
join:2005-08-24
Brookline, MA

1 recommendation

to naf

Re: Obihai OBi20x/30x + OBi1000 + OBi50x + OBi2000 firmware mods

It appears that Fedora went to zlib-ng with version 40, officially released on 2024-04-23 (although if you were running 40 branched you could have gotten it a few months earlier). My olisom6 firmware file is dated March 2024.

»fedoraproject.org/wiki/C ··· ansition
»bugzilla.redhat.com/show ··· =2252767
naf
join:2017-12-12

1 recommendation

ok i see you with your data and logic refuting my guesses.

fine, doesnt matter. its ghosts. ghosts in my build machine.

point is im just gonna use the one thats *not* haunted.
naf

2 recommendations

said by naf:

ok i see you with your data and logic refuting my guesses.

fine, doesnt matter. its ghosts. ghosts in my build machine.

point is im just gonna use the one thats *not* haunted.

ahahaha no joke: within seconds of posting this stupid comment my power goes out, which in turn causes the robot vaccuum to wake up and start coming at me.

haunted.

told ya.
andre2
join:2005-08-24
Brookline, MA

2 edits

2 recommendations

Tested olisom8-rc3, seems perfect as before (on MY device, anyway). I notice that the .fw file itself is noticeably smaller than before, the sizes of olisom[5,6,7,8-rc1,8-rc3] in bytes are 31806697, 31806744, 32553088, 32713695, and 32115980, resp. When I get my new UPS battery I'll check olisom7 (or anyone running it now could check) since the .fw file for 8-rc3 is smaller than for 7. Most of the .fw size increase was going from 6 to 7, 8-rc1 is only slightly bigger than that.
root@OBiPhone:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
ubi0:rootfs              15364     14684       680  96% /
none                     57336       748     56588   1% /dev
tmpfs                    57336     20440     36896  36% /var/volatile
tmpfs                    57336         0     57336   0% /media/ram
ubi1:obiapp               4584      4552        32  99% /obi
ubi2:scratch             34176        64     32332   0% /scratch
root@OBiPhone:~#
 
Edit: The sizes of taoman[1,2,3] in bytes are 38419146, 38419146, and 39482305, resp., so a significant jump from 2 to 3. taoman2 was from March 2024, same as olisom6. It supports your theory about zlib-ng since the size jump (for the .fw files, at least) happened after Fedora 40's release.
naf
join:2017-12-12
olisom8 finalized. obi1fw got the link.

md5sum OBiPhone-5-1-11-5312EX-olisom8.fw = 170ca338f14110fd1021b7fb0457fd08

changes from olisom7:
- user-replaceable root certs

fixes:
- ~5% smaller rootfs than olisom7! (back to the same flash usage as olisom6 and everything before march 2024)
naf

2 recommendations

zlib-ng: the ng stands for "not good [at compression]"?
OBi1FW
join:2017-12-27
Vienna, VA

1 recommendation

Website is updated!
andre2
join:2005-08-24
Brookline, MA
I currently have olisom8-rc3. When I try to apply the update I get the message "Previous version identical to the update. Firmware not modified." even though OBiPhone-5-1-11-5312EX-olisom8-rc3.fw and OBiPhone-5-1-11-5312EX-olisom8.fw are different files (though they have the same size).
OBi1FW
join:2017-12-27
Vienna, VA
I saw the same. I downgraded and then upgraded to 8.

I believe olisom8 is rc3 renamed so you don't have to upgrade if you don't want to.
andre2
join:2005-08-24
Brookline, MA
OK, well I downgraded to olisom7 to get the df output for it:
root@OBiPhone:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
ubi0:rootfs              15364     15220       144  99% /
none                     57336       596     56740   1% /dev
tmpfs                    57336     20412     36924  36% /var/volatile
tmpfs                    57336         0     57336   0% /media/ram
ubi1:obiapp               4584      4400       184  96% /obi
ubi2:scratch             34176       108     32288   0% /scratch
root@OBiPhone:~#
 
And after upgrading back to olisom8 I do indeed see "5.1.11 (Build: 5312EX.1311-olisom8)".
OBi1FW
join:2017-12-27
Vienna, VA
How do we change the default ssh password? I tried passwd which did not produce any errors but did not seem to affect the ssh login.
andre2
join:2005-08-24
Brookline, MA

4 edits
Good question - I did successfully change it on my OBi200 years ago, and was able to change it back recently, but just tried now on my OBi1022 and reproduced your problem - it claims it changed the password, but didn't.

Edit: I note that at least on the 1022, it says "Enter the new password (minimum of 5, maximum of 8 characters)" which would disqualify "obi", so if it WAS changed there would be no way to change it back.

Edit: Just confirmed that on the 200, with arrynrob13, I CAN change the password. There is no stated restriction on the password, and I can both change it and then change it back to "obi".

Edit: This is interesting - on my 2182 with taoman3, I get the same message about being between 5 and 8 chars. I CAN change the password, and what's more, I can change it back to "obi". It gives me a warning "Bad password: too short. Warning: weak password (continuing). Re-enter new password:" so the message about 5 to 8 chars is only a suggestion, not a requirement.

Edit: From years ago I vaguely remember something like if one changes the password and then forgets it, there's no easy way to recover. Is that correct?
OBi1FW
join:2017-12-27
Vienna, VA
I profoundly apologize for not noticing this before release
naf
join:2017-12-12
to andre2
said by andre2:

From years ago I vaguely remember something like if one changes the password and then forgets it, there's no easy way to recover. Is that correct?

passwd is not reset on obihai config reset. whether recovering a lost shell passwd is easy or not depending on how easy you consider using an exploit to pop a shell and reset the thing, or make an alternative firmware that fixes it and just flash that firmware from webgui
naf

2 edits
to OBi1FW
said by OBi1FW:

How do we change the default ssh password? I tried passwd which did not produce any errors but did not seem to affect the ssh login.

crap thats a bug in *stock* firmware's passwd functionality (i only implemented it myself on 200/500). it appears on the 1000, the stock passwd assumes that shadow is in use even for users that are not marked as having the passwd in shadow.

possible workaround: edit /etc/passwd and change root user's password hash field (the second ':'-seperated one) to "x", to indicate the passwd is to be found in the shadow file [untested]

if that works, in the next release i will also change /etc/passwd to have that 'x' and just set the default password in /etc/shadow (instead of following stock's lead and setting it in /etc/passwd itself).

i guess nobody ever tried? ha, you default password lovers
OBi1FW
join:2017-12-27
Vienna, VA
said by naf:

possible workaround: edit /etc/passwd and change root user's password hash field (the second ':'-seperated one) to "x", to indicate the passwd is to be found in the shadow file [untested]

Did not work, but copying/pasting the hashed password from /etc/shadow to that field in /etc/passwd worked. Thanks for the hint!