<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yiv3828560581"><div id="yui_3_16_0_1_1428993257303_83833"><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;" id="yui_3_16_0_1_1428993257303_83832"><div id="yiv3828560581yui_3_16_0_1_1428993257303_82239"><br clear="none"></div><div id="yiv3828560581yui_3_16_0_1_1428993257303_82253" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;"><div id="yiv3828560581yui_3_16_0_1_1428993257303_82252" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><div class="yiv3828560581y_msg_container" id="yiv3828560581yui_3_16_0_1_1428993257303_82255"><div id="yiv3828560581"><div id="yiv3828560581yui_3_16_0_1_1428993257303_82260"><div id="yiv3828560581yui_3_16_0_1_1428993257303_82259" style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;"><div id="yiv3828560581yui_3_16_0_1_1428993257303_80321"><span></span></div><div id="yiv3828560581yui_3_16_0_1_1428993257303_80321"><span><br clear="none"></span></div><div dir="ltr" id="yiv3828560581yui_3_16_0_1_1428993257303_80321"><span id="yiv3828560581yui_3_16_0_1_1428993257303_80471">I do </span></div><div dir="ltr" id="yiv3828560581yui_3_16_0_1_1428993257303_80321"><br clear="none"></div><div dir="ltr" id="yiv3828560581yui_3_16_0_1_1428993257303_80321">curl -v -u asterisk:asterisk -X GET "http://my-ip:8088/ari/<a rel="nofollow" shape="rect" class="yiv3828560581" id="yiv3828560581yui_3_16_0_1_1428993257303_82267" target="_blank" href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Devicestates+REST+API#Asterisk13DevicestatesRESTAPI-list" style="color:rgb(25, 46, 132);text-decoration:none;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:14px;line-height:18.1818180084229px;background-color:rgb(255, 255, 255);">deviceStates</a>"</div><div dir="ltr" id="yiv3828560581yui_3_16_0_1_1428993257303_80321"><br clear="none"></div><div dir="ltr" id="yiv3828560581yui_3_16_0_1_1428993257303_80321">then result is:</div><div dir="ltr" id="yiv3828560581yui_3_16_0_1_1428993257303_80321"><br clear="none"></div><div dir="ltr" id="yiv3828560581yui_3_16_0_1_1428993257303_80321"><div class="yiv3828560581" dir="ltr" id="yiv3828560581yui_3_16_0_1_1428993257303_80321" style="">* Hostname was NOT found in DNS cache</div><div class="yiv3828560581" dir="ltr" id="yiv3828560581yui_3_16_0_1_1428993257303_80321" style="">* Trying my-ip...</div><div class="yiv3828560581" dir="ltr" id="yiv3828560581yui_3_16_0_1_1428993257303_80321" style="">* Connected to my-ip (my-ip) port 8088 (#0)</div><div class="yiv3828560581" dir="ltr" id="yiv3828560581yui_3_16_0_1_1428993257303_80321" style="">* Server auth using Basic with user 'contractphonecti'</div><div class="yiv3828560581" dir="ltr" id="yiv3828560581yui_3_16_0_1_1428993257303_80321" style="">> GET /ari/deviceStates HTTP/1.1</div><div class="yiv3828560581" dir="ltr" id="yiv3828560581yui_3_16_0_1_1428993257303_80321" style="">> Authorization: Basic Y29udHJhY3RwaG9uZWN0aTpPWXdqbTEyV1dqaWtvaw==</div><div class="yiv3828560581" dir="ltr" id="yiv3828560581yui_3_16_0_1_1428993257303_80321" style="">> User-Agent: curl/7.35.0</div><div class="yiv3828560581" dir="ltr" id="yiv3828560581yui_3_16_0_1_1428993257303_80321" style="">> Host: my-ip8:8088</div><div class="yiv3828560581" dir="ltr" id="yiv3828560581yui_3_16_0_1_1428993257303_80321" style="">> Accept: */*</div><div class="yiv3828560581" dir="ltr" id="yiv3828560581yui_3_16_0_1_1428993257303_80321" style="">></div><div class="yiv3828560581" dir="ltr" id="yiv3828560581yui_3_16_0_1_1428993257303_80321" style="">< HTTP/1.1 200 OK</div><div class="yiv3828560581" dir="ltr" id="yiv3828560581yui_3_16_0_1_1428993257303_80321" style="">* Server Asterisk/13.1.0 is not blacklisted</div><div class="yiv3828560581" dir="ltr" id="yiv3828560581yui_3_16_0_1_1428993257303_80321" style="">< Server: Asterisk/13.1.0</div><div class="yiv3828560581" dir="ltr" id="yiv3828560581yui_3_16_0_1_1428993257303_80321" style="">< Date: Thu, 16 Apr 2015 09:03:12 GMT</div><div class="yiv3828560581" dir="ltr" id="yiv3828560581yui_3_16_0_1_1428993257303_80321" style="">< Cache-Control: no-cache, no-store</div><div class="yiv3828560581" dir="ltr" id="yiv3828560581yui_3_16_0_1_1428993257303_80321" style="">< Content-type: application/json</div><div class="yiv3828560581" dir="ltr" id="yiv3828560581yui_3_16_0_1_1428993257303_80321" style="">< Content-Length: 2</div><div class="yiv3828560581" dir="ltr" id="yiv3828560581yui_3_16_0_1_1428993257303_80321" style=""><</div><div class="yiv3828560581" dir="ltr" id="yiv3828560581yui_3_16_0_1_1428993257303_80321" style="">* Connection #0 to host my-ip left intact</div><div class="yiv3828560581" dir="ltr" id="yiv3828560581yui_3_16_0_1_1428993257303_80321" style=""> </div><div class="yiv3828560581" dir="ltr" id="yiv3828560581yui_3_16_0_1_1428993257303_80321" style=""><span class="yiv3828560581" id="yiv3828560581yui_3_16_0_1_1428993257303_82395" style="font-family:arial, sans-serif;white-space:nowrap;">though the channels exist (that is calling)... </span></div></div><div class="qtdSeparateBR"><br><br></div><div class="yiv3828560581yqt6907911465" id="yiv3828560581yqtfd84847"><div dir="ltr" id="yiv3828560581yui_3_16_0_1_1428993257303_80321"><br clear="none"></div><div class="yiv3828560581" dir="ltr" id="yiv3828560581yui_3_16_0_1_1428993257303_80321" style="">Why? Where do I mistake?</div><div class="yiv3828560581" dir="ltr" id="yiv3828560581yui_3_16_0_1_1428993257303_80321" style="">thanks</div><div dir="ltr" id="yiv3828560581yui_3_16_0_1_1428993257303_80321"><br clear="none"></div><div dir="ltr" id="yiv3828560581yui_3_16_0_1_1428993257303_80321"><br clear="none"></div><div></div><div id="yiv3828560581yui_3_16_0_1_1428993257303_80320"> </div><div class="yiv3828560581signature" id="yiv3828560581yui_3_16_0_1_1428993257303_80318"><div id="yiv3828560581yui_3_16_0_1_1428993257303_80317"><span id="yiv3828560581yui_3_16_0_1_1428993257303_80319" style="font-family:arial, helvetica, sans-serif;color:rgb(208, 208, 208);">_______________________________________________________________________</span><br clear="none" style="font-family:arial, helvetica, sans-serif;color:rgb(208, 208, 208);"><span style="font-family:arial, helvetica, sans-serif;color:rgb(208, 208, 208);">Oscar OXY</span><br clear="none"></div></div></div></div></div></div><div class="yiv3828560581yqt6907911465" id="yiv3828560581yqtfd78993"><br clear="none"><br clear="none"></div></div><div class="yiv3828560581yqt6907911465" id="yiv3828560581yqtfd70539"> </div></div><div class="yiv3828560581yqt6907911465" id="yiv3828560581yqtfd24633"> </div></div><div class="yiv3828560581yqt6907911465" id="yiv3828560581yqtfd75666"> </div></div></div></div></div></body></html>