Bug 2968 - SIP ACS_STATUS message (98) misreported config.
authorJoe Atzberger <joe.atzberger@liblime.com>
Thu, 19 Feb 2009 16:20:07 +0000 (10:20 -0600)
committerGalen Charlton <galen.charlton@liblime.com>
Thu, 26 Feb 2009 20:57:22 +0000 (14:57 -0600)
commit3f54fb1961ce959baaf97c001e74ba95839248d6
tree326e2a34e3aa874781e7743a134b729e64c2d386
parentd5908e57c073585427ae3cbbca9f3c2154e1f215
Bug 2968 - SIP ACS_STATUS message (98) misreported config.

The *_ok methods in ILS.pm were targeting the wrong depth.
This also resolves a longstanding FIXME on to_bool() warning like:
    Argument "\x{66}\x{61}..." isn't numeric in numeric ne (!=) at /ILS.pm line 94.

The example_institution_dump.sh essentially provides the proof test case for this patch.
Run it before/after on SIPconfig.xml where "MAIN" has checkout="true" and checkin="true".

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
C4/SIP/ILS.pm
C4/SIP/example_institution_dump.sh