Documentation
¶
Index ¶
- func DispatchCall(ctx context.Context, psrpcClient rpc.IOInfoClient, log logger.Logger, ...) sip.CallDispatch
- func GetAuthCredentials(ctx context.Context, psrpcClient rpc.IOInfoClient, call *rpc.SIPCall) (sip.AuthInfo, error)
- type Service
- func (s *Service) DeregisterCreateSIPParticipantTopic()
- func (s *Service) DeregisterTransferSIPParticipantTopic(sipCallId string)
- func (s *Service) DispatchCall(ctx context.Context, info *sip.CallInfo) sip.CallDispatch
- func (s *Service) GetAuthCredentials(ctx context.Context, call *rpc.SIPCall) (sip.AuthInfo, error)
- func (s *Service) GetMediaProcessor(_ []livekit.SIPFeature) msdk.PCM16Processor
- func (s *Service) Health() stats.HealthStatus
- func (s *Service) OnSessionEnd(ctx context.Context, callIdentifier *sip.CallIdentifier, ...)
- func (s *Service) RegisterCreateSIPParticipantTopic() error
- func (s *Service) RegisterTransferSIPParticipantTopic(sipCallId string) error
- func (s *Service) Run() error
- func (s *Service) Stop(kill bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DispatchCall ¶
func DispatchCall(ctx context.Context, psrpcClient rpc.IOInfoClient, log logger.Logger, info *sip.CallInfo) sip.CallDispatch
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService( conf *config.Config, log logger.Logger, srv rpc.SIPInternalServerImpl, sipServiceStop sipServiceStopFunc, sipServiceActiveCalls sipServiceActiveCallsFunc, cli rpc.IOInfoClient, bus psrpc.MessageBus, mon *stats.Monitor, ) *Service
func (*Service) DeregisterCreateSIPParticipantTopic ¶
func (s *Service) DeregisterCreateSIPParticipantTopic()
func (*Service) DeregisterTransferSIPParticipantTopic ¶
func (*Service) DispatchCall ¶
func (*Service) GetAuthCredentials ¶
func (*Service) GetMediaProcessor ¶
func (s *Service) GetMediaProcessor(_ []livekit.SIPFeature) msdk.PCM16Processor
func (*Service) Health ¶
func (s *Service) Health() stats.HealthStatus
func (*Service) OnSessionEnd ¶
func (s *Service) OnSessionEnd(ctx context.Context, callIdentifier *sip.CallIdentifier, callInfo *livekit.SIPCallInfo, reason string)
func (*Service) RegisterCreateSIPParticipantTopic ¶
func (*Service) RegisterTransferSIPParticipantTopic ¶
Click to show internal directories.
Click to hide internal directories.