I do
curl -v -u asterisk:asterisk -X GET "http://my-ip:8088/ari/events"
or
curl -v -u asterisk:asterisk -X GET "http://my-ip:8088/ari/events?app=myApp"
where myApp is a websocket bound in asterisk (Creating Stasis app 'myApp')
then result is:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>426 Upgrade Required</title>
</head><body>
<h1>Upgrade Required</h1>
<p>(null)</p>
<hr />
<address>Asterisk Server</address>
</body></html>
Why? Where do I mistake?
thanks
_______________________________________________________________________
Oscar OXY
Oscar OXY
_______________________________________________ asterisk-app-dev mailing list asterisk-app-dev@xxxxxxxxxxxxxxxx http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev