Documentation
¶
Index ¶
- type AstBool
- type CallDetailRecord
- type CallEventLog
- type Extension
- type IaxEncryption
- type IaxRequirecalltoken
- type IaxTransfer
- type MohMode
- type Pjsip100Rel
- type PjsipAuthType
- type PjsipCidPrivacy
- type PjsipConnectedLineMethod
- type PjsipDirectMediaGlareMitigation
- type PjsipDtlsSetup
- type PjsipDtmfMode
- type PjsipIdentifyBy
- type PjsipMediaEncryption
- type PjsipRedirectMethod
- type PjsipT38UdptlEc
- type PjsipTaskprocessorOverloadTrigger
- type PjsipTimer
- type PjsipTransportMethod
- type PjsipTransportProtocol
- type PsAor
- type PsAuth
- type PsContact
- type PsDomainAlias
- type PsEndpointIdIp
- type PsGlobal
- type QueueAutopause
- type QueueStrategy
- type ShaHash
- type SipCallingpres
- type SipDirectmedia
- type SipDtmfmode
- type SipPeerType
- type SipProgressinband
- type SipSessionRefresher
- type SipSessionTimers
- type SipTransport
- type YesNo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallDetailRecord ¶
type CallDetailRecord struct {
}
https://wiki.asterisk.org/wiki/display/AST/Asterisk+12+CDR+Specification
func (CallDetailRecord) TableName ¶
func (CallDetailRecord) TableName() string
type CallEventLog ¶
type CallEventLog struct {
ID int64 `gorm:"primary_key"`
EventType string `gorm:"column:eventtype"`
EventTime *time.Time `gorm:"column:eventtime"`
UserDefType string `gorm:"column:userdeftype"`
CidName string
CidNum string
CidAni string
CidRdnis string
CidDnid string
Exten string
Context string
ChanName string `gorm:"column:channame"`
AppName string `gorm:"column:appname"`
AppData string `gorm:"column:appdata"`
AmaFlags int `gorm:"column:amaflags"`
AccountCode string `gorm:"column:accountcode"`
PeerAccount string `gorm:"column:peeraccount"`
UniqueId string `gorm:"column:uniqueid"`
LinkedId string `gorm:"column:linkedid"`
UserField string `gorm:"column:userfield"`
Peer string `gorm:"column:peer"`
}
https://wiki.asterisk.org/wiki/display/AST/Asterisk+12+CEL+Specification
func (CallEventLog) TableName ¶
func (CallEventLog) TableName() string
type IaxEncryption ¶
type IaxEncryption string
const ( IaxEncryptionAes128 IaxEncryption = "aes128" IaxEncryptionNo IaxEncryption = "no" IaxEncryptionYes IaxEncryption = "yes" )
func (IaxEncryption) String ¶
func (e IaxEncryption) String() string
func (IaxEncryption) Values ¶
func (IaxEncryption) Values() []string
type IaxRequirecalltoken ¶
type IaxRequirecalltoken string
const ( IaxRequirecalltokenAuto IaxRequirecalltoken = "auto" IaxRequirecalltokenNo IaxRequirecalltoken = "no" IaxRequirecalltokenYes IaxRequirecalltoken = "yes" )
func (IaxRequirecalltoken) String ¶
func (e IaxRequirecalltoken) String() string
func (IaxRequirecalltoken) Values ¶
func (IaxRequirecalltoken) Values() []string
type IaxTransfer ¶
type IaxTransfer string
const ( IaxTransferMediaonly IaxTransfer = "mediaonly" IaxTransferNo IaxTransfer = "no" IaxTransferYes IaxTransfer = "yes" )
func (IaxTransfer) String ¶
func (e IaxTransfer) String() string
func (IaxTransfer) Values ¶
func (IaxTransfer) Values() []string
type Pjsip100Rel ¶
type Pjsip100Rel string
const ( Pjsip100RelNo Pjsip100Rel = "no" Pjsip100RelRequired Pjsip100Rel = "required" Pjsip100RelYes Pjsip100Rel = "yes" )
func (Pjsip100Rel) String ¶
func (e Pjsip100Rel) String() string
func (Pjsip100Rel) Values ¶
func (Pjsip100Rel) Values() []string
type PjsipAuthType ¶
type PjsipAuthType string
const ( PjsipAuthTypeGoogleOauth PjsipAuthType = "google_oauth" PjsipAuthTypeMd5 PjsipAuthType = "md5" PjsipAuthTypeUserpass PjsipAuthType = "userpass" )
func (PjsipAuthType) String ¶
func (e PjsipAuthType) String() string
func (PjsipAuthType) Values ¶
func (PjsipAuthType) Values() []string
type PjsipCidPrivacy ¶
type PjsipCidPrivacy string
const ( PjsipCidPrivacyAllowed PjsipCidPrivacy = "allowed" PjsipCidPrivacyAllowedFailedScreened PjsipCidPrivacy = "allowed_failed_screened" PjsipCidPrivacyAllowedNotScreened PjsipCidPrivacy = "allowed_not_screened" PjsipCidPrivacyAllowedPassedScreened PjsipCidPrivacy = "allowed_passed_screened" PjsipCidPrivacyProhib PjsipCidPrivacy = "prohib" PjsipCidPrivacyProhibFailedScreened PjsipCidPrivacy = "prohib_failed_screened" PjsipCidPrivacyProhibNotScreened PjsipCidPrivacy = "prohib_not_screened" PjsipCidPrivacyProhibPassedScreened PjsipCidPrivacy = "prohib_passed_screened" )
func (PjsipCidPrivacy) String ¶
func (e PjsipCidPrivacy) String() string
func (PjsipCidPrivacy) Values ¶
func (PjsipCidPrivacy) Values() []string
type PjsipConnectedLineMethod ¶
type PjsipConnectedLineMethod string
const ( PjsipConnectedLineMethodInvite PjsipConnectedLineMethod = "invite" PjsipConnectedLineMethodReinvite PjsipConnectedLineMethod = "reinvite" PjsipConnectedLineMethodUpdate PjsipConnectedLineMethod = "update" )
func (PjsipConnectedLineMethod) String ¶
func (e PjsipConnectedLineMethod) String() string
func (PjsipConnectedLineMethod) Values ¶
func (PjsipConnectedLineMethod) Values() []string
type PjsipDirectMediaGlareMitigation ¶
type PjsipDirectMediaGlareMitigation string
const ( PjsipDirectMediaGlareMitigationIncoming PjsipDirectMediaGlareMitigation = "incoming" PjsipDirectMediaGlareMitigationNone PjsipDirectMediaGlareMitigation = "none" PjsipDirectMediaGlareMitigationOutgoing PjsipDirectMediaGlareMitigation = "outgoing" )
func (PjsipDirectMediaGlareMitigation) String ¶
func (e PjsipDirectMediaGlareMitigation) String() string
func (PjsipDirectMediaGlareMitigation) Values ¶
func (PjsipDirectMediaGlareMitigation) Values() []string
type PjsipDtlsSetup ¶
type PjsipDtlsSetup string
const ( PjsipDtlsSetupActive PjsipDtlsSetup = "active" PjsipDtlsSetupActpass PjsipDtlsSetup = "actpass" PjsipDtlsSetupPassive PjsipDtlsSetup = "passive" )
func (PjsipDtlsSetup) String ¶
func (e PjsipDtlsSetup) String() string
func (PjsipDtlsSetup) Values ¶
func (PjsipDtlsSetup) Values() []string
type PjsipDtmfMode ¶
type PjsipDtmfMode string
const ( PjsipDtmfModeAuto PjsipDtmfMode = "auto" PjsipDtmfModeAutoInfo PjsipDtmfMode = "auto_info" PjsipDtmfModeInband PjsipDtmfMode = "inband" PjsipDtmfModeInfo PjsipDtmfMode = "info" PjsipDtmfModeRfc4733 PjsipDtmfMode = "rfc4733" )
func (PjsipDtmfMode) String ¶
func (e PjsipDtmfMode) String() string
func (PjsipDtmfMode) Values ¶
func (PjsipDtmfMode) Values() []string
type PjsipIdentifyBy ¶
type PjsipIdentifyBy string
const ( PjsipIdentifyByAuthUsername PjsipIdentifyBy = "auth_username" PjsipIdentifyByIp PjsipIdentifyBy = "ip" PjsipIdentifyByUsername PjsipIdentifyBy = "username" )
func (PjsipIdentifyBy) String ¶
func (e PjsipIdentifyBy) String() string
func (PjsipIdentifyBy) Values ¶
func (PjsipIdentifyBy) Values() []string
type PjsipMediaEncryption ¶
type PjsipMediaEncryption string
const ( PjsipMediaEncryptionDtls PjsipMediaEncryption = "dtls" PjsipMediaEncryptionNo PjsipMediaEncryption = "no" PjsipMediaEncryptionSdes PjsipMediaEncryption = "sdes" )
func (PjsipMediaEncryption) String ¶
func (e PjsipMediaEncryption) String() string
func (PjsipMediaEncryption) Values ¶
func (PjsipMediaEncryption) Values() []string
type PjsipRedirectMethod ¶
type PjsipRedirectMethod string
const ( PjsipRedirectMethodUriCore PjsipRedirectMethod = "uri_core" PjsipRedirectMethodUriPjsip PjsipRedirectMethod = "uri_pjsip" PjsipRedirectMethodUser PjsipRedirectMethod = "user" )
func (PjsipRedirectMethod) String ¶
func (e PjsipRedirectMethod) String() string
func (PjsipRedirectMethod) Values ¶
func (PjsipRedirectMethod) Values() []string
type PjsipT38UdptlEc ¶
type PjsipT38UdptlEc string
const ( PjsipT38UdptlEcFec PjsipT38UdptlEc = "fec" PjsipT38UdptlEcNone PjsipT38UdptlEc = "none" PjsipT38UdptlEcRedundancy PjsipT38UdptlEc = "redundancy" )
func (PjsipT38UdptlEc) String ¶
func (e PjsipT38UdptlEc) String() string
func (PjsipT38UdptlEc) Values ¶
func (PjsipT38UdptlEc) Values() []string
type PjsipTaskprocessorOverloadTrigger ¶
type PjsipTaskprocessorOverloadTrigger string
const ( PjsipTaskprocessorOverloadTriggerGlobal PjsipTaskprocessorOverloadTrigger = "global" PjsipTaskprocessorOverloadTriggerNone PjsipTaskprocessorOverloadTrigger = "none" PjsipTaskprocessorOverloadTriggerPjsipOnly PjsipTaskprocessorOverloadTrigger = "pjsip_only" )
func (PjsipTaskprocessorOverloadTrigger) String ¶
func (e PjsipTaskprocessorOverloadTrigger) String() string
func (PjsipTaskprocessorOverloadTrigger) Values ¶
func (PjsipTaskprocessorOverloadTrigger) Values() []string
type PjsipTimer ¶
type PjsipTimer string
const ( PjsipTimerForced PjsipTimer = "forced" PjsipTimerNo PjsipTimer = "no" PjsipTimerRequired PjsipTimer = "required" PjsipTimerYes PjsipTimer = "yes" )
func (PjsipTimer) String ¶
func (e PjsipTimer) String() string
func (PjsipTimer) Values ¶
func (PjsipTimer) Values() []string
type PjsipTransportMethod ¶
type PjsipTransportMethod string
const ( PjsipTransportMethodDefault PjsipTransportMethod = "default" PjsipTransportMethodSslv2 PjsipTransportMethod = "sslv2" PjsipTransportMethodSslv23 PjsipTransportMethod = "sslv23" PjsipTransportMethodSslv3 PjsipTransportMethod = "sslv3" PjsipTransportMethodTlsv1 PjsipTransportMethod = "tlsv1" PjsipTransportMethodUnspecified PjsipTransportMethod = "unspecified" )
func (PjsipTransportMethod) String ¶
func (e PjsipTransportMethod) String() string
func (PjsipTransportMethod) Values ¶
func (PjsipTransportMethod) Values() []string
type PjsipTransportProtocol ¶
type PjsipTransportProtocol string
const ( PjsipTransportProtocolFlow PjsipTransportProtocol = "flow" PjsipTransportProtocolTcp PjsipTransportProtocol = "tcp" PjsipTransportProtocolTls PjsipTransportProtocol = "tls" PjsipTransportProtocolUdp PjsipTransportProtocol = "udp" PjsipTransportProtocolWs PjsipTransportProtocol = "ws" PjsipTransportProtocolWss PjsipTransportProtocol = "wss" )
func (PjsipTransportProtocol) String ¶
func (e PjsipTransportProtocol) String() string
func (PjsipTransportProtocol) Values ¶
func (PjsipTransportProtocol) Values() []string
type PsAor ¶
type PsAor struct {
ID string `gorm:"primary_key"`
Contact sql.NullString
// 3600
DefaultExpiration int
MinimumExpiration int
MaximumExpiration int
Mailboxes sql.NullString
MaxContacts int
QualifyFrequency int
QualifyTimeout float64
AuthenticateQualify YesNo
OutboundProxy sql.NullString
SupportPath YesNo
VoicemailExtension sql.NullString
}
type PsAuth ¶
type PsAuth struct {
ID string `gorm:"primary_key"`
// userpass
AuthType string
NonceLifetime sql.NullString
Md5Cred sql.NullString
Username string
Password string
Realm sql.NullString
}
type PsDomainAlias ¶
type PsEndpointIdIp ¶
type QueueAutopause ¶
type QueueAutopause string
const ( QueueAutopauseAll QueueAutopause = "all" QueueAutopauseNo QueueAutopause = "no" QueueAutopauseYes QueueAutopause = "yes" )
func (QueueAutopause) String ¶
func (e QueueAutopause) String() string
func (QueueAutopause) Values ¶
func (QueueAutopause) Values() []string
type QueueStrategy ¶
type QueueStrategy string
const ( QueueStrategyFewestcalls QueueStrategy = "fewestcalls" QueueStrategyLeastrecent QueueStrategy = "leastrecent" QueueStrategyLinear QueueStrategy = "linear" QueueStrategyRandom QueueStrategy = "random" QueueStrategyRingall QueueStrategy = "ringall" QueueStrategyRrmemory QueueStrategy = "rrmemory" QueueStrategyRrordered QueueStrategy = "rrordered" QueueStrategyWrandom QueueStrategy = "wrandom" )
func (QueueStrategy) String ¶
func (e QueueStrategy) String() string
func (QueueStrategy) Values ¶
func (QueueStrategy) Values() []string
type SipCallingpres ¶
type SipCallingpres string
const ( SipCallingpresAllowed SipCallingpres = "allowed" SipCallingpresAllowedFailedScreen SipCallingpres = "allowed_failed_screen" SipCallingpresAllowedNotScreened SipCallingpres = "allowed_not_screened" SipCallingpresAllowedPassedScreen SipCallingpres = "allowed_passed_screen" SipCallingpresProhib SipCallingpres = "prohib" SipCallingpresProhibFailedScreen SipCallingpres = "prohib_failed_screen" SipCallingpresProhibNotScreened SipCallingpres = "prohib_not_screened" SipCallingpresProhibPassedScreen SipCallingpres = "prohib_passed_screen" )
func (SipCallingpres) String ¶
func (e SipCallingpres) String() string
func (SipCallingpres) Values ¶
func (SipCallingpres) Values() []string
type SipDirectmedia ¶
type SipDirectmedia string
const ( SipDirectmediaNo SipDirectmedia = "no" SipDirectmediaNonat SipDirectmedia = "nonat" SipDirectmediaOutgoing SipDirectmedia = "outgoing" SipDirectmediaUpdate SipDirectmedia = "update" SipDirectmediaYes SipDirectmedia = "yes" )
func (SipDirectmedia) String ¶
func (e SipDirectmedia) String() string
func (SipDirectmedia) Values ¶
func (SipDirectmedia) Values() []string
type SipDtmfmode ¶
type SipDtmfmode string
const ( SipDtmfmodeAuto SipDtmfmode = "auto" SipDtmfmodeInband SipDtmfmode = "inband" SipDtmfmodeInfo SipDtmfmode = "info" SipDtmfmodeRfc2833 SipDtmfmode = "rfc2833" SipDtmfmodeShortinfo SipDtmfmode = "shortinfo" )
func (SipDtmfmode) String ¶
func (e SipDtmfmode) String() string
func (SipDtmfmode) Values ¶
func (SipDtmfmode) Values() []string
type SipPeerType ¶
type SipPeerType string
const ( SipPeerTypeFriend SipPeerType = "friend" SipPeerTypePeer SipPeerType = "peer" SipPeerTypeUser SipPeerType = "user" )
func (SipPeerType) String ¶
func (e SipPeerType) String() string
func (SipPeerType) Values ¶
func (SipPeerType) Values() []string
type SipProgressinband ¶
type SipProgressinband string
const ( SipProgressinbandNever SipProgressinband = "never" SipProgressinbandNo SipProgressinband = "no" SipProgressinbandYes SipProgressinband = "yes" )
func (SipProgressinband) String ¶
func (e SipProgressinband) String() string
func (SipProgressinband) Values ¶
func (SipProgressinband) Values() []string
type SipSessionRefresher ¶
type SipSessionRefresher string
const ( SipSessionRefresherUac SipSessionRefresher = "uac" SipSessionRefresherUas SipSessionRefresher = "uas" )
func (SipSessionRefresher) String ¶
func (e SipSessionRefresher) String() string
func (SipSessionRefresher) Values ¶
func (SipSessionRefresher) Values() []string
type SipSessionTimers ¶
type SipSessionTimers string
const ( SipSessionTimersAccept SipSessionTimers = "accept" SipSessionTimersOriginate SipSessionTimers = "originate" SipSessionTimersRefuse SipSessionTimers = "refuse" )
func (SipSessionTimers) String ¶
func (e SipSessionTimers) String() string
func (SipSessionTimers) Values ¶
func (SipSessionTimers) Values() []string
type SipTransport ¶
type SipTransport string
const ( SipTransportTcp SipTransport = "tcp" SipTransportTls SipTransport = "tls" SipTransportUdp SipTransport = "udp" SipTransportWs SipTransport = "ws" SipTransportWss SipTransport = "wss" )
func (SipTransport) String ¶
func (e SipTransport) String() string
func (SipTransport) Values ¶
func (SipTransport) Values() []string
Click to show internal directories.
Click to hide internal directories.