Wiki source code of Hangup Event
Last modified by michaely on 2021/09/10 23:34
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{layout}} | ||
2 | {{layout-section ac:type="two_right_sidebar"}} | ||
3 | {{layout-cell}} | ||
4 | {{warning}} | ||
5 | This page is currently being written. Although the information below is probably accurate, it may not be complete or may have errors. | ||
6 | {{/warning}} | ||
7 | |||
8 | {{info}} | ||
9 | The information on this page applies to **iSymphony 3.2+**. | ||
10 | {{/info}} | ||
11 | |||
12 | {{note}} | ||
13 | This event will only be fired for call segments related to extensions that are bound to licensed/full users, or was last bound (dialed or linked) to another call segment that is related to an extension that is bound to a licensed/full user. | ||
14 | {{/note}} | ||
15 | |||
16 | = (% style="color: rgb(0,0,0);" %)Description(%%) = | ||
17 | |||
18 | The hangup event signifies that a call has been hungup in the system. This event could be fired in response to someone explicitly hanging up the call, or the call being killed by the phone system. The event may or may not specify information about the extension and user related to the call. | ||
19 | {{/layout-cell}} | ||
20 | |||
21 | {{layout-cell}} | ||
22 | {{panel title="On this page:"}} | ||
23 | |||
24 | |||
25 | {{toc maxLevel="2" indent="1"/}} | ||
26 | {{/panel}} | ||
27 | {{/layout-cell}} | ||
28 | {{/layout-section}} | ||
29 | |||
30 | {{layout-section ac:type="single"}} | ||
31 | {{layout-cell}} | ||
32 | |||
33 | |||
34 | = JSON Representation = | ||
35 | |||
36 | {{code language="js"}} | ||
37 | { | ||
38 | "type": "hangup", | ||
39 | "time": 1436899978590, | ||
40 | "coreServerId": "e5c01703-3c6d-429a-8712-66c826064e65", | ||
41 | "callSegmentId": "4fff719a-5186-4691-a64b-b9d22472cb76", | ||
42 | "callerIdName": "Michael Y", | ||
43 | "callerIdNumber": "42243", | ||
44 | "did": "4224", | ||
45 | "extensionId": "dc5975a9-e438-4634-85f2-6a75c34574c9", | ||
46 | "extensionNumber": "42243", | ||
47 | "userId": "580169b8-4341-42d9-9f44-973659fc770d", | ||
48 | "username": "42243" | ||
49 | } | ||
50 | {{/code}} | ||
51 | |||
52 | |=((( | ||
53 | Property | ||
54 | )))|=((( | ||
55 | Type | ||
56 | )))|=((( | ||
57 | Description | ||
58 | ))) | ||
59 | |(% colspan="1" %)(% colspan="1" %) | ||
60 | ((( | ||
61 | callSegmentId | ||
62 | )))|(% colspan="1" %)(% colspan="1" %) | ||
63 | ((( | ||
64 | String | ||
65 | )))|(% colspan="1" %)(% colspan="1" %) | ||
66 | ((( | ||
67 | The id of the call segment that was hungup. | ||
68 | ))) | ||
69 | |(% colspan="1" %)(% colspan="1" %) | ||
70 | ((( | ||
71 | callerIdName | ||
72 | )))|(% colspan="1" %)(% colspan="1" %) | ||
73 | ((( | ||
74 | String | ||
75 | )))|(% colspan="1" %)(% colspan="1" %) | ||
76 | ((( | ||
77 | The caller id name of the call that was hungup. | ||
78 | ))) | ||
79 | |(% colspan="1" %)(% colspan="1" %) | ||
80 | ((( | ||
81 | callerIdNumber | ||
82 | )))|(% colspan="1" %)(% colspan="1" %) | ||
83 | ((( | ||
84 | String | ||
85 | )))|(% colspan="1" %)(% colspan="1" %) | ||
86 | ((( | ||
87 | The caller id number of the call that was hungup. | ||
88 | ))) | ||
89 | |(% colspan="1" %)(% colspan="1" %) | ||
90 | ((( | ||
91 | did | ||
92 | )))|(% colspan="1" %)(% colspan="1" %) | ||
93 | ((( | ||
94 | String | ||
95 | )))|(% colspan="1" %)(% colspan="1" %) | ||
96 | ((( | ||
97 | The number the call used to enter the phone system, or null if the call segment was created in response to a dial, or no DID could be found. | ||
98 | ))) | ||
99 | |(% colspan="1" %)(% colspan="1" %) | ||
100 | ((( | ||
101 | extensionId | ||
102 | )))|(% colspan="1" %)(% colspan="1" %) | ||
103 | ((( | ||
104 | String | ||
105 | )))|(% colspan="1" %)(% colspan="1" %) | ||
106 | ((( | ||
107 | The id of the extension the call was related to, or null if the call was not related to an extension. | ||
108 | ))) | ||
109 | |(% colspan="1" %)(% colspan="1" %) | ||
110 | ((( | ||
111 | extensionNumber | ||
112 | )))|(% colspan="1" %)(% colspan="1" %) | ||
113 | ((( | ||
114 | String | ||
115 | )))|(% colspan="1" %)(% colspan="1" %) | ||
116 | ((( | ||
117 | The extension number of the extension the call was related to, or null if the call was not related to an extension. | ||
118 | ))) | ||
119 | |(% colspan="1" %)(% colspan="1" %) | ||
120 | ((( | ||
121 | userId | ||
122 | )))|(% colspan="1" %)(% colspan="1" %) | ||
123 | ((( | ||
124 | String | ||
125 | )))|(% colspan="1" %)(% colspan="1" %) | ||
126 | ((( | ||
127 | The id of the user the call was related to, or null if the call was not related to a user. | ||
128 | ))) | ||
129 | |(% colspan="1" %)(% colspan="1" %) | ||
130 | ((( | ||
131 | username | ||
132 | )))|(% colspan="1" %)(% colspan="1" %) | ||
133 | ((( | ||
134 | String | ||
135 | )))|(% colspan="1" %)(% colspan="1" %) | ||
136 | ((( | ||
137 | The username of the user the call was related to, or null if the call was not related to a user. | ||
138 | ))) | ||
139 | {{/layout-cell}} | ||
140 | {{/layout-section}} | ||
141 | {{/layout}} |