[Home]

Summary:ASTERISK-28365: New ARI for application execution.
Reporter:sungtae kim (pchero)Labels:pjsip
Date Opened:2019-03-30 13:02:45Date Closed:
Priority:MinorRegression?
Status:In Progress/In ProgressComponents:Resources/res_ari_channels
Versions:16.2.1 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Added new ARI for application execution.

This allows stacking the application into Stasis application.

When the application starts, it publishing the "ChannelApplicationStarted" event, and publishing the "ChannelApplicationFinished" when it's ended.

{noformat}
{
"type": "ChannelApplicationStarted",
"timestamp": "2019-03-30T14:28:01.620+0100",
"channel_application": {
"name": "park",
"args": "",
"status": "started"
},
"channel": {
"id": "test_call",
"name": "PJSIP/sipp-uac-00000004",
"state": "Up",
"caller": {
"name": "",
"number": ""
},
"connected": {
"name": "",
"number": ""
},
"accountcode": "",
"dialplan": {
"context": "sipp-uac",
"exten": "s",
"priority": 1
},
"creationtime": "2019-03-30T14:28:00.350+0100",
"language": "en"
},
"asterisk_id": "00:11:22:33:44:55",
"application": "test"
}
{noformat}

{noformat}
{
"type": "ChannelApplicationFinished",
"timestamp": "2019-03-30T14:28:46.787+0100",
"channel_application": {
"name": "park",
"args": "park",
"status": "done"
},
"channel": {
"id": "test_call",
"name": "PJSIP/sipp-uac-00000004",
"state": "Up",
"caller": {
"name": "",
"number": ""
},
"connected": {
"name": "",
"number": ""
},
"accountcode": "",
"dialplan": {
"context": "park-dial",
"exten": "PJSIP_sipp-uac",
"priority": 1
},
"creationtime": "2019-03-30T14:28:00.350+0100",
"language": "en"
},
"asterisk_id": "00:11:22:33:44:55",
"application": "test"
}
{noformat}
Comments:By: Asterisk Team (asteriskteam) 2019-03-30 13:02:46.547-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].

Please note that once your issue enters an open state it has been accepted. As Asterisk is an open source project there is no guarantee or timeframe on when your issue will be looked into. If you need expedient resolution you will need to find and pay a suitable developer. Asking for an update on your issue will not yield any progress on it and will not result in a response. All updates are posted to the issue when they occur.

By: Ruddy G (ruddy) 2020-08-23 22:31:01.897-0500

+1
There has been a ton of applications already available in the dialplan and a method to call them on a channel prevent the developper to re-develop all this again.