zaidka/genieacs — pull request #31 by akcoder (2014-09-02 17:22:13+00:00)
Title: Fix SyntaxError on the inform message

Fix for SyntaxError when parsing the retry count out of the inform message.

```
2 Sep 10:01:58 - fcf528-VMG4380%2DB10A-S130Y05024801: Inform (2 PERIODIC); retry count 0
2014-09-02T18:02:02.893Z - SyntaxError: Unexpected number
at Object.parse (native)
at acsInform (/opt/genieacs/lib/soap.js:295:22)
at Object.exports.request (/opt/genieacs/lib/soap.js:425:39)
at /opt/genieacs/lib/cwmp.js:641:26
at getSession (/opt/genieacs/lib/cwmp.js:572:12)
at IncomingMessage. (/opt/genieacs/lib/cwmp.js:639:12)
at IncomingMessage.emit (events.js:92:17)
at _stream_readable.js:938:16
at process._tickDomainCallback (node.js:463:13)
```

SOAP block:
```

1804289383

ZyXEL
fcf528
VMG4380-B10A
S130Y05024801

2 PERIODIC

1
2014-09-02T09:05:22-09:00
0

InternetGatewayDevice.DeviceSummary
InternetGatewayDevice:1.4[](Baseline:1, EthernetLAN:1, Time:1, IPPing:1, DeviceAssociation:1, EthernetWAN:1, VDSL2WAN:1, ADSLWAN:1, ATMLoopback:1, DSLDiagnostics:1, WiFiLAN:1, X_404A03_TrustDomain:1)

InternetGatewayDevice.DeviceInfo.SpecVersion
1.0

InternetGatewayDevice.DeviceInfo.HardwareVersion
tmp_hardware1.0

InternetGatewayDevice.DeviceInfo.SoftwareVersion
1.00(AAFR.0)

InternetGatewayDevice.DeviceInfo.ProvisioningCode

InternetGatewayDevice.ManagementServer.ConnectionRequestURL
http://216.137.210.139:1/

InternetGatewayDevice.ManagementServer.ParameterKey

InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.2.ExternalIPAddress
216.137.210.139

```