[Asterisk-code-review] Debug code paths for websocket connections. (testsuite[master])
Joshua Colp
asteriskteam at digium.com
Tue Jul 28 07:33:24 CDT 2015
Joshua Colp has submitted this change and it was merged.
Change subject: Debug code paths for websocket connections.
......................................................................
Debug code paths for websocket connections.
This is intended to help determine what is going incorrectly when
websockets are the source of failing ARI tests. This option causes extra
tracing to occur so we can see what is being executed within autobahn.
Change-Id: If745cb8c31c210b4636fa89590089c5011826d14
---
M lib/python/asterisk/ari.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Joshua Colp: Looks good to me, approved; Verified
diff --git a/lib/python/asterisk/ari.py b/lib/python/asterisk/ari.py
index 047e8e8..49faa03 100644
--- a/lib/python/asterisk/ari.py
+++ b/lib/python/asterisk/ari.py
@@ -316,7 +316,7 @@
urllib.urlencode({'app': apps, 'api_key': '%s:%s' % userpass}))
LOGGER.info("WebSocketClientFactory(url=%s)", url)
WebSocketClientFactory.__init__(self, url, debug=True,
- protocols=['ari'])
+ protocols=['ari'], debugCodePaths=True)
self.timeout_secs = timeout_secs
self.attempts = 0
self.start = None
--
To view, visit https://gerrit.asterisk.org/974
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: If745cb8c31c210b4636fa89590089c5011826d14
Gerrit-PatchSet: 1
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: Mark Michelson <mmichelson at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
More information about the asterisk-code-review
mailing list