[Asterisk-code-review] Debug code paths for websocket connections. (testsuite[master])
Mark Michelson
asteriskteam at digium.com
Mon Jul 27 11:56:32 CDT 2015
Mark Michelson has uploaded a new change for review.
https://gerrit.asterisk.org/974
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(-)
git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/74/974/1
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: newchange
Gerrit-Change-Id: If745cb8c31c210b4636fa89590089c5011826d14
Gerrit-PatchSet: 1
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: Mark Michelson <mmichelson at digium.com>
More information about the asterisk-code-review
mailing list