sip

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2026 License: CC0-1.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AudioCallClient

type AudioCallClient struct {
	// contains filtered or unexported fields
}

AudioCallClient wraps the gRPC AudioCallService client.

func NewAudioCallClient

func NewAudioCallClient(cc grpc.ClientConnInterface) *AudioCallClient

NewAudioCallClient creates a new AudioCall client.

func (*AudioCallClient) AnswerCall

func (c *AudioCallClient) AnswerCall(ctx context.Context, handle int64, arg0 int32) error

AnswerCall calls the AnswerCall RPC.

func (*AudioCallClient) AttachCall

func (c *AudioCallClient) AttachCall(ctx context.Context, handle int64, arg0 int64, arg1 string) error

AttachCall calls the AttachCall RPC.

func (*AudioCallClient) Close

func (c *AudioCallClient) Close(ctx context.Context, handle int64) error

Close calls the Close RPC.

func (*AudioCallClient) ContinueCall

func (c *AudioCallClient) ContinueCall(ctx context.Context, handle int64, arg0 int32) error

ContinueCall calls the ContinueCall RPC.

func (*AudioCallClient) EndCall

func (c *AudioCallClient) EndCall(ctx context.Context, handle int64) error

EndCall calls the EndCall RPC.

func (*AudioCallClient) GetLocalProfile

func (c *AudioCallClient) GetLocalProfile(ctx context.Context, handle int64) (int64, error)

GetLocalProfile calls the GetLocalProfile RPC.

func (*AudioCallClient) GetPeerProfile

func (c *AudioCallClient) GetPeerProfile(ctx context.Context, handle int64) (int64, error)

GetPeerProfile calls the GetPeerProfile RPC.

func (*AudioCallClient) GetState

func (c *AudioCallClient) GetState(ctx context.Context, handle int64) (int32, error)

GetState calls the GetState RPC.

func (*AudioCallClient) HoldCall

func (c *AudioCallClient) HoldCall(ctx context.Context, handle int64, arg0 int32) error

HoldCall calls the HoldCall RPC.

func (*AudioCallClient) IsInCall

func (c *AudioCallClient) IsInCall(ctx context.Context, handle int64) (bool, error)

IsInCall calls the IsInCall RPC.

func (*AudioCallClient) IsMuted

func (c *AudioCallClient) IsMuted(ctx context.Context, handle int64) (bool, error)

IsMuted calls the IsMuted RPC.

func (*AudioCallClient) IsOnHold

func (c *AudioCallClient) IsOnHold(ctx context.Context, handle int64) (bool, error)

IsOnHold calls the IsOnHold RPC.

func (*AudioCallClient) MakeCall

func (c *AudioCallClient) MakeCall(ctx context.Context, handle int64, arg0 int64, arg1 int64, arg2 int32) error

MakeCall calls the MakeCall RPC.

func (*AudioCallClient) SendDtmf1

func (c *AudioCallClient) SendDtmf1(ctx context.Context, handle int64, arg0 int32) error

SendDtmf1 calls the SendDtmf1 RPC.

func (*AudioCallClient) SendDtmf2_1

func (c *AudioCallClient) SendDtmf2_1(ctx context.Context, handle int64, arg0 int32, arg1 int64) error

SendDtmf2_1 calls the SendDtmf2_1 RPC.

func (*AudioCallClient) SetListener1

func (c *AudioCallClient) SetListener1(ctx context.Context, handle int64, arg0 int64) error

SetListener1 calls the SetListener1 RPC.

func (*AudioCallClient) SetListener2_1

func (c *AudioCallClient) SetListener2_1(ctx context.Context, handle int64, arg0 int64, arg1 bool) error

SetListener2_1 calls the SetListener2_1 RPC.

func (*AudioCallClient) SetSpeakerMode

func (c *AudioCallClient) SetSpeakerMode(ctx context.Context, handle int64, arg0 bool) error

SetSpeakerMode calls the SetSpeakerMode RPC.

func (*AudioCallClient) StartAudio

func (c *AudioCallClient) StartAudio(ctx context.Context, handle int64) error

StartAudio calls the StartAudio RPC.

func (*AudioCallClient) ToggleMute

func (c *AudioCallClient) ToggleMute(ctx context.Context, handle int64) error

ToggleMute calls the ToggleMute RPC.

type AudioCallListenerClient

type AudioCallListenerClient struct {
	// contains filtered or unexported fields
}

AudioCallListenerClient wraps the gRPC AudioCallListenerService client.

func NewAudioCallListenerClient

func NewAudioCallListenerClient(cc grpc.ClientConnInterface) *AudioCallListenerClient

NewAudioCallListenerClient creates a new AudioCallListener client.

func (*AudioCallListenerClient) OnCallBusy

func (c *AudioCallListenerClient) OnCallBusy(ctx context.Context, arg0 int64) error

OnCallBusy calls the OnCallBusy RPC.

func (*AudioCallListenerClient) OnCallEnded

func (c *AudioCallListenerClient) OnCallEnded(ctx context.Context, arg0 int64) error

OnCallEnded calls the OnCallEnded RPC.

func (*AudioCallListenerClient) OnCallEstablished

func (c *AudioCallListenerClient) OnCallEstablished(ctx context.Context, arg0 int64) error

OnCallEstablished calls the OnCallEstablished RPC.

func (*AudioCallListenerClient) OnCallHeld

func (c *AudioCallListenerClient) OnCallHeld(ctx context.Context, arg0 int64) error

OnCallHeld calls the OnCallHeld RPC.

func (*AudioCallListenerClient) OnCalling

func (c *AudioCallListenerClient) OnCalling(ctx context.Context, arg0 int64) error

OnCalling calls the OnCalling RPC.

func (*AudioCallListenerClient) OnChanged

func (c *AudioCallListenerClient) OnChanged(ctx context.Context, arg0 int64) error

OnChanged calls the OnChanged RPC.

func (*AudioCallListenerClient) OnError

func (c *AudioCallListenerClient) OnError(ctx context.Context, arg0 int64, arg1 int32, arg2 string) error

OnError calls the OnError RPC.

func (*AudioCallListenerClient) OnReadyToCall

func (c *AudioCallListenerClient) OnReadyToCall(ctx context.Context, arg0 int64) error

OnReadyToCall calls the OnReadyToCall RPC.

func (*AudioCallListenerClient) OnRinging

func (c *AudioCallListenerClient) OnRinging(ctx context.Context, arg0 int64, arg1 int64) error

OnRinging calls the OnRinging RPC.

func (*AudioCallListenerClient) OnRingingBack

func (c *AudioCallListenerClient) OnRingingBack(ctx context.Context, arg0 int64) error

OnRingingBack calls the OnRingingBack RPC.

type ErrorCodeClient

type ErrorCodeClient struct {
	// contains filtered or unexported fields
}

ErrorCodeClient wraps the gRPC ErrorCodeService client.

func NewErrorCodeClient

func NewErrorCodeClient(cc grpc.ClientConnInterface) *ErrorCodeClient

NewErrorCodeClient creates a new ErrorCode client.

func (*ErrorCodeClient) ToString

func (c *ErrorCodeClient) ToString(ctx context.Context, arg0 int32) (string, error)

ToString calls the ToString RPC.

type ManagerClient

type ManagerClient struct {
	// contains filtered or unexported fields
}

ManagerClient wraps the gRPC ManagerService client.

func NewManagerClient

func NewManagerClient(cc grpc.ClientConnInterface) *ManagerClient

NewManagerClient creates a new Manager client.

func (*ManagerClient) Close

func (c *ManagerClient) Close(ctx context.Context, arg0 string) error

Close calls the Close RPC.

func (*ManagerClient) CreateSipSession

func (c *ManagerClient) CreateSipSession(ctx context.Context, arg0 int64, arg1 int64) (int64, error)

CreateSipSession calls the CreateSipSession RPC.

func (*ManagerClient) GetCallId

func (c *ManagerClient) GetCallId(ctx context.Context, arg0 int64) (string, error)

GetCallId calls the GetCallId RPC.

func (*ManagerClient) GetOfferSessionDescription

func (c *ManagerClient) GetOfferSessionDescription(ctx context.Context, arg0 int64) (string, error)

GetOfferSessionDescription calls the GetOfferSessionDescription RPC.

func (*ManagerClient) GetSessionFor

func (c *ManagerClient) GetSessionFor(ctx context.Context, arg0 int64) (int64, error)

GetSessionFor calls the GetSessionFor RPC.

func (*ManagerClient) IsApiSupported

func (c *ManagerClient) IsApiSupported(ctx context.Context, arg0 int64) (bool, error)

IsApiSupported calls the IsApiSupported RPC.

func (*ManagerClient) IsIncomingCallIntent

func (c *ManagerClient) IsIncomingCallIntent(ctx context.Context, arg0 int64) (bool, error)

IsIncomingCallIntent calls the IsIncomingCallIntent RPC.

func (*ManagerClient) IsOpened

func (c *ManagerClient) IsOpened(ctx context.Context, arg0 string) (bool, error)

IsOpened calls the IsOpened RPC.

func (*ManagerClient) IsRegistered

func (c *ManagerClient) IsRegistered(ctx context.Context, arg0 string) (bool, error)

IsRegistered calls the IsRegistered RPC.

func (*ManagerClient) IsSipWifiOnly

func (c *ManagerClient) IsSipWifiOnly(ctx context.Context, arg0 int64) (bool, error)

IsSipWifiOnly calls the IsSipWifiOnly RPC.

func (*ManagerClient) IsVoipSupported

func (c *ManagerClient) IsVoipSupported(ctx context.Context, arg0 int64) (bool, error)

IsVoipSupported calls the IsVoipSupported RPC.

func (*ManagerClient) MakeAudioCall4

func (c *ManagerClient) MakeAudioCall4(ctx context.Context, arg0 int64, arg1 int64, arg2 int64, arg3 int32) (int64, error)

MakeAudioCall4 calls the MakeAudioCall4 RPC.

func (*ManagerClient) MakeAudioCall4_1

func (c *ManagerClient) MakeAudioCall4_1(ctx context.Context, arg0 string, arg1 string, arg2 int64, arg3 int32) (int64, error)

MakeAudioCall4_1 calls the MakeAudioCall4_1 RPC.

func (*ManagerClient) NewInstance

func (c *ManagerClient) NewInstance(ctx context.Context, arg0 int64) (int64, error)

NewInstance calls the NewInstance RPC.

func (*ManagerClient) Open1

func (c *ManagerClient) Open1(ctx context.Context, arg0 int64) error

Open1 calls the Open1 RPC.

func (*ManagerClient) Open3_1

func (c *ManagerClient) Open3_1(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error

Open3_1 calls the Open3_1 RPC.

func (*ManagerClient) Register

func (c *ManagerClient) Register(ctx context.Context, arg0 int64, arg1 int32, arg2 int64) error

Register calls the Register RPC.

func (*ManagerClient) SetRegistrationListener

func (c *ManagerClient) SetRegistrationListener(ctx context.Context, arg0 string, arg1 int64) error

SetRegistrationListener calls the SetRegistrationListener RPC.

func (*ManagerClient) TakeAudioCall

func (c *ManagerClient) TakeAudioCall(ctx context.Context, arg0 int64, arg1 int64) (int64, error)

TakeAudioCall calls the TakeAudioCall RPC.

func (*ManagerClient) Unregister

func (c *ManagerClient) Unregister(ctx context.Context, arg0 int64, arg1 int64) error

Unregister calls the Unregister RPC.

type ProfileBuilderClient

type ProfileBuilderClient struct {
	// contains filtered or unexported fields
}

ProfileBuilderClient wraps the gRPC ProfileBuilderService client.

func NewProfileBuilderClient

func NewProfileBuilderClient(cc grpc.ClientConnInterface) *ProfileBuilderClient

NewProfileBuilderClient creates a new ProfileBuilder client.

func (*ProfileBuilderClient) Build

func (c *ProfileBuilderClient) Build(ctx context.Context) (int64, error)

Build calls the Build RPC.

func (*ProfileBuilderClient) SetAuthUserName

func (c *ProfileBuilderClient) SetAuthUserName(ctx context.Context, arg0 string) (int64, error)

SetAuthUserName calls the SetAuthUserName RPC.

func (*ProfileBuilderClient) SetAutoRegistration

func (c *ProfileBuilderClient) SetAutoRegistration(ctx context.Context, arg0 bool) (int64, error)

SetAutoRegistration calls the SetAutoRegistration RPC.

func (*ProfileBuilderClient) SetDisplayName

func (c *ProfileBuilderClient) SetDisplayName(ctx context.Context, arg0 string) (int64, error)

SetDisplayName calls the SetDisplayName RPC.

func (*ProfileBuilderClient) SetOutboundProxy

func (c *ProfileBuilderClient) SetOutboundProxy(ctx context.Context, arg0 string) (int64, error)

SetOutboundProxy calls the SetOutboundProxy RPC.

func (*ProfileBuilderClient) SetPassword

func (c *ProfileBuilderClient) SetPassword(ctx context.Context, arg0 string) (int64, error)

SetPassword calls the SetPassword RPC.

func (*ProfileBuilderClient) SetPort

func (c *ProfileBuilderClient) SetPort(ctx context.Context, arg0 int32) (int64, error)

SetPort calls the SetPort RPC.

func (*ProfileBuilderClient) SetProfileName

func (c *ProfileBuilderClient) SetProfileName(ctx context.Context, arg0 string) (int64, error)

SetProfileName calls the SetProfileName RPC.

func (*ProfileBuilderClient) SetProtocol

func (c *ProfileBuilderClient) SetProtocol(ctx context.Context, arg0 string) (int64, error)

SetProtocol calls the SetProtocol RPC.

func (*ProfileBuilderClient) SetSendKeepAlive

func (c *ProfileBuilderClient) SetSendKeepAlive(ctx context.Context, arg0 bool) (int64, error)

SetSendKeepAlive calls the SetSendKeepAlive RPC.

type ProfileClient

type ProfileClient struct {
	// contains filtered or unexported fields
}

ProfileClient wraps the gRPC ProfileService client.

func NewProfileClient

func NewProfileClient(cc grpc.ClientConnInterface) *ProfileClient

NewProfileClient creates a new Profile client.

func (*ProfileClient) DescribeContents

func (c *ProfileClient) DescribeContents(ctx context.Context) (int32, error)

DescribeContents calls the DescribeContents RPC.

func (*ProfileClient) GetAuthUserName

func (c *ProfileClient) GetAuthUserName(ctx context.Context) (string, error)

GetAuthUserName calls the GetAuthUserName RPC.

func (*ProfileClient) GetAutoRegistration

func (c *ProfileClient) GetAutoRegistration(ctx context.Context) (bool, error)

GetAutoRegistration calls the GetAutoRegistration RPC.

func (*ProfileClient) GetDisplayName

func (c *ProfileClient) GetDisplayName(ctx context.Context) (string, error)

GetDisplayName calls the GetDisplayName RPC.

func (*ProfileClient) GetPassword

func (c *ProfileClient) GetPassword(ctx context.Context) (string, error)

GetPassword calls the GetPassword RPC.

func (*ProfileClient) GetPort

func (c *ProfileClient) GetPort(ctx context.Context) (int32, error)

GetPort calls the GetPort RPC.

func (*ProfileClient) GetProfileName

func (c *ProfileClient) GetProfileName(ctx context.Context) (string, error)

GetProfileName calls the GetProfileName RPC.

func (*ProfileClient) GetProtocol

func (c *ProfileClient) GetProtocol(ctx context.Context) (string, error)

GetProtocol calls the GetProtocol RPC.

func (*ProfileClient) GetProxyAddress

func (c *ProfileClient) GetProxyAddress(ctx context.Context) (string, error)

GetProxyAddress calls the GetProxyAddress RPC.

func (*ProfileClient) GetSendKeepAlive

func (c *ProfileClient) GetSendKeepAlive(ctx context.Context) (bool, error)

GetSendKeepAlive calls the GetSendKeepAlive RPC.

func (*ProfileClient) GetSipDomain

func (c *ProfileClient) GetSipDomain(ctx context.Context) (string, error)

GetSipDomain calls the GetSipDomain RPC.

func (*ProfileClient) GetUriString

func (c *ProfileClient) GetUriString(ctx context.Context) (string, error)

GetUriString calls the GetUriString RPC.

func (*ProfileClient) GetUserName

func (c *ProfileClient) GetUserName(ctx context.Context) (string, error)

GetUserName calls the GetUserName RPC.

func (*ProfileClient) SetCallingUid

func (c *ProfileClient) SetCallingUid(ctx context.Context, arg0 int32) error

SetCallingUid calls the SetCallingUid RPC.

func (*ProfileClient) WriteToParcel

func (c *ProfileClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error

WriteToParcel calls the WriteToParcel RPC.

type RegistrationListenerClient

type RegistrationListenerClient struct {
	// contains filtered or unexported fields
}

RegistrationListenerClient wraps the gRPC RegistrationListenerService client.

func NewRegistrationListenerClient

func NewRegistrationListenerClient(cc grpc.ClientConnInterface) *RegistrationListenerClient

NewRegistrationListenerClient creates a new RegistrationListener client.

func (*RegistrationListenerClient) OnRegistering

func (c *RegistrationListenerClient) OnRegistering(ctx context.Context, arg0 string) error

OnRegistering calls the OnRegistering RPC.

func (*RegistrationListenerClient) OnRegistrationDone

func (c *RegistrationListenerClient) OnRegistrationDone(ctx context.Context, arg0 string, arg1 int64) error

OnRegistrationDone calls the OnRegistrationDone RPC.

func (*RegistrationListenerClient) OnRegistrationFailed

func (c *RegistrationListenerClient) OnRegistrationFailed(ctx context.Context, arg0 string, arg1 int32, arg2 string) error

OnRegistrationFailed calls the OnRegistrationFailed RPC.

type SessionClient

type SessionClient struct {
	// contains filtered or unexported fields
}

SessionClient wraps the gRPC SessionService client.

func NewSessionClient

func NewSessionClient(cc grpc.ClientConnInterface) *SessionClient

NewSessionClient creates a new Session client.

func (*SessionClient) AnswerCall

func (c *SessionClient) AnswerCall(ctx context.Context, arg0 string, arg1 int32) error

AnswerCall calls the AnswerCall RPC.

func (*SessionClient) ChangeCall

func (c *SessionClient) ChangeCall(ctx context.Context, arg0 string, arg1 int32) error

ChangeCall calls the ChangeCall RPC.

func (*SessionClient) EndCall

func (c *SessionClient) EndCall(ctx context.Context) error

EndCall calls the EndCall RPC.

func (*SessionClient) GetCallId

func (c *SessionClient) GetCallId(ctx context.Context) (string, error)

GetCallId calls the GetCallId RPC.

func (*SessionClient) GetLocalIp

func (c *SessionClient) GetLocalIp(ctx context.Context) (string, error)

GetLocalIp calls the GetLocalIp RPC.

func (*SessionClient) GetLocalProfile

func (c *SessionClient) GetLocalProfile(ctx context.Context) (int64, error)

GetLocalProfile calls the GetLocalProfile RPC.

func (*SessionClient) GetPeerProfile

func (c *SessionClient) GetPeerProfile(ctx context.Context) (int64, error)

GetPeerProfile calls the GetPeerProfile RPC.

func (*SessionClient) GetState

func (c *SessionClient) GetState(ctx context.Context) (int32, error)

GetState calls the GetState RPC.

func (*SessionClient) IsInCall

func (c *SessionClient) IsInCall(ctx context.Context) (bool, error)

IsInCall calls the IsInCall RPC.

func (*SessionClient) MakeCall

func (c *SessionClient) MakeCall(ctx context.Context, arg0 int64, arg1 string, arg2 int32) error

MakeCall calls the MakeCall RPC.

func (*SessionClient) Register

func (c *SessionClient) Register(ctx context.Context, arg0 int32) error

Register calls the Register RPC.

func (*SessionClient) SetListener

func (c *SessionClient) SetListener(ctx context.Context, arg0 int64) error

SetListener calls the SetListener RPC.

func (*SessionClient) Unregister

func (c *SessionClient) Unregister(ctx context.Context) error

Unregister calls the Unregister RPC.

type SessionListenerClient

type SessionListenerClient struct {
	// contains filtered or unexported fields
}

SessionListenerClient wraps the gRPC SessionListenerService client.

func NewSessionListenerClient

func NewSessionListenerClient(cc grpc.ClientConnInterface) *SessionListenerClient

NewSessionListenerClient creates a new SessionListener client.

func (*SessionListenerClient) OnCallBusy

func (c *SessionListenerClient) OnCallBusy(ctx context.Context, arg0 int64) error

OnCallBusy calls the OnCallBusy RPC.

func (*SessionListenerClient) OnCallChangeFailed

func (c *SessionListenerClient) OnCallChangeFailed(ctx context.Context, arg0 int64, arg1 int32, arg2 string) error

OnCallChangeFailed calls the OnCallChangeFailed RPC.

func (*SessionListenerClient) OnCallEnded

func (c *SessionListenerClient) OnCallEnded(ctx context.Context, arg0 int64) error

OnCallEnded calls the OnCallEnded RPC.

func (*SessionListenerClient) OnCallEstablished

func (c *SessionListenerClient) OnCallEstablished(ctx context.Context, arg0 int64, arg1 string) error

OnCallEstablished calls the OnCallEstablished RPC.

func (*SessionListenerClient) OnCalling

func (c *SessionListenerClient) OnCalling(ctx context.Context, arg0 int64) error

OnCalling calls the OnCalling RPC.

func (*SessionListenerClient) OnError

func (c *SessionListenerClient) OnError(ctx context.Context, arg0 int64, arg1 int32, arg2 string) error

OnError calls the OnError RPC.

func (*SessionListenerClient) OnRegistering

func (c *SessionListenerClient) OnRegistering(ctx context.Context, arg0 int64) error

OnRegistering calls the OnRegistering RPC.

func (*SessionListenerClient) OnRegistrationDone

func (c *SessionListenerClient) OnRegistrationDone(ctx context.Context, arg0 int64, arg1 int32) error

OnRegistrationDone calls the OnRegistrationDone RPC.

func (*SessionListenerClient) OnRegistrationFailed

func (c *SessionListenerClient) OnRegistrationFailed(ctx context.Context, arg0 int64, arg1 int32, arg2 string) error

OnRegistrationFailed calls the OnRegistrationFailed RPC.

func (*SessionListenerClient) OnRegistrationTimeout

func (c *SessionListenerClient) OnRegistrationTimeout(ctx context.Context, arg0 int64) error

OnRegistrationTimeout calls the OnRegistrationTimeout RPC.

func (*SessionListenerClient) OnRinging

func (c *SessionListenerClient) OnRinging(ctx context.Context, arg0 int64, arg1 int64, arg2 string) error

OnRinging calls the OnRinging RPC.

func (*SessionListenerClient) OnRingingBack

func (c *SessionListenerClient) OnRingingBack(ctx context.Context, arg0 int64) error

OnRingingBack calls the OnRingingBack RPC.

type SessionStateClient

type SessionStateClient struct {
	// contains filtered or unexported fields
}

SessionStateClient wraps the gRPC SessionStateService client.

func NewSessionStateClient

func NewSessionStateClient(cc grpc.ClientConnInterface) *SessionStateClient

NewSessionStateClient creates a new SessionState client.

func (*SessionStateClient) ToString

func (c *SessionStateClient) ToString(ctx context.Context, arg0 int32) (string, error)

ToString calls the ToString RPC.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL