Documentation
¶
Index ¶
- Constants
- func NewInviteRequest(body []byte, subject string, conf OutboundConfig) (*sip.Request, error)
- func NewMessageRequest(body []byte, conf OutboundConfig) (*sip.Request, error)
- func NewRegisterRequest(conf OutboundConfig) (*sip.Request, error)
- func NewRegisterResponse(req *sip.Request, code sip.StatusCode, reason string) *sip.Response
- func NewRequest(method sip.RequestMethod, body []byte, conf OutboundConfig) (*sip.Request, error)
- func NewUnauthorizedResponse(req *sip.Request, code sip.StatusCode, reason, nonce, realm string) *sip.Response
- type OutboundConfig
Constants ¶
View Source
const EXPIRES_TIME = 3600
View Source
const TIME_LAYOUT = "2024-01-01T00:00:00"
Variables ¶
This section is empty.
Functions ¶
func NewInviteRequest ¶
func NewMessageRequest ¶
func NewMessageRequest(body []byte, conf OutboundConfig) (*sip.Request, error)
func NewRegisterRequest ¶
func NewRegisterRequest(conf OutboundConfig) (*sip.Request, error)
func NewRegisterResponse ¶
func NewRequest ¶
func NewRequest(method sip.RequestMethod, body []byte, conf OutboundConfig) (*sip.Request, error)
func NewUnauthorizedResponse ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.