[asterisk-bugs] [JIRA] (ASTERISK-27815) REST API - channel_ids are getting stuck

Bruno Duarte (JIRA) noreply at issues.asterisk.org
Thu Apr 19 08:47:50 CDT 2018


Bruno Duarte created ASTERISK-27815:
---------------------------------------

             Summary: REST API - channel_ids are getting stuck
                 Key: ASTERISK-27815
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27815
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Resources/res_ari_channels
    Affects Versions: 13.19.0
         Environment: Production
            Reporter: Bruno Duarte


Hi, 

We have implemented the REST API for our application, to monitor the sip extensions. Always when the extension originates or receives a call, it will be attributed to it a channel number:

{
  "technology": "SIP",
  "resource": "0300",
  "state": "online",
  "channel_ids": [
    "1968058526.14522",
  ]
}

When the call is finished, the asterisk API have to clear the channel id from the sip extension:

{
  "technology": "SIP",
  "resource": "0300",
  "state": "online",
  "channel_ids": [ ]
}
 
But for some of my extensions, Asterisk is no more cleaning the channel_ids field, and the extension is even accumulating these channel numbers: 

{
  "technology": "SIP",
  "resource": "0301",
  "state": "online",
  "channel_ids": [
    "1524058526.10923",
    "1523987775.8614",
    "1524082882.12616",
    "1523987766.8605"
  ]
}

Please, let me know could be done with this issue. 

Regards, 
Bruno Duarte. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list