TT#22018 Fix 2b2e1def: use 'odbc show' to check ODBC status

The old test doesn't work for the freshly installed system
when DB has no subscribes. Old command reported nothing
which fails the test.

Change-Id: I1501f407ab8561fd83b1d21f6c3ac8e306ff1231
changes/85/16385/1
Alexander Lutay 8 years ago
parent 18a8f64176
commit 2bf023f934

@ -17,10 +17,10 @@
command:
[% IF is_proxy && asterisk.enabled == "yes" && node_state == 'active' -%]
asterisk -rx "voicemail show users for default":
asterisk -rx "odbc show":
exit-status: 0
stdout:
- "/Configured Voicemail Users/"
- "/Number of active connections: 1/"
stderr: []
timeout: 10000

Loading…
Cancel
Save