[asterisk-bugs] [JIRA] (ASTERISK-28365) New ARI for application execution.

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Tue Apr 2 05:18:48 CDT 2019


     [ https://issues.asterisk.org/jira/browse/ASTERISK-28365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on ASTERISK-28365 started by sungtae kim.

> New ARI for application execution.
> ----------------------------------
>
>                 Key: ASTERISK-28365
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28365
>             Project: Asterisk
>          Issue Type: New Feature
>      Security Level: None
>          Components: Resources/res_ari_channels
>    Affects Versions: 16.2.1
>            Reporter: sungtae kim
>            Assignee: sungtae kim
>            Severity: Minor
>              Labels: pjsip
>
> 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}



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



More information about the asterisk-bugs mailing list