Upgrading Polycom 601s to SIP3.1.2 for PIAF 1.4/32

Baylink

Guru
Joined
May 9, 2009
Messages
75
Reaction score
3
So I bought this batch of Poly 601s. They came in with 3.2 bootroms (a couple with 3.1), so when I didn't seem to be able to cobble together a config file that the supplied 2.0.3 SIP code liked, I didn't worry about it too much -- that's new enough to run 3.1.2, the most recently publicly released SIP code (I'm having some trouble getting the current GA from my reseller, but for the discount I got, I'll tolerate that.)

I set up a MAC.cfg file that loads the sip.ld, and these config files:

x6300.cfg, phone1.cfg, company-ppk.cfg, and sip.cfg

in that order, where the first and third are copies of the second and fourth, resp. I added the obvious requirements, server IP and such, to the first and third files, and then booted a phone.

It pulled down the 3.1.2 SIP code, validated it, booted, and this is when my problem crops up: the phone does its self-tests, and paints on its screen the gray wash on the left for the line keys, and the dark half-curved-rectangle that surrounds the display area... and then locks up hard.

It will push a log file, and the pertinent entry is ...

unaccessible just now because the box it's on is pulling one of its intermittent "I refuse to answer to ssh" tantrums, but it includes an error 0x20. The most common reported reason for that error, an unescaped ampersand somewhere in the file, I've checked for already; there are none.

The only other possible pertinent item is that I pretty-printed the XML files before I started editing them, using the pretty printer from here and the nts switches (to break the attributes apart on separate lines for ease of editing and sort them), hopefully the XML interpreter in the SIP code is sensible enough to ignore that valid extra whitespace and not break anything, but I'd be willing to be convinced that's my entire problem.

Any Polycom wizards out there of a Mother's Day?

I'll upload config and log files later if they're needed.
 
At work now, and can upload those config files, if they'll do anyone any good...
 
And here's the boot.log, probably the most important:

Code:
0509154015|so   |4|00|---------- Initial log entry ----------
0509154015|so   |4|00|+++ Note that bootrom log times are in GMT +++
0509154015|hw   |4|00|Initial log entry.
0509154015|wdog |4|00|Initial log entry
0509154015|cfg  |4|00|Initial log entry
0509154015|copy |3|00|Initial log entry
0509154015|cdp  |4|00|Initial log entry
0509154015|cdp  |5|00|CDP is DISABLED.
0509154015|cdp  |5|00|802.1Q/VLAN tagging is DISABLED.
0509154015|so   |3|00|Platform: Model=SoundPoint IP 601, Assembly=2345-11605-001 Rev=A
0509154015|so   |3|00|Platform: Board=2345-11605-001 2
0509154015|so   |3|00|Platform: MAC=0004f202c91c, IP=10.10.99.1, Subnet Mask=255.255.0.0
0509154015|so   |3|00|Platform: BootBlock=2.6.0 (11605_001) 30-Apr-05 12:50
0509154015|so   |3|00|Application, main: Label=BOOT, Version=3.2.2.0019 24-Aug-06 18:05
0509154015|so   |3|00|Application, main: P/N=3150-11069-322
0509154015|app1 |4|00|Initial log entry.
0509154015|app1 |4|00|Could not initialize resolver library with server 0.0.0.0 and domain .
0509154015|app1 |3|00|Bootline: eim(0,0)bootHost:flash e=10.10.99.1:ffff0000 h=10.10.150.1 g=0
.0.0.0 u=polycom pw=**** f=0x80 tn=CircaIP
0509154047|app1 |3|00|Time has been set from 10.10.1.3 (10.10.1.3).
0509154047|so   |3|00|Link status is Net up Speed 100 full Duplex, PC down.
0509154057|cfg  |3|00|Beginning to provision phone
0509154057|copy |3|00|'t*f*t*p://10.10.150.1/bootrom.ld' from '10.10.150.1'
0509154057|copy |3|00|t*f*t*p download error
0509154057|copy |3|00|tftpLib error: t*f*t*p transfer failed: error 0x4b0008

0509154057|copy |4|00|Download of 'bootrom.ld' FAILED on attempt 1
0509154057|cfg  |4|00|Could not get all 512 bytes of the header
0509154057|cfg  |3|00|bootROM file not present on boot server
0509154057|copy |3|00|'t*f*t*p://10.10.150.1/0004f202c91c.cfg' from '10.10.150.1'
0509154057|copy |3|00|Download of '0004f202c91c.cfg' succeeded on attempt 1 (addr 1 of 1)
0509154057|copy |3|00|'t*f*t*p://10.10.150.1/sip313.ld' from '10.10.150.1'
0509154058|cfg  |3|00|Image sip313.ld has not changed
0509154058|copy |3|00|Download of 'sip313.ld' succeeded on attempt 1 (addr 1 of 1)
0509154058|cfg  |3|00|Downloaded application image is identical to current version
0509154058|cfg  |3|00|Phone successfully provisioned
0509154145|app1 |4|00|Loaded application sip313.ld successfully, errors 0x20.
0509154145|app1 |6|00|Uploading boot log, time is SAT MAY 09 15:41:46 2009

That was the last boot attempt -- sometimes it hangs at that screen, as it did this time; sometimes it reboots. And yes, I have the image named wrong; it's 3.1.2. Can't imagine it cares about the file name, though...
 
Wow... no one at all, huh?

Any pointers to where all the Polycom geeks hang out?
 
The error 0x20 very often means that it can't find one or more of the cfg files. This leads me to believe that it is your 'pretty-printed' XML files. Double check the cfg file names in your files and on the server.
 
Bet cash I know what this is: spaces *are significant* in that comma-separated list of config files, aren't they? Idioten...

Now I know what to aim at tomorrow; that was probably enough hint; thanks.

ETA: That bootlog looks like the *bootrom* logged a bunch of stuff, and the SIP code *should have, but didn't. Is there some knob that makes the SIP log better?
 
Alas, apparently, it's not just "spaces in the filenames": here's a SIP log (which i finally realized I was getting after all)...

Code:
0513101315|cmp  |*|02|Initial log entry. Current logging level 4
0513101315|so   |3|02|[SoMediaSessC]: Setting Pps protocol 0 Callback (0x10645d74)
0513101315|so   |3|02|[SoNcasC]: Setting Pps protocol 0 Callback (0x10645d18)
0513101315|app1 |*|02|Initial log entry. Current logging level 1
0513101315|app1 |3|02|Could not get autoLocalHold value !!
0513101315|app1 |3|02|Could not get localConf value !!
0513101315|app1 |3|02|Could not get suppServices value !!
0513101315|app1 |3|02|Could not get noServerDisable value !!
0513101315|app1 |4|02|Default StatusBar is disabled
0513101315|app1 |4|02|mb.main.home parameter doesn't exist
0513101315|mb   |*|02|Initial log entry. Current logging level 4
0513101315|so   |3|02|[SoBitmapC]: Receiving MsgType 0x875
0513101315|so   |3|02|[SoNcasC]: Setting App.(0x10e2b510) Callback (0x100eea2c)
0513101315|so   |3|02|[SoNcasC]: Setting App. Lookup Callback (0x100eeb04)
0513101315|so   |3|02|[SoNcasC]: Language Updated - Informing PPS
0513101315|pps  |2|02|[PpsHybridC::AcceptLangString]: returning [en] to stack.
0513101316|so   |3|02|Link status is Net up Speed 100 full Duplex, PC down.
0513101316|ldap |*|02|Initial log entry. Current logging level 3
0513101316|ldap |4|02|ldap: Not Enabled
0513101316|ldap |4|02|cDynamicData::cDynamicData:cDynamicData:Failed
0513101316|efk  |*|02|Initial log entry. Current logging level 4
0513101316|so   |3|02|[SoNcasC]: Application Processing Started
0513101316|pps  |3|02|[PpsHybridC]: Feature 'Warning Header' is disabled.
0513101316|pps  |2|02|[PpsHybridC]: launch: setting SipSdpNewType to 0
0513101316|pps  |2|02|[PpsHybridC]: launch: setting useSendonlyHold to 0
0513101316|pps  |2|02|[PpsHybridC]: User-Agent PolycomSoundPointIP-SPIP_601-UA/3.1.2.0392
0513101316|pps  |2|02|[PpsHybridC::AcceptLangString]: returning [en] to stack.
0513101316|so   |*|02|[SoNcasC]: App-Ctx (SoundPoint IP) [0-SPIP]
0513101316|app1 |2|02|[AppHybridC] handleNonCallService - Event: 0x23
0513101316|pps  |2|02|[PpsHybridC]: ncas2PpsRegister U(SPIP) D(SoundPoint IP) S(0x1088077c) R(1) Ix(0) CA(0) TP()
0513101316|pps  |2|02|[PpsHybridC]: OnEvProxyList Sz[0]
0513101316|sys  |*|02|soSystemLogException vector 4 in tApp1
0513101316|sys  |*|02|soSystemLogException running taskShow:
0513101317|sys  |*|02|############################################
0513101317|sys  |*|02|
0513101317|sys  |*|02|  NAME        ENTRY       TID    PRI   STATUS      PC       SP     ERRNO  DELAY
0513101317|sys  |*|02|---------- ------------ -------- --- ---------- -------- -------- ------- -----
0513101317|sys  |*|02|tApp1      102fcc28     108aee0c 170 SUSPEND      c44a5c 108ae730  388002     0
0513101317|sys  |*|02|
0513101317|sys  |*|02|stack: base 0x108aee0c  end 0x108a5e0c  size 36856  high 6828   margin 30028
0513101317|sys  |*|02|
0513101317|sys  |*|02|options: 0x4
0513101317|sys  |*|02|VX_DEALLOC_STACK
0513101317|sys  |*|02|
0513101317|sys  |*|02|r0     = 766935c0   r1     = 106516e4   r2     =        0   r3     =        0
0513101317|sys  |*|02|r4     =        0   r5     =        2   r6     = 107ec21c   r7     =        0
0513101317|sys  |*|02|r8     =        0   r9     =      140   r10    =        0   r11/fp = 108ae748
0513101317|sys  |*|02|r12/ip = 76695220   r13/sp = 108ae730   r14/lr = 102f52a8   pc     =   c44a5c
0513101317|sys  |*|02|cpsr   = 20000013
0513101317|sys  |*|02|
0513101317|sys  |*|02|Undefined instruction
0513101317|sys  |*|02|Exception address: 0x00c44a5c
0513101317|sys  |*|02|Current Processor Status Register: 0x20000013
0513101317|sys  |*|02|############################################
0513101317|sys  |*|02|soSystemLogException running tt:
0513101320|sys  |*|02|############################################
0513101320|sys  |*|02|10024ef8                    : 102fcc28 ()
0513101320|sys  |*|02|102fd038                    : 100f0610 ()
0513101320|sys  |*|02|100f0c80                    : 10144b60 ()
0513101320|sys  |*|02|10144cec                    : 10155e4c ()
0513101320|sys  |*|02|10155f4c                    : 102dbbb8 ()
0513101320|sys  |*|02|102dbe00                    : 102f3f98 ()
0513101320|sys  |*|02|102f4150                    : 404b40 ()
0513101320|sys  |*|02|############################################
0513101320|sys  |6|02|soSystemLogException logging complete, rebooting...

I'm going to try un-pretty printing the config files, after all...
 
Another quick update: going back to the factory sip.cfg and phone1.cfg files lets the phone boot. Adding in a trimmed version of my x6300.cfg (in turn, modifications of phone1)...

didn't change anything. And the 339 page manual is strictly a reference; nothing tutorial in it at all. Sigh.
 
Solved

This was all about the format of the XML files. I snarfed a complete package from n3glv on #freepbx, and they worked for me, so I modified from there. I will pastebin them and post the links here later today.
 
Solved

[ Oddly, this was still in my preview window, but apparently I had posted it... ]
 

Members online

No members online now.

Forum statistics

Threads
26,688
Messages
174,412
Members
20,259
Latest member
Fadeek86
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top