You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

20 lines
1.3 KiB

// SIP Protocol Method Definitions
package sip
const (
MethodInvite = "INVITE" // Indicates a client is being invited to participate in a call session.
MethodAck = "ACK" // Confirms that the client has received a final response to an INVITE request.
MethodBye = "BYE" // Terminates a call and can be sent by either the caller or the callee.
MethodCancel = "CANCEL" // Cancels any pending request.
MethodOptions = "OPTIONS" // Queries the capabilities of servers.
MethodRegister = "REGISTER" // Registers the address listed in the To header field with a SIP server.
MethodPrack = "PRACK" // Provisional acknowledgement.
MethodSubscribe = "SUBSCRIBE" // Subscribes for an Event of Notification from the Notifier.
MethodNotify = "NOTIFY" // Notify the subscriber of a new Event.
MethodPublish = "PUBLISH" // Publishes an event to the Server.
MethodInfo = "INFO" // Sends mid-session information that does not modify the session state.
MethodRefer = "REFER" // Asks recipient to issue SIP request (call transfer.)
MethodMessage = "MESSAGE" // Transports instant messages using SIP.
MethodUpdate = "UPDATE" // Modifies the state of a session without changing the state of the dialog.
)