Skip to content

Would it be possible to include the appname and appdata in the DialplanCEP #148

@daninmadison

Description

@daninmadison

Here is an example of the data Asterisk sends over for the channel data. In the dialplan field, there is an app_name and an app_data field that is not included in the DialplanCEP. This is useful information to know for Stasis. If Asterisk sends the call to Stasis, the app_name would be "Stasis" and the app_data would be the stasis application's identifier, which is Application used for the ARI connection. The app_data can also include additional parameters that should be passed from Asterisk to the ARI/Stasis application. These would be separated by a space (forming a string array).

{
"id":"1675093673.34",
"name":"Local/10000@IS-00000004;1",
"state":"Up",
"protocol_id":"",
"caller":{"name":"LocalTest","number":"9000"},
"connected":{"name":"LocalTest","number":"9000"},
"accountcode":"",
"dialplan":{"context":"IS","exten":"createcall","priority":23,"app_name":"AGI","app_data":"agi:async"},
"creationtime":"2023-01-30T09:47:53.350-0600",
"language":"en"
}

I just submitted a Pull Request for code that adds this support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions