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

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


    [ https://issues.asterisk.org/jira/browse/ASTERISK-27815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=243090#comment-243090 ] 

Bruno Duarte commented on ASTERISK-27815:
-----------------------------------------

As additional information, 

There is no call stuck on asterisk, and another thing that I realized, If I try to check the details of one of these stuck channels, it seems like it doesn't exist. 

http://localhost:8010/ari/channels/1524058526.10923
{
  "message": "Channel not found"
}

Obs: the port is 8010 instead of 8088 due to a ssh tunel for the application. 

> 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