Documentation ¶
Index ¶
- Constants
- Variables
- type Admin
- type AdminResponse
- type AnyInfo
- type CallInSession
- type CallInfo
- type Calls
- type CallsResponse
- type Device
- type Devices
- type DevicesResponse
- type Direction
- type Echo
- type EchoResponse
- type End
- type EndResponse
- type FindUser
- type FindUserResponse
- type Group
- type Hold
- type Info
- type Initialize
- type InitializeResponse
- type License
- type LicenseResponse
- type LocationUrl
- type LocationUrlResponse
- type No
- type OperationAdminRequest
- type OperationAdminResponse
- type OperationCallsRequest
- type OperationCallsResponse
- type OperationDevicesRequest
- type OperationDevicesResponse
- type OperationEchoRequest
- type OperationEchoResponse
- type OperationEndRequest
- type OperationEndResponse
- type OperationFindUserRequest
- type OperationFindUserResponse
- type OperationInitializeRequest
- type OperationInitializeResponse
- type OperationLicenseRequest
- type OperationLicenseResponse
- type OperationLocationUrlRequest
- type OperationLocationUrlResponse
- type OperationPollRequest
- type OperationPollResponse
- type OperationSetPresenceRequest
- type OperationSetPresenceResponse
- type OperationUserCallRequest
- type OperationUserCallResponse
- type OperationUserClearRequest
- type OperationUserClearResponse
- type OperationUserConnectRequest
- type OperationUserConnectResponse
- type OperationUserCtCompleteRequest
- type OperationUserCtCompleteResponse
- type OperationUserDTMFRequest
- type OperationUserDTMFResponse
- type OperationUserEndRequest
- type OperationUserEndResponse
- type OperationUserFindDestinationRequest
- type OperationUserFindDestinationResponse
- type OperationUserHoldRequest
- type OperationUserHoldResponse
- type OperationUserInfoRequest
- type OperationUserInfoResponse
- type OperationUserInitializeRequest
- type OperationUserInitializeResponse
- type OperationUserLicenseRequest
- type OperationUserLicenseResponse
- type OperationUserLocalNumRequest
- type OperationUserLocalNumResponse
- type OperationUserMediaTransferRequest
- type OperationUserMediaTransferResponse
- type OperationUserMessageRequest
- type OperationUserMessageResponse
- type OperationUserParkRequest
- type OperationUserParkResponse
- type OperationUserPickupRequest
- type OperationUserPickupResponse
- type OperationUserRcRequest
- type OperationUserRcResponse
- type OperationUserRedirectRequest
- type OperationUserRedirectResponse
- type OperationUserRerouteRequest
- type OperationUserRerouteResponse
- type OperationUserRetrieveRequest
- type OperationUserRetrieveResponse
- type OperationUserTransferRequest
- type OperationUserTransferResponse
- type OperationUserUUIRequest
- type OperationUserUUIResponse
- type OperationVersionRequest
- type OperationVersionResponse
- type PbxPortType
- type Poll
- type PollResponse
- type Presence
- type PresenceActivity
- type PresenceStatus
- type RegInfo
- type Session
- type SetPresence
- type SetPresenceResponse
- type State
- type UserCall
- type UserCallResponse
- type UserClear
- type UserClearResponse
- type UserConnect
- type UserConnectResponse
- type UserCtComplete
- type UserCtCompleteResponse
- type UserDTMF
- type UserDTMFResponse
- type UserEnd
- type UserEndResponse
- type UserFindDestination
- type UserFindDestinationResponse
- type UserHold
- type UserHoldResponse
- type UserInfo
- type UserInfoArray
- type UserInfoTx
- type UserInfoTxResponse
- type UserInitialize
- type UserInitializeResponse
- type UserLicense
- type UserLicenseResponse
- type UserLocalNum
- type UserLocalNumResponse
- type UserMediaTransfer
- type UserMediaTransferResponse
- type UserMessage
- type UserMessageResponse
- type UserPark
- type UserParkResponse
- type UserPickup
- type UserPickupResponse
- type UserRc
- type UserRcResponse
- type UserRedirect
- type UserRedirectResponse
- type UserReroute
- type UserRerouteResponse
- type UserRetrieve
- type UserRetrieveResponse
- type UserTransfer
- type UserTransferResponse
- type UserUUI
- type UserUUIResponse
- type Version
- type VersionResponse
Constants ¶
const ( DirectionInbound = 0 DirectionOutbound = 0x80 )
Direction constants as defined in the documentation
Variables ¶
var Namespace = "http://innovaphone.com/pbx"
Namespace was auto-generated from WSDL.
Functions ¶
This section is empty.
Types ¶
type Admin ¶ added in v0.2.0
type Admin struct {
Xml *string `xml:"xml,omitempty" json:"xml,omitempty" yaml:"xml,omitempty"`
}
Admin was auto-generated from WSDL.
type AdminResponse ¶ added in v0.2.0
type AdminResponse struct {
Return *string `xml:"return,omitempty" json:"return,omitempty" yaml:"return,omitempty"`
}
AdminResponse was auto-generated from WSDL.
type AnyInfo ¶
type AnyInfo struct { User []*UserInfo `xml:"user,omitempty" json:"user,omitempty" yaml:"user,omitempty"` Call []*CallInfo `xml:"call,omitempty" json:"call,omitempty" yaml:"call,omitempty"` Reg []*RegInfo `xml:"reg,omitempty" json:"reg,omitempty" yaml:"reg,omitempty"` Info []*Info `xml:"info,omitempty" json:"info,omitempty" yaml:"info,omitempty"` }
AnyInfo was auto-generated from WSDL.
type CallInSession ¶
type CallInSession struct { *CallInfo // contains filtered or unexported fields }
CallInSession puts call information together with the session context. Some decisions about calls can only be made in context, since - for instance - the direction information is dependent on the user being monitored.
func (*CallInSession) GetDirection ¶
func (call *CallInSession) GetDirection() Direction
GetDirection returns the call direction as interpreted by an outside observer. It wraps the PBX' notion of direction, which might be relative to itself.
func (*CallInSession) ShouldHandle ¶
func (call *CallInSession) ShouldHandle() bool
ShouldHandle decides whether a call involves any of the groups being filtered on (see Config.FilterOnGroup)
type CallInfo ¶
type CallInfo struct { User int `xml:"user" json:"user" yaml:"user"` Call int `xml:"call" json:"call" yaml:"call"` Reg int `xml:"reg" json:"reg" yaml:"reg"` Active bool `xml:"active" json:"active" yaml:"active"` State int `xml:"state" json:"state" yaml:"state"` No []*No `xml:"No,omitempty" json:"No,omitempty" yaml:"No,omitempty"` Msg string `xml:"msg" json:"msg" yaml:"msg"` Info []*Info `xml:"info,omitempty" json:"info,omitempty" yaml:"info,omitempty"` }
CallInfo was auto-generated from WSDL.
func (*CallInfo) GetDirection ¶
GetDirection returns the call's direction (either incoming or outgoing)
func (*CallInfo) GetHold ¶
GetHold returns the call's hold status (whether it was placed on hold by the local or remote part)
func (*CallInfo) GetSourceAndDestination ¶
GetSourceAndDestination returns the call's source and destination
type Calls ¶ added in v0.2.0
type Calls struct { Session int `xml:"session" json:"session" yaml:"session"` User *string `xml:"user,omitempty" json:"user,omitempty" yaml:"user,omitempty"` }
Calls was auto-generated from WSDL.
type CallsResponse ¶ added in v0.2.0
type CallsResponse struct {
CallInfo []*CallInfo `xml:"CallInfo,omitempty" json:"CallInfo,omitempty" yaml:"CallInfo,omitempty"`
}
CallsResponse was auto-generated from WSDL.
type Device ¶
type Device struct { Hw string `xml:"hw" json:"hw" yaml:"hw"` Text string `xml:"text" json:"text" yaml:"text"` }
Device was auto-generated from WSDL.
type Devices ¶ added in v0.2.0
type Devices struct { Session int `xml:"session" json:"session" yaml:"session"` User *string `xml:"user,omitempty" json:"user,omitempty" yaml:"user,omitempty"` }
Devices was auto-generated from WSDL.
type DevicesResponse ¶ added in v0.2.0
type DevicesResponse struct {
Device []*Device `xml:"Device,omitempty" json:"Device,omitempty" yaml:"Device,omitempty"`
}
DevicesResponse was auto-generated from WSDL.
type Direction ¶
type Direction int
Direction represents the call direction from the innovaphone PBX' perspective.
type Echo ¶ added in v0.2.0
type Echo struct { Session int `xml:"session" json:"session" yaml:"session"` Key int `xml:"key" json:"key" yaml:"key"` }
Echo was auto-generated from WSDL.
type EchoResponse ¶ added in v0.2.0
type EchoResponse struct {
Return int `xml:"return" json:"return" yaml:"return"`
}
EchoResponse was auto-generated from WSDL.
type End ¶ added in v0.2.0
type End struct {
Session int `xml:"session" json:"session" yaml:"session"`
}
End was auto-generated from WSDL.
type EndResponse ¶ added in v0.2.0
type EndResponse struct { }
EndResponse was auto-generated from WSDL.
type FindUser ¶ added in v0.2.0
type FindUser struct { V501 *string `xml:"v501,omitempty" json:"v501,omitempty" yaml:"v501,omitempty"` V700 *string `xml:"v700,omitempty" json:"v700,omitempty" yaml:"v700,omitempty"` V800 *string `xml:"v800,omitempty" json:"v800,omitempty" yaml:"v800,omitempty"` Vx1100 *string `xml:"vx1100,omitempty" json:"vx1100,omitempty" yaml:"vx1100,omitempty"` Cn *string `xml:"cn,omitempty" json:"cn,omitempty" yaml:"cn,omitempty"` H323 *string `xml:"h323,omitempty" json:"h323,omitempty" yaml:"h323,omitempty"` E164 *string `xml:"e164,omitempty" json:"e164,omitempty" yaml:"e164,omitempty"` Count int `xml:"count" json:"count" yaml:"count"` Next int `xml:"next" json:"next" yaml:"next"` Nohide bool `xml:"nohide" json:"nohide" yaml:"nohide"` }
FindUser was auto-generated from WSDL.
type FindUserResponse ¶ added in v0.2.0
type FindUserResponse struct {
Return *UserInfoArray `xml:"return" json:"return" yaml:"return"`
}
FindUserResponse was auto-generated from WSDL.
type Group ¶
type Group struct { Group string `xml:"group" json:"group" yaml:"group"` Active bool `xml:"active" json:"active" yaml:"active"` }
Group was auto-generated from WSDL.
type Hold ¶
type Hold int
Hold represents the call hold status
Hold constants as defined in the documentation
type Info ¶
type Info struct { Type *string `xml:"type,omitempty" json:"type,omitempty" yaml:"type,omitempty"` Vali *int `xml:"vali,omitempty" json:"vali,omitempty" yaml:"vali,omitempty"` Vals *string `xml:"vals,omitempty" json:"vals,omitempty" yaml:"vals,omitempty"` }
Info was auto-generated from WSDL.
type Initialize ¶ added in v0.2.0
type Initialize struct { User *string `xml:"user,omitempty" json:"user,omitempty" yaml:"user,omitempty"` Appl *string `xml:"appl,omitempty" json:"appl,omitempty" yaml:"appl,omitempty"` V bool `xml:"v" json:"v" yaml:"v"` V501 bool `xml:"v501" json:"v501" yaml:"v501"` V700 bool `xml:"v700" json:"v700" yaml:"v700"` V800 bool `xml:"v800" json:"v800" yaml:"v800"` Vx1100 bool `xml:"vx1100" json:"vx1100" yaml:"vx1100"` }
Initialize was auto-generated from WSDL.
type InitializeResponse ¶ added in v0.2.0
type InitializeResponse struct { Return int `xml:"return" json:"return" yaml:"return"` Key int `xml:"key" json:"key" yaml:"key"` }
InitializeResponse was auto-generated from WSDL.
type License ¶ added in v0.2.0
type License struct { Session int `xml:"session" json:"session" yaml:"session"` Name *string `xml:"name,omitempty" json:"name,omitempty" yaml:"name,omitempty"` }
License was auto-generated from WSDL.
type LicenseResponse ¶ added in v0.2.0
type LicenseResponse struct {
Return *string `xml:"return,omitempty" json:"return,omitempty" yaml:"return,omitempty"`
}
LicenseResponse was auto-generated from WSDL.
type LocationUrl ¶ added in v0.2.0
type LocationUrl struct { V501 *string `xml:"v501,omitempty" json:"v501,omitempty" yaml:"v501,omitempty"` V700 *string `xml:"v700,omitempty" json:"v700,omitempty" yaml:"v700,omitempty"` V800 *string `xml:"v800,omitempty" json:"v800,omitempty" yaml:"v800,omitempty"` Vx1100 *string `xml:"vx1100,omitempty" json:"vx1100,omitempty" yaml:"vx1100,omitempty"` Loc *string `xml:"loc,omitempty" json:"loc,omitempty" yaml:"loc,omitempty"` Tls bool `xml:"tls" json:"tls" yaml:"tls"` }
LocationUrl was auto-generated from WSDL.
type LocationUrlResponse ¶ added in v0.2.0
type LocationUrlResponse struct {
Return *string `xml:"return,omitempty" json:"return,omitempty" yaml:"return,omitempty"`
}
LocationUrlResponse was auto-generated from WSDL.
type No ¶
type No struct { Type string `xml:"type" json:"type" yaml:"type"` Cn string `xml:"cn" json:"cn" yaml:"cn"` Dn string `xml:"dn" json:"dn" yaml:"dn"` E164 string `xml:"e164" json:"e164" yaml:"e164"` H323 string `xml:"h323" json:"h323" yaml:"h323"` }
No was auto-generated from WSDL.
type OperationAdminRequest ¶
type OperationAdminRequest struct {
Admin *Admin `xml:"Admin,omitempty" json:"Admin,omitempty" yaml:"Admin,omitempty"`
}
Operation wrapper for Admin. OperationAdminRequest was auto-generated from WSDL.
type OperationAdminResponse ¶
type OperationAdminResponse struct {
AdminResponse *AdminResponse `xml:"AdminResponse,omitempty" json:"AdminResponse,omitempty" yaml:"AdminResponse,omitempty"`
}
Operation wrapper for Admin. OperationAdminResponse was auto-generated from WSDL.
type OperationCallsRequest ¶
type OperationCallsRequest struct {
Calls *Calls `xml:"Calls,omitempty" json:"Calls,omitempty" yaml:"Calls,omitempty"`
}
Operation wrapper for Calls. OperationCallsRequest was auto-generated from WSDL.
type OperationCallsResponse ¶
type OperationCallsResponse struct {
CallsResponse *CallsResponse `xml:"CallsResponse,omitempty" json:"CallsResponse,omitempty" yaml:"CallsResponse,omitempty"`
}
Operation wrapper for Calls. OperationCallsResponse was auto-generated from WSDL.
type OperationDevicesRequest ¶
type OperationDevicesRequest struct {
Devices *Devices `xml:"Devices,omitempty" json:"Devices,omitempty" yaml:"Devices,omitempty"`
}
Operation wrapper for Devices. OperationDevicesRequest was auto-generated from WSDL.
type OperationDevicesResponse ¶
type OperationDevicesResponse struct {
DevicesResponse *DevicesResponse `xml:"DevicesResponse,omitempty" json:"DevicesResponse,omitempty" yaml:"DevicesResponse,omitempty"`
}
Operation wrapper for Devices. OperationDevicesResponse was auto-generated from WSDL.
type OperationEchoRequest ¶
type OperationEchoRequest struct {
Echo *Echo `xml:"Echo,omitempty" json:"Echo,omitempty" yaml:"Echo,omitempty"`
}
Operation wrapper for Echo. OperationEchoRequest was auto-generated from WSDL.
type OperationEchoResponse ¶
type OperationEchoResponse struct {
EchoResponse *EchoResponse `xml:"EchoResponse,omitempty" json:"EchoResponse,omitempty" yaml:"EchoResponse,omitempty"`
}
Operation wrapper for Echo. OperationEchoResponse was auto-generated from WSDL.
type OperationEndRequest ¶
type OperationEndRequest struct {
End *End `xml:"End,omitempty" json:"End,omitempty" yaml:"End,omitempty"`
}
Operation wrapper for End. OperationEndRequest was auto-generated from WSDL.
type OperationEndResponse ¶
type OperationEndResponse struct {
EndResponse *EndResponse `xml:"EndResponse,omitempty" json:"EndResponse,omitempty" yaml:"EndResponse,omitempty"`
}
Operation wrapper for End. OperationEndResponse was auto-generated from WSDL.
type OperationFindUserRequest ¶
type OperationFindUserRequest struct {
FindUser *FindUser `xml:"FindUser,omitempty" json:"FindUser,omitempty" yaml:"FindUser,omitempty"`
}
Operation wrapper for FindUser. OperationFindUserRequest was auto-generated from WSDL.
type OperationFindUserResponse ¶
type OperationFindUserResponse struct {
FindUserResponse *FindUserResponse `xml:"FindUserResponse,omitempty" json:"FindUserResponse,omitempty" yaml:"FindUserResponse,omitempty"`
}
Operation wrapper for FindUser. OperationFindUserResponse was auto-generated from WSDL.
type OperationInitializeRequest ¶
type OperationInitializeRequest struct {
Initialize *Initialize `xml:"Initialize,omitempty" json:"Initialize,omitempty" yaml:"Initialize,omitempty"`
}
Operation wrapper for Initialize. OperationInitializeRequest was auto-generated from WSDL.
type OperationInitializeResponse ¶
type OperationInitializeResponse struct {
InitializeResponse *InitializeResponse `xml:"InitializeResponse,omitempty" json:"InitializeResponse,omitempty" yaml:"InitializeResponse,omitempty"`
}
Operation wrapper for Initialize. OperationInitializeResponse was auto-generated from WSDL.
type OperationLicenseRequest ¶
type OperationLicenseRequest struct {
License *License `xml:"License,omitempty" json:"License,omitempty" yaml:"License,omitempty"`
}
Operation wrapper for License. OperationLicenseRequest was auto-generated from WSDL.
type OperationLicenseResponse ¶
type OperationLicenseResponse struct {
LicenseResponse *LicenseResponse `xml:"LicenseResponse,omitempty" json:"LicenseResponse,omitempty" yaml:"LicenseResponse,omitempty"`
}
Operation wrapper for License. OperationLicenseResponse was auto-generated from WSDL.
type OperationLocationUrlRequest ¶
type OperationLocationUrlRequest struct {
LocationUrl *LocationUrl `xml:"LocationUrl,omitempty" json:"LocationUrl,omitempty" yaml:"LocationUrl,omitempty"`
}
Operation wrapper for LocationUrl. OperationLocationUrlRequest was auto-generated from WSDL.
type OperationLocationUrlResponse ¶
type OperationLocationUrlResponse struct {
LocationUrlResponse *LocationUrlResponse `xml:"LocationUrlResponse,omitempty" json:"LocationUrlResponse,omitempty" yaml:"LocationUrlResponse,omitempty"`
}
Operation wrapper for LocationUrl. OperationLocationUrlResponse was auto-generated from WSDL.
type OperationPollRequest ¶
type OperationPollRequest struct {
Poll *Poll `xml:"Poll,omitempty" json:"Poll,omitempty" yaml:"Poll,omitempty"`
}
Operation wrapper for Poll. OperationPollRequest was auto-generated from WSDL.
type OperationPollResponse ¶
type OperationPollResponse struct {
PollResponse *PollResponse `xml:"PollResponse,omitempty" json:"PollResponse,omitempty" yaml:"PollResponse,omitempty"`
}
Operation wrapper for Poll. OperationPollResponse was auto-generated from WSDL.
type OperationSetPresenceRequest ¶ added in v0.2.0
type OperationSetPresenceRequest struct {
SetPresence *SetPresence `xml:"SetPresence,omitempty" json:"SetPresence,omitempty" yaml:"SetPresence,omitempty"`
}
Operation wrapper for SetPresence. OperationSetPresenceRequest was auto-generated from WSDL.
type OperationSetPresenceResponse ¶ added in v0.2.0
type OperationSetPresenceResponse struct {
SetPresenceResponse *SetPresenceResponse `xml:"SetPresenceResponse,omitempty" json:"SetPresenceResponse,omitempty" yaml:"SetPresenceResponse,omitempty"`
}
Operation wrapper for SetPresence. OperationSetPresenceResponse was auto-generated from WSDL.
type OperationUserCallRequest ¶
type OperationUserCallRequest struct {
UserCall *UserCall `xml:"UserCall,omitempty" json:"UserCall,omitempty" yaml:"UserCall,omitempty"`
}
Operation wrapper for UserCall. OperationUserCallRequest was auto-generated from WSDL.
type OperationUserCallResponse ¶
type OperationUserCallResponse struct {
UserCallResponse *UserCallResponse `xml:"UserCallResponse,omitempty" json:"UserCallResponse,omitempty" yaml:"UserCallResponse,omitempty"`
}
Operation wrapper for UserCall. OperationUserCallResponse was auto-generated from WSDL.
type OperationUserClearRequest ¶
type OperationUserClearRequest struct {
UserClear *UserClear `xml:"UserClear,omitempty" json:"UserClear,omitempty" yaml:"UserClear,omitempty"`
}
Operation wrapper for UserClear. OperationUserClearRequest was auto-generated from WSDL.
type OperationUserClearResponse ¶
type OperationUserClearResponse struct {
UserClearResponse *UserClearResponse `xml:"UserClearResponse,omitempty" json:"UserClearResponse,omitempty" yaml:"UserClearResponse,omitempty"`
}
Operation wrapper for UserClear. OperationUserClearResponse was auto-generated from WSDL.
type OperationUserConnectRequest ¶
type OperationUserConnectRequest struct {
UserConnect *UserConnect `xml:"UserConnect,omitempty" json:"UserConnect,omitempty" yaml:"UserConnect,omitempty"`
}
Operation wrapper for UserConnect. OperationUserConnectRequest was auto-generated from WSDL.
type OperationUserConnectResponse ¶
type OperationUserConnectResponse struct {
UserConnectResponse *UserConnectResponse `xml:"UserConnectResponse,omitempty" json:"UserConnectResponse,omitempty" yaml:"UserConnectResponse,omitempty"`
}
Operation wrapper for UserConnect. OperationUserConnectResponse was auto-generated from WSDL.
type OperationUserCtCompleteRequest ¶
type OperationUserCtCompleteRequest struct {
UserCtComplete *UserCtComplete `xml:"UserCtComplete,omitempty" json:"UserCtComplete,omitempty" yaml:"UserCtComplete,omitempty"`
}
Operation wrapper for UserCtComplete. OperationUserCtCompleteRequest was auto-generated from WSDL.
type OperationUserCtCompleteResponse ¶
type OperationUserCtCompleteResponse struct {
UserCtCompleteResponse *UserCtCompleteResponse `xml:"UserCtCompleteResponse,omitempty" json:"UserCtCompleteResponse,omitempty" yaml:"UserCtCompleteResponse,omitempty"`
}
Operation wrapper for UserCtComplete. OperationUserCtCompleteResponse was auto-generated from WSDL.
type OperationUserDTMFRequest ¶
type OperationUserDTMFRequest struct {
UserDTMF *UserDTMF `xml:"UserDTMF,omitempty" json:"UserDTMF,omitempty" yaml:"UserDTMF,omitempty"`
}
Operation wrapper for UserDTMF. OperationUserDTMFRequest was auto-generated from WSDL.
type OperationUserDTMFResponse ¶
type OperationUserDTMFResponse struct {
UserDTMFResponse *UserDTMFResponse `xml:"UserDTMFResponse,omitempty" json:"UserDTMFResponse,omitempty" yaml:"UserDTMFResponse,omitempty"`
}
Operation wrapper for UserDTMF. OperationUserDTMFResponse was auto-generated from WSDL.
type OperationUserEndRequest ¶
type OperationUserEndRequest struct {
UserEnd *UserEnd `xml:"UserEnd,omitempty" json:"UserEnd,omitempty" yaml:"UserEnd,omitempty"`
}
Operation wrapper for UserEnd. OperationUserEndRequest was auto-generated from WSDL.
type OperationUserEndResponse ¶
type OperationUserEndResponse struct {
UserEndResponse *UserEndResponse `xml:"UserEndResponse,omitempty" json:"UserEndResponse,omitempty" yaml:"UserEndResponse,omitempty"`
}
Operation wrapper for UserEnd. OperationUserEndResponse was auto-generated from WSDL.
type OperationUserFindDestinationRequest ¶
type OperationUserFindDestinationRequest struct {
UserFindDestination *UserFindDestination `xml:"UserFindDestination,omitempty" json:"UserFindDestination,omitempty" yaml:"UserFindDestination,omitempty"`
}
Operation wrapper for UserFindDestination. OperationUserFindDestinationRequest was auto-generated from WSDL.
type OperationUserFindDestinationResponse ¶
type OperationUserFindDestinationResponse struct {
UserFindDestinationResponse *UserFindDestinationResponse `` /* 133-byte string literal not displayed */
}
Operation wrapper for UserFindDestination. OperationUserFindDestinationResponse was auto-generated from WSDL.
type OperationUserHoldRequest ¶
type OperationUserHoldRequest struct {
UserHold *UserHold `xml:"UserHold,omitempty" json:"UserHold,omitempty" yaml:"UserHold,omitempty"`
}
Operation wrapper for UserHold. OperationUserHoldRequest was auto-generated from WSDL.
type OperationUserHoldResponse ¶
type OperationUserHoldResponse struct {
UserHoldResponse *UserHoldResponse `xml:"UserHoldResponse,omitempty" json:"UserHoldResponse,omitempty" yaml:"UserHoldResponse,omitempty"`
}
Operation wrapper for UserHold. OperationUserHoldResponse was auto-generated from WSDL.
type OperationUserInfoRequest ¶
type OperationUserInfoRequest struct {
UserInfoTx *UserInfoTx `xml:"UserInfoTx,omitempty" json:"UserInfoTx,omitempty" yaml:"UserInfoTx,omitempty"`
}
Operation wrapper for UserInfo. OperationUserInfoRequest was auto-generated from WSDL.
type OperationUserInfoResponse ¶
type OperationUserInfoResponse struct {
UserInfoTxResponse *UserInfoTxResponse `xml:"UserInfoTxResponse,omitempty" json:"UserInfoTxResponse,omitempty" yaml:"UserInfoTxResponse,omitempty"`
}
Operation wrapper for UserInfo. OperationUserInfoResponse was auto-generated from WSDL.
type OperationUserInitializeRequest ¶
type OperationUserInitializeRequest struct {
UserInitialize *UserInitialize `xml:"UserInitialize,omitempty" json:"UserInitialize,omitempty" yaml:"UserInitialize,omitempty"`
}
Operation wrapper for UserInitialize. OperationUserInitializeRequest was auto-generated from WSDL.
type OperationUserInitializeResponse ¶
type OperationUserInitializeResponse struct {
UserInitializeResponse *UserInitializeResponse `xml:"UserInitializeResponse,omitempty" json:"UserInitializeResponse,omitempty" yaml:"UserInitializeResponse,omitempty"`
}
Operation wrapper for UserInitialize. OperationUserInitializeResponse was auto-generated from WSDL.
type OperationUserLicenseRequest ¶ added in v0.2.0
type OperationUserLicenseRequest struct {
UserLicense *UserLicense `xml:"UserLicense,omitempty" json:"UserLicense,omitempty" yaml:"UserLicense,omitempty"`
}
Operation wrapper for UserLicense. OperationUserLicenseRequest was auto-generated from WSDL.
type OperationUserLicenseResponse ¶ added in v0.2.0
type OperationUserLicenseResponse struct {
UserLicenseResponse *UserLicenseResponse `xml:"UserLicenseResponse,omitempty" json:"UserLicenseResponse,omitempty" yaml:"UserLicenseResponse,omitempty"`
}
Operation wrapper for UserLicense. OperationUserLicenseResponse was auto-generated from WSDL.
type OperationUserLocalNumRequest ¶
type OperationUserLocalNumRequest struct {
UserLocalNum *UserLocalNum `xml:"UserLocalNum,omitempty" json:"UserLocalNum,omitempty" yaml:"UserLocalNum,omitempty"`
}
Operation wrapper for UserLocalNum. OperationUserLocalNumRequest was auto-generated from WSDL.
type OperationUserLocalNumResponse ¶
type OperationUserLocalNumResponse struct {
UserLocalNumResponse *UserLocalNumResponse `xml:"UserLocalNumResponse,omitempty" json:"UserLocalNumResponse,omitempty" yaml:"UserLocalNumResponse,omitempty"`
}
Operation wrapper for UserLocalNum. OperationUserLocalNumResponse was auto-generated from WSDL.
type OperationUserMediaTransferRequest ¶
type OperationUserMediaTransferRequest struct {
UserMediaTransfer *UserMediaTransfer `xml:"UserMediaTransfer,omitempty" json:"UserMediaTransfer,omitempty" yaml:"UserMediaTransfer,omitempty"`
}
Operation wrapper for UserMediaTransfer. OperationUserMediaTransferRequest was auto-generated from WSDL.
type OperationUserMediaTransferResponse ¶
type OperationUserMediaTransferResponse struct {
UserMediaTransferResponse *UserMediaTransferResponse `` /* 127-byte string literal not displayed */
}
Operation wrapper for UserMediaTransfer. OperationUserMediaTransferResponse was auto-generated from WSDL.
type OperationUserMessageRequest ¶
type OperationUserMessageRequest struct {
UserMessage *UserMessage `xml:"UserMessage,omitempty" json:"UserMessage,omitempty" yaml:"UserMessage,omitempty"`
}
Operation wrapper for UserMessage. OperationUserMessageRequest was auto-generated from WSDL.
type OperationUserMessageResponse ¶
type OperationUserMessageResponse struct {
UserMessageResponse *UserMessageResponse `xml:"UserMessageResponse,omitempty" json:"UserMessageResponse,omitempty" yaml:"UserMessageResponse,omitempty"`
}
Operation wrapper for UserMessage. OperationUserMessageResponse was auto-generated from WSDL.
type OperationUserParkRequest ¶
type OperationUserParkRequest struct {
UserPark *UserPark `xml:"UserPark,omitempty" json:"UserPark,omitempty" yaml:"UserPark,omitempty"`
}
Operation wrapper for UserPark. OperationUserParkRequest was auto-generated from WSDL.
type OperationUserParkResponse ¶
type OperationUserParkResponse struct {
UserParkResponse *UserParkResponse `xml:"UserParkResponse,omitempty" json:"UserParkResponse,omitempty" yaml:"UserParkResponse,omitempty"`
}
Operation wrapper for UserPark. OperationUserParkResponse was auto-generated from WSDL.
type OperationUserPickupRequest ¶
type OperationUserPickupRequest struct {
UserPickup *UserPickup `xml:"UserPickup,omitempty" json:"UserPickup,omitempty" yaml:"UserPickup,omitempty"`
}
Operation wrapper for UserPickup. OperationUserPickupRequest was auto-generated from WSDL.
type OperationUserPickupResponse ¶
type OperationUserPickupResponse struct {
UserPickupResponse *UserPickupResponse `xml:"UserPickupResponse,omitempty" json:"UserPickupResponse,omitempty" yaml:"UserPickupResponse,omitempty"`
}
Operation wrapper for UserPickup. OperationUserPickupResponse was auto-generated from WSDL.
type OperationUserRcRequest ¶
type OperationUserRcRequest struct {
UserRc *UserRc `xml:"UserRc,omitempty" json:"UserRc,omitempty" yaml:"UserRc,omitempty"`
}
Operation wrapper for UserRc. OperationUserRcRequest was auto-generated from WSDL.
type OperationUserRcResponse ¶
type OperationUserRcResponse struct {
UserRcResponse *UserRcResponse `xml:"UserRcResponse,omitempty" json:"UserRcResponse,omitempty" yaml:"UserRcResponse,omitempty"`
}
Operation wrapper for UserRc. OperationUserRcResponse was auto-generated from WSDL.
type OperationUserRedirectRequest ¶
type OperationUserRedirectRequest struct {
UserRedirect *UserRedirect `xml:"UserRedirect,omitempty" json:"UserRedirect,omitempty" yaml:"UserRedirect,omitempty"`
}
Operation wrapper for UserRedirect. OperationUserRedirectRequest was auto-generated from WSDL.
type OperationUserRedirectResponse ¶
type OperationUserRedirectResponse struct {
UserRedirectResponse *UserRedirectResponse `xml:"UserRedirectResponse,omitempty" json:"UserRedirectResponse,omitempty" yaml:"UserRedirectResponse,omitempty"`
}
Operation wrapper for UserRedirect. OperationUserRedirectResponse was auto-generated from WSDL.
type OperationUserRerouteRequest ¶
type OperationUserRerouteRequest struct {
UserReroute *UserReroute `xml:"UserReroute,omitempty" json:"UserReroute,omitempty" yaml:"UserReroute,omitempty"`
}
Operation wrapper for UserReroute. OperationUserRerouteRequest was auto-generated from WSDL.
type OperationUserRerouteResponse ¶
type OperationUserRerouteResponse struct {
UserRerouteResponse *UserRerouteResponse `xml:"UserRerouteResponse,omitempty" json:"UserRerouteResponse,omitempty" yaml:"UserRerouteResponse,omitempty"`
}
Operation wrapper for UserReroute. OperationUserRerouteResponse was auto-generated from WSDL.
type OperationUserRetrieveRequest ¶
type OperationUserRetrieveRequest struct {
UserRetrieve *UserRetrieve `xml:"UserRetrieve,omitempty" json:"UserRetrieve,omitempty" yaml:"UserRetrieve,omitempty"`
}
Operation wrapper for UserRetrieve. OperationUserRetrieveRequest was auto-generated from WSDL.
type OperationUserRetrieveResponse ¶
type OperationUserRetrieveResponse struct {
UserRetrieveResponse *UserRetrieveResponse `xml:"UserRetrieveResponse,omitempty" json:"UserRetrieveResponse,omitempty" yaml:"UserRetrieveResponse,omitempty"`
}
Operation wrapper for UserRetrieve. OperationUserRetrieveResponse was auto-generated from WSDL.
type OperationUserTransferRequest ¶
type OperationUserTransferRequest struct {
UserTransfer *UserTransfer `xml:"UserTransfer,omitempty" json:"UserTransfer,omitempty" yaml:"UserTransfer,omitempty"`
}
Operation wrapper for UserTransfer. OperationUserTransferRequest was auto-generated from WSDL.
type OperationUserTransferResponse ¶
type OperationUserTransferResponse struct {
UserTransferResponse *UserTransferResponse `xml:"UserTransferResponse,omitempty" json:"UserTransferResponse,omitempty" yaml:"UserTransferResponse,omitempty"`
}
Operation wrapper for UserTransfer. OperationUserTransferResponse was auto-generated from WSDL.
type OperationUserUUIRequest ¶
type OperationUserUUIRequest struct {
UserUUI *UserUUI `xml:"UserUUI,omitempty" json:"UserUUI,omitempty" yaml:"UserUUI,omitempty"`
}
Operation wrapper for UserUUI. OperationUserUUIRequest was auto-generated from WSDL.
type OperationUserUUIResponse ¶
type OperationUserUUIResponse struct {
UserUUIResponse *UserUUIResponse `xml:"UserUUIResponse,omitempty" json:"UserUUIResponse,omitempty" yaml:"UserUUIResponse,omitempty"`
}
Operation wrapper for UserUUI. OperationUserUUIResponse was auto-generated from WSDL.
type OperationVersionRequest ¶ added in v0.2.0
type OperationVersionRequest struct {
Version *Version `xml:"Version,omitempty" json:"Version,omitempty" yaml:"Version,omitempty"`
}
Operation wrapper for Version. OperationVersionRequest was auto-generated from WSDL.
type OperationVersionResponse ¶
type OperationVersionResponse struct {
VersionResponse *VersionResponse `xml:"VersionResponse,omitempty" json:"VersionResponse,omitempty" yaml:"VersionResponse,omitempty"`
}
Operation wrapper for Version. OperationVersionResponse was auto-generated from WSDL.
type PbxPortType ¶
type PbxPortType interface { // Admin was auto-generated from WSDL. Admin(Admin *Admin) (*AdminResponse, error) // Calls was auto-generated from WSDL. Calls(Calls *Calls) (*CallsResponse, error) // Devices was auto-generated from WSDL. Devices(Devices *Devices) (*DevicesResponse, error) // Echo was auto-generated from WSDL. Echo(Echo *Echo) (*EchoResponse, error) // End was auto-generated from WSDL. End(End *End) (*EndResponse, error) // FindUser was auto-generated from WSDL. FindUser(FindUser *FindUser) (*FindUserResponse, error) // Initialize was auto-generated from WSDL. Initialize(Initialize *Initialize) (*InitializeResponse, error) // License was auto-generated from WSDL. License(License *License) (*LicenseResponse, error) // LocationUrl was auto-generated from WSDL. LocationUrl(LocationUrl *LocationUrl) (*LocationUrlResponse, error) // Poll was auto-generated from WSDL. Poll(Poll *Poll) (*PollResponse, error) // SetPresence was auto-generated from WSDL. SetPresence(SetPresence *SetPresence) (*SetPresenceResponse, error) // UserCall was auto-generated from WSDL. UserCall(UserCall *UserCall) (*UserCallResponse, error) // UserClear was auto-generated from WSDL. UserClear(UserClear *UserClear) (*UserClearResponse, error) // UserConnect was auto-generated from WSDL. UserConnect(UserConnect *UserConnect) (*UserConnectResponse, error) // UserCtComplete was auto-generated from WSDL. UserCtComplete(UserCtComplete *UserCtComplete) (*UserCtCompleteResponse, error) // UserDTMF was auto-generated from WSDL. UserDTMF(UserDTMF *UserDTMF) (*UserDTMFResponse, error) // UserEnd was auto-generated from WSDL. UserEnd(UserEnd *UserEnd) (*UserEndResponse, error) // UserFindDestination was auto-generated from WSDL. UserFindDestination(UserFindDestination *UserFindDestination) (*UserFindDestinationResponse, error) // UserHold was auto-generated from WSDL. UserHold(UserHold *UserHold) (*UserHoldResponse, error) // UserInfo was auto-generated from WSDL. UserInfo(UserInfoTx *UserInfoTx) (*UserInfoTxResponse, error) // UserInitialize was auto-generated from WSDL. UserInitialize(UserInitialize *UserInitialize) (*UserInitializeResponse, error) // UserLicense was auto-generated from WSDL. UserLicense(UserLicense *UserLicense) (*UserLicenseResponse, error) // UserLocalNum was auto-generated from WSDL. UserLocalNum(UserLocalNum *UserLocalNum) (*UserLocalNumResponse, error) // UserMediaTransfer was auto-generated from WSDL. UserMediaTransfer(UserMediaTransfer *UserMediaTransfer) (*UserMediaTransferResponse, error) // UserMessage was auto-generated from WSDL. UserMessage(UserMessage *UserMessage) (*UserMessageResponse, error) // UserPark was auto-generated from WSDL. UserPark(UserPark *UserPark) (*UserParkResponse, error) // UserPickup was auto-generated from WSDL. UserPickup(UserPickup *UserPickup) (*UserPickupResponse, error) // UserRc was auto-generated from WSDL. UserRc(UserRc *UserRc) (*UserRcResponse, error) // UserRedirect was auto-generated from WSDL. UserRedirect(UserRedirect *UserRedirect) (*UserRedirectResponse, error) // UserReroute was auto-generated from WSDL. UserReroute(UserReroute *UserReroute) (*UserRerouteResponse, error) // UserRetrieve was auto-generated from WSDL. UserRetrieve(UserRetrieve *UserRetrieve) (*UserRetrieveResponse, error) // UserTransfer was auto-generated from WSDL. UserTransfer(UserTransfer *UserTransfer) (*UserTransferResponse, error) // UserUUI was auto-generated from WSDL. UserUUI(UserUUI *UserUUI) (*UserUUIResponse, error) // Version was auto-generated from WSDL. Version(Version *Version) (*VersionResponse, error) }
PbxPortType was auto-generated from WSDL and defines interface for the remote service. Useful for testing.
func NewPbxPortType ¶
func NewPbxPortType(cli *soap.Client) PbxPortType
NewPbxPortType creates an initializes a PbxPortType.
type Poll ¶ added in v0.2.0
type Poll struct {
Session int `xml:"session" json:"session" yaml:"session"`
}
Poll was auto-generated from WSDL.
type PollResponse ¶ added in v0.2.0
type PollResponse struct {
Return *AnyInfo `xml:"return,omitempty" json:"return,omitempty" yaml:"return,omitempty"`
}
PollResponse was auto-generated from WSDL.
type Presence ¶
type Presence struct { Status *PresenceStatus `xml:"status,omitempty" json:"status,omitempty" yaml:"status,omitempty"` Activity *PresenceActivity `xml:"activity,omitempty" json:"activity,omitempty" yaml:"activity,omitempty"` Note *string `xml:"note,omitempty" json:"note,omitempty" yaml:"note,omitempty"` }
Presence was auto-generated from WSDL.
type PresenceActivity ¶
type PresenceActivity string
PresenceActivity was auto-generated from WSDL.
func (PresenceActivity) Validate ¶
func (v PresenceActivity) Validate() bool
Validate validates PresenceActivity.
type PresenceStatus ¶
type PresenceStatus string
PresenceStatus was auto-generated from WSDL.
func (PresenceStatus) Validate ¶
func (v PresenceStatus) Validate() bool
Validate validates PresenceStatus.
type RegInfo ¶
type RegInfo struct { Active *bool `xml:"active,omitempty" json:"active,omitempty" yaml:"active,omitempty"` User *int `xml:"user,omitempty" json:"user,omitempty" yaml:"user,omitempty"` Reg *int `xml:"reg,omitempty" json:"reg,omitempty" yaml:"reg,omitempty"` Hw *string `xml:"hw,omitempty" json:"hw,omitempty" yaml:"hw,omitempty"` Soap *string `xml:"soap,omitempty" json:"soap,omitempty" yaml:"soap,omitempty"` Info []*Info `xml:"info,omitempty" json:"info,omitempty" yaml:"info,omitempty"` }
RegInfo was auto-generated from WSDL.
type Session ¶
type Session struct { PbxPortType // contains filtered or unexported fields }
Session keeps information about the current session to the innovaphone PBX
func NewSession ¶
NewSession returns a new innovaphone session with context information. It will retry indefinitely to connect and confirm the connection to the PBX.
func (*Session) IsDirectionFlipped ¶
IsDirectionFlipped returns whether the current session should treat directions as inverted
func (*Session) PollForever ¶
func (session *Session) PollForever() (<-chan *CallInSession, <-chan error)
PollForever will return one CallInSession per successful poll. If it encounters an error, it will return it over the errors channel and cease polling.
type SetPresence ¶ added in v0.2.0
type SetPresence struct { Presence *Presence `xml:"presence,omitempty" json:"presence,omitempty" yaml:"presence,omitempty"` Im bool `xml:"im" json:"im" yaml:"im"` Contact *string `xml:"contact,omitempty" json:"contact,omitempty" yaml:"contact,omitempty"` Guid *string `xml:"guid,omitempty" json:"guid,omitempty" yaml:"guid,omitempty"` H323 *string `xml:"h323,omitempty" json:"h323,omitempty" yaml:"h323,omitempty"` }
SetPresence was auto-generated from WSDL.
type SetPresenceResponse ¶ added in v0.2.0
type SetPresenceResponse struct {
Return int `xml:"return" json:"return" yaml:"return"`
}
SetPresenceResponse was auto-generated from WSDL.
type State ¶
type State int
State represents the call state information from the innovaphone PBX' perspective.
const ( StateSetup State StateSetupAck StateCallProc StateAlert StateConnect StateDisconnectSent StateDisconnectReceived StateParked )
States as defined in the documentation (http://wiki.innovaphone.com/index.php?title=Reference10:SOAP_API)
type UserCall ¶ added in v0.2.0
type UserCall struct { User int `xml:"user" json:"user" yaml:"user"` Cn *string `xml:"cn,omitempty" json:"cn,omitempty" yaml:"cn,omitempty"` E164 *string `xml:"e164,omitempty" json:"e164,omitempty" yaml:"e164,omitempty"` H323 *string `xml:"h323,omitempty" json:"h323,omitempty" yaml:"h323,omitempty"` Reg int `xml:"reg" json:"reg" yaml:"reg"` Info []*Info `xml:"info,omitempty" json:"info,omitempty" yaml:"info,omitempty"` Rc int `xml:"rc" json:"rc" yaml:"rc"` Srce164 *string `xml:"srce164,omitempty" json:"srce164,omitempty" yaml:"srce164,omitempty"` }
UserCall was auto-generated from WSDL.
type UserCallResponse ¶ added in v0.2.0
type UserCallResponse struct {
Return int `xml:"return" json:"return" yaml:"return"`
}
UserCallResponse was auto-generated from WSDL.
type UserClear ¶ added in v0.2.0
type UserClear struct { Call int `xml:"call" json:"call" yaml:"call"` Cause int `xml:"cause" json:"cause" yaml:"cause"` Info []*Info `xml:"info,omitempty" json:"info,omitempty" yaml:"info,omitempty"` }
UserClear was auto-generated from WSDL.
type UserClearResponse ¶ added in v0.2.0
type UserClearResponse struct { }
UserClearResponse was auto-generated from WSDL.
type UserConnect ¶ added in v0.2.0
type UserConnect struct {
Call int `xml:"call" json:"call" yaml:"call"`
}
UserConnect was auto-generated from WSDL.
type UserConnectResponse ¶ added in v0.2.0
type UserConnectResponse struct { }
UserConnectResponse was auto-generated from WSDL.
type UserCtComplete ¶ added in v0.2.0
type UserCtComplete struct { Call int `xml:"call" json:"call" yaml:"call"` E164 *string `xml:"e164,omitempty" json:"e164,omitempty" yaml:"e164,omitempty"` H323 *string `xml:"h323,omitempty" json:"h323,omitempty" yaml:"h323,omitempty"` }
UserCtComplete was auto-generated from WSDL.
type UserCtCompleteResponse ¶ added in v0.2.0
type UserCtCompleteResponse struct { }
UserCtCompleteResponse was auto-generated from WSDL.
type UserDTMF ¶ added in v0.2.0
type UserDTMF struct { Call int `xml:"call" json:"call" yaml:"call"` Recv bool `xml:"recv" json:"recv" yaml:"recv"` Dtmf *string `xml:"dtmf,omitempty" json:"dtmf,omitempty" yaml:"dtmf,omitempty"` }
UserDTMF was auto-generated from WSDL.
type UserDTMFResponse ¶ added in v0.2.0
type UserDTMFResponse struct { }
UserDTMFResponse was auto-generated from WSDL.
type UserEnd ¶ added in v0.2.0
type UserEnd struct {
User int `xml:"user" json:"user" yaml:"user"`
}
UserEnd was auto-generated from WSDL.
type UserEndResponse ¶ added in v0.2.0
type UserEndResponse struct { }
UserEndResponse was auto-generated from WSDL.
type UserFindDestination ¶ added in v0.2.0
type UserFindDestination struct { User int `xml:"user" json:"user" yaml:"user"` E164 *string `xml:"e164,omitempty" json:"e164,omitempty" yaml:"e164,omitempty"` H323 *string `xml:"h323,omitempty" json:"h323,omitempty" yaml:"h323,omitempty"` }
UserFindDestination was auto-generated from WSDL.
type UserFindDestinationResponse ¶ added in v0.2.0
type UserFindDestinationResponse struct { Return bool `xml:"return" json:"return" yaml:"return"` User1 *UserInfo `xml:"user1,omitempty" json:"user1,omitempty" yaml:"user1,omitempty"` }
UserFindDestinationResponse was auto-generated from WSDL.
type UserHold ¶ added in v0.2.0
type UserHold struct { Call int `xml:"call" json:"call" yaml:"call"` Remote bool `xml:"remote" json:"remote" yaml:"remote"` }
UserHold was auto-generated from WSDL.
type UserHoldResponse ¶ added in v0.2.0
type UserHoldResponse struct { }
UserHoldResponse was auto-generated from WSDL.
type UserInfo ¶
type UserInfo struct { Active bool `xml:"active" json:"active" yaml:"active"` Cn string `xml:"cn" json:"cn" yaml:"cn"` Dn string `xml:"dn" json:"dn" yaml:"dn"` Type string `xml:"type" json:"type" yaml:"type"` E164 string `xml:"e164" json:"e164" yaml:"e164"` H323 string `xml:"h323" json:"h323" yaml:"h323"` State int `xml:"state" json:"state" yaml:"state"` Channel int `xml:"channel" json:"channel" yaml:"channel"` Alert int `xml:"alert" json:"alert" yaml:"alert"` Guid string `xml:"guid" json:"guid" yaml:"guid"` Groups []*Group `xml:"groups,omitempty" json:"groups,omitempty" yaml:"groups,omitempty"` Loc *string `xml:"loc,omitempty" json:"loc,omitempty" yaml:"loc,omitempty"` Node *string `xml:"node,omitempty" json:"node,omitempty" yaml:"node,omitempty"` Nodenum *string `xml:"nodenum,omitempty" json:"nodenum,omitempty" yaml:"nodenum,omitempty"` Object *string `xml:"object,omitempty" json:"object,omitempty" yaml:"object,omitempty"` Cfg *bool `xml:"cfg,omitempty" json:"cfg,omitempty" yaml:"cfg,omitempty"` Presence *Presence `xml:"presence" json:"presence" yaml:"presence"` Domain *string `xml:"domain,omitempty" json:"domain,omitempty" yaml:"domain,omitempty"` H323email *bool `xml:"h323email,omitempty" json:"h323email,omitempty" yaml:"h323email,omitempty"` Email []*string `xml:"email,omitempty" json:"email,omitempty" yaml:"email,omitempty"` Fake *string `xml:"fake,omitempty" json:"fake,omitempty" yaml:"fake,omitempty"` Info []*Info `xml:"info,omitempty" json:"info,omitempty" yaml:"info,omitempty"` }
UserInfo was auto-generated from WSDL.
type UserInfoArray ¶
type UserInfoArray struct {
User []*UserInfo `xml:"user,omitempty" json:"user,omitempty" yaml:"user,omitempty"`
}
UserInfoArray was auto-generated from WSDL.
type UserInfoTx ¶ added in v0.2.0
type UserInfoTx struct { Call int `xml:"call" json:"call" yaml:"call"` Recv bool `xml:"recv" json:"recv" yaml:"recv"` Cdpn *string `xml:"cdpn,omitempty" json:"cdpn,omitempty" yaml:"cdpn,omitempty"` Key *string `xml:"key,omitempty" json:"key,omitempty" yaml:"key,omitempty"` Dsp *string `xml:"dsp,omitempty" json:"dsp,omitempty" yaml:"dsp,omitempty"` }
UserInfoTx was auto-generated from WSDL.
type UserInfoTxResponse ¶ added in v0.2.0
type UserInfoTxResponse struct { }
UserInfoTxResponse was auto-generated from WSDL.
type UserInitialize ¶ added in v0.2.0
type UserInitialize struct { Session int `xml:"session" json:"session" yaml:"session"` User *string `xml:"user,omitempty" json:"user,omitempty" yaml:"user,omitempty"` Xfer bool `xml:"xfer" json:"xfer" yaml:"xfer"` Disc bool `xml:"disc" json:"disc" yaml:"disc"` Hw *string `xml:"hw,omitempty" json:"hw,omitempty" yaml:"hw,omitempty"` }
UserInitialize was auto-generated from WSDL.
type UserInitializeResponse ¶ added in v0.2.0
type UserInitializeResponse struct {
Return int `xml:"return" json:"return" yaml:"return"`
}
UserInitializeResponse was auto-generated from WSDL.
type UserLicense ¶ added in v0.2.0
type UserLicense struct { Guid *string `xml:"guid,omitempty" json:"guid,omitempty" yaml:"guid,omitempty"` Type *string `xml:"type,omitempty" json:"type,omitempty" yaml:"type,omitempty"` }
UserLicense was auto-generated from WSDL.
type UserLicenseResponse ¶ added in v0.2.0
type UserLicenseResponse struct {
Return bool `xml:"return" json:"return" yaml:"return"`
}
UserLicenseResponse was auto-generated from WSDL.
type UserLocalNum ¶ added in v0.2.0
type UserLocalNum struct { User int `xml:"user" json:"user" yaml:"user"` Num *string `xml:"num,omitempty" json:"num,omitempty" yaml:"num,omitempty"` }
UserLocalNum was auto-generated from WSDL.
type UserLocalNumResponse ¶ added in v0.2.0
type UserLocalNumResponse struct {
Return *string `xml:"return,omitempty" json:"return,omitempty" yaml:"return,omitempty"`
}
UserLocalNumResponse was auto-generated from WSDL.
type UserMediaTransfer ¶ added in v0.2.0
type UserMediaTransfer struct { A int `xml:"a" json:"a" yaml:"a"` B int `xml:"b" json:"b" yaml:"b"` User bool `xml:"user" json:"user" yaml:"user"` Peer bool `xml:"peer" json:"peer" yaml:"peer"` }
UserMediaTransfer was auto-generated from WSDL.
type UserMediaTransferResponse ¶ added in v0.2.0
type UserMediaTransferResponse struct { }
UserMediaTransferResponse was auto-generated from WSDL.
type UserMessage ¶ added in v0.2.0
type UserMessage struct { User int `xml:"user" json:"user" yaml:"user"` E164 *string `xml:"e164,omitempty" json:"e164,omitempty" yaml:"e164,omitempty"` H323 *string `xml:"h323,omitempty" json:"h323,omitempty" yaml:"h323,omitempty"` Msg *string `xml:"msg,omitempty" json:"msg,omitempty" yaml:"msg,omitempty"` Src_e164 *string `xml:"src_e164,omitempty" json:"src_e164,omitempty" yaml:"src_e164,omitempty"` Src_h323 *string `xml:"src_h323,omitempty" json:"src_h323,omitempty" yaml:"src_h323,omitempty"` }
UserMessage was auto-generated from WSDL.
type UserMessageResponse ¶ added in v0.2.0
type UserMessageResponse struct {
Return int `xml:"return" json:"return" yaml:"return"`
}
UserMessageResponse was auto-generated from WSDL.
type UserPark ¶ added in v0.2.0
type UserPark struct { Call int `xml:"call" json:"call" yaml:"call"` Cn *string `xml:"cn,omitempty" json:"cn,omitempty" yaml:"cn,omitempty"` Position int `xml:"position" json:"position" yaml:"position"` }
UserPark was auto-generated from WSDL.
type UserParkResponse ¶ added in v0.2.0
type UserParkResponse struct {
Return int `xml:"return" json:"return" yaml:"return"`
}
UserParkResponse was auto-generated from WSDL.
type UserPickup ¶ added in v0.2.0
type UserPickup struct { User int `xml:"user" json:"user" yaml:"user"` Cn *string `xml:"cn,omitempty" json:"cn,omitempty" yaml:"cn,omitempty"` Call int `xml:"call" json:"call" yaml:"call"` Group *string `xml:"group,omitempty" json:"group,omitempty" yaml:"group,omitempty"` Reg int `xml:"reg" json:"reg" yaml:"reg"` Info []*Info `xml:"info,omitempty" json:"info,omitempty" yaml:"info,omitempty"` }
UserPickup was auto-generated from WSDL.
type UserPickupResponse ¶ added in v0.2.0
type UserPickupResponse struct {
Return int `xml:"return" json:"return" yaml:"return"`
}
UserPickupResponse was auto-generated from WSDL.
type UserRc ¶ added in v0.2.0
type UserRc struct { Call int `xml:"call" json:"call" yaml:"call"` Rc int `xml:"rc" json:"rc" yaml:"rc"` }
UserRc was auto-generated from WSDL.
type UserRcResponse ¶ added in v0.2.0
type UserRcResponse struct { }
UserRcResponse was auto-generated from WSDL.
type UserRedirect ¶ added in v0.2.0
type UserRedirect struct { Call int `xml:"call" json:"call" yaml:"call"` Cn *string `xml:"cn,omitempty" json:"cn,omitempty" yaml:"cn,omitempty"` E164 *string `xml:"e164,omitempty" json:"e164,omitempty" yaml:"e164,omitempty"` H323 *string `xml:"h323,omitempty" json:"h323,omitempty" yaml:"h323,omitempty"` Info []*Info `xml:"info,omitempty" json:"info,omitempty" yaml:"info,omitempty"` Rc int `xml:"rc" json:"rc" yaml:"rc"` }
UserRedirect was auto-generated from WSDL.
type UserRedirectResponse ¶ added in v0.2.0
type UserRedirectResponse struct {
Return bool `xml:"return" json:"return" yaml:"return"`
}
UserRedirectResponse was auto-generated from WSDL.
type UserReroute ¶ added in v0.2.0
type UserReroute struct { Call int `xml:"call" json:"call" yaml:"call"` Cn *string `xml:"cn,omitempty" json:"cn,omitempty" yaml:"cn,omitempty"` E164 *string `xml:"e164,omitempty" json:"e164,omitempty" yaml:"e164,omitempty"` H323 *string `xml:"h323,omitempty" json:"h323,omitempty" yaml:"h323,omitempty"` Info []*Info `xml:"info,omitempty" json:"info,omitempty" yaml:"info,omitempty"` }
UserReroute was auto-generated from WSDL.
type UserRerouteResponse ¶ added in v0.2.0
type UserRerouteResponse struct {
Return bool `xml:"return" json:"return" yaml:"return"`
}
UserRerouteResponse was auto-generated from WSDL.
type UserRetrieve ¶ added in v0.2.0
type UserRetrieve struct {
Call int `xml:"call" json:"call" yaml:"call"`
}
UserRetrieve was auto-generated from WSDL.
type UserRetrieveResponse ¶ added in v0.2.0
type UserRetrieveResponse struct { }
UserRetrieveResponse was auto-generated from WSDL.
type UserTransfer ¶ added in v0.2.0
UserTransfer was auto-generated from WSDL.
type UserTransferResponse ¶ added in v0.2.0
type UserTransferResponse struct { }
UserTransferResponse was auto-generated from WSDL.
type UserUUI ¶ added in v0.2.0
type UserUUI struct { Call int `xml:"call" json:"call" yaml:"call"` Recv bool `xml:"recv" json:"recv" yaml:"recv"` Uui *string `xml:"uui,omitempty" json:"uui,omitempty" yaml:"uui,omitempty"` }
UserUUI was auto-generated from WSDL.
type UserUUIResponse ¶ added in v0.2.0
type UserUUIResponse struct { }
UserUUIResponse was auto-generated from WSDL.
type VersionResponse ¶ added in v0.2.0
type VersionResponse struct { VersionResult int `xml:"VersionResult" json:"VersionResult" yaml:"VersionResult"` GatekeeperID *string `xml:"GatekeeperID,omitempty" json:"GatekeeperID,omitempty" yaml:"GatekeeperID,omitempty"` Location *string `xml:"Location,omitempty" json:"Location,omitempty" yaml:"Location,omitempty"` FirmwareVersion *string `xml:"FirmwareVersion,omitempty" json:"FirmwareVersion,omitempty" yaml:"FirmwareVersion,omitempty"` SerialNumber *string `xml:"SerialNumber,omitempty" json:"SerialNumber,omitempty" yaml:"SerialNumber,omitempty"` }
VersionResponse was auto-generated from WSDL.