hharte / mm_manager

Manager for the Nortel Millennium series of payphones.
Other
59 stars 10 forks source link

Error Initializing Modem and Provision Failure #1

Closed troykrahn closed 4 years ago

troykrahn commented 4 years ago

After doing some initial testing, I've noticed a couple issues.

It seems that after killing the mm_manager process, restarting it often results in "Error Initializing Modem". If I run the command in quick succession it usually works. I'm using a MultiTech MultiModem2 MT5600, which seems to be a Conexant based modem.

The second issue I'm facing is that the provisioning seems to fail at the exact same spot each time. It appears that table 151 is sent to the phone, then the phone just disconnects. There is an error "ERROR: Got NULL packet without ACK flag set!". I am using VoIP with a Linksys PAP2T ATA, I've tried different jitter settings, as well as using the modem passthrough mode and there's no difference.

I've attached a screenshot at the point it seems to fail.

Screenshot_20200122_160451

hharte commented 4 years ago

Hello Troy,

What OS are you using, and what version of firmware is in your phone? The firmware version info can be displayed through the maintenance menu.

One thing to try is to just take table 0x97 out of the list of tables in mm_manager.c and see if the phone can download the other tables.

You can also use the -l and send me the bytestream for analysis.

Thanks for the report, Howard

troykrahn commented 4 years ago

Hi Howard,

I'm using Linux, the version of the firmware is as follows (according to what mm_manager sees)

Terminal serial number 1234567890, Terminal Status Word: 0x0001000080
Terminal Status: Reserved TELEPHONY_STATUS_BIT_7
Terminal Status: Station Access Cover Opened
                             Terminal Type: 02 (0x02)
                       Control ROM Edition: 12AAV08
                           Control Version: V1.0
                     Telephony ROM Edition: QQ1RWU 
                         Telephony Version: V2.2
                Validator Hardware Version: 60
                Validator Software Version: 12

I've tried removing the table to no avail, the next one just fails to send (150).

I've attached the install log so you can have a look. install.txt

hharte commented 4 years ago

Hello Troy,

Now that you were able to successfully install your phone using NPA1S01 firmware, do you mind if I close this issue?

Please file another one for the "Error Initializing Modem" issue, and add more detail about your setup. I have not seen this behavior before.

Thanks, Howard

troykrahn commented 4 years ago

Howard,

No worries, you may close the issue.

I'll create a new issue for the modem problem.

Troy

hharte commented 4 years ago

Thanks Troy.

Ritchie828 commented 4 years ago

This seems to be a common failure point in provisioning. (I currently know of three others with this issue.) I am receiving modem disconnects at the same point as Troy. modem discon I have confirmed there is communication between the phone and mm_manger as time and date are successfully set and am also receiving some basic info from the phone. mill info You refer to firmware in Troy's issue. Is this something we need to source and change?