-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnotify-dialog.go
47 lines (45 loc) · 1.59 KB
/
notify-dialog.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package finesse_api
type XmppDialogs struct {
Dialogs []XmppDialog `xml:"Dialog"`
}
type XmppDialog struct {
AssociatedDialogUri string `xml:"associatedDialogUri"`
FromAddress string `xml:"fromAddress"`
ID string `xml:"id"`
SecondaryId string `xml:"secondaryId"`
MediaProperties struct {
MediaId string `xml:"mediaId"`
DNIS string `xml:"DNIS"`
CallType string `xml:"callType"`
DialedNumber string `xml:"dialedNumber"`
OutboundClassification string `xml:"outboundClassification"`
CallVariables struct {
CallVariable []struct {
Name string `xml:"name"`
Value string `xml:"value"`
} `xml:"CallVariable"`
} `xml:"callvariables"`
QueueNumber string `xml:"queueNumber"`
QueueName string `xml:"queueName"`
CallKeyCallId string `xml:"callKeyCallId"`
CallKeySequenceNum string `xml:"callKeySequenceNum"`
CallKeyPrefix string `xml:"callKeyPrefix"`
} `xml:"mediaProperties"`
MediaType string `xml:"mediaType"`
Participants struct {
Participant struct {
Actions struct {
Action []string `xml:"action"`
} `xml:"actions"`
MediaAddress string `xml:"mediaAddress"`
MediaAddressType string `xml:"mediaAddressType"`
StartTime string `xml:"startTime"`
State string `xml:"state"`
StateCause string `xml:"stateCause"`
StateChangeTime string `xml:"stateChangeTime"`
} `xml:"Participant"`
} `xml:"participants"`
State string `xml:"state"`
ToAddress string `xml:"toAddress"`
URI string `xml:"uri"`
}