<div dir="ltr">Hi,<div><br></div><div>I used your config and got same result. Neither <b style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif">000B82-HT-502-000b82xxxxxx </b><span style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif">nor</span><b style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif"> </b><b style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif">000B82-HT%2D502-000b82xxxxxx </b><span style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif">can work. But I found that </span><b style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif">000B82-HT</b><b style="font-family:"helvetica neue",helvetica,arial,sans-serif"><font color="#ff0000">%252D</font></b><b style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif">502-000b82xxxxxx </b><span style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif">can work. Maybe you can give a try. It seems like "%2D" was urlencode again into "%252D". Thank you.</span></div><div><span style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif"><br></span></div><div><span style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif">Mike</span></div></div><br><div class="gmail_quote"><div dir="ltr">Sergio <<a href="mailto:sergio.fernandez@electronicamartinez.com">sergio.fernandez@electronicamartinez.com</a>> 於 2016年7月20日 週三 下午5:46寫道:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <p>Good morning.<br>
      <br>
      I have a device whose ID in GenieACS-GUI appears as <b>000B82-HT%2D502-000b82xxxxxx</b>.</p>
    <p>The Device's model is HT-502, and that symbol, the dash "-",
      isn't well represented.<br>
      <br>
      The problem is when trying to call it via the API, for example,
      asking for his SIP State. None of the ways work.:<br>
      <br>
      <i>curl -i
'<a href="http://my.acs.server:7557/devices/?query=%7B%22_id%22%3A%220000B82-HT-502-000b82xxxxxx%22%7D&projection=Device.Services.VoiceService.1.VoiceProfile.1.Line.1.Status" target="_blank">http://my.acs.server:7557/devices/?query=%7B%22_id%22%3A%220000B82-HT-502-000b82xxxxxx%22%7D&projection=Device.Services.VoiceService.1.VoiceProfile.1.Line.1.Status</a>'</i><br>
      nor<br>
      <i>curl -i
'<a href="http://my.acs.server:7557/devices/?query=%7B%22_id%22%3A%220000B82-HT%2D502-000b82xxxxxx%22%7D&projection=Device.Services.VoiceService.1.VoiceProfile.1.Line.1.Status" target="_blank">http://my.acs.server:7557/devices/?query=%7B%22_id%22%3A%220000B82-HT%2D502-000b82xxxxxx%22%7D&projection=Device.Services.VoiceService.1.VoiceProfile.1.Line.1.Status</a>'</i></p>
    <p>I've tried with other CPE's and it works, but I can't make it
      work with this model of CPE. Is there anything I could do to get
      it working?</p>
    <p>Currently, this is what GenieACS is answering me:</p>
    <p><i>HTTP/1.1 200 OK</i><i><br>
      </i><i>Content-Type: application/json</i><i><br>
      </i><i>total: 0</i><i><br>
      </i><i>Date: Tue, 19 Jul 2016 12:18:59 GMT</i><i><br>
      </i><i>Connection: keep-alive</i><i><br>
      </i><i>Transfer-Encoding: chunked</i><i><br>
      </i><i><br>
      </i><i>[</i><i><br>
      </i><i><br>
      </i><i>]</i><br>
    </p>
    <p><br>
      Thank you!<br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
  </div>

_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.genieacs.com" target="_blank">Users@lists.genieacs.com</a><br>
<a href="http://lists.genieacs.com/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.genieacs.com/mailman/listinfo/users</a><br>
</blockquote></div>