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
(cherry picked from commit 2bf023f934)
changes/82/16482/1
Alexander Lutay 8 years ago
parent 68ba7ea84e
commit feeae50cd8

@ -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