<html>
<head>
    <base href="https://wiki.asterisk.org/wiki">
            <link rel="stylesheet" href="/wiki/s/en/2176/25/9/_/styles/combined.css?spaceKey=AST&amp;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=21464414#comment-21464414">Asterisk WebRTC Support</a></h2>
        <h4>Page
        <b>comment added</b> by              <a href="https://wiki.asterisk.org/wiki/display/~jcolp">Joshua Colp</a>
    </h4>
    <br/>
    <div class="notificationGreySide">
       <p>AMI is not supported over WebSockets.</p>
    </div>

                <div style="border-bottom: 1px solid #ddd; padding: 10px 20px 7px 20px;">
        <strong>In reply to a comment by <a href="/wiki/display/~iatalmid"
                          class="url fn confluence-userlink" data-username="iatalmid"
                   >Igor Alyushev</a>:</strong><br/>
        <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=21464414#comment-21464414">View Online</a>
              |
       <a id="reply-21464414" href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+WebRTC+Support?replyToComment=21464414#comment-21464414">Reply To This</a>
           </div>

</div>
</div>
</div>
</div>
</body>
</html>