<html>
<head>
<base href="https://wiki.asterisk.org/wiki">
<link rel="stylesheet" href="/wiki/s/en/2176/25/9/_/styles/combined.css?spaceKey=AST&forWysiwyg=true" type="text/css">
</head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
<h2><a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+WebRTC+Support?focusedCommentId=21464413#comment-21464413">Asterisk WebRTC Support</a></h2>
<h4>Page
<b>comment added</b> by <a href="https://wiki.asterisk.org/wiki/display/~iatalmid">Igor Alyushev</a>
</h4>
<br/>
<div class="notificationGreySide">
<p>Can I connect to Asterisk manager over websocket without any crutches ?</p>
<p>I would like listen asterisk events in browser using javascript.</p>
<p>Can I use code like</p>
<p>ws=websocket(host,'ami'); </p>
<p>?</p>
</div>
<div id="commentsSection" class="wiki-content pageSection">
<div style="float: right;" class="grey">
<a href="https://wiki.asterisk.org/wiki/users/removespacenotification.action?spaceKey=AST">Stop watching space</a>
<span style="padding: 0px 5px;">|</span>
<a href="https://wiki.asterisk.org/wiki/users/editmyemailsettings.action">Change email notification preferences</a>
</div>
<a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+WebRTC+Support?focusedCommentId=21464413#comment-21464413">View Online</a>
|
<a id="reply-21464413" href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+WebRTC+Support?replyToComment=21464413#comment-21464413">Reply To This</a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>