[asterisk-bugs] [JIRA] (ASTERISK-29236) ARI Dial event missing caller field

Kon Tsaki (JIRA) noreply at issues.asterisk.org
Wed Jan 13 00:58:59 CST 2021


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

Kon Tsaki commented on ASTERISK-29236:
--------------------------------------

hello, i am using the `dial` command on the channel as described in the [documentation here|https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+Channels+REST+API#Asterisk16ChannelsRESTAPI-dial] and as it appears on the log i provided

{noformat}
 {
        "request": {
            "method": "POST",
            "url": "/channels/1610051129.10/dial",
            "json": {
                "caller": "1610051129.9",
                "timeout": null
            }
        },
        "response": {
            "status": 204
        }
 }
{noformat}

i am setting the channel id of the caller field of the dial command as it's described in the documentation
{quote}
caller: string - Channel ID of caller
{quote} 


In the Dial event [documentation here|https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+REST+Data+Models#Asterisk16RESTDataModels-Dial] there is a `caller` field which is a Channel object but it doesn't exist on the Dial event as you can see on the log 

{noformat}
 {
        "type": "Dial",
        "timestamp": "2021-01-07T20:25:33.620+0000",
        "dialstatus": "ANSWER",
        "forward": "",
        "dialstring": "",
        "peer": {
            "id": "1610051129.10",
            "name": "SIP/6000-00000007",
            "state": "Up",
            "caller": {
                "name": "Name 6000",
                "number": ""
            },
            "connected": {
                "name": "Name 7000",
                "number": "7000"
            },
            "accountcode": "",
            "dialplan": {
                "context": "stasis-my-app",
                "exten": "",
                "priority": 1,
                "app_name": "Stasis",
                "app_data": "my-app"
            },
            "creationtime": "2021-01-07T20:25:29.776+0000",
            "language": "en"
        },
        "asterisk_id": "00:16:3e:89:0e:64",
        "application": "my-app"
 }
{noformat}

i'm expecting the `caller` field on the Dial event as it's described in the documentation
{quote}
caller: Channel (optional) - The calling channel.
{quote}

documentation that i'm using:

channel dial command:
https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+Channels+REST+API#Asterisk16ChannelsRESTAPI-dial

Dial event:
https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+REST+Data+Models#Asterisk16RESTDataModels-Dial

> ARI Dial event missing caller field
> -----------------------------------
>
>                 Key: ASTERISK-29236
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29236
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/Channels, Core/Stasis
>    Affects Versions: 16.15.0
>         Environment: Linux 4.19.0-13-amd64
> Debian buster/testing/sid
>            Reporter: Kon Tsaki
>            Assignee: Kon Tsaki
>            Severity: Minor
>         Attachments: ari.log
>
>
> The ARI Dial event is missing the documented optional field `caller` even though i set the channel id of the caller on the call to `/channels/id/dial` ARI endpoint. 
> Also it seems that the channel object in the `peer` field has the `caller` and `connected` fields reversed. 
> Below are the structured json logs of all the flow. I also include the requests/responses i do to ARI between events as a json as well.
> I used two softphones, 7000 is calling 6000.
> Events for ChannelVarset are ommited.
> {noformat}
> {
>     "event": {
>         "type": "StasisStart",
>         "timestamp": "2021-01-07T20:25:29.735+0000",
>         "args": [],
>         "channel": {
>             "id": "1610051129.9",
>             "name": "SIP/7000-00000006",
>             "state": "Ring",
>             "caller": {
>                 "name": "Name 7000",
>                 "number": "7000"
>             },
>             "connected": {
>                 "name": "",
>                 "number": ""
>             },
>             "accountcode": "",
>             "dialplan": {
>                 "context": "stasis-my-app",
>                 "exten": "6000",
>                 "priority": 1,
>                 "app_name": "Stasis",
>                 "app_data": "my-app"
>             },
>             "creationtime": "2021-01-07T20:25:29.734+0000",
>             "language": "en"
>         },
>         "asterisk_id": "00:16:3e:89:0e:64",
>         "application": "my-app"
>     }
> }
> {
>     "event": {
>         "request": {
>             "method": "GET",
>             "url": "/endpoints/sip/6000"
>         },
>         "response": {
>             "status": 200,
>             "technology": "SIP",
>             "resource": "6000",
>             "state": "online",
>             "channel_ids": [
>                 "1610049591.7"
>             ]
>         }
>     }
> }
> {
>     "event": {
>         "request": {
>             "method": "POST",
>             "url": "/channels/1610051129.9/ring"
>         },
>         "response": {
>             "status": 204
>         }
>     }
> }
> {
>     "event": {
>         "request": {
>             "method": "POST",
>             "url": "/channels/create",
>             "json": {
>                 "endpoint": "SIP/6000",
>                 "app": "my-app"
>             }
>         },
>         "response": {
>             "status": 200,
>             "id": "1610051129.10",
>             "name": "SIP/6000-00000007",
>             "state": "Down",
>             "caller": {
>                 "name": "Name 6000",
>                 "number": ""
>             },
>             "connected": {
>                 "name": "",
>                 "number": ""
>             },
>             "accountcode": "",
>             "dialplan": {
>                 "context": "stasis-my-app",
>                 "exten": "",
>                 "priority": 1,
>                 "app_name": "",
>                 "app_data": ""
>             },
>             "creationtime": "2021-01-07T20:25:29.776+0000",
>             "language": "en"
>         }
>     }
> }
> {
>     "event": {
>         "type": "ChannelDialplan",
>         "timestamp": "2021-01-07T20:25:29.776+0000",
>         "dialplan_app": "Stasis",
>         "dialplan_app_data": "my-app",
>         "channel": {
>             "id": "1610051129.10",
>             "name": "SIP/6000-00000007",
>             "state": "Down",
>             "caller": {
>                 "name": "Name 6000",
>                 "number": ""
>             },
>             "connected": {
>                 "name": "",
>                 "number": ""
>             },
>             "accountcode": "",
>             "dialplan": {
>                 "context": "stasis-my-app",
>                 "exten": "",
>                 "priority": 1,
>                 "app_name": "Stasis",
>                 "app_data": "my-app"
>             },
>             "creationtime": "2021-01-07T20:25:29.776+0000",
>             "language": "en"
>         },
>         "asterisk_id": "00:16:3e:89:0e:64",
>         "application": "my-app"
>     }
> }
> {
>     "event": {
>         "type": "StasisStart",
>         "timestamp": "2021-01-07T20:25:29.776+0000",
>         "args": [],
>         "channel": {
>             "id": "1610051129.10",
>             "name": "SIP/6000-00000007",
>             "state": "Down",
>             "caller": {
>                 "name": "Name 6000",
>                 "number": ""
>             },
>             "connected": {
>                 "name": "",
>                 "number": ""
>             },
>             "accountcode": "",
>             "dialplan": {
>                 "context": "stasis-my-app",
>                 "exten": "",
>                 "priority": 1,
>                 "app_name": "Stasis",
>                 "app_data": "my-app"
>             },
>             "creationtime": "2021-01-07T20:25:29.776+0000",
>             "language": "en"
>         },
>         "asterisk_id": "00:16:3e:89:0e:64",
>         "application": "my-app"
>     }
> }
> {
>     "event": {
>         "request": {
>             "method": "POST",
>             "url": "/bridges"
>         },
>         "response": {
>             "status": 200,
>             "id": "7c6eb0b1-bd69-4f33-8e6e-b8044c2e4095",
>             "technology": "simple_bridge",
>             "bridge_type": "mixing",
>             "bridge_class": "stasis",
>             "creator": "Stasis",
>             "name": "",
>             "channels": [],
>             "creationtime": "2021-01-07T20:25:29.780+0000",
>             "video_mode": "talker"
>         }
>     }
> }
> {
>     "event": {
>         "type": "ChannelEnteredBridge",
>         "timestamp": "2021-01-07T20:25:29.977+0000",
>         "bridge": {
>             "id": "7c6eb0b1-bd69-4f33-8e6e-b8044c2e4095",
>             "technology": "simple_bridge",
>             "bridge_type": "mixing",
>             "bridge_class": "stasis",
>             "creator": "Stasis",
>             "name": "",
>             "channels": [
>                 "1610051129.10"
>             ],
>             "creationtime": "2021-01-07T20:25:29.780+0000",
>             "video_mode": "talker"
>         },
>         "channel": {
>             "id": "1610051129.10",
>             "name": "SIP/6000-00000007",
>             "state": "Down",
>             "caller": {
>                 "name": "Name 6000",
>                 "number": ""
>             },
>             "connected": {
>                 "name": "",
>                 "number": ""
>             },
>             "accountcode": "",
>             "dialplan": {
>                 "context": "stasis-my-app",
>                 "exten": "",
>                 "priority": 1,
>                 "app_name": "Stasis",
>                 "app_data": "my-app"
>             },
>             "creationtime": "2021-01-07T20:25:29.776+0000",
>             "language": "en"
>         },
>         "asterisk_id": "00:16:3e:89:0e:64",
>         "application": "my-app"
>     }
> }
> {
>     "event": {
>         "type": "ChannelEnteredBridge",
>         "timestamp": "2021-01-07T20:25:30.137+0000",
>         "bridge": {
>             "id": "7c6eb0b1-bd69-4f33-8e6e-b8044c2e4095",
>             "technology": "simple_bridge",
>             "bridge_type": "mixing",
>             "bridge_class": "stasis",
>             "creator": "Stasis",
>             "name": "",
>             "channels": [
>                 "1610051129.10",
>                 "1610051129.9"
>             ],
>             "creationtime": "2021-01-07T20:25:29.780+0000",
>             "video_mode": "talker"
>         },
>         "channel": {
>             "id": "1610051129.9",
>             "name": "SIP/7000-00000006",
>             "state": "Ring",
>             "caller": {
>                 "name": "Name 7000",
>                 "number": "7000"
>             },
>             "connected": {
>                 "name": "",
>                 "number": ""
>             },
>             "accountcode": "",
>             "dialplan": {
>                 "context": "stasis-my-app",
>                 "exten": "6000",
>                 "priority": 1,
>                 "app_name": "Stasis",
>                 "app_data": "my-app"
>             },
>             "creationtime": "2021-01-07T20:25:29.734+0000",
>             "language": "en"
>         },
>         "asterisk_id": "00:16:3e:89:0e:64",
>         "application": "my-app"
>     }
> }
> {
>     "event": {
>         "request": {
>             "method": "POST",
>             "url": "/bridges/7c6eb0b1-bd69-4f33-8e6e-b8044c2e4095/addChannel",
>             "json": {
>                 "channel": [
>                     "1610051129.10",
>                     "1610051129.9"
>                 ],
>                 "role": null,
>                 "absorbDTMF": null,
>                 "mute": null
>             }
>         },
>         "response": {
>             "status": 204
>         }
>     }
> }
> {
>     "event": {
>         "type": "ChannelConnectedLine",
>         "timestamp": "2021-01-07T20:25:30.137+0000",
>         "channel": {
>             "id": "1610051129.10",
>             "name": "SIP/6000-00000007",
>             "state": "Down",
>             "caller": {
>                 "name": "Name 6000",
>                 "number": ""
>             },
>             "connected": {
>                 "name": "Name 7000",
>                 "number": "7000"
>             },
>             "accountcode": "",
>             "dialplan": {
>                 "context": "stasis-my-app",
>                 "exten": "",
>                 "priority": 1,
>                 "app_name": "Stasis",
>                 "app_data": "my-app"
>             },
>             "creationtime": "2021-01-07T20:25:29.776+0000",
>             "language": "en"
>         },
>         "asterisk_id": "00:16:3e:89:0e:64",
>         "application": "my-app"
>     }
> }
> {
>     "event": {
>         "type": "ChannelConnectedLine",
>         "timestamp": "2021-01-07T20:25:30.137+0000",
>         "channel": {
>             "id": "1610051129.9",
>             "name": "SIP/7000-00000006",
>             "state": "Ring",
>             "caller": {
>                 "name": "Name 7000",
>                 "number": "7000"
>             },
>             "connected": {
>                 "name": "Name 6000",
>                 "number": ""
>             },
>             "accountcode": "",
>             "dialplan": {
>                 "context": "stasis-my-app",
>                 "exten": "6000",
>                 "priority": 1,
>                 "app_name": "Stasis",
>                 "app_data": "my-app"
>             },
>             "creationtime": "2021-01-07T20:25:29.734+0000",
>             "language": "en"
>         },
>         "asterisk_id": "00:16:3e:89:0e:64",
>         "application": "my-app"
>     }
> }
> {
>     "event": {
>         "request": {
>             "method": "POST",
>             "url": "/channels/1610051129.10/dial",
>             "json": {
>                 "caller": "1610051129.9",
>                 "timeout": null
>             }
>         },
>         "response": {
>             "status": 204
>         }
>     }
> }
> {
>     "event": {
>         "type": "Dial",
>         "timestamp": "2021-01-07T20:25:30.145+0000",
>         "dialstatus": "",
>         "forward": "",
>         "dialstring": "6000",
>         "peer": {
>             "id": "1610051129.10",
>             "name": "SIP/6000-00000007",
>             "state": "Down",
>             "caller": {
>                 "name": "Name 6000",
>                 "number": ""
>             },
>             "connected": {
>                 "name": "Name 7000",
>                 "number": "7000"
>             },
>             "accountcode": "",
>             "dialplan": {
>                 "context": "stasis-my-app",
>                 "exten": "",
>                 "priority": 1,
>                 "app_name": "Stasis",
>                 "app_data": "my-app"
>             },
>             "creationtime": "2021-01-07T20:25:29.776+0000",
>             "language": "en"
>         },
>         "asterisk_id": "00:16:3e:89:0e:64",
>         "application": "my-app"
>     }
> }
> {
>     "event": {
>         "type": "ChannelStateChange",
>         "timestamp": "2021-01-07T20:25:30.238+0000",
>         "channel": {
>             "id": "1610051129.10",
>             "name": "SIP/6000-00000007",
>             "state": "Ringing",
>             "caller": {
>                 "name": "Name 6000",
>                 "number": ""
>             },
>             "connected": {
>                 "name": "Name 7000",
>                 "number": "7000"
>             },
>             "accountcode": "",
>             "dialplan": {
>                 "context": "stasis-my-app",
>                 "exten": "",
>                 "priority": 1,
>                 "app_name": "Stasis",
>                 "app_data": "my-app"
>             },
>             "creationtime": "2021-01-07T20:25:29.776+0000",
>             "language": "en"
>         },
>         "asterisk_id": "00:16:3e:89:0e:64",
>         "application": "my-app"
>     }
> }
> {
>     "event": {
>         "type": "Dial",
>         "timestamp": "2021-01-07T20:25:30.239+0000",
>         "dialstatus": "RINGING",
>         "forward": "",
>         "dialstring": "",
>         "peer": {
>             "id": "1610051129.10",
>             "name": "SIP/6000-00000007",
>             "state": "Ringing",
>             "caller": {
>                 "name": "Name 6000",
>                 "number": ""
>             },
>             "connected": {
>                 "name": "Name 7000",
>                 "number": "7000"
>             },
>             "accountcode": "",
>             "dialplan": {
>                 "context": "stasis-my-app",
>                 "exten": "",
>                 "priority": 1,
>                 "app_name": "Stasis",
>                 "app_data": "my-app"
>             },
>             "creationtime": "2021-01-07T20:25:29.776+0000",
>             "language": "en"
>         },
>         "asterisk_id": "00:16:3e:89:0e:64",
>         "application": "my-app"
>     }
> }
> {
>     "event": {
>         "type": "ChannelStateChange",
>         "timestamp": "2021-01-07T20:25:33.619+0000",
>         "channel": {
>             "id": "1610051129.10",
>             "name": "SIP/6000-00000007",
>             "state": "Up",
>             "caller": {
>                 "name": "Name 6000",
>                 "number": ""
>             },
>             "connected": {
>                 "name": "Name 7000",
>                 "number": "7000"
>             },
>             "accountcode": "",
>             "dialplan": {
>                 "context": "stasis-my-app",
>                 "exten": "",
>                 "priority": 1,
>                 "app_name": "Stasis",
>                 "app_data": "my-app"
>             },
>             "creationtime": "2021-01-07T20:25:29.776+0000",
>             "language": "en"
>         },
>         "asterisk_id": "00:16:3e:89:0e:64",
>         "application": "my-app"
>     }
> }
> {
>     "event": {
>         "type": "Dial",
>         "timestamp": "2021-01-07T20:25:33.620+0000",
>         "dialstatus": "ANSWER",
>         "forward": "",
>         "dialstring": "",
>         "peer": {
>             "id": "1610051129.10",
>             "name": "SIP/6000-00000007",
>             "state": "Up",
>             "caller": {
>                 "name": "Name 6000",
>                 "number": ""
>             },
>             "connected": {
>                 "name": "Name 7000",
>                 "number": "7000"
>             },
>             "accountcode": "",
>             "dialplan": {
>                 "context": "stasis-my-app",
>                 "exten": "",
>                 "priority": 1,
>                 "app_name": "Stasis",
>                 "app_data": "my-app"
>             },
>             "creationtime": "2021-01-07T20:25:29.776+0000",
>             "language": "en"
>         },
>         "asterisk_id": "00:16:3e:89:0e:64",
>         "application": "my-app"
>     }
> }
> {
>     "event": {
>         "type": "ChannelStateChange",
>         "timestamp": "2021-01-07T20:25:33.620+0000",
>         "channel": {
>             "id": "1610051129.9",
>             "name": "SIP/7000-00000006",
>             "state": "Up",
>             "caller": {
>                 "name": "Name 7000",
>                 "number": "7000"
>             },
>             "connected": {
>                 "name": "Name 6000",
>                 "number": ""
>             },
>             "accountcode": "",
>             "dialplan": {
>                 "context": "stasis-my-app",
>                 "exten": "6000",
>                 "priority": 1,
>                 "app_name": "Stasis",
>                 "app_data": "my-app"
>             },
>             "creationtime": "2021-01-07T20:25:29.734+0000",
>             "language": "en"
>         },
>         "asterisk_id": "00:16:3e:89:0e:64",
>         "application": "my-app"
>     }
> }
> {
>     "event": {
>         "cause": 16,
>         "type": "ChannelHangupRequest",
>         "timestamp": "2021-01-07T20:25:35.469+0000",
>         "channel": {
>             "id": "1610051129.9",
>             "name": "SIP/7000-00000006",
>             "state": "Up",
>             "caller": {
>                 "name": "Name 7000",
>                 "number": "7000"
>             },
>             "connected": {
>                 "name": "Name 6000",
>                 "number": ""
>             },
>             "accountcode": "",
>             "dialplan": {
>                 "context": "stasis-my-app",
>                 "exten": "6000",
>                 "priority": 1,
>                 "app_name": "Stasis",
>                 "app_data": "my-app"
>             },
>             "creationtime": "2021-01-07T20:25:29.734+0000",
>             "language": "en"
>         },
>         "asterisk_id": "00:16:3e:89:0e:64",
>         "application": "my-app"
>     }
> }
> {
>     "event": {
>         "type": "ChannelLeftBridge",
>         "timestamp": "2021-01-07T20:25:35.470+0000",
>         "bridge": {
>             "id": "7c6eb0b1-bd69-4f33-8e6e-b8044c2e4095",
>             "technology": "native_rtp",
>             "bridge_type": "mixing",
>             "bridge_class": "stasis",
>             "creator": "Stasis",
>             "name": "",
>             "channels": [
>                 "1610051129.10"
>             ],
>             "creationtime": "2021-01-07T20:25:29.780+0000",
>             "video_mode": "talker"
>         },
>         "channel": {
>             "id": "1610051129.9",
>             "name": "SIP/7000-00000006",
>             "state": "Up",
>             "caller": {
>                 "name": "Name 7000",
>                 "number": "7000"
>             },
>             "connected": {
>                 "name": "Name 6000",
>                 "number": ""
>             },
>             "accountcode": "",
>             "dialplan": {
>                 "context": "stasis-my-app",
>                 "exten": "6000",
>                 "priority": 1,
>                 "app_name": "Stasis",
>                 "app_data": "my-app"
>             },
>             "creationtime": "2021-01-07T20:25:29.734+0000",
>             "language": "en"
>         },
>         "asterisk_id": "00:16:3e:89:0e:64",
>         "application": "my-app"
>     }
> }
> {
>     "event": {
>         "type": "StasisEnd",
>         "timestamp": "2021-01-07T20:25:35.470+0000",
>         "channel": {
>             "id": "1610051129.9",
>             "name": "SIP/7000-00000006",
>             "state": "Up",
>             "caller": {
>                 "name": "Name 7000",
>                 "number": "7000"
>             },
>             "connected": {
>                 "name": "Name 6000",
>                 "number": ""
>             },
>             "accountcode": "",
>             "dialplan": {
>                 "context": "stasis-my-app",
>                 "exten": "6000",
>                 "priority": 1,
>                 "app_name": "Stasis",
>                 "app_data": "my-app"
>             },
>             "creationtime": "2021-01-07T20:25:29.734+0000",
>             "language": "en"
>         },
>         "asterisk_id": "00:16:3e:89:0e:64",
>         "application": "my-app"
>     }
> }
> {
>     "event": {
>         "cause": 16,
>         "type": "ChannelHangupRequest",
>         "timestamp": "2021-01-07T20:25:36.511+0000",
>         "channel": {
>             "id": "1610051129.10",
>             "name": "SIP/6000-00000007",
>             "state": "Up",
>             "caller": {
>                 "name": "Name 6000",
>                 "number": ""
>             },
>             "connected": {
>                 "name": "Name 7000",
>                 "number": "7000"
>             },
>             "accountcode": "",
>             "dialplan": {
>                 "context": "stasis-my-app",
>                 "exten": "",
>                 "priority": 1,
>                 "app_name": "Stasis",
>                 "app_data": "my-app"
>             },
>             "creationtime": "2021-01-07T20:25:29.776+0000",
>             "language": "en"
>         },
>         "asterisk_id": "00:16:3e:89:0e:64",
>         "application": "my-app"
>     }
> }
> {
>     "event": {
>         "type": "ChannelLeftBridge",
>         "timestamp": "2021-01-07T20:25:36.512+0000",
>         "bridge": {
>             "id": "7c6eb0b1-bd69-4f33-8e6e-b8044c2e4095",
>             "technology": "simple_bridge",
>             "bridge_type": "mixing",
>             "bridge_class": "stasis",
>             "creator": "Stasis",
>             "name": "",
>             "channels": [],
>             "creationtime": "2021-01-07T20:25:29.780+0000",
>             "video_mode": "talker"
>         },
>         "channel": {
>             "id": "1610051129.10",
>             "name": "SIP/6000-00000007",
>             "state": "Up",
>             "caller": {
>                 "name": "Name 6000",
>                 "number": ""
>             },
>             "connected": {
>                 "name": "Name 7000",
>                 "number": "7000"
>             },
>             "accountcode": "",
>             "dialplan": {
>                 "context": "stasis-my-app",
>                 "exten": "",
>                 "priority": 1,
>                 "app_name": "Stasis",
>                 "app_data": "my-app"
>             },
>             "creationtime": "2021-01-07T20:25:29.776+0000",
>             "language": "en"
>         },
>         "asterisk_id": "00:16:3e:89:0e:64",
>         "application": "my-app"
>     }
> }
> {
>     "event": {
>         "type": "StasisEnd",
>         "timestamp": "2021-01-07T20:25:36.512+0000",
>         "channel": {
>             "id": "1610051129.10",
>             "name": "SIP/6000-00000007",
>             "state": "Up",
>             "caller": {
>                 "name": "Name 6000",
>                 "number": ""
>             },
>             "connected": {
>                 "name": "Name 7000",
>                 "number": "7000"
>             },
>             "accountcode": "",
>             "dialplan": {
>                 "context": "stasis-my-app",
>                 "exten": "",
>                 "priority": 1,
>                 "app_name": "Stasis",
>                 "app_data": "my-app"
>             },
>             "creationtime": "2021-01-07T20:25:29.776+0000",
>             "language": "en"
>         },
>         "asterisk_id": "00:16:3e:89:0e:64",
>         "application": "my-app"
>     }
> }
> {
>     "event": {
>         "type": "ChannelDestroyed",
>         "timestamp": "2021-01-07T20:25:36.515+0000",
>         "cause": 16,
>         "cause_txt": "Normal Clearing",
>         "channel": {
>             "id": "1610051129.10",
>             "name": "SIP/6000-00000007",
>             "state": "Up",
>             "caller": {
>                 "name": "Name 6000",
>                 "number": ""
>             },
>             "connected": {
>                 "name": "Name 7000",
>                 "number": "7000"
>             },
>             "accountcode": "",
>             "dialplan": {
>                 "context": "stasis-my-app",
>                 "exten": "",
>                 "priority": 1,
>                 "app_name": "",
>                 "app_data": ""
>             },
>             "creationtime": "2021-01-07T20:25:29.776+0000",
>             "language": "en"
>         },
>         "asterisk_id": "00:16:3e:89:0e:64",
>         "application": "my-app"
>     }
> }
> {noformat}



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



More information about the asterisk-bugs mailing list