GenieACS strange crash

Zaid Abdulla zaid at genieacs.com
Sat Feb 7 16:39:49 EST 2015


On Sat, Feb 7, 2015, at 09:26 PM, [PRE s.r.l.] - Alex wrote:
> Hello to everyone,
> I'm expecting a strange behavior using GenieACS with some voip 
> equipments (CISCO SPA112 and SPA122)
> 
> 
> 7 Feb 18:56:31 - 00E16D-SPA112-CCQ18310G5K: Inform (2 PERIODIC); retry 
> count 0
> 7 Feb 18:56:31 - 00E16D-SPA112-CCQ18310G5K: Started task 
> refreshObject(54d6510f6e456bd928e82163)
> util.error: Use console.error instead
> 2015-02-07T17:56:35.301Z - TypeError: Cannot read property 'attr' of 
> undefined
>      at parameterValueList (/opt/genieacs/lib/soap.js:137:31)
>      at cpeGetParameterValuesResponse (/opt/genieacs/lib/soap.js:190:20)
>      at Object.exports.request (/opt/genieacs/lib/soap.js:445:40)
>      at /opt/genieacs/lib/cwmp.js:638:26
>      at /opt/genieacs/lib/cwmp.js:575:12
>      at bound (domain.js:254:14)
>      at runBound (domain.js:267:12)
>      at try_callback (/opt/genieacs/node_modules/redis/index.js:592:9)
>      at RedisClient.return_reply 
> (/opt/genieacs/node_modules/redis/index.js:685:13)
>      at HiredisReplyParser.<anonymous> 
> (/opt/genieacs/node_modules/redis/index.js:321:14)
> 7 Feb 18:56:35 - Worker 10492 died (null)
> 
> 
> It seems like the SPA112 isn't pushing one of the requested parameters 
> or somewhat like that.

Right. The type attribute is missing from XML request. Here's a fix you
can apply:
https://github.com/zaidka/genieacs/issues/17#issuecomment-45466577. Make
sure you run "npm run compile" after you make the changes (you need to
install from source, not npm).

Zaid


More information about the Users mailing list