Debian Codegraph @

ami/amimodels/events.go

raw symbols SCIP
1 // Code generated by xmlgen. DO NOT EDIT.
2
3 package amimodels
4
5 // MCIDEvent Published when a malicious call ID request arrives.
6 type MCIDEvent struct {
7 MCallerIDNumValid string
8 MCallerIDNum string
9 MCallerIDton string
10 MCallerIDNumPlan string
11 MCallerIDNumPres string
12 MCallerIDNameValid string
13 MCallerIDName string
14 MCallerIDNameCharSet string
15 MCallerIDNamePres string
16 MCallerIDSubaddr string
17 MCallerIDSubaddrType string
18 MCallerIDSubaddrOdd string
19 MCallerIDPres string
20 MConnectedIDNumValid string
21 MConnectedIDNum string
22 MConnectedIDton string
23 MConnectedIDNumPlan string
24 MConnectedIDNumPres string
25 MConnectedIDNameValid string
26 MConnectedIDName string
27 MConnectedIDNameCharSet string
28 MConnectedIDNamePres string
29 MConnectedIDSubaddr string
30 MConnectedIDSubaddrType string
31 MConnectedIDSubaddrOdd string
32 MConnectedIDPres string
33 }
34
35 func (MCIDEvent) EventTypeName() string {
36 return "MCID"
37 }
38
39 // AlarmClearEvent Raised when an alarm is cleared on a DAHDI channel.
40 type AlarmClearEvent struct {
41 // DAHDIChannel The DAHDI channel on which the alarm was cleared.
42 DAHDIChannel string
43 }
44
45 func (AlarmClearEvent) EventTypeName() string {
46 return "AlarmClear"
47 }
48
49 // SpanAlarmClearEvent Raised when an alarm is cleared on a DAHDI span.
50 type SpanAlarmClearEvent struct {
51 // Span The span on which the alarm was cleared.
52 Span string
53 }
54
55 func (SpanAlarmClearEvent) EventTypeName() string {
56 return "SpanAlarmClear"
57 }
58
59 // DNDStateEvent Raised when the Do Not Disturb state is changed on a DAHDI channel.
60 type DNDStateEvent struct {
61 // DAHDIChannel The DAHDI channel on which DND status changed.
62 DAHDIChannel string
63 Status string
64 }
65
66 func (DNDStateEvent) EventTypeName() string {
67 return "DNDState"
68 }
69
70 // AlarmEvent Raised when an alarm is set on a DAHDI channel.
71 type AlarmEvent struct {
72 // DAHDIChannel The channel on which the alarm occurred.
73 DAHDIChannel string
74 // Alarm A textual description of the alarm that occurred.
75 Alarm string
76 }
77
78 func (AlarmEvent) EventTypeName() string {
79 return "Alarm"
80 }
81
82 // SpanAlarmEvent Raised when an alarm is set on a DAHDI span.
83 type SpanAlarmEvent struct {
84 // Span The span on which the alarm occurred.
85 Span string
86 // Alarm A textual description of the alarm that occurred.
87 Alarm string
88 }
89
90 func (SpanAlarmEvent) EventTypeName() string {
91 return "SpanAlarm"
92 }
93
94 // DAHDIChannelEvent Raised when a DAHDI channel is created or an underlying technology is associated with a DAHDI channel.
95 type DAHDIChannelEvent struct {
96 // DAHDIGroup The DAHDI logical group associated with this channel.
97 DAHDIGroup string
98 // DAHDISpan The DAHDI span associated with this channel.
99 DAHDISpan string
100 // DAHDIChannel The DAHDI channel associated with this channel.
101 DAHDIChannel string
102 }
103
104 func (DAHDIChannelEvent) EventTypeName() string {
105 return "DAHDIChannel"
106 }
107
108 // SIPQualifyPeerDoneEvent Raised when SIPQualifyPeer has finished qualifying the specified peer.
109 type SIPQualifyPeerDoneEvent struct {
110 // Peer The name of the peer.
111 Peer string
112 // ActionID This is only included if an ActionID Header was sent with the action request, in which case it will be that ActionID.
113 ActionID string
114 }
115
116 func (SIPQualifyPeerDoneEvent) EventTypeName() string {
117 return "SIPQualifyPeerDone"
118 }
119
120 // SessionTimeoutEvent Raised when a SIP session times out.
121 type SessionTimeoutEvent struct {
122 // Source The source of the session timeout.
123 Source string
124 }
125
126 func (SessionTimeoutEvent) EventTypeName() string {
127 return "SessionTimeout"
128 }
129
130 // AgentsEvent Response event in a series to the Agents AMI action containing
131 // information about a defined agent.
132 type AgentsEvent struct {
133 // Agent Agent ID of the agent.
134 Agent string
135 // Name User friendly name of the agent.
136 Name string
137 // Status The valid values are:
138 Status string
139 // TalkingToChan Present if Status value is `AGENT_ONCALL`.
140 TalkingToChan string
141 // CallStarted Present if Status value is `AGENT_ONCALL`.
142 CallStarted string
143 // LoggedInTime Present if Status value is `AGENT_IDLE` or `AGENT_ONCALL`.
144 LoggedInTime string
145 // ActionID ActionID for this transaction. Will be returned.
146 ActionID string
147 }
148
149 func (AgentsEvent) EventTypeName() string {
150 return "Agents"
151 }
152
153 // AgentsCompleteEvent Final response event in a series of events to the Agents AMI action.
154 type AgentsCompleteEvent struct {
155 // ActionID ActionID for this transaction. Will be returned.
156 ActionID string
157 }
158
159 func (AgentsCompleteEvent) EventTypeName() string {
160 return "AgentsComplete"
161 }
162
163 // ConfbridgeListEvent Raised as part of the ConfbridgeList action response list.
164 type ConfbridgeListEvent struct {
165 // Conference The name of the Confbridge conference.
166 Conference string
167 // Admin Identifies this user as an admin user.
168 Admin string
169 // MarkedUser Identifies this user as a marked user.
170 MarkedUser string
171 // WaitMarked Must this user wait for a marked user to join?
172 WaitMarked string
173 // EndMarked Does this user get kicked after the last marked user leaves?
174 EndMarked string
175 // Waiting Is this user waiting for a marked user to join?
176 Waiting string
177 // Muted The current mute status.
178 Muted string
179 // Talking Is this user talking?
180 Talking string
181 // AnsweredTime The number of seconds the channel has been up.
182 AnsweredTime string
183 }
184
185 func (ConfbridgeListEvent) EventTypeName() string {
186 return "ConfbridgeList"
187 }
188
189 // MeetmeJoinEvent Raised when a user joins a MeetMe conference.
190 type MeetmeJoinEvent struct {
191 // Meetme The identifier for the MeetMe conference.
192 Meetme string
193 // User The identifier of the MeetMe user who joined.
194 User string
195 }
196
197 func (MeetmeJoinEvent) EventTypeName() string {
198 return "MeetmeJoin"
199 }
200
201 // MeetmeLeaveEvent Raised when a user leaves a MeetMe conference.
202 type MeetmeLeaveEvent struct {
203 // Meetme The identifier for the MeetMe conference.
204 Meetme string
205 // User The identifier of the MeetMe user who joined.
206 User string
207 // Duration The length of time in seconds that the Meetme user was in the conference.
208 Duration string
209 }
210
211 func (MeetmeLeaveEvent) EventTypeName() string {
212 return "MeetmeLeave"
213 }
214
215 // MeetmeEndEvent Raised when a MeetMe conference ends.
216 type MeetmeEndEvent struct {
217 // Meetme The identifier for the MeetMe conference.
218 Meetme string
219 }
220
221 func (MeetmeEndEvent) EventTypeName() string {
222 return "MeetmeEnd"
223 }
224
225 // MeetmeTalkRequestEvent Raised when a MeetMe user has started talking.
226 type MeetmeTalkRequestEvent struct {
227 // Meetme The identifier for the MeetMe conference.
228 Meetme string
229 // User The identifier of the MeetMe user who joined.
230 User string
231 // Duration The length of time in seconds that the Meetme user has been in the conference at the time of this event.
232 Duration string
233 Status string
234 }
235
236 func (MeetmeTalkRequestEvent) EventTypeName() string {
237 return "MeetmeTalkRequest"
238 }
239
240 // MeetmeTalkingEvent Raised when a MeetMe user begins or ends talking.
241 type MeetmeTalkingEvent struct {
242 // Meetme The identifier for the MeetMe conference.
243 Meetme string
244 // User The identifier of the MeetMe user who joined.
245 User string
246 // Duration The length of time in seconds that the Meetme user has been in the conference at the time of this event.
247 Duration string
248 Status string
249 }
250
251 func (MeetmeTalkingEvent) EventTypeName() string {
252 return "MeetmeTalking"
253 }
254
255 // MeetmeMuteEvent Raised when a MeetMe user is muted or unmuted.
256 type MeetmeMuteEvent struct {
257 // Meetme The identifier for the MeetMe conference.
258 Meetme string
259 // User The identifier of the MeetMe user who joined.
260 User string
261 // Duration The length of time in seconds that the Meetme user has been in the conference at the time of this event.
262 Duration string
263 Status string
264 }
265
266 func (MeetmeMuteEvent) EventTypeName() string {
267 return "MeetmeMute"
268 }
269
270 // ConfbridgeStartEvent Raised when a conference starts.
271 type ConfbridgeStartEvent struct {
272 // Conference The name of the Confbridge conference.
273 Conference string
274 }
275
276 func (ConfbridgeStartEvent) EventTypeName() string {
277 return "ConfbridgeStart"
278 }
279
280 // ConfbridgeEndEvent Raised when a conference ends.
281 type ConfbridgeEndEvent struct {
282 // Conference The name of the Confbridge conference.
283 Conference string
284 }
285
286 func (ConfbridgeEndEvent) EventTypeName() string {
287 return "ConfbridgeEnd"
288 }
289
290 // ConfbridgeJoinEvent Raised when a channel joins a Confbridge conference.
291 type ConfbridgeJoinEvent struct {
292 // Conference The name of the Confbridge conference.
293 Conference string
294 // Admin Identifies this user as an admin user.
295 Admin string
296 // Muted The joining mute status.
297 Muted string
298 }
299
300 func (ConfbridgeJoinEvent) EventTypeName() string {
301 return "ConfbridgeJoin"
302 }
303
304 // ConfbridgeLeaveEvent Raised when a channel leaves a Confbridge conference.
305 type ConfbridgeLeaveEvent struct {
306 // Conference The name of the Confbridge conference.
307 Conference string
308 // Admin Identifies this user as an admin user.
309 Admin string
310 }
311
312 func (ConfbridgeLeaveEvent) EventTypeName() string {
313 return "ConfbridgeLeave"
314 }
315
316 // ConfbridgeRecordEvent Raised when a conference starts recording.
317 type ConfbridgeRecordEvent struct {
318 // Conference The name of the Confbridge conference.
319 Conference string
320 }
321
322 func (ConfbridgeRecordEvent) EventTypeName() string {
323 return "ConfbridgeRecord"
324 }
325
326 // ConfbridgeStopRecordEvent Raised when a conference that was recording stops recording.
327 type ConfbridgeStopRecordEvent struct {
328 // Conference The name of the Confbridge conference.
329 Conference string
330 }
331
332 func (ConfbridgeStopRecordEvent) EventTypeName() string {
333 return "ConfbridgeStopRecord"
334 }
335
336 // ConfbridgeMuteEvent Raised when a Confbridge participant mutes.
337 type ConfbridgeMuteEvent struct {
338 // Conference The name of the Confbridge conference.
339 Conference string
340 // Admin Identifies this user as an admin user.
341 Admin string
342 }
343
344 func (ConfbridgeMuteEvent) EventTypeName() string {
345 return "ConfbridgeMute"
346 }
347
348 // ConfbridgeUnmuteEvent Raised when a confbridge participant unmutes.
349 type ConfbridgeUnmuteEvent struct {
350 // Conference The name of the Confbridge conference.
351 Conference string
352 // Admin Identifies this user as an admin user.
353 Admin string
354 }
355
356 func (ConfbridgeUnmuteEvent) EventTypeName() string {
357 return "ConfbridgeUnmute"
358 }
359
360 // ConfbridgeTalkingEvent Raised when a confbridge participant begins or ends talking.
361 type ConfbridgeTalkingEvent struct {
362 // Conference The name of the Confbridge conference.
363 Conference string
364 TalkingStatus string
365 // Admin Identifies this user as an admin user.
366 Admin string
367 }
368
369 func (ConfbridgeTalkingEvent) EventTypeName() string {
370 return "ConfbridgeTalking"
371 }
372
373 // VarSetEvent Raised when a variable local to the gosub stack frame is set due to a subroutine call.
374 type VarSetEvent struct {
375 // Variable The LOCAL variable being set.
376 Variable string
377 // Value The new value of the variable.
378 Value string
379 }
380
381 func (VarSetEvent) EventTypeName() string {
382 return "VarSet"
383 }
384
385 // QueueMemberStatusEvent Raised when a Queue member's status has changed.
386 type QueueMemberStatusEvent struct {
387 // Queue The name of the queue.
388 Queue string
389 // MemberName The name of the queue member.
390 MemberName string
391 // Interface The queue member's channel technology or location.
392 Interface string
393 // StateInterface Channel technology or location from which to read device state changes.
394 StateInterface string
395 Membership string
396 // Penalty The penalty associated with the queue member.
397 Penalty string
398 // CallsTaken The number of calls this queue member has serviced.
399 CallsTaken string
400 // LastCall The time this member last took a call, expressed in seconds since 00:00, Jan 1, 1970 UTC.
401 LastCall string
402 // LastPause The time when started last paused the queue member.
403 LastPause string
404 // InCall Set to 1 if member is in call. Set to 0 after LastCall time is updated.
405 InCall string
406 // Status The numeric device state status of the queue member.
407 Status string
408 Paused string
409 // PausedReason If set when paused, the reason the queue member was paused.
410 PausedReason string
411 Ringinuse string
412 // Wrapuptime The Wrapup Time of the queue member. If this value is set will override the wrapup time of queue.
413 Wrapuptime string
414 }
415
416 func (QueueMemberStatusEvent) EventTypeName() string {
417 return "QueueMemberStatus"
418 }
419
420 // QueueMemberAddedEvent Raised when a member is added to the queue.
421 type QueueMemberAddedEvent struct {
422 // Queue The name of the queue.
423 Queue string
424 // MemberName The name of the queue member.
425 MemberName string
426 // Interface The queue member's channel technology or location.
427 Interface string
428 // StateInterface Channel technology or location from which to read device state changes.
429 StateInterface string
430 Membership string
431 // Penalty The penalty associated with the queue member.
432 Penalty string
433 // CallsTaken The number of calls this queue member has serviced.
434 CallsTaken string
435 // LastCall The time this member last took a call, expressed in seconds since 00:00, Jan 1, 1970 UTC.
436 LastCall string
437 // LastPause The time when started last paused the queue member.
438 LastPause string
439 // InCall Set to 1 if member is in call. Set to 0 after LastCall time is updated.
440 InCall string
441 // Status The numeric device state status of the queue member.
442 Status string
443 Paused string
444 // PausedReason If set when paused, the reason the queue member was paused.
445 PausedReason string
446 Ringinuse string
447 // Wrapuptime The Wrapup Time of the queue member. If this value is set will override the wrapup time of queue.
448 Wrapuptime string
449 }
450
451 func (QueueMemberAddedEvent) EventTypeName() string {
452 return "QueueMemberAdded"
453 }
454
455 // QueueMemberRemovedEvent Raised when a member is removed from the queue.
456 type QueueMemberRemovedEvent struct {
457 // Queue The name of the queue.
458 Queue string
459 // MemberName The name of the queue member.
460 MemberName string
461 // Interface The queue member's channel technology or location.
462 Interface string
463 // StateInterface Channel technology or location from which to read device state changes.
464 StateInterface string
465 Membership string
466 // Penalty The penalty associated with the queue member.
467 Penalty string
468 // CallsTaken The number of calls this queue member has serviced.
469 CallsTaken string
470 // LastCall The time this member last took a call, expressed in seconds since 00:00, Jan 1, 1970 UTC.
471 LastCall string
472 // LastPause The time when started last paused the queue member.
473 LastPause string
474 // InCall Set to 1 if member is in call. Set to 0 after LastCall time is updated.
475 InCall string
476 // Status The numeric device state status of the queue member.
477 Status string
478 Paused string
479 // PausedReason If set when paused, the reason the queue member was paused.
480 PausedReason string
481 Ringinuse string
482 // Wrapuptime The Wrapup Time of the queue member. If this value is set will override the wrapup time of queue.
483 Wrapuptime string
484 }
485
486 func (QueueMemberRemovedEvent) EventTypeName() string {
487 return "QueueMemberRemoved"
488 }
489
490 // QueueMemberPauseEvent Raised when a member is paused/unpaused in the queue.
491 type QueueMemberPauseEvent struct {
492 // Queue The name of the queue.
493 Queue string
494 // MemberName The name of the queue member.
495 MemberName string
496 // Interface The queue member's channel technology or location.
497 Interface string
498 // StateInterface Channel technology or location from which to read device state changes.
499 StateInterface string
500 Membership string
501 // Penalty The penalty associated with the queue member.
502 Penalty string
503 // CallsTaken The number of calls this queue member has serviced.
504 CallsTaken string
505 // LastCall The time this member last took a call, expressed in seconds since 00:00, Jan 1, 1970 UTC.
506 LastCall string
507 // LastPause The time when started last paused the queue member.
508 LastPause string
509 // InCall Set to 1 if member is in call. Set to 0 after LastCall time is updated.
510 InCall string
511 // Status The numeric device state status of the queue member.
512 Status string
513 Paused string
514 // PausedReason If set when paused, the reason the queue member was paused.
515 PausedReason string
516 Ringinuse string
517 // Wrapuptime The Wrapup Time of the queue member. If this value is set will override the wrapup time of queue.
518 Wrapuptime string
519 }
520
521 func (QueueMemberPauseEvent) EventTypeName() string {
522 return "QueueMemberPause"
523 }
524
525 // QueueMemberPenaltyEvent Raised when a member's penalty is changed.
526 type QueueMemberPenaltyEvent struct {
527 // Queue The name of the queue.
528 Queue string
529 // MemberName The name of the queue member.
530 MemberName string
531 // Interface The queue member's channel technology or location.
532 Interface string
533 // StateInterface Channel technology or location from which to read device state changes.
534 StateInterface string
535 Membership string
536 // Penalty The penalty associated with the queue member.
537 Penalty string
538 // CallsTaken The number of calls this queue member has serviced.
539 CallsTaken string
540 // LastCall The time this member last took a call, expressed in seconds since 00:00, Jan 1, 1970 UTC.
541 LastCall string
542 // LastPause The time when started last paused the queue member.
543 LastPause string
544 // InCall Set to 1 if member is in call. Set to 0 after LastCall time is updated.
545 InCall string
546 // Status The numeric device state status of the queue member.
547 Status string
548 Paused string
549 // PausedReason If set when paused, the reason the queue member was paused.
550 PausedReason string
551 Ringinuse string
552 // Wrapuptime The Wrapup Time of the queue member. If this value is set will override the wrapup time of queue.
553 Wrapuptime string
554 }
555
556 func (QueueMemberPenaltyEvent) EventTypeName() string {
557 return "QueueMemberPenalty"
558 }
559
560 // QueueMemberRinginuseEvent Raised when a member's ringinuse setting is changed.
561 type QueueMemberRinginuseEvent struct {
562 // Queue The name of the queue.
563 Queue string
564 // MemberName The name of the queue member.
565 MemberName string
566 // Interface The queue member's channel technology or location.
567 Interface string
568 // StateInterface Channel technology or location from which to read device state changes.
569 StateInterface string
570 Membership string
571 // Penalty The penalty associated with the queue member.
572 Penalty string
573 // CallsTaken The number of calls this queue member has serviced.
574 CallsTaken string
575 // LastCall The time this member last took a call, expressed in seconds since 00:00, Jan 1, 1970 UTC.
576 LastCall string
577 // LastPause The time when started last paused the queue member.
578 LastPause string
579 // InCall Set to 1 if member is in call. Set to 0 after LastCall time is updated.
580 InCall string
581 // Status The numeric device state status of the queue member.
582 Status string
583 Paused string
584 // PausedReason If set when paused, the reason the queue member was paused.
585 PausedReason string
586 Ringinuse string
587 // Wrapuptime The Wrapup Time of the queue member. If this value is set will override the wrapup time of queue.
588 Wrapuptime string
589 }
590
591 func (QueueMemberRinginuseEvent) EventTypeName() string {
592 return "QueueMemberRinginuse"
593 }
594
595 // QueueCallerJoinEvent Raised when a caller joins a Queue.
596 type QueueCallerJoinEvent struct {
597 // Queue The name of the queue.
598 Queue string
599 // Position This channel's current position in the queue.
600 Position string
601 // Count The total number of channels in the queue.
602 Count string
603 }
604
605 func (QueueCallerJoinEvent) EventTypeName() string {
606 return "QueueCallerJoin"
607 }
608
609 // QueueCallerLeaveEvent Raised when a caller leaves a Queue.
610 type QueueCallerLeaveEvent struct {
611 // Queue The name of the queue.
612 Queue string
613 // Count The total number of channels in the queue.
614 Count string
615 // Position This channel's current position in the queue.
616 Position string
617 }
618
619 func (QueueCallerLeaveEvent) EventTypeName() string {
620 return "QueueCallerLeave"
621 }
622
623 // QueueCallerAbandonEvent Raised when a caller abandons the queue.
624 type QueueCallerAbandonEvent struct {
625 // Queue The name of the queue.
626 Queue string
627 // Position This channel's current position in the queue.
628 Position string
629 // OriginalPosition The channel's original position in the queue.
630 OriginalPosition string
631 // HoldTime The time the channel was in the queue, expressed in seconds since 00:00, Jan 1, 1970 UTC.
632 HoldTime string
633 }
634
635 func (QueueCallerAbandonEvent) EventTypeName() string {
636 return "QueueCallerAbandon"
637 }
638
639 // AgentCalledEvent Raised when an queue member is notified of a caller in the queue.
640 type AgentCalledEvent struct {
641 // Queue The name of the queue.
642 Queue string
643 // MemberName The name of the queue member.
644 MemberName string
645 // Interface The queue member's channel technology or location.
646 Interface string
647 }
648
649 func (AgentCalledEvent) EventTypeName() string {
650 return "AgentCalled"
651 }
652
653 // AgentRingNoAnswerEvent Raised when a queue member is notified of a caller in the queue and fails to answer.
654 type AgentRingNoAnswerEvent struct {
655 // Queue The name of the queue.
656 Queue string
657 // MemberName The name of the queue member.
658 MemberName string
659 // Interface The queue member's channel technology or location.
660 Interface string
661 // RingTime The time the queue member was rung, expressed in seconds since 00:00, Jan 1, 1970 UTC.
662 RingTime string
663 }
664
665 func (AgentRingNoAnswerEvent) EventTypeName() string {
666 return "AgentRingNoAnswer"
667 }
668
669 // AgentCompleteEvent Raised when a queue member has finished servicing a caller in the queue.
670 type AgentCompleteEvent struct {
671 // Queue The name of the queue.
672 Queue string
673 // MemberName The name of the queue member.
674 MemberName string
675 // Interface The queue member's channel technology or location.
676 Interface string
677 // HoldTime The time the channel was in the queue, expressed in seconds since 00:00, Jan 1, 1970 UTC.
678 HoldTime string
679 // TalkTime The time the queue member talked with the caller in the queue, expressed in seconds since 00:00, Jan 1, 1970 UTC.
680 TalkTime string
681 Reason string
682 }
683
684 func (AgentCompleteEvent) EventTypeName() string {
685 return "AgentComplete"
686 }
687
688 // AgentDumpEvent Raised when a queue member hangs up on a caller in the queue.
689 type AgentDumpEvent struct {
690 // Queue The name of the queue.
691 Queue string
692 // MemberName The name of the queue member.
693 MemberName string
694 // Interface The queue member's channel technology or location.
695 Interface string
696 }
697
698 func (AgentDumpEvent) EventTypeName() string {
699 return "AgentDump"
700 }
701
702 // AgentConnectEvent Raised when a queue member answers and is bridged to a caller in the queue.
703 type AgentConnectEvent struct {
704 // Queue The name of the queue.
705 Queue string
706 // MemberName The name of the queue member.
707 MemberName string
708 // Interface The queue member's channel technology or location.
709 Interface string
710 // RingTime The time the queue member was rung, expressed in seconds since 00:00, Jan 1, 1970 UTC.
711 RingTime string
712 // HoldTime The time the channel was in the queue, expressed in seconds since 00:00, Jan 1, 1970 UTC.
713 HoldTime string
714 }
715
716 func (AgentConnectEvent) EventTypeName() string {
717 return "AgentConnect"
718 }
719
720 // MiniVoiceMailEvent Raised when a notification is sent out by a MiniVoiceMail application
721 type MiniVoiceMailEvent struct {
722 // Action What action was taken. Currently, this will always be `SentNotification`
723 Action string
724 // Mailbox The mailbox that the notification was about, specified as `mailbox`@ `context`
725 Mailbox string
726 // Counter A message counter derived from the `MVM_COUNTER` channel variable.
727 Counter string
728 }
729
730 func (MiniVoiceMailEvent) EventTypeName() string {
731 return "MiniVoiceMail"
732 }
733
734 // CdrEvent Raised when a CDR is generated.
735 type CdrEvent struct {
736 // AccountCode The account code of the Party A channel.
737 AccountCode string
738 // Source The Caller ID number associated with the Party A in the CDR.
739 Source string
740 // Destination The dialplan extension the Party A was executing.
741 Destination string
742 // DestinationContext The dialplan context the Party A was executing.
743 DestinationContext string
744 // CallerID The Caller ID name associated with the Party A in the CDR.
745 CallerID string
746 // Channel The channel name of the Party A.
747 Channel string
748 // DestinationChannel The channel name of the Party B.
749 DestinationChannel string
750 // LastApplication The last dialplan application the Party A executed.
751 LastApplication string
752 // LastData The parameters passed to the last dialplan application the Party A executed.
753 LastData string
754 // StartTime The time the CDR was created.
755 StartTime string
756 // AnswerTime The earliest of either the time when Party A answered, or the start time of this CDR.
757 AnswerTime string
758 // EndTime The time when the CDR was finished. This occurs when the Party A hangs up or when the bridge between Party A and Party B is broken.
759 EndTime string
760 // Duration The time, in seconds, of EndTime - StartTime .
761 Duration string
762 // BillableSeconds The time, in seconds, of AnswerTime - StartTime .
763 BillableSeconds string
764 // Disposition The final known disposition of the CDR.
765 Disposition string
766 // AMAFlags A flag that informs a billing system how to treat the CDR.
767 AMAFlags string
768 // UniqueID A unique identifier for the Party A channel.
769 UniqueID string
770 // UserField A user defined field set on the channels. If set on both the Party A and Party B channel, the userfields of both are concatenated and separated by a `;`.
771 UserField string
772 }
773
774 func (CdrEvent) EventTypeName() string {
775 return "Cdr"
776 }
777
778 // CELEvent Raised when a Channel Event Log is generated for a channel.
779 type CELEvent struct {
780 // EventName The name of the CEL event being raised. This can include both the system defined CEL events, as well as user defined events.
781 EventName string
782 // AccountCode The channel's account code.
783 AccountCode string
784 // CallerIDnum The Caller ID number.
785 CallerIDnum string
786 // CallerIDName The Caller ID name.
787 CallerIDName string
788 // CallerIDani The Caller ID Automatic Number Identification.
789 CallerIDani string
790 // CallerIDrdnis The Caller ID Redirected Dialed Number Identification Service.
791 CallerIDrdnis string
792 // CallerIDdnid The Caller ID Dialed Number Identifier.
793 CallerIDdnid string
794 // Exten The dialplan extension the channel is currently executing in.
795 Exten string
796 // Context The dialplan context the channel is currently executing in.
797 Context string
798 // Application The dialplan application the channel is currently executing.
799 Application string
800 // AppData The arguments passed to the dialplan Application .
801 AppData string
802 // EventTime The time the CEL event occurred.
803 EventTime string
804 // AMAFlags A flag that informs a billing system how to treat the CEL.
805 AMAFlags string
806 // UniqueID The unique ID of the channel.
807 UniqueID string
808 // LinkedID The linked ID of the channel, which ties this event to other related channel's events.
809 LinkedID string
810 // UserField A user defined field set on a channel, containing arbitrary application specific data.
811 UserField string
812 // Peer If this channel is in a bridge, the channel that it is in a bridge with.
813 Peer string
814 // PeerAccount If this channel is in a bridge, the accountcode of the channel it is in a bridge with.
815 PeerAccount string
816 // Extra Some events will have event specific data that accompanies the CEL record. This extra data is JSON encoded, and is dependent on the event in question.
817 Extra string
818 }
819
820 func (CELEvent) EventTypeName() string {
821 return "CEL"
822 }
823
824 // FailedACLEvent Raised when a request violates an ACL check.
825 type FailedACLEvent struct {
826 // EventTV The time the event was detected.
827 EventTV string
828 // Severity A relative severity of the security event.
829 Severity string
830 // Service The Asterisk service that raised the security event.
831 Service string
832 // EventVersion The version of this event.
833 EventVersion string
834 // AccountID The Service account associated with the security event notification.
835 AccountID string
836 // SessionID A unique identifier for the session in the service that raised the event.
837 SessionID string
838 // LocalAddress The address of the Asterisk service that raised the security event.
839 LocalAddress string
840 // RemoteAddress The remote address of the entity that caused the security event to be raised.
841 RemoteAddress string
842 // Module If available, the name of the module that raised the event.
843 Module string
844 // ACLName If available, the name of the ACL that failed.
845 ACLName string
846 // SessionTV The timestamp reported by the session.
847 SessionTV string
848 }
849
850 func (FailedACLEvent) EventTypeName() string {
851 return "FailedACL"
852 }
853
854 // InvalidAccountIDEvent Raised when a request fails an authentication check due to an invalid account ID.
855 type InvalidAccountIDEvent struct {
856 // EventTV The time the event was detected.
857 EventTV string
858 // Severity A relative severity of the security event.
859 Severity string
860 // Service The Asterisk service that raised the security event.
861 Service string
862 // EventVersion The version of this event.
863 EventVersion string
864 // AccountID The Service account associated with the security event notification.
865 AccountID string
866 // SessionID A unique identifier for the session in the service that raised the event.
867 SessionID string
868 // LocalAddress The address of the Asterisk service that raised the security event.
869 LocalAddress string
870 // RemoteAddress The remote address of the entity that caused the security event to be raised.
871 RemoteAddress string
872 // Module If available, the name of the module that raised the event.
873 Module string
874 // SessionTV The timestamp reported by the session.
875 SessionTV string
876 }
877
878 func (InvalidAccountIDEvent) EventTypeName() string {
879 return "InvalidAccountID"
880 }
881
882 // SessionLimitEvent Raised when a request fails due to exceeding the number of allowed concurrent sessions for that
883 // service.
884 type SessionLimitEvent struct {
885 // EventTV The time the event was detected.
886 EventTV string
887 // Severity A relative severity of the security event.
888 Severity string
889 // Service The Asterisk service that raised the security event.
890 Service string
891 // EventVersion The version of this event.
892 EventVersion string
893 // AccountID The Service account associated with the security event notification.
894 AccountID string
895 // SessionID A unique identifier for the session in the service that raised the event.
896 SessionID string
897 // LocalAddress The address of the Asterisk service that raised the security event.
898 LocalAddress string
899 // RemoteAddress The remote address of the entity that caused the security event to be raised.
900 RemoteAddress string
901 // Module If available, the name of the module that raised the event.
902 Module string
903 // SessionTV The timestamp reported by the session.
904 SessionTV string
905 }
906
907 func (SessionLimitEvent) EventTypeName() string {
908 return "SessionLimit"
909 }
910
911 // MemoryLimitEvent Raised when a request fails due to an internal memory allocation failure.
912 type MemoryLimitEvent struct {
913 // EventTV The time the event was detected.
914 EventTV string
915 // Severity A relative severity of the security event.
916 Severity string
917 // Service The Asterisk service that raised the security event.
918 Service string
919 // EventVersion The version of this event.
920 EventVersion string
921 // AccountID The Service account associated with the security event notification.
922 AccountID string
923 // SessionID A unique identifier for the session in the service that raised the event.
924 SessionID string
925 // LocalAddress The address of the Asterisk service that raised the security event.
926 LocalAddress string
927 // RemoteAddress The remote address of the entity that caused the security event to be raised.
928 RemoteAddress string
929 // Module If available, the name of the module that raised the event.
930 Module string
931 // SessionTV The timestamp reported by the session.
932 SessionTV string
933 }
934
935 func (MemoryLimitEvent) EventTypeName() string {
936 return "MemoryLimit"
937 }
938
939 // LoadAverageLimitEvent Raised when a request fails because a configured load average limit has been reached.
940 type LoadAverageLimitEvent struct {
941 // EventTV The time the event was detected.
942 EventTV string
943 // Severity A relative severity of the security event.
944 Severity string
945 // Service The Asterisk service that raised the security event.
946 Service string
947 // EventVersion The version of this event.
948 EventVersion string
949 // AccountID The Service account associated with the security event notification.
950 AccountID string
951 // SessionID A unique identifier for the session in the service that raised the event.
952 SessionID string
953 // LocalAddress The address of the Asterisk service that raised the security event.
954 LocalAddress string
955 // RemoteAddress The remote address of the entity that caused the security event to be raised.
956 RemoteAddress string
957 // Module If available, the name of the module that raised the event.
958 Module string
959 // SessionTV The timestamp reported by the session.
960 SessionTV string
961 }
962
963 func (LoadAverageLimitEvent) EventTypeName() string {
964 return "LoadAverageLimit"
965 }
966
967 // RequestNotSupportedEvent Raised when a request fails due to some aspect of the requested item not being supported by the
968 // service.
969 type RequestNotSupportedEvent struct {
970 // EventTV The time the event was detected.
971 EventTV string
972 // Severity A relative severity of the security event.
973 Severity string
974 // Service The Asterisk service that raised the security event.
975 Service string
976 // EventVersion The version of this event.
977 EventVersion string
978 // AccountID The Service account associated with the security event notification.
979 AccountID string
980 // SessionID A unique identifier for the session in the service that raised the event.
981 SessionID string
982 // LocalAddress The address of the Asterisk service that raised the security event.
983 LocalAddress string
984 // RemoteAddress The remote address of the entity that caused the security event to be raised.
985 RemoteAddress string
986 // RequestType The type of request attempted.
987 RequestType string
988 // Module If available, the name of the module that raised the event.
989 Module string
990 // SessionTV The timestamp reported by the session.
991 SessionTV string
992 }
993
994 func (RequestNotSupportedEvent) EventTypeName() string {
995 return "RequestNotSupported"
996 }
997
998 // RequestNotAllowedEvent Raised when a request is not allowed by the service.
999 type RequestNotAllowedEvent struct {
1000 // EventTV The time the event was detected.
1001 EventTV string
1002 // Severity A relative severity of the security event.
1003 Severity string
1004 // Service The Asterisk service that raised the security event.
1005 Service string
1006 // EventVersion The version of this event.
1007 EventVersion string
1008 // AccountID The Service account associated with the security event notification.
1009 AccountID string
1010 // SessionID A unique identifier for the session in the service that raised the event.
1011 SessionID string
1012 // LocalAddress The address of the Asterisk service that raised the security event.
1013 LocalAddress string
1014 // RemoteAddress The remote address of the entity that caused the security event to be raised.
1015 RemoteAddress string
1016 // RequestType The type of request attempted.
1017 RequestType string
1018 // Module If available, the name of the module that raised the event.
1019 Module string
1020 // SessionTV The timestamp reported by the session.
1021 SessionTV string
1022 // RequestParams Parameters provided to the rejected request.
1023 RequestParams string
1024 }
1025
1026 func (RequestNotAllowedEvent) EventTypeName() string {
1027 return "RequestNotAllowed"
1028 }
1029
1030 // AuthMethodNotAllowedEvent Raised when a request used an authentication method not allowed by the service.
1031 type AuthMethodNotAllowedEvent struct {
1032 // EventTV The time the event was detected.
1033 EventTV string
1034 // Severity A relative severity of the security event.
1035 Severity string
1036 // Service The Asterisk service that raised the security event.
1037 Service string
1038 // EventVersion The version of this event.
1039 EventVersion string
1040 // AccountID The Service account associated with the security event notification.
1041 AccountID string
1042 // SessionID A unique identifier for the session in the service that raised the event.
1043 SessionID string
1044 // LocalAddress The address of the Asterisk service that raised the security event.
1045 LocalAddress string
1046 // RemoteAddress The remote address of the entity that caused the security event to be raised.
1047 RemoteAddress string
1048 // AuthMethod The authentication method attempted.
1049 AuthMethod string
1050 // Module If available, the name of the module that raised the event.
1051 Module string
1052 // SessionTV The timestamp reported by the session.
1053 SessionTV string
1054 }
1055
1056 func (AuthMethodNotAllowedEvent) EventTypeName() string {
1057 return "AuthMethodNotAllowed"
1058 }
1059
1060 // RequestBadFormatEvent Raised when a request is received with bad formatting.
1061 type RequestBadFormatEvent struct {
1062 // EventTV The time the event was detected.
1063 EventTV string
1064 // Severity A relative severity of the security event.
1065 Severity string
1066 // Service The Asterisk service that raised the security event.
1067 Service string
1068 // EventVersion The version of this event.
1069 EventVersion string
1070 // AccountID The Service account associated with the security event notification.
1071 AccountID string
1072 // SessionID A unique identifier for the session in the service that raised the event.
1073 SessionID string
1074 // LocalAddress The address of the Asterisk service that raised the security event.
1075 LocalAddress string
1076 // RemoteAddress The remote address of the entity that caused the security event to be raised.
1077 RemoteAddress string
1078 // RequestType The type of request attempted.
1079 RequestType string
1080 // Module If available, the name of the module that raised the event.
1081 Module string
1082 // SessionTV The timestamp reported by the session.
1083 SessionTV string
1084 // RequestParams Parameters provided to the rejected request.
1085 RequestParams string
1086 }
1087
1088 func (RequestBadFormatEvent) EventTypeName() string {
1089 return "RequestBadFormat"
1090 }
1091
1092 // SuccessfulAuthEvent Raised when a request successfully authenticates with a service.
1093 type SuccessfulAuthEvent struct {
1094 // EventTV The time the event was detected.
1095 EventTV string
1096 // Severity A relative severity of the security event.
1097 Severity string
1098 // Service The Asterisk service that raised the security event.
1099 Service string
1100 // EventVersion The version of this event.
1101 EventVersion string
1102 // AccountID The Service account associated with the security event notification.
1103 AccountID string
1104 // SessionID A unique identifier for the session in the service that raised the event.
1105 SessionID string
1106 // LocalAddress The address of the Asterisk service that raised the security event.
1107 LocalAddress string
1108 // RemoteAddress The remote address of the entity that caused the security event to be raised.
1109 RemoteAddress string
1110 // UsingPassword Whether or not the authentication attempt included a password.
1111 UsingPassword string
1112 // Module If available, the name of the module that raised the event.
1113 Module string
1114 // SessionTV The timestamp reported by the session.
1115 SessionTV string
1116 }
1117
1118 func (SuccessfulAuthEvent) EventTypeName() string {
1119 return "SuccessfulAuth"
1120 }
1121
1122 // UnexpectedAddressEvent Raised when a request has a different source address then what is expected for a session already in
1123 // progress with a service.
1124 type UnexpectedAddressEvent struct {
1125 // EventTV The time the event was detected.
1126 EventTV string
1127 // Severity A relative severity of the security event.
1128 Severity string
1129 // Service The Asterisk service that raised the security event.
1130 Service string
1131 // EventVersion The version of this event.
1132 EventVersion string
1133 // AccountID The Service account associated with the security event notification.
1134 AccountID string
1135 // SessionID A unique identifier for the session in the service that raised the event.
1136 SessionID string
1137 // LocalAddress The address of the Asterisk service that raised the security event.
1138 LocalAddress string
1139 // RemoteAddress The remote address of the entity that caused the security event to be raised.
1140 RemoteAddress string
1141 // ExpectedAddress The address that the request was expected to use.
1142 ExpectedAddress string
1143 // Module If available, the name of the module that raised the event.
1144 Module string
1145 // SessionTV The timestamp reported by the session.
1146 SessionTV string
1147 }
1148
1149 func (UnexpectedAddressEvent) EventTypeName() string {
1150 return "UnexpectedAddress"
1151 }
1152
1153 // ChallengeResponseFailedEvent Raised when a request's attempt to authenticate has been challenged, and the request failed the
1154 // authentication challenge.
1155 type ChallengeResponseFailedEvent struct {
1156 // EventTV The time the event was detected.
1157 EventTV string
1158 // Severity A relative severity of the security event.
1159 Severity string
1160 // Service The Asterisk service that raised the security event.
1161 Service string
1162 // EventVersion The version of this event.
1163 EventVersion string
1164 // AccountID The Service account associated with the security event notification.
1165 AccountID string
1166 // SessionID A unique identifier for the session in the service that raised the event.
1167 SessionID string
1168 // LocalAddress The address of the Asterisk service that raised the security event.
1169 LocalAddress string
1170 // RemoteAddress The remote address of the entity that caused the security event to be raised.
1171 RemoteAddress string
1172 // Challenge The challenge that was sent.
1173 Challenge string
1174 // Response The response that was received.
1175 Response string
1176 // ExpectedResponse The expected response to the challenge.
1177 ExpectedResponse string
1178 // Module If available, the name of the module that raised the event.
1179 Module string
1180 // SessionTV The timestamp reported by the session.
1181 SessionTV string
1182 }
1183
1184 func (ChallengeResponseFailedEvent) EventTypeName() string {
1185 return "ChallengeResponseFailed"
1186 }
1187
1188 // InvalidPasswordEvent Raised when a request provides an invalid password during an authentication attempt.
1189 type InvalidPasswordEvent struct {
1190 // EventTV The time the event was detected.
1191 EventTV string
1192 // Severity A relative severity of the security event.
1193 Severity string
1194 // Service The Asterisk service that raised the security event.
1195 Service string
1196 // EventVersion The version of this event.
1197 EventVersion string
1198 // AccountID The Service account associated with the security event notification.
1199 AccountID string
1200 // SessionID A unique identifier for the session in the service that raised the event.
1201 SessionID string
1202 // LocalAddress The address of the Asterisk service that raised the security event.
1203 LocalAddress string
1204 // RemoteAddress The remote address of the entity that caused the security event to be raised.
1205 RemoteAddress string
1206 // Module If available, the name of the module that raised the event.
1207 Module string
1208 // SessionTV The timestamp reported by the session.
1209 SessionTV string
1210 // Challenge The challenge that was sent.
1211 Challenge string
1212 // ReceivedChallenge The challenge that was received.
1213 ReceivedChallenge string
1214 // ReceivedHash The hash that was received.
1215 ReceivedHash string
1216 }
1217
1218 func (InvalidPasswordEvent) EventTypeName() string {
1219 return "InvalidPassword"
1220 }
1221
1222 // ChallengeSentEvent Raised when an Asterisk service sends an authentication challenge to a request.
1223 type ChallengeSentEvent struct {
1224 // EventTV The time the event was detected.
1225 EventTV string
1226 // Severity A relative severity of the security event.
1227 Severity string
1228 // Service The Asterisk service that raised the security event.
1229 Service string
1230 // EventVersion The version of this event.
1231 EventVersion string
1232 // AccountID The Service account associated with the security event notification.
1233 AccountID string
1234 // SessionID A unique identifier for the session in the service that raised the event.
1235 SessionID string
1236 // LocalAddress The address of the Asterisk service that raised the security event.
1237 LocalAddress string
1238 // RemoteAddress The remote address of the entity that caused the security event to be raised.
1239 RemoteAddress string
1240 // Challenge The challenge that was sent.
1241 Challenge string
1242 // Module If available, the name of the module that raised the event.
1243 Module string
1244 // SessionTV The timestamp reported by the session.
1245 SessionTV string
1246 }
1247
1248 func (ChallengeSentEvent) EventTypeName() string {
1249 return "ChallengeSent"
1250 }
1251
1252 // InvalidTransportEvent Raised when a request attempts to use a transport not allowed by the Asterisk service.
1253 type InvalidTransportEvent struct {
1254 // EventTV The time the event was detected.
1255 EventTV string
1256 // Severity A relative severity of the security event.
1257 Severity string
1258 // Service The Asterisk service that raised the security event.
1259 Service string
1260 // EventVersion The version of this event.
1261 EventVersion string
1262 // AccountID The Service account associated with the security event notification.
1263 AccountID string
1264 // SessionID A unique identifier for the session in the service that raised the event.
1265 SessionID string
1266 // LocalAddress The address of the Asterisk service that raised the security event.
1267 LocalAddress string
1268 // RemoteAddress The remote address of the entity that caused the security event to be raised.
1269 RemoteAddress string
1270 // AttemptedTransport The transport type that the request attempted to use.
1271 AttemptedTransport string
1272 // Module If available, the name of the module that raised the event.
1273 Module string
1274 // SessionTV The timestamp reported by the session.
1275 SessionTV string
1276 }
1277
1278 func (InvalidTransportEvent) EventTypeName() string {
1279 return "InvalidTransport"
1280 }
1281
1282 // StatusEvent Raised in response to a Status command.
1283 type StatusEvent struct {
1284 ActionID string
1285 // Type Type of channel
1286 Type string
1287 // DNID Dialed number identifier
1288 DNID string
1289 EffectiveConnectedLineNum string
1290 EffectiveConnectedLineName string
1291 // TimeToHangup Absolute lifetime of the channel
1292 TimeToHangup string
1293 // BridgeID Identifier of the bridge the channel is in, may be empty if not in one
1294 BridgeID string
1295 // Application Application currently executing on the channel
1296 Application string
1297 // Data Data given to the currently executing channel
1298 Data string
1299 // Nativeformats Media formats the connected party is willing to send or receive
1300 Nativeformats string
1301 // Readformat Media formats that frames from the channel are received in
1302 Readformat string
1303 // Readtrans Translation path for media received in native formats
1304 Readtrans string
1305 // Writeformat Media formats that frames to the channel are accepted in
1306 Writeformat string
1307 // Writetrans Translation path for media sent to the connected party
1308 Writetrans string
1309 // Callgroup Configured call group on the channel
1310 Callgroup string
1311 // Pickupgroup Configured pickup group on the channel
1312 Pickupgroup string
1313 // Seconds Number of seconds the channel has been active
1314 Seconds string
1315 }
1316
1317 func (StatusEvent) EventTypeName() string {
1318 return "Status"
1319 }
1320
1321 // StatusCompleteEvent Raised in response to a Status command.
1322 type StatusCompleteEvent struct {
1323 // Items Number of Status events returned
1324 Items string
1325 }
1326
1327 func (StatusCompleteEvent) EventTypeName() string {
1328 return "StatusComplete"
1329 }
1330
1331 // OriginateResponseEvent Raised in response to an Originate command.
1332 type OriginateResponseEvent struct {
1333 ActionID string
1334 Response string
1335 Channel string
1336 Context string
1337 Exten string
1338 Application string
1339 Data string
1340 Reason string
1341 Uniqueid string
1342 CallerIDNum string
1343 CallerIDName string
1344 }
1345
1346 func (OriginateResponseEvent) EventTypeName() string {
1347 return "OriginateResponse"
1348 }
1349
1350 // CoreShowChannelEvent Raised in response to a CoreShowChannels command.
1351 type CoreShowChannelEvent struct {
1352 // ActionID ActionID for this transaction. Will be returned.
1353 ActionID string
1354 // BridgeId Identifier of the bridge the channel is in, may be empty if not in one
1355 BridgeId string
1356 // Application Application currently executing on the channel
1357 Application string
1358 // ApplicationData Data given to the currently executing application
1359 ApplicationData string
1360 // Duration The amount of time the channel has existed
1361 Duration string
1362 }
1363
1364 func (CoreShowChannelEvent) EventTypeName() string {
1365 return "CoreShowChannel"
1366 }
1367
1368 // CoreShowChannelsCompleteEvent Raised at the end of the CoreShowChannel list produced by the CoreShowChannels command.
1369 type CoreShowChannelsCompleteEvent struct {
1370 // ActionID ActionID for this transaction. Will be returned.
1371 ActionID string
1372 // EventList Conveys the status of the command reponse list
1373 EventList string
1374 // ListItems The total number of list items produced
1375 ListItems string
1376 }
1377
1378 func (CoreShowChannelsCompleteEvent) EventTypeName() string {
1379 return "CoreShowChannelsComplete"
1380 }
1381
1382 // ExtensionStatusEvent Raised when a hint changes due to a device state change.
1383 type ExtensionStatusEvent struct {
1384 // Exten Name of the extension.
1385 Exten string
1386 // Context Context that owns the extension.
1387 Context string
1388 // Hint Hint set for the extension
1389 Hint string
1390 // Status Numerical value of the extension status. Extension status is determined by the combined device state of all items contained in the hint.
1391 Status string
1392 // StatusText Text representation of `Status`.
1393 StatusText string
1394 }
1395
1396 func (ExtensionStatusEvent) EventTypeName() string {
1397 return "ExtensionStatus"
1398 }
1399
1400 // PresenceStatusEvent Raised when a hint changes due to a presence state change.
1401 type PresenceStatusEvent struct {
1402 Exten string
1403 Context string
1404 Hint string
1405 Status string
1406 Subtype string
1407 Message string
1408 }
1409
1410 func (PresenceStatusEvent) EventTypeName() string {
1411 return "PresenceStatus"
1412 }
1413
1414 // LogChannelEvent Raised when a logging channel is re-enabled after a reload operation.
1415 type LogChannelEvent struct {
1416 // Channel The name of the logging channel.
1417 Channel string
1418 Enabled string
1419 }
1420
1421 func (LogChannelEvent) EventTypeName() string {
1422 return "LogChannel"
1423 }
1424
1425 // PresenceStateChangeEvent Raised when a presence state changes
1426 type PresenceStateChangeEvent struct {
1427 // Presentity The entity whose presence state has changed
1428 Presentity string
1429 // Status The new status of the presentity
1430 Status string
1431 // Subtype The new subtype of the presentity
1432 Subtype string
1433 // Message The new message of the presentity
1434 Message string
1435 }
1436
1437 func (PresenceStateChangeEvent) EventTypeName() string {
1438 return "PresenceStateChange"
1439 }
1440
1441 // BlindTransferEvent Raised when a blind transfer is complete.
1442 type BlindTransferEvent struct {
1443 // Result Indicates if the transfer was successful or if it failed.
1444 Result string
1445 // IsExternal Indicates if the transfer was performed outside of Asterisk. For instance, a channel protocol native transfer is external. A DTMF transfer is internal.
1446 IsExternal string
1447 // Context Destination context for the blind transfer.
1448 Context string
1449 // Extension Destination extension for the blind transfer.
1450 Extension string
1451 }
1452
1453 func (BlindTransferEvent) EventTypeName() string {
1454 return "BlindTransfer"
1455 }
1456
1457 // AttendedTransferEvent Raised when an attended transfer is complete.
1458 type AttendedTransferEvent struct {
1459 // Result Indicates if the transfer was successful or if it failed.
1460 Result string
1461 // DestType Indicates the method by which the attended transfer completed.
1462 DestType string
1463 // DestBridgeUniqueid Indicates the surviving bridge when bridges were merged to complete the transfer
1464 DestBridgeUniqueid string
1465 // DestApp Indicates the application that is running when the transfer completes
1466 DestApp string
1467 // DestTransfererChannel The name of the surviving transferer channel when a transfer results in a threeway call
1468 DestTransfererChannel string
1469 }
1470
1471 func (AttendedTransferEvent) EventTypeName() string {
1472 return "AttendedTransfer"
1473 }
1474
1475 // PeerStatusEvent Raised when the state of a peer changes.
1476 type PeerStatusEvent struct {
1477 // ChannelType The channel technology of the peer.
1478 ChannelType string
1479 // Peer The name of the peer (including channel technology).
1480 Peer string
1481 // PeerStatus New status of the peer.
1482 PeerStatus string
1483 // Cause The reason the status has changed.
1484 Cause string
1485 // Address New address of the peer.
1486 Address string
1487 // Port New port for the peer.
1488 Port string
1489 // Time Time it takes to reach the peer and receive a response.
1490 Time float64
1491 }
1492
1493 func (PeerStatusEvent) EventTypeName() string {
1494 return "PeerStatus"
1495 }
1496
1497 // ContactStatusEvent Raised when the state of a contact changes.
1498 type ContactStatusEvent struct {
1499 // URI This contact's URI.
1500 URI string
1501 // ContactStatus New status of the contact.
1502 ContactStatus string
1503 // AOR The name of the associated aor.
1504 AOR string
1505 // EndpointName The name of the associated endpoint.
1506 EndpointName string
1507 // RoundtripUsec The RTT measured during the last qualify.
1508 RoundtripUsec string
1509 }
1510
1511 func (ContactStatusEvent) EventTypeName() string {
1512 return "ContactStatus"
1513 }
1514
1515 // AgentLoginEvent Raised when an Agent has logged in.
1516 type AgentLoginEvent struct {
1517 // Agent Agent ID of the agent.
1518 Agent string
1519 }
1520
1521 func (AgentLoginEvent) EventTypeName() string {
1522 return "AgentLogin"
1523 }
1524
1525 // AgentLogoffEvent Raised when an Agent has logged off.
1526 type AgentLogoffEvent struct {
1527 // Agent Agent ID of the agent.
1528 Agent string
1529 // Logintime The number of seconds the agent was logged in.
1530 Logintime string
1531 }
1532
1533 func (AgentLogoffEvent) EventTypeName() string {
1534 return "AgentLogoff"
1535 }
1536
1537 // ChannelTalkingStartEvent Raised when talking is detected on a channel.
1538 type ChannelTalkingStartEvent struct {
1539 }
1540
1541 func (ChannelTalkingStartEvent) EventTypeName() string {
1542 return "ChannelTalkingStart"
1543 }
1544
1545 // ChannelTalkingStopEvent Raised when talking is no longer detected on a channel.
1546 type ChannelTalkingStopEvent struct {
1547 // Duration The length in time, in milliseconds, that talking was detected on the channel.
1548 Duration string
1549 }
1550
1551 func (ChannelTalkingStopEvent) EventTypeName() string {
1552 return "ChannelTalkingStop"
1553 }
1554
1555 // ReloadEvent Raised when a module has been reloaded in Asterisk.
1556 type ReloadEvent struct {
1557 // Module The name of the module that was reloaded, or `All` if all modules were reloaded
1558 Module string
1559 // Status The numeric status code denoting the success or failure of the reload request.
1560 Status string
1561 }
1562
1563 func (ReloadEvent) EventTypeName() string {
1564 return "Reload"
1565 }
1566
1567 // LoadEvent Raised when a module has been loaded in Asterisk.
1568 type LoadEvent struct {
1569 // Module The name of the module that was loaded
1570 Module string
1571 // Status The result of the load request.
1572 Status string
1573 }
1574
1575 func (LoadEvent) EventTypeName() string {
1576 return "Load"
1577 }
1578
1579 // UnloadEvent Raised when a module has been unloaded in Asterisk.
1580 type UnloadEvent struct {
1581 // Module The name of the module that was unloaded
1582 Module string
1583 // Status The result of the unload request.
1584 Status string
1585 }
1586
1587 func (UnloadEvent) EventTypeName() string {
1588 return "Unload"
1589 }
1590
1591 // UserEventEvent A user defined event raised from the dialplan.
1592 type UserEventEvent struct {
1593 // UserEvent The event name, as specified in the dialplan.
1594 UserEvent string
1595 }
1596
1597 func (UserEventEvent) EventTypeName() string {
1598 return "UserEvent"
1599 }
1600
1601 // RegistryEvent Raised when an outbound registration completes.
1602 type RegistryEvent struct {
1603 // ChannelType The type of channel that was registered (or not).
1604 ChannelType string
1605 // UserName The username portion of the registration.
1606 UserName string
1607 // Domain The address portion of the registration.
1608 Domain string
1609 // Status The status of the registration request.
1610 Status string
1611 // Cause What caused the rejection of the request, if available.
1612 Cause string
1613 }
1614
1615 func (RegistryEvent) EventTypeName() string {
1616 return "Registry"
1617 }
1618
1619 // DeviceStateChangeEvent Raised when a device state changes
1620 type DeviceStateChangeEvent struct {
1621 // Device The device whose state has changed
1622 Device string
1623 // State The new state of the device
1624 State string
1625 }
1626
1627 func (DeviceStateChangeEvent) EventTypeName() string {
1628 return "DeviceStateChange"
1629 }
1630
1631 // MessageWaitingEvent Raised when the state of messages in a voicemail mailbox
1632 // has changed or when a channel has finished interacting with a
1633 // mailbox.
1634 type MessageWaitingEvent struct {
1635 // Mailbox The mailbox with the new message, specified as `mailbox`@ `context`
1636 Mailbox string
1637 // Waiting Whether or not the mailbox has messages waiting for it.
1638 Waiting string
1639 // New The number of new messages.
1640 New string
1641 // Old The number of old messages.
1642 Old string
1643 }
1644
1645 func (MessageWaitingEvent) EventTypeName() string {
1646 return "MessageWaiting"
1647 }
1648
1649 // FullyBootedEvent Raised when all Asterisk initialization procedures have finished.
1650 type FullyBootedEvent struct {
1651 // Status Informational message
1652 Status string
1653 // Uptime Seconds since start
1654 Uptime string
1655 // LastReload Seconds since last reload
1656 LastReload string
1657 }
1658
1659 func (FullyBootedEvent) EventTypeName() string {
1660 return "FullyBooted"
1661 }
1662
1663 // ShutdownEvent Raised when Asterisk is shutdown or restarted.
1664 type ShutdownEvent struct {
1665 // Shutdown Whether the shutdown is proceeding cleanly (all channels were hungup successfully) or uncleanly (channels will be terminated)
1666 Shutdown string
1667 // Restart Whether or not a restart will occur.
1668 Restart string
1669 }
1670
1671 func (ShutdownEvent) EventTypeName() string {
1672 return "Shutdown"
1673 }
1674
1675 // LocalBridgeEvent Raised when two halves of a Local Channel form a bridge.
1676 type LocalBridgeEvent struct {
1677 // Context The context in the dialplan that Channel2 starts in.
1678 Context string
1679 // Exten The extension in the dialplan that Channel2 starts in.
1680 Exten string
1681 LocalOptimization string
1682 }
1683
1684 func (LocalBridgeEvent) EventTypeName() string {
1685 return "LocalBridge"
1686 }
1687
1688 // LocalOptimizationBeginEvent Raised when two halves of a Local Channel begin to optimize
1689 // themselves out of the media path.
1690 type LocalOptimizationBeginEvent struct {
1691 // DestUniqueId The unique ID of the bridge into which the local channel is optimizing.
1692 DestUniqueId string
1693 // Id Identification for the optimization operation.
1694 Id string
1695 }
1696
1697 func (LocalOptimizationBeginEvent) EventTypeName() string {
1698 return "LocalOptimizationBegin"
1699 }
1700
1701 // LocalOptimizationEndEvent Raised when two halves of a Local Channel have finished optimizing
1702 // themselves out of the media path.
1703 type LocalOptimizationEndEvent struct {
1704 // Success Indicates whether the local optimization succeeded.
1705 Success string
1706 // Id Identification for the optimization operation. Matches the Id from a previous `LocalOptimizationBegin`
1707 Id string
1708 }
1709
1710 func (LocalOptimizationEndEvent) EventTypeName() string {
1711 return "LocalOptimizationEnd"
1712 }
1713
1714 // RenameEvent Raised when the name of a channel is changed.
1715 type RenameEvent struct {
1716 Channel string
1717 NewName string
1718 Uniqueid string
1719 }
1720
1721 func (RenameEvent) EventTypeName() string {
1722 return "Rename"
1723 }
1724
1725 // RTCPSentEvent Raised when an RTCP packet is sent.
1726 type RTCPSentEvent struct {
1727 // SSRC The SSRC identifier for our stream
1728 SSRC string
1729 // PT The type of packet for this RTCP report.
1730 PT string
1731 // To The address the report is sent to.
1732 To string
1733 // ReportCount The report count determines the number of ReportX headers in the message. The X for each set of report headers will range from 0 to `ReportCount - 1`.
1734 ReportCount string
1735 // SentNTP The time the sender generated the report. Only valid when PT is `200(SR)`.
1736 SentNTP string
1737 // SentRTP The sender's last RTP timestamp. Only valid when PT is `200(SR)`.
1738 SentRTP string
1739 // SentPackets The number of packets the sender has sent. Only valid when PT is `200(SR)`.
1740 SentPackets string
1741 // SentOctets The number of bytes the sender has sent. Only valid when PT is `200(SR)`.
1742 SentOctets string
1743 // ReportXSourceSSRC The SSRC for the source of this report block.
1744 ReportXSourceSSRC string
1745 // ReportXFractionLost The fraction of RTP data packets from `ReportXSourceSSRC` lost since the previous SR or RR report was sent.
1746 ReportXFractionLost string
1747 // ReportXCumulativeLost The total number of RTP data packets from `ReportXSourceSSRC` lost since the beginning of reception.
1748 ReportXCumulativeLost string
1749 // ReportXHighestSequence The highest sequence number received in an RTP data packet from `ReportXSourceSSRC`.
1750 ReportXHighestSequence string
1751 // ReportXSequenceNumberCycles The number of sequence number cycles seen for the RTP data received from `ReportXSourceSSRC`.
1752 ReportXSequenceNumberCycles string
1753 // ReportXIAJitter An estimate of the statistical variance of the RTP data packet interarrival time, measured in timestamp units.
1754 ReportXIAJitter string
1755 // ReportXLSR The last SR timestamp received from `ReportXSourceSSRC`. If no SR has been received from `ReportXSourceSSRC`, then 0.
1756 ReportXLSR string
1757 // ReportXDLSR The delay, expressed in units of 1/65536 seconds, between receiving the last SR packet from `ReportXSourceSSRC` and sending this report.
1758 ReportXDLSR string
1759 }
1760
1761 func (RTCPSentEvent) EventTypeName() string {
1762 return "RTCPSent"
1763 }
1764
1765 // RTCPReceivedEvent Raised when an RTCP packet is received.
1766 type RTCPReceivedEvent struct {
1767 // SSRC The SSRC identifier for the remote system
1768 SSRC string
1769 // PT The type of packet for this RTCP report.
1770 PT string
1771 // From The address the report was received from.
1772 From string
1773 // RTT Calculated Round-Trip Time in seconds
1774 RTT string
1775 // ReportCount The report count determines the number of ReportX headers in the message. The X for each set of report headers will range from 0 to `ReportCount - 1`.
1776 ReportCount string
1777 // SentNTP The time the sender generated the report. Only valid when PT is `200(SR)`.
1778 SentNTP string
1779 // SentRTP The sender's last RTP timestamp. Only valid when PT is `200(SR)`.
1780 SentRTP string
1781 // SentPackets The number of packets the sender has sent. Only valid when PT is `200(SR)`.
1782 SentPackets string
1783 // SentOctets The number of bytes the sender has sent. Only valid when PT is `200(SR)`.
1784 SentOctets string
1785 // ReportXSourceSSRC The SSRC for the source of this report block.
1786 ReportXSourceSSRC string
1787 // ReportXFractionLost The fraction of RTP data packets from `ReportXSourceSSRC` lost since the previous SR or RR report was sent.
1788 ReportXFractionLost string
1789 // ReportXCumulativeLost The total number of RTP data packets from `ReportXSourceSSRC` lost since the beginning of reception.
1790 ReportXCumulativeLost string
1791 // ReportXHighestSequence The highest sequence number received in an RTP data packet from `ReportXSourceSSRC`.
1792 ReportXHighestSequence string
1793 // ReportXSequenceNumberCycles The number of sequence number cycles seen for the RTP data received from `ReportXSourceSSRC`.
1794 ReportXSequenceNumberCycles string
1795 // ReportXIAJitter An estimate of the statistical variance of the RTP data packet interarrival time, measured in timestamp units.
1796 ReportXIAJitter string
1797 // ReportXLSR The last SR timestamp received from `ReportXSourceSSRC`. If no SR has been received from `ReportXSourceSSRC`, then 0.
1798 ReportXLSR string
1799 // ReportXDLSR The delay, expressed in units of 1/65536 seconds, between receiving the last SR packet from `ReportXSourceSSRC` and sending this report.
1800 ReportXDLSR string
1801 }
1802
1803 func (RTCPReceivedEvent) EventTypeName() string {
1804 return "RTCPReceived"
1805 }
1806
1807 // NewchannelEvent Raised when a new channel is created.
1808 type NewchannelEvent struct {
1809 }
1810
1811 func (NewchannelEvent) EventTypeName() string {
1812 return "Newchannel"
1813 }
1814
1815 // NewstateEvent Raised when a channel's state changes.
1816 type NewstateEvent struct {
1817 }
1818
1819 func (NewstateEvent) EventTypeName() string {
1820 return "Newstate"
1821 }
1822
1823 // HangupEvent Raised when a channel is hung up.
1824 type HangupEvent struct {
1825 // Cause A numeric cause code for why the channel was hung up.
1826 Cause string
1827 // CauseTxt A description of why the channel was hung up.
1828 CauseTxt string
1829 }
1830
1831 func (HangupEvent) EventTypeName() string {
1832 return "Hangup"
1833 }
1834
1835 // HangupRequestEvent Raised when a hangup is requested.
1836 type HangupRequestEvent struct {
1837 // Cause A numeric cause code for why the channel was hung up.
1838 Cause string
1839 }
1840
1841 func (HangupRequestEvent) EventTypeName() string {
1842 return "HangupRequest"
1843 }
1844
1845 // SoftHangupRequestEvent Raised when a soft hangup is requested with a specific cause code.
1846 type SoftHangupRequestEvent struct {
1847 // Cause A numeric cause code for why the channel was hung up.
1848 Cause string
1849 }
1850
1851 func (SoftHangupRequestEvent) EventTypeName() string {
1852 return "SoftHangupRequest"
1853 }
1854
1855 // NewExtenEvent Raised when a channel enters a new context, extension, priority.
1856 type NewExtenEvent struct {
1857 // Extension Deprecated in 12, but kept for backward compatability. Please use 'Exten' instead.
1858 Extension string
1859 // Application The application about to be executed.
1860 Application string
1861 // AppData The data to be passed to the application.
1862 AppData string
1863 }
1864
1865 func (NewExtenEvent) EventTypeName() string {
1866 return "NewExten"
1867 }
1868
1869 // NewCalleridEvent Raised when a channel receives new Caller ID information.
1870 type NewCalleridEvent struct {
1871 // CIDCallingPres A description of the Caller ID presentation.
1872 CIDCallingPres string
1873 }
1874
1875 func (NewCalleridEvent) EventTypeName() string {
1876 return "NewCallerid"
1877 }
1878
1879 // NewConnectedLineEvent Raised when a channel's connected line information is changed.
1880 type NewConnectedLineEvent struct {
1881 }
1882
1883 func (NewConnectedLineEvent) EventTypeName() string {
1884 return "NewConnectedLine"
1885 }
1886
1887 // NewAccountCodeEvent Raised when a Channel's AccountCode is changed.
1888 type NewAccountCodeEvent struct {
1889 // OldAccountCode The channel's previous account code
1890 OldAccountCode string
1891 }
1892
1893 func (NewAccountCodeEvent) EventTypeName() string {
1894 return "NewAccountCode"
1895 }
1896
1897 // DialBeginEvent Raised when a dial action has started.
1898 type DialBeginEvent struct {
1899 // DialString The non-technology specific device being dialed.
1900 DialString string
1901 }
1902
1903 func (DialBeginEvent) EventTypeName() string {
1904 return "DialBegin"
1905 }
1906
1907 // DialStateEvent Raised when dial status has changed.
1908 type DialStateEvent struct {
1909 // DialStatus The new state of the outbound dial attempt.
1910 DialStatus string
1911 // Forward If the call was forwarded, where the call was forwarded to.
1912 Forward string
1913 }
1914
1915 func (DialStateEvent) EventTypeName() string {
1916 return "DialState"
1917 }
1918
1919 // DialEndEvent Raised when a dial action has completed.
1920 type DialEndEvent struct {
1921 // DialStatus The result of the dial operation.
1922 DialStatus string
1923 // Forward If the call was forwarded, where the call was forwarded to.
1924 Forward string
1925 }
1926
1927 func (DialEndEvent) EventTypeName() string {
1928 return "DialEnd"
1929 }
1930
1931 // HoldEvent Raised when a channel goes on hold.
1932 type HoldEvent struct {
1933 // MusicClass The suggested MusicClass, if provided.
1934 MusicClass string
1935 }
1936
1937 func (HoldEvent) EventTypeName() string {
1938 return "Hold"
1939 }
1940
1941 // UnholdEvent Raised when a channel goes off hold.
1942 type UnholdEvent struct {
1943 }
1944
1945 func (UnholdEvent) EventTypeName() string {
1946 return "Unhold"
1947 }
1948
1949 // ChanSpyStartEvent Raised when one channel begins spying on another channel.
1950 type ChanSpyStartEvent struct {
1951 }
1952
1953 func (ChanSpyStartEvent) EventTypeName() string {
1954 return "ChanSpyStart"
1955 }
1956
1957 // ChanSpyStopEvent Raised when a channel has stopped spying.
1958 type ChanSpyStopEvent struct {
1959 }
1960
1961 func (ChanSpyStopEvent) EventTypeName() string {
1962 return "ChanSpyStop"
1963 }
1964
1965 // HangupHandlerRunEvent Raised when a hangup handler is about to be called.
1966 type HangupHandlerRunEvent struct {
1967 // Handler Hangup handler parameter string passed to the Gosub application.
1968 Handler string
1969 }
1970
1971 func (HangupHandlerRunEvent) EventTypeName() string {
1972 return "HangupHandlerRun"
1973 }
1974
1975 // HangupHandlerPopEvent Raised when a hangup handler is removed from the handler stack
1976 // by the CHANNEL() function.
1977 type HangupHandlerPopEvent struct {
1978 // Handler Hangup handler parameter string passed to the Gosub application.
1979 Handler string
1980 }
1981
1982 func (HangupHandlerPopEvent) EventTypeName() string {
1983 return "HangupHandlerPop"
1984 }
1985
1986 // HangupHandlerPushEvent Raised when a hangup handler is added to the handler stack by
1987 // the CHANNEL() function.
1988 type HangupHandlerPushEvent struct {
1989 // Handler Hangup handler parameter string passed to the Gosub application.
1990 Handler string
1991 }
1992
1993 func (HangupHandlerPushEvent) EventTypeName() string {
1994 return "HangupHandlerPush"
1995 }
1996
1997 // FAXStatusEvent Raised periodically during a fax transmission.
1998 type FAXStatusEvent struct {
1999 Operation string
2000 // Status A text message describing the current status of the fax
2001 Status string
2002 // LocalStationID The value of the `LOCALSTATIONID` channel variable
2003 LocalStationID string
2004 // FileName The files being affected by the fax operation
2005 FileName string
2006 }
2007
2008 func (FAXStatusEvent) EventTypeName() string {
2009 return "FAXStatus"
2010 }
2011
2012 // ReceiveFAXEvent Raised when a receive fax operation has completed.
2013 type ReceiveFAXEvent struct {
2014 // LocalStationID The value of the `LOCALSTATIONID` channel variable
2015 LocalStationID string
2016 // RemoteStationID The value of the `REMOTESTATIONID` channel variable
2017 RemoteStationID string
2018 // PagesTransferred The number of pages that have been transferred
2019 PagesTransferred string
2020 // Resolution The negotiated resolution
2021 Resolution string
2022 // TransferRate The negotiated transfer rate
2023 TransferRate string
2024 // FileName The files being affected by the fax operation
2025 FileName string
2026 }
2027
2028 func (ReceiveFAXEvent) EventTypeName() string {
2029 return "ReceiveFAX"
2030 }
2031
2032 // SendFAXEvent Raised when a send fax operation has completed.
2033 type SendFAXEvent struct {
2034 // LocalStationID The value of the `LOCALSTATIONID` channel variable
2035 LocalStationID string
2036 // RemoteStationID The value of the `REMOTESTATIONID` channel variable
2037 RemoteStationID string
2038 // PagesTransferred The number of pages that have been transferred
2039 PagesTransferred string
2040 // Resolution The negotiated resolution
2041 Resolution string
2042 // TransferRate The negotiated transfer rate
2043 TransferRate string
2044 // FileName The files being affected by the fax operation
2045 FileName string
2046 }
2047
2048 func (SendFAXEvent) EventTypeName() string {
2049 return "SendFAX"
2050 }
2051
2052 // MusicOnHoldStartEvent Raised when music on hold has started on a channel.
2053 type MusicOnHoldStartEvent struct {
2054 // Class The class of music being played on the channel
2055 Class string
2056 }
2057
2058 func (MusicOnHoldStartEvent) EventTypeName() string {
2059 return "MusicOnHoldStart"
2060 }
2061
2062 // MusicOnHoldStopEvent Raised when music on hold has stopped on a channel.
2063 type MusicOnHoldStopEvent struct {
2064 }
2065
2066 func (MusicOnHoldStopEvent) EventTypeName() string {
2067 return "MusicOnHoldStop"
2068 }
2069
2070 // MonitorStartEvent Raised when monitoring has started on a channel.
2071 type MonitorStartEvent struct {
2072 }
2073
2074 func (MonitorStartEvent) EventTypeName() string {
2075 return "MonitorStart"
2076 }
2077
2078 // MonitorStopEvent Raised when monitoring has stopped on a channel.
2079 type MonitorStopEvent struct {
2080 }
2081
2082 func (MonitorStopEvent) EventTypeName() string {
2083 return "MonitorStop"
2084 }
2085
2086 // DTMFBeginEvent Raised when a DTMF digit has started on a channel.
2087 type DTMFBeginEvent struct {
2088 // Digit DTMF digit received or transmitted (0-9, A-E, # or *
2089 Digit string
2090 Direction string
2091 }
2092
2093 func (DTMFBeginEvent) EventTypeName() string {
2094 return "DTMFBegin"
2095 }
2096
2097 // DTMFEndEvent Raised when a DTMF digit has ended on a channel.
2098 type DTMFEndEvent struct {
2099 // Digit DTMF digit received or transmitted (0-9, A-E, # or *
2100 Digit string
2101 // DurationMs Duration (in milliseconds) DTMF was sent/received
2102 DurationMs string
2103 Direction string
2104 }
2105
2106 func (DTMFEndEvent) EventTypeName() string {
2107 return "DTMFEnd"
2108 }
2109
2110 // AOCSEvent Raised when an Advice of Charge message is sent at the beginning of a call.
2111 type AOCSEvent struct {
2112 Chargeable string
2113 RateType string
2114 Currency string
2115 Name string
2116 Cost string
2117 Multiplier string
2118 ChargingType string
2119 StepFunction string
2120 Granularity string
2121 Length string
2122 Scale string
2123 Unit string
2124 SpecialCode string
2125 }
2126
2127 func (AOCSEvent) EventTypeName() string {
2128 return "AOC-S"
2129 }
2130
2131 // AOCDEvent Raised when an Advice of Charge message is sent during a call.
2132 type AOCDEvent struct {
2133 Charge string
2134 Type string
2135 BillingID string
2136 TotalType string
2137 Currency string
2138 Name string
2139 Cost string
2140 Multiplier string
2141 Units string
2142 NumberOf string
2143 TypeOf string
2144 }
2145
2146 func (AOCDEvent) EventTypeName() string {
2147 return "AOC-D"
2148 }
2149
2150 // AOCEEvent Raised when an Advice of Charge message is sent at the end of a call.
2151 type AOCEEvent struct {
2152 ChargingAssociation string
2153 Number string
2154 Plan string
2155 Id string
2156 Charge string
2157 Type string
2158 BillingID string
2159 TotalType string
2160 Currency string
2161 Name string
2162 Cost string
2163 Multiplier string
2164 Units string
2165 NumberOf string
2166 TypeOf string
2167 }
2168
2169 func (AOCEEvent) EventTypeName() string {
2170 return "AOC-E"
2171 }
2172
2173 // PickupEvent Raised when a call pickup occurs.
2174 type PickupEvent struct {
2175 }
2176
2177 func (PickupEvent) EventTypeName() string {
2178 return "Pickup"
2179 }
2180
2181 // BridgeCreateEvent Raised when a bridge is created.
2182 type BridgeCreateEvent struct {
2183 }
2184
2185 func (BridgeCreateEvent) EventTypeName() string {
2186 return "BridgeCreate"
2187 }
2188
2189 // BridgeDestroyEvent Raised when a bridge is destroyed.
2190 type BridgeDestroyEvent struct {
2191 }
2192
2193 func (BridgeDestroyEvent) EventTypeName() string {
2194 return "BridgeDestroy"
2195 }
2196
2197 // BridgeEnterEvent Raised when a channel enters a bridge.
2198 type BridgeEnterEvent struct {
2199 // SwapUniqueid The uniqueid of the channel being swapped out of the bridge
2200 SwapUniqueid string
2201 }
2202
2203 func (BridgeEnterEvent) EventTypeName() string {
2204 return "BridgeEnter"
2205 }
2206
2207 // BridgeLeaveEvent Raised when a channel leaves a bridge.
2208 type BridgeLeaveEvent struct {
2209 }
2210
2211 func (BridgeLeaveEvent) EventTypeName() string {
2212 return "BridgeLeave"
2213 }
2214
2215 // BridgeVideoSourceUpdateEvent Raised when the channel that is the source of video in a bridge changes.
2216 type BridgeVideoSourceUpdateEvent struct {
2217 // BridgePreviousVideoSource The unique ID of the channel that was the video source.
2218 BridgePreviousVideoSource string
2219 }
2220
2221 func (BridgeVideoSourceUpdateEvent) EventTypeName() string {
2222 return "BridgeVideoSourceUpdate"
2223 }
2224
2225 // BridgeMergeEvent Raised when two bridges are merged.
2226 type BridgeMergeEvent struct {
2227 }
2228
2229 func (BridgeMergeEvent) EventTypeName() string {
2230 return "BridgeMerge"
2231 }
2232
2233 // ParkedCallEvent Raised when a channel is parked.
2234 type ParkedCallEvent struct {
2235 // ParkerDialString Dial String that can be used to call back the parker on ParkingTimeout.
2236 ParkerDialString string
2237 // Parkinglot Name of the parking lot that the parkee is parked in
2238 Parkinglot string
2239 // ParkingSpace Parking Space that the parkee is parked in
2240 ParkingSpace string
2241 // ParkingTimeout Time remaining until the parkee is forcefully removed from parking in seconds
2242 ParkingTimeout string
2243 // ParkingDuration Time the parkee has been in the parking bridge (in seconds)
2244 ParkingDuration string
2245 }
2246
2247 func (ParkedCallEvent) EventTypeName() string {
2248 return "ParkedCall"
2249 }
2250
2251 // ParkedCallTimeOutEvent Raised when a channel leaves a parking lot due to reaching the time limit of being parked.
2252 type ParkedCallTimeOutEvent struct {
2253 // ParkerDialString Dial String that can be used to call back the parker on ParkingTimeout.
2254 ParkerDialString string
2255 // Parkinglot Name of the parking lot that the parkee is parked in
2256 Parkinglot string
2257 // ParkingSpace Parking Space that the parkee is parked in
2258 ParkingSpace string
2259 // ParkingTimeout Time remaining until the parkee is forcefully removed from parking in seconds
2260 ParkingTimeout string
2261 // ParkingDuration Time the parkee has been in the parking bridge (in seconds)
2262 ParkingDuration string
2263 }
2264
2265 func (ParkedCallTimeOutEvent) EventTypeName() string {
2266 return "ParkedCallTimeOut"
2267 }
2268
2269 // ParkedCallGiveUpEvent Raised when a channel leaves a parking lot because it hung up without being answered.
2270 type ParkedCallGiveUpEvent struct {
2271 // ParkerDialString Dial String that can be used to call back the parker on ParkingTimeout.
2272 ParkerDialString string
2273 // Parkinglot Name of the parking lot that the parkee is parked in
2274 Parkinglot string
2275 // ParkingSpace Parking Space that the parkee is parked in
2276 ParkingSpace string
2277 // ParkingTimeout Time remaining until the parkee is forcefully removed from parking in seconds
2278 ParkingTimeout string
2279 // ParkingDuration Time the parkee has been in the parking bridge (in seconds)
2280 ParkingDuration string
2281 }
2282
2283 func (ParkedCallGiveUpEvent) EventTypeName() string {
2284 return "ParkedCallGiveUp"
2285 }
2286
2287 // UnParkedCallEvent Raised when a channel leaves a parking lot because it was retrieved from the parking lot and
2288 // reconnected.
2289 type UnParkedCallEvent struct {
2290 // ParkerDialString Dial String that can be used to call back the parker on ParkingTimeout.
2291 ParkerDialString string
2292 // Parkinglot Name of the parking lot that the parkee is parked in
2293 Parkinglot string
2294 // ParkingSpace Parking Space that the parkee is parked in
2295 ParkingSpace string
2296 // ParkingTimeout Time remaining until the parkee is forcefully removed from parking in seconds
2297 ParkingTimeout string
2298 // ParkingDuration Time the parkee has been in the parking bridge (in seconds)
2299 ParkingDuration string
2300 }
2301
2302 func (UnParkedCallEvent) EventTypeName() string {
2303 return "UnParkedCall"
2304 }
2305
2306 // ParkedCallSwapEvent Raised when a channel takes the place of a previously parked channel
2307 type ParkedCallSwapEvent struct {
2308 // ParkerDialString Dial String that can be used to call back the parker on ParkingTimeout.
2309 ParkerDialString string
2310 // Parkinglot Name of the parking lot that the parkee is parked in
2311 Parkinglot string
2312 // ParkingSpace Parking Space that the parkee is parked in
2313 ParkingSpace string
2314 // ParkingTimeout Time remaining until the parkee is forcefully removed from parking in seconds
2315 ParkingTimeout string
2316 // ParkingDuration Time the parkee has been in the parking bridge (in seconds)
2317 ParkingDuration string
2318 }
2319
2320 func (ParkedCallSwapEvent) EventTypeName() string {
2321 return "ParkedCallSwap"
2322 }
2323
2324 // MWIGetEvent Raised in response to a MWIGet command.
2325 type MWIGetEvent struct {
2326 ActionID string
2327 // Mailbox Specific mailbox ID.
2328 Mailbox string
2329 // OldMessages The number of old messages in the mailbox.
2330 OldMessages string
2331 // NewMessages The number of new messages in the mailbox.
2332 NewMessages string
2333 }
2334
2335 func (MWIGetEvent) EventTypeName() string {
2336 return "MWIGet"
2337 }
2338
2339 // MWIGetCompleteEvent Raised in response to a MWIGet command.
2340 type MWIGetCompleteEvent struct {
2341 ActionID string
2342 EventList string
2343 // ListItems The number of mailboxes reported.
2344 ListItems string
2345 }
2346
2347 func (MWIGetCompleteEvent) EventTypeName() string {
2348 return "MWIGetComplete"
2349 }
2350
2351 // IdentifyDetailEvent Provide details about an identify section.
2352 type IdentifyDetailEvent struct {
2353 // ObjectType The object's type. This will always be 'identify'.
2354 ObjectType string
2355 // ObjectName The name of this object.
2356 ObjectName string
2357 // Endpoint Name of endpoint identified
2358 Endpoint string
2359 // SrvLookups Perform SRV lookups for provided hostnames.
2360 SrvLookups string
2361 // Match IP addresses or networks to match against.
2362 Match string
2363 // MatchHeader Header/value pair to match against.
2364 MatchHeader string
2365 // EndpointName The name of the endpoint associated with this information.
2366 EndpointName string
2367 }
2368
2369 func (IdentifyDetailEvent) EventTypeName() string {
2370 return "IdentifyDetail"
2371 }
2372
2373 // AorDetailEvent Provide details about an Address of Record (AoR) section.
2374 type AorDetailEvent struct {
2375 // ObjectType The object's type. This will always be 'aor'.
2376 ObjectType string
2377 // ObjectName The name of this object.
2378 ObjectName string
2379 // MinimumExpiration Minimum keep alive time for an AoR
2380 MinimumExpiration string
2381 // MaximumExpiration Maximum time to keep an AoR
2382 MaximumExpiration string
2383 // DefaultExpiration Default expiration time in seconds for contacts that are dynamically bound to an AoR.
2384 DefaultExpiration string
2385 // QualifyFrequency Interval at which to qualify an AoR
2386 QualifyFrequency string
2387 // AuthenticateQualify Authenticates a qualify challenge response if needed
2388 AuthenticateQualify string
2389 // MaxContacts Maximum number of contacts that can bind to an AoR
2390 MaxContacts string
2391 // RemoveExisting Determines whether new contacts replace existing ones.
2392 RemoveExisting string
2393 // Mailboxes Allow subscriptions for the specified mailbox(es)
2394 Mailboxes string
2395 // OutboundProxy Outbound proxy used when sending OPTIONS request
2396 OutboundProxy string
2397 // SupportPath Enables Path support for REGISTER requests and Route support for other requests.
2398 SupportPath string
2399 // TotalContacts The total number of contacts associated with this AoR.
2400 TotalContacts string
2401 // ContactsRegistered The number of non-permanent contacts associated with this AoR.
2402 ContactsRegistered string
2403 // EndpointName The name of the endpoint associated with this information.
2404 EndpointName string
2405 }
2406
2407 func (AorDetailEvent) EventTypeName() string {
2408 return "AorDetail"
2409 }
2410
2411 // AuthDetailEvent Provide details about an authentication section.
2412 type AuthDetailEvent struct {
2413 // ObjectType The object's type. This will always be 'auth'.
2414 ObjectType string
2415 // ObjectName The name of this object.
2416 ObjectName string
2417 // UserName Username to use for account
2418 UserName string
2419 // Password Username to use for account
2420 Password string
2421 // Md5Cred MD5 Hash used for authentication.
2422 Md5Cred string
2423 // Realm SIP realm for endpoint
2424 Realm string
2425 // NonceLifetime Lifetime of a nonce associated with this authentication config.
2426 NonceLifetime string
2427 // AuthType Authentication type
2428 AuthType string
2429 // EndpointName The name of the endpoint associated with this information.
2430 EndpointName string
2431 }
2432
2433 func (AuthDetailEvent) EventTypeName() string {
2434 return "AuthDetail"
2435 }
2436
2437 // TransportDetailEvent Provide details about an authentication section.
2438 type TransportDetailEvent struct {
2439 // ObjectType The object's type. This will always be 'transport'.
2440 ObjectType string
2441 // ObjectName The name of this object.
2442 ObjectName string
2443 // Protocol Protocol to use for SIP traffic
2444 Protocol string
2445 // Bind IP Address and optional port to bind to for this transport
2446 Bind string
2447 // AsycOperations Number of simultaneous Asynchronous Operations
2448 AsycOperations string
2449 // CaListFile File containing a list of certificates to read (TLS ONLY, not WSS)
2450 CaListFile string
2451 // CaListPath Path to directory containing a list of certificates to read (TLS ONLY, not WSS)
2452 CaListPath string
2453 // CertFile Certificate file for endpoint (TLS ONLY, not WSS)
2454 CertFile string
2455 // PrivKeyFile Private key file (TLS ONLY, not WSS)
2456 PrivKeyFile string
2457 // Password Password required for transport
2458 Password string
2459 // ExternalSignalingAddress External address for SIP signalling
2460 ExternalSignalingAddress string
2461 // ExternalSignalingPort External port for SIP signalling
2462 ExternalSignalingPort string
2463 // ExternalMediaAddress External IP address to use in RTP handling
2464 ExternalMediaAddress string
2465 // Domain Domain the transport comes from
2466 Domain string
2467 // VerifyServer Require verification of server certificate (TLS ONLY, not WSS)
2468 VerifyServer string
2469 // VerifyClient Require verification of client certificate (TLS ONLY, not WSS)
2470 VerifyClient string
2471 // RequireClientCert Require client certificate (TLS ONLY, not WSS)
2472 RequireClientCert string
2473 // Method Method of SSL transport (TLS ONLY, not WSS)
2474 Method string
2475 // Cipher Preferred cryptography cipher names (TLS ONLY, not WSS)
2476 Cipher string
2477 // LocalNet Network to consider local (used for NAT purposes).
2478 LocalNet string
2479 // Tos Enable TOS for the signalling sent over this transport
2480 Tos string
2481 // Cos Enable COS for the signalling sent over this transport
2482 Cos string
2483 // WebsocketWriteTimeout The timeout (in milliseconds) to set on WebSocket connections.
2484 WebsocketWriteTimeout string
2485 // EndpointName The name of the endpoint associated with this information.
2486 EndpointName string
2487 }
2488
2489 func (TransportDetailEvent) EventTypeName() string {
2490 return "TransportDetail"
2491 }
2492
2493 // EndpointDetailEvent Provide details about an endpoint section.
2494 type EndpointDetailEvent struct {
2495 // ObjectType The object's type. This will always be 'endpoint'.
2496 ObjectType string
2497 // ObjectName The name of this object.
2498 ObjectName string
2499 // Context Dialplan context for inbound sessions
2500 Context string
2501 // Disallow Media Codec(s) to disallow
2502 Disallow string
2503 // Allow Media Codec(s) to allow
2504 Allow string
2505 // DtmfMode DTMF mode
2506 DtmfMode string
2507 // RtpIpv6 Allow use of IPv6 for RTP traffic
2508 RtpIpv6 string
2509 // RtpSymmetric Enforce that RTP must be symmetric
2510 RtpSymmetric string
2511 // IceSupport Enable the ICE mechanism to help traverse NAT
2512 IceSupport string
2513 // UsePtime Use Endpoint's requested packetization interval
2514 UsePtime string
2515 // ForceRport Force use of return port
2516 ForceRport string
2517 // RewriteContact Allow Contact header to be rewritten with the source IP address-port
2518 RewriteContact string
2519 // Transport Explicit transport configuration to use
2520 Transport string
2521 // OutboundProxy Full SIP URI of the outbound proxy used to send requests
2522 OutboundProxy string
2523 // MohSuggest Default Music On Hold class
2524 MohSuggest string
2525 // Field100Rel Allow support for RFC3262 provisional ACK tags
2526 Field100Rel string
2527 // Timers Session timers for SIP packets
2528 Timers string
2529 // TimersMinSe Minimum session timers expiration period
2530 TimersMinSe string
2531 // TimersSessExpires Maximum session timer expiration period
2532 TimersSessExpires string
2533 // Auth Authentication Object(s) associated with the endpoint
2534 Auth string
2535 // OutboundAuth Authentication object(s) used for outbound requests
2536 OutboundAuth string
2537 // Aors AoR(s) to be used with the endpoint
2538 Aors string
2539 // MediaAddress IP address used in SDP for media handling
2540 MediaAddress string
2541 // IdentifyBy Way(s) for the endpoint to be identified
2542 IdentifyBy string
2543 // DirectMedia Determines whether media may flow directly between endpoints.
2544 DirectMedia string
2545 // DirectMediaMethod Direct Media method type
2546 DirectMediaMethod string
2547 // TrustConnectedLine Accept Connected Line updates from this endpoint
2548 TrustConnectedLine string
2549 // SendConnectedLine Send Connected Line updates to this endpoint
2550 SendConnectedLine string
2551 // ConnectedLineMethod Connected line method type
2552 ConnectedLineMethod string
2553 // DirectMediaGlareMitigation Mitigation of direct media (re)INVITE glare
2554 DirectMediaGlareMitigation string
2555 // DisableDirectMediaOnNat Disable direct media session refreshes when NAT obstructs the media session
2556 DisableDirectMediaOnNat string
2557 // Callerid CallerID information for the endpoint
2558 Callerid string
2559 // CalleridPrivacy Default privacy level
2560 CalleridPrivacy string
2561 // CalleridTag Internal id_tag for the endpoint
2562 CalleridTag string
2563 // TrustIdInbound Accept identification information received from this endpoint
2564 TrustIdInbound string
2565 // TrustIdOutbound Send private identification details to the endpoint.
2566 TrustIdOutbound string
2567 // SendPai Send the P-Asserted-Identity header
2568 SendPai string
2569 // SendRpid Send the Remote-Party-ID header
2570 SendRpid string
2571 // SendDiversion Send the Diversion header, conveying the diversion information to the called user agent
2572 SendDiversion string
2573 // Mailboxes NOTIFY the endpoint when state changes for any of the specified mailboxes
2574 Mailboxes string
2575 // AggregateMwi Condense MWI notifications into a single NOTIFY.
2576 AggregateMwi string
2577 // MediaEncryption Determines whether res_pjsip will use and enforce usage of media encryption for this endpoint.
2578 MediaEncryption string
2579 // MediaEncryptionOptimistic Determines whether encryption should be used if possible but does not terminate the session if not achieved.
2580 MediaEncryptionOptimistic string
2581 // UseAvpf Determines whether res_pjsip will use and enforce usage of AVPF for this endpoint.
2582 UseAvpf string
2583 // ForceAvp Determines whether res_pjsip will use and enforce usage of AVP, regardless of the RTP profile in use for this endpoint.
2584 ForceAvp string
2585 // MediaUseReceivedTransport Determines whether res_pjsip will use the media transport received in the offer SDP in the corresponding answer SDP.
2586 MediaUseReceivedTransport string
2587 // OneTouchRecording Determines whether one-touch recording is allowed for this endpoint.
2588 OneTouchRecording string
2589 // InbandProgress Determines whether chan_pjsip will indicate ringing using inband progress.
2590 InbandProgress string
2591 // CallGroup The numeric pickup groups for a channel.
2592 CallGroup string
2593 // PickupGroup The numeric pickup groups that a channel can pickup.
2594 PickupGroup string
2595 // NamedCallGroup The named pickup groups for a channel.
2596 NamedCallGroup string
2597 // NamedPickupGroup The named pickup groups that a channel can pickup.
2598 NamedPickupGroup string
2599 // DeviceStateBusyAt The number of in-use channels which will cause busy to be returned as device state
2600 DeviceStateBusyAt string
2601 // T38Udptl Whether T.38 UDPTL support is enabled or not
2602 T38Udptl string
2603 // T38UdptlEc T.38 UDPTL error correction method
2604 T38UdptlEc string
2605 // T38UdptlMaxdatagram T.38 UDPTL maximum datagram size
2606 T38UdptlMaxdatagram string
2607 // FaxDetect Whether CNG tone detection is enabled
2608 FaxDetect string
2609 // T38UdptlNat Whether NAT support is enabled on UDPTL sessions
2610 T38UdptlNat string
2611 // T38UdptlIpv6 Whether IPv6 is used for UDPTL Sessions
2612 T38UdptlIpv6 string
2613 // ToneZone Set which country's indications to use for channels created for this endpoint.
2614 ToneZone string
2615 // Language Set the default language to use for channels created for this endpoint.
2616 Language string
2617 // RecordOnFeature The feature to enact when one-touch recording is turned on.
2618 RecordOnFeature string
2619 // RecordOffFeature The feature to enact when one-touch recording is turned off.
2620 RecordOffFeature string
2621 // AllowTransfer Determines whether SIP REFER transfers are allowed for this endpoint
2622 AllowTransfer string
2623 // UserEqPhone Determines whether a user=phone parameter is placed into the request URI if the user is determined to be a phone number
2624 UserEqPhone string
2625 // MohPassthrough Determines whether hold and unhold will be passed through using re-INVITEs with recvonly and sendrecv to the remote side
2626 MohPassthrough string
2627 // SdpOwner String placed as the username portion of an SDP origin (o=) line.
2628 SdpOwner string
2629 // SdpSession String used for the SDP session (s=) line.
2630 SdpSession string
2631 // TosAudio DSCP TOS bits for audio streams
2632 TosAudio string
2633 // TosVideo DSCP TOS bits for video streams
2634 TosVideo string
2635 // CosAudio Priority for audio streams
2636 CosAudio string
2637 // CosVideo Priority for video streams
2638 CosVideo string
2639 // AllowSubscribe Determines if endpoint is allowed to initiate subscriptions with Asterisk.
2640 AllowSubscribe string
2641 // SubMinExpiry The minimum allowed expiry time for subscriptions initiated by the endpoint.
2642 SubMinExpiry string
2643 // FromUser Username to use in From header for requests to this endpoint.
2644 FromUser string
2645 // FromDomain Domain to user in From header for requests to this endpoint.
2646 FromDomain string
2647 // MwiFromUser Username to use in From header for unsolicited MWI NOTIFYs to this endpoint.
2648 MwiFromUser string
2649 // RtpEngine Name of the RTP engine to use for channels created for this endpoint
2650 RtpEngine string
2651 // DtlsVerify Verify that the provided peer certificate is valid
2652 DtlsVerify string
2653 // DtlsRekey Interval at which to renegotiate the TLS session and rekey the SRTP session
2654 DtlsRekey string
2655 // DtlsCertFile Path to certificate file to present to peer
2656 DtlsCertFile string
2657 // DtlsPrivateKey Path to private key for certificate file
2658 DtlsPrivateKey string
2659 // DtlsCipher Cipher to use for DTLS negotiation
2660 DtlsCipher string
2661 // DtlsCaFile Path to certificate authority certificate
2662 DtlsCaFile string
2663 // DtlsCaPath Path to a directory containing certificate authority certificates
2664 DtlsCaPath string
2665 // DtlsSetup Whether we are willing to accept connections, connect to the other party, or both.
2666 DtlsSetup string
2667 // SrtpTag32 Determines whether 32 byte tags should be used instead of 80 byte tags.
2668 SrtpTag32 string
2669 // RedirectMethod How redirects received from an endpoint are handled
2670 RedirectMethod string
2671 // SetVar Variable set on a channel involving the endpoint.
2672 SetVar string
2673 // MessageContext Context to route incoming MESSAGE requests to.
2674 MessageContext string
2675 // Accountcode An accountcode to set automatically on any channels created for this endpoint.
2676 Accountcode string
2677 // PreferredCodecOnly Respond to a SIP invite with the single most preferred codec (DEPRECATED)
2678 PreferredCodecOnly string
2679 // DeviceState The aggregate device state for this endpoint.
2680 DeviceState string
2681 // ActiveChannels The number of active channels associated with this endpoint.
2682 ActiveChannels string
2683 // SubscribeContext Context for incoming MESSAGE requests.
2684 SubscribeContext string
2685 // Allowoverlap Enable RFC3578 overlap dialing support.
2686 Allowoverlap string
2687 }
2688
2689 func (EndpointDetailEvent) EventTypeName() string {
2690 return "EndpointDetail"
2691 }
2692
2693 // AorListEvent Provide details about an Address of Record (AoR) section.
2694 type AorListEvent struct {
2695 // ObjectType The object's type. This will always be 'aor'.
2696 ObjectType string
2697 // ObjectName The name of this object.
2698 ObjectName string
2699 // MinimumExpiration Minimum keep alive time for an AoR
2700 MinimumExpiration string
2701 // MaximumExpiration Maximum time to keep an AoR
2702 MaximumExpiration string
2703 // DefaultExpiration Default expiration time in seconds for contacts that are dynamically bound to an AoR.
2704 DefaultExpiration string
2705 // QualifyFrequency Interval at which to qualify an AoR
2706 QualifyFrequency string
2707 // AuthenticateQualify Authenticates a qualify challenge response if needed
2708 AuthenticateQualify string
2709 // MaxContacts Maximum number of contacts that can bind to an AoR
2710 MaxContacts string
2711 // RemoveExisting Determines whether new contacts replace existing ones.
2712 RemoveExisting string
2713 // Mailboxes Allow subscriptions for the specified mailbox(es)
2714 Mailboxes string
2715 // OutboundProxy Outbound proxy used when sending OPTIONS request
2716 OutboundProxy string
2717 // SupportPath Enables Path support for REGISTER requests and Route support for other requests.
2718 SupportPath string
2719 }
2720
2721 func (AorListEvent) EventTypeName() string {
2722 return "AorList"
2723 }
2724
2725 // AuthListEvent Provide details about an Address of Record (Auth) section.
2726 type AuthListEvent struct {
2727 // ObjectType The object's type. This will always be 'auth'.
2728 ObjectType string
2729 // ObjectName The name of this object.
2730 ObjectName string
2731 // UserName Username to use for account
2732 UserName string
2733 // Md5Cred MD5 Hash used for authentication.
2734 Md5Cred string
2735 // Realm SIP realm for endpoint
2736 Realm string
2737 // AuthType Authentication type
2738 AuthType string
2739 // Password Plain text password used for authentication.
2740 Password string
2741 // NonceLifetime Lifetime of a nonce associated with this authentication config.
2742 NonceLifetime string
2743 }
2744
2745 func (AuthListEvent) EventTypeName() string {
2746 return "AuthList"
2747 }
2748
2749 // ContactListEvent Provide details about a contact section.
2750 type ContactListEvent struct {
2751 // ObjectType The object's type. This will always be 'contact'.
2752 ObjectType string
2753 // ObjectName The name of this object.
2754 ObjectName string
2755 // ViaAddr IP address of the last Via header in REGISTER request. Will only appear in the event if available.
2756 ViaAddr string
2757 // ViaPort Port number of the last Via header in REGISTER request. Will only appear in the event if available.
2758 ViaPort string
2759 // QualifyTimeout The elapsed time in decimal seconds after which an OPTIONS message is sent before the contact is considered unavailable.
2760 QualifyTimeout string
2761 // CallId Content of the Call-ID header in REGISTER request. Will only appear in the event if available.
2762 CallId string
2763 // RegServer Asterisk Server name.
2764 RegServer string
2765 // PruneOnBoot If true delete the contact on Asterisk restart/boot.
2766 PruneOnBoot string
2767 // Path The Path header received on the REGISTER.
2768 Path string
2769 // Endpoint The name of the endpoint associated with this information.
2770 Endpoint string
2771 // AuthenticateQualify A boolean indicating whether a qualify should be authenticated.
2772 AuthenticateQualify string
2773 // Uri This contact's URI.
2774 Uri string
2775 // QualifyFrequency The interval in seconds at which the contact will be qualified.
2776 QualifyFrequency string
2777 // UserAgent Content of the User-Agent header in REGISTER request
2778 UserAgent string
2779 // ExpirationTime Absolute time that this contact is no longer valid after
2780 ExpirationTime string
2781 // OutboundProxy The contact's outbound proxy.
2782 OutboundProxy string
2783 // Status This contact's status.
2784 Status string
2785 // RoundtripUsec The round trip time in microseconds.
2786 RoundtripUsec string
2787 }
2788
2789 func (ContactListEvent) EventTypeName() string {
2790 return "ContactList"
2791 }
2792
2793 // ContactStatusDetailEvent Provide details about a contact's status.
2794 type ContactStatusDetailEvent struct {
2795 // AOR The AoR that owns this contact.
2796 AOR string
2797 // URI This contact's URI.
2798 URI string
2799 // Status This contact's status.
2800 Status string
2801 // RoundtripUsec The round trip time in microseconds.
2802 RoundtripUsec string
2803 // EndpointName The name of the endpoint associated with this information.
2804 EndpointName string
2805 // UserAgent Content of the User-Agent header in REGISTER request
2806 UserAgent string
2807 // RegExpire Absolute time that this contact is no longer valid after
2808 RegExpire string
2809 // ViaAddress IP address:port of the last Via header in REGISTER request. Will only appear in the event if available.
2810 ViaAddress string
2811 // CallID Content of the Call-ID header in REGISTER request. Will only appear in the event if available.
2812 CallID string
2813 // Id The sorcery ID of the contact.
2814 Id string
2815 // AuthenticateQualify A boolean indicating whether a qualify should be authenticated.
2816 AuthenticateQualify string
2817 // OutboundProxy The contact's outbound proxy.
2818 OutboundProxy string
2819 // Path The Path header received on the REGISTER.
2820 Path string
2821 // QualifyFrequency The interval in seconds at which the contact will be qualified.
2822 QualifyFrequency string
2823 // QualifyTimeout The elapsed time in decimal seconds after which an OPTIONS message is sent before the contact is considered unavailable.
2824 QualifyTimeout string
2825 }
2826
2827 func (ContactStatusDetailEvent) EventTypeName() string {
2828 return "ContactStatusDetail"
2829 }
2830
2831 // EndpointListEvent Provide details about a contact's status.
2832 type EndpointListEvent struct {
2833 // ObjectType The object's type. This will always be 'endpoint'.
2834 ObjectType string
2835 // ObjectName The name of this object.
2836 ObjectName string
2837 // Transport The transport configurations associated with this endpoint.
2838 Transport string
2839 // Aor The aor configurations associated with this endpoint.
2840 Aor string
2841 // Auths The inbound authentication configurations associated with this endpoint.
2842 Auths string
2843 // OutboundAuths The outbound authentication configurations associated with this endpoint.
2844 OutboundAuths string
2845 // DeviceState The aggregate device state for this endpoint.
2846 DeviceState string
2847 // ActiveChannels The number of active channels associated with this endpoint.
2848 ActiveChannels string
2849 }
2850
2851 func (EndpointListEvent) EventTypeName() string {
2852 return "EndpointList"
2853 }
2854
2855 // FAXSessionsEntryEvent A single list item for the FAXSessions AMI command
2856 type FAXSessionsEntryEvent struct {
2857 ActionID string
2858 // Channel Name of the channel responsible for the FAX session
2859 Channel string
2860 // Technology The FAX technology that the FAX session is using
2861 Technology string
2862 // SessionNumber The numerical identifier for this particular session
2863 SessionNumber string
2864 // SessionType FAX session passthru/relay type
2865 SessionType string
2866 // Operation FAX session operation type
2867 Operation string
2868 // State Current state of the FAX session
2869 State string
2870 // Files File or list of files associated with this FAX session
2871 Files string
2872 }
2873
2874 func (FAXSessionsEntryEvent) EventTypeName() string {
2875 return "FAXSessionsEntry"
2876 }
2877
2878 // FAXSessionsCompleteEvent Raised when all FAXSession events are completed for a FAXSessions command
2879 type FAXSessionsCompleteEvent struct {
2880 ActionID string
2881 // Total Count of FAXSession events sent in response to FAXSessions action
2882 Total string
2883 }
2884
2885 func (FAXSessionsCompleteEvent) EventTypeName() string {
2886 return "FAXSessionsComplete"
2887 }
2888
2889 // FAXSessionEvent Raised in response to FAXSession manager command
2890 type FAXSessionEvent struct {
2891 ActionID string
2892 // SessionNumber The numerical identifier for this particular session
2893 SessionNumber string
2894 // Operation FAX session operation type
2895 Operation string
2896 // State Current state of the FAX session
2897 State string
2898 // ErrorCorrectionMode Whether error correcting mode is enabled for the FAX session. This field is not included when operation is 'V.21 Detect' or if operation is 'gateway' and state is 'Uninitialized'
2899 ErrorCorrectionMode string
2900 // DataRate Bit rate of the FAX. This field is not included when operation is 'V.21 Detect' or if operation is 'gateway' and state is 'Uninitialized'.
2901 DataRate string
2902 // ImageResolution Resolution of each page of the FAX. Will be in the format of X_RESxY_RES. This field is not included if the operation is anything other than Receive/Transmit.
2903 ImageResolution string
2904 // PageNumber Current number of pages transferred during this FAX session. May change as the FAX progresses. This field is not included when operation is 'V.21 Detect' or if operation is 'gateway' and state is 'Uninitialized'.
2905 PageNumber string
2906 // FileName Filename of the image being sent/received for this FAX session. This field is not included if Operation isn't 'send' or 'receive'.
2907 FileName string
2908 // PagesTransmitted Total number of pages sent during this session. This field is not included if Operation isn't 'send' or 'receive'. Will always be 0 for 'receive'.
2909 PagesTransmitted string
2910 // PagesReceived Total number of pages received during this session. This field is not included if Operation is not 'send' or 'receive'. Will be 0 for 'send'.
2911 PagesReceived string
2912 // TotalBadLines Total number of bad lines sent/received during this session. This field is not included if Operation is not 'send' or 'received'.
2913 TotalBadLines string
2914 }
2915
2916 func (FAXSessionEvent) EventTypeName() string {
2917 return "FAXSession"
2918 }
2919
2920 // FAXStatsEvent Raised in response to FAXStats manager command
2921 type FAXStatsEvent struct {
2922 ActionID string
2923 // CurrentSessions Number of active FAX sessions
2924 CurrentSessions string
2925 // ReservedSessions Number of reserved FAX sessions
2926 ReservedSessions string
2927 // TransmitAttempts Total FAX sessions for which Asterisk is/was the transmitter
2928 TransmitAttempts string
2929 // ReceiveAttempts Total FAX sessions for which Asterisk is/was the recipient
2930 ReceiveAttempts string
2931 // CompletedFAXes Total FAX sessions which have been completed successfully
2932 CompletedFAXes string
2933 // FailedFAXes Total FAX sessions which failed to complete successfully
2934 FailedFAXes string
2935 }
2936
2937 func (FAXStatsEvent) EventTypeName() string {
2938 return "FAXStats"
2939 }
2940
2941 // AsyncAGIStartEvent Raised when a channel starts AsyncAGI command processing.
2942 type AsyncAGIStartEvent struct {
2943 // Env URL encoded string read from the AsyncAGI server.
2944 Env string
2945 }
2946
2947 func (AsyncAGIStartEvent) EventTypeName() string {
2948 return "AsyncAGIStart"
2949 }
2950
2951 // AsyncAGIEndEvent Raised when a channel stops AsyncAGI command processing.
2952 type AsyncAGIEndEvent struct {
2953 }
2954
2955 func (AsyncAGIEndEvent) EventTypeName() string {
2956 return "AsyncAGIEnd"
2957 }
2958
2959 // AsyncAGIExecEvent Raised when AsyncAGI completes an AGI command.
2960 type AsyncAGIExecEvent struct {
2961 // CommandID Optional command ID sent by the AsyncAGI server to identify the command.
2962 CommandID string
2963 // Result URL encoded result string from the executed AGI command.
2964 Result string
2965 }
2966
2967 func (AsyncAGIExecEvent) EventTypeName() string {
2968 return "AsyncAGIExec"
2969 }
2970
2971 // AGIExecStartEvent Raised when a received AGI command starts processing.
2972 type AGIExecStartEvent struct {
2973 // Command The AGI command as received from the external source.
2974 Command string
2975 // CommandId Random identification number assigned to the execution of this command.
2976 CommandId string
2977 }
2978
2979 func (AGIExecStartEvent) EventTypeName() string {
2980 return "AGIExecStart"
2981 }
2982
2983 // AGIExecEndEvent Raised when a received AGI command completes processing.
2984 type AGIExecEndEvent struct {
2985 // Command The AGI command as received from the external source.
2986 Command string
2987 // CommandId Random identification number assigned to the execution of this command.
2988 CommandId string
2989 // ResultCode The numeric result code from AGI
2990 ResultCode string
2991 // Result The text result reason from AGI
2992 Result string
2993 }
2994
2995 func (AGIExecEndEvent) EventTypeName() string {
2996 return "AGIExecEnd"
2997 }
2998
2999 // ExtensionStateListCompleteEvent Indicates the end of the list the current known extension states.
3000 type ExtensionStateListCompleteEvent struct {
3001 // EventList Conveys the status of the event list.
3002 EventList string
3003 // ListItems Conveys the number of statuses reported.
3004 ListItems string
3005 }
3006
3007 func (ExtensionStateListCompleteEvent) EventTypeName() string {
3008 return "ExtensionStateListComplete"
3009 }
3010
3011 // BridgeInfoCompleteEvent Information about a bridge.
3012 type BridgeInfoCompleteEvent struct {
3013 }
3014
3015 func (BridgeInfoCompleteEvent) EventTypeName() string {
3016 return "BridgeInfoComplete"
3017 }
3018
3019 // BridgeInfoChannelEvent Information about a channel in a bridge.
3020 type BridgeInfoChannelEvent struct {
3021 }
3022
3023 func (BridgeInfoChannelEvent) EventTypeName() string {
3024 return "BridgeInfoChannel"
3025 }
3026
3027 // PresenceStateListCompleteEvent Indicates the end of the list the current known extension states.
3028 type PresenceStateListCompleteEvent struct {
3029 // EventList Conveys the status of the event list.
3030 EventList string
3031 // ListItems Conveys the number of statuses reported.
3032 ListItems string
3033 }
3034
3035 func (PresenceStateListCompleteEvent) EventTypeName() string {
3036 return "PresenceStateListComplete"
3037 }
3038
3039 // EndpointListCompleteEvent Provide final information about an endpoint list.
3040 type EndpointListCompleteEvent struct {
3041 EventList string
3042 ListItems string
3043 }
3044
3045 func (EndpointListCompleteEvent) EventTypeName() string {
3046 return "EndpointListComplete"
3047 }
3048
3049 // EndpointDetailCompleteEvent Provide final information about endpoint details.
3050 type EndpointDetailCompleteEvent struct {
3051 EventList string
3052 ListItems string
3053 }
3054
3055 func (EndpointDetailCompleteEvent) EventTypeName() string {
3056 return "EndpointDetailComplete"
3057 }
3058
3059 // AorListCompleteEvent Provide final information about an aor list.
3060 type AorListCompleteEvent struct {
3061 EventList string
3062 ListItems string
3063 }
3064
3065 func (AorListCompleteEvent) EventTypeName() string {
3066 return "AorListComplete"
3067 }
3068
3069 // AuthListCompleteEvent Provide final information about an auth list.
3070 type AuthListCompleteEvent struct {
3071 EventList string
3072 ListItems string
3073 }
3074
3075 func (AuthListCompleteEvent) EventTypeName() string {
3076 return "AuthListComplete"
3077 }
3078
3079 // ContactListCompleteEvent Provide final information about a contact list.
3080 type ContactListCompleteEvent struct {
3081 EventList string
3082 ListItems string
3083 }
3084
3085 func (ContactListCompleteEvent) EventTypeName() string {
3086 return "ContactListComplete"
3087 }
3088
3089 // DeviceStateListCompleteEvent Indicates the end of the list the current known extension states.
3090 type DeviceStateListCompleteEvent struct {
3091 // EventList Conveys the status of the event list.
3092 EventList string
3093 // ListItems Conveys the number of statuses reported.
3094 ListItems string
3095 }
3096
3097 func (DeviceStateListCompleteEvent) EventTypeName() string {
3098 return "DeviceStateListComplete"
3099 }