News:

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

Main Menu

Obi110 - Crashes over night

Started by timpea, October 02, 2012, 01:29:02 AM

Previous topic - Next topic

timpea

Hi,

I am in the UK and have a Obi110 setup as an FXO for a Asterisk/FreePBX server, everything seams to work fine during the day, then when I come back to it in the morning the network light is flashing constantly and I can't access the Obi110 through the IP address and have to pull the power lead out.

Is there anything I can check that I might have setup badly?

Cheers,
Tim Pearson

Rick

Quote from: timpea on October 02, 2012, 01:29:02 AM
Hi,

I am in the UK and have a Obi110 setup as an FXO for a Asterisk/FreePBX server, everything seams to work fine during the day, then when I come back to it in the morning the network light is flashing constantly and I can't access the Obi110 through the IP address and have to pull the power lead out.

Is there anything I can check that I might have setup badly?

Cheers,
Tim Pearson

Check to see if:

1) Your internet service provider has downtime overnight for maintenance.
2) Your building cuts power overnight at any time, i.e. to test a generator or battery backup.

Can you access the internet in the morning via the same internet connection that the OBi is using?

CoalMinerRetired

There are also "reboot reason codes," 1 - 19. See here, scroll down to Product Information.

There's also SysLogging you could do overnight. If you're not familar with that, read up on it, it's pretty simple. All you have to do on the Obi is set a field for ip address of a syslog client (which you need to download) and click save configuration.

Lavarock7

A simple Windows based syslog viewer is the desktop program from Sysrose.Com.

My websites: Kona Coffee: http://itskona.com and Web Hosting: http://planetaloha.info<br />A simplified Voip explanation: http://voip.planet-aloha.com

timpea

I'll setup the syslog tomorrow, so hopefully I will know what is causing this the day after.

In answer to the Internet connection & power questions, it is plugged into a UPS so there shouldn't be any power problems, and I don't believe the Internet drops at all, would have to leave a computer on monitoring it to find out.  The Internet does work in the morning, but a couple of times that the obi110 has crashed, I've not been able to get on the Internet, I get a feeling the obi110 has been almost denial of servicing my router, as when I turn the obi110 off everything has started working again.

Rick


timpea

Yea, I changed it to full duplex at the end of last week.  It had crashed again this morning, I have setup a syslog, left it at level 7, I will leave it running and see what it says next time it happens.

timpea

Ok, it appears that the Obi110 has just semi crashed now, I am not able to access it through its IP address, I just tried to make a call out, 1st time it didn't do anything, 2nd time it rang the phone I was ringing, but I couldn't hear anything through my VOIP phone.

Here is the log from around this time:

Oct  3 16:41:26 192.168.1.248  [DAA]: POLARITY REVERSAL (51 V)
Oct  3 16:41:26 192.168.1.248 :
  • DAA PolRev
    Oct  3 16:41:27 192.168.1.248  ------ caller id (pcm_id: 1) received! ------------
    Oct  3 16:41:27 192.168.1.248 :
  • DAA CND 10031641,01623-421202,,^A,,
    Oct  3 16:41:28: --- last message repeated 1 time ---
    Oct  3 16:41:28 192.168.1.248  [DAA]: FXO ring on
    Oct  3 16:41:28 192.168.1.248 :
  • Ring On
    Oct  3 16:41:28 192.168.1.248  FXO: NewTermState:ringing
    Oct  3 16:41:28 192.168.1.248  fxo: cp proceeding
    Oct  3 16:41:35 192.168.1.248  RTP: DtmfTxMtd:1(1),0
    Oct  3 16:41:35 192.168.1.248  fxo: cp answered
    Oct  3 16:41:35 192.168.1.248  [DAA]: FXO OFFHOOK
    Oct  3 16:41:35 192.168.1.248  [DAA]: detecting disconnect tone, reinit: 0
    Oct  3 16:41:35 192.168.1.248  FXO: NewTermState:offhook
    Oct  3 16:41:35 192.168.1.248  FXO: Stop Tone
    Oct  3 16:41:35 192.168.1.248  RTP: Start->c0a801f9:19170(80);0;0;0:0:0;0(58)
    Oct  3 16:41:35 192.168.1.248 : [DAA] FXO ring off
    Oct  3 16:41:36 192.168.1.248  [DAA]: POLARITY REVERSAL (-8 V)
    Oct  3 16:41:36 192.168.1.248 :
  • DAA PolRev
    Oct  3 16:44:36 192.168.1.248  [DAA]: FXO ONHOOK MONITOR
    Oct  3 16:44:36 192.168.1.248  FXO: NewTermState:onhook
    Oct  3 16:44:36 192.168.1.248  RTP: Del Channel
    Oct  3 16:44:36 192.168.1.248  [JB] call overall status --     
    pee]:             192.168.1.249:19170,\nlocal:            192.168.1.248:16836,\npkt_tx:           9058,\npkt_rx:           9044,\nbytes_tx:         1557976,\nbytes_rx:         1555568,\nclk_diff:         193 PPM,\npkt_in_jb:        0,\npkt_ooo:          0,\npkt_lost:         0,\npkt_late:         0,\npkt_loss_rate:    0 %,\npkt_drop_rate:    0 %,\njb_len:           130 ms,\ncurr_rcvd_jitter: 2 ms,\nrcvd_digits:      0,\nunderruns:        0,\noverruns:         0,\nseq_num_broken:   0,\npkt_interp:       7,\nskew_comp:        0 ms,
    Oct  3 17:13:35 192.168.1.248  TCP: Broken Connection(HTTPD) 13 -257
    Oct  3 17:17:17 192.168.1.248  FXO: make new call
    Oct  3 17:17:17 192.168.1.248  [DAA]: FXO OFFHOOK
    Oct  3 17:17:17 192.168.1.248  [DAA]: detecting disconnect tone, reinit: 0
    Oct  3 17:17:17 192.168.1.248  FXO: NewTermState:offhook
    Oct  3 17:17:17 192.168.1.248  [DAA]: FXO ONHOOK MONITOR
    Oct  3 17:17:17 192.168.1.248  FXO: NewTermState:onhook
    Oct  3 17:17:17 192.168.1.248  RTP: Del Channel


timpea

I am still struggling with this, it has crashed again last night, network light flashing fast.

The last thing in my log is from after a missed call and it going back into onhook monitor:
Oct  4 17:50:04 192.168.1.248  [DAA]: FXO ring off
Oct  4 17:50:04 192.168.1.248 :
  • Ring Off
    Oct  4 17:50:04 192.168.1.248  FXO: NewTermState:onhook
    Oct  4 17:50:04 192.168.1.248 : FXO tell cc end-call
    Oct  4 17:50:04 192.168.1.248  RTP: Del Channel
    Oct  4 17:50:04 192.168.1.248  [DAA]: FXO ONHOOK MONITOR

    I have now turned X_SipDebugOption to Log All messages, see if that helps.

    Will I get more logged info if I change the log level?

CoalMinerRetired

You can turn on SIP logging.  However, I think the better approach if you cannot see anything obvious is to contact Obi support saying it crashes etc., and inform then you have an overnight syslog if they need it.

timpea

Ok, I did send them a support request a few days ago, do you know how long they usually take to respond?  thanks for your help.

timpea

I think I have fixed it, I reset all my settings in the OBI expert setup, then gave the Obi110 a factory reset and started again, not sure if I have set something up differently than last time, but it is now working brilliantly.  Thanks for your time.