[Home]

Summary:ASTERISK-25488: Mute function issue with Asterisk ARI: Channel not in stasis.
Reporter:J.Kinkead (Colo)Labels:ARI SIP asterisk
Date Opened:2015-10-22 11:11:34Date Closed:2015-10-27 12:22:32
Priority:MinorRegression?
Status:Closed/CompleteComponents:Resources/res_ari Resources/res_ari_channels Resources/res_ari_events
Versions:13.5.0 13.6.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:OS: Debian Jessie (Release 8.2) Asterisk: 13.5.0 & 13.6.0 FreePBX: 13.0.6 Socket.io: 9.0 ARI JS client: 0.3.0Attachments:
Description:Seems that the asterisk ARI has a bug which prevents me from muting any channels and keeps giving the error :

Error: {
 "message": "Channel not in Stasis application"
}

But it is and I have tested it and verified using multiple methods such as FreePBX logs, ARI Channel Dump, CLI Debug LVL 5 etc.

The channels exist but the function states otherwise, I have inquired on Reddit and stack overflow and in the end it was suggested I come here and post the issue as its seemingly bug related.

Please refer to the Stack overflow URL for more information on the issue, if all log debug methods and screenshots provided, as well as the code that is doing all the logic and how am calling the mute function.

Edit; Also updated to asterisk 13.6.0 today and the issue is still persisting, and no one has been to identify why its happening in the workplace or various other resources like stack overflow and reddit.
Comments:By: Asterisk Team (asteriskteam) 2015-10-22 11:11:35.929-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: J.Kinkead (Colo) 2015-10-27 12:22:21.566-0500

Turns out it would not run because it needed channel ID and not channel name, but functions would run with channel name.

So I just swapped them round and now it works.

Is this intended?

By: J.Kinkead (Colo) 2015-10-27 12:22:32.430-0500

Turns out it would not run because it needed channel ID and not channel name, but functions would run with channel name.

So I just swapped them round and now it works.

Is this intended?