Documentation
¶
Index ¶
- Constants
- func NewIOTestClient(conf *IntegrationConfig) rpc.IOInfoClient
- func NewService(conf *IntegrationConfig, bus psrpc.MessageBus) (*service.Service, error)
- type CloudTestService
- type IOTestClient
- func (c *IOTestClient) EvaluateSIPDispatchRules(_ context.Context, _ *rpc.EvaluateSIPDispatchRulesRequest, ...) (*rpc.EvaluateSIPDispatchRulesResponse, error)
- func (c *IOTestClient) GetSIPTrunkAuthentication(_ context.Context, _ *rpc.GetSIPTrunkAuthenticationRequest, ...) (*rpc.GetSIPTrunkAuthenticationResponse, error)
- func (c *IOTestClient) UpdateSIPCallState(_ context.Context, _ *rpc.UpdateSIPCallStateRequest, _ ...psrpc.RequestOption) (*emptypb.Empty, error)
- type IntegrationConfig
- type PhoneClient
Constants ¶
View Source
const ( Host = "integration.sip.livekit.cloud" ProjectID = "sip_integration" Uri = "integration.pstn.twilio.com" )
View Source
const ( TrunkID = "ST_INTEGRATION" DispatchRuleID = "SDR_INTEGRATION" )
Variables ¶
This section is empty.
Functions ¶
func NewIOTestClient ¶
func NewIOTestClient(conf *IntegrationConfig) rpc.IOInfoClient
func NewService ¶
func NewService(conf *IntegrationConfig, bus psrpc.MessageBus) (*service.Service, error)
Types ¶
type CloudTestService ¶
type CloudTestService struct {
// contains filtered or unexported fields
}
func NewCloudTestService ¶
func NewCloudTestService(conf *IntegrationConfig, bus psrpc.MessageBus) (*CloudTestService, error)
func (*CloudTestService) CreateSIPParticipant ¶
func (s *CloudTestService) CreateSIPParticipant(ctx context.Context, req *livekit.CreateSIPParticipantRequest) (*livekit.SIPParticipantInfo, error)
type IOTestClient ¶
type IOTestClient struct {
rpc.IOInfoClient
// contains filtered or unexported fields
}
func (*IOTestClient) EvaluateSIPDispatchRules ¶
func (c *IOTestClient) EvaluateSIPDispatchRules(_ context.Context, _ *rpc.EvaluateSIPDispatchRulesRequest, _ ...psrpc.RequestOption) (*rpc.EvaluateSIPDispatchRulesResponse, error)
func (*IOTestClient) GetSIPTrunkAuthentication ¶
func (c *IOTestClient) GetSIPTrunkAuthentication(_ context.Context, _ *rpc.GetSIPTrunkAuthenticationRequest, _ ...psrpc.RequestOption) (*rpc.GetSIPTrunkAuthenticationResponse, error)
func (*IOTestClient) UpdateSIPCallState ¶
func (c *IOTestClient) UpdateSIPCallState(_ context.Context, _ *rpc.UpdateSIPCallStateRequest, _ ...psrpc.RequestOption) (*emptypb.Empty, error)
type IntegrationConfig ¶
func NewIntegrationConfig ¶
func NewIntegrationConfig() (*IntegrationConfig, error)
type PhoneClient ¶
func NewPhoneClient ¶
func NewPhoneClient(record bool) (*PhoneClient, error)
func (*PhoneClient) Close ¶
func (p *PhoneClient) Close()
Click to show internal directories.
Click to hide internal directories.