| 1 |
|
| 2 |
|
| 3 |
package astdb |
| 4 |
|
| 5 |
type AstBool string |
| 6 |
|
| 7 |
const ( |
| 8 |
AstBool0 AstBool = "0" |
| 9 |
AstBool1 AstBool = "1" |
| 10 |
AstBoolFalse AstBool = "false" |
| 11 |
AstBoolNo AstBool = "no" |
| 12 |
AstBoolOff AstBool = "off" |
| 13 |
AstBoolOn AstBool = "on" |
| 14 |
AstBoolTrue AstBool = "true" |
| 15 |
AstBoolYes AstBool = "yes" |
| 16 |
) |
| 17 |
|
| 18 |
type IaxEncryption string |
| 19 |
|
| 20 |
const ( |
| 21 |
IaxEncryptionAes128 IaxEncryption = "aes128" |
| 22 |
IaxEncryptionNo IaxEncryption = "no" |
| 23 |
IaxEncryptionYes IaxEncryption = "yes" |
| 24 |
) |
| 25 |
|
| 26 |
type IaxRequirecalltoken string |
| 27 |
|
| 28 |
const ( |
| 29 |
IaxRequirecalltokenAuto IaxRequirecalltoken = "auto" |
| 30 |
IaxRequirecalltokenNo IaxRequirecalltoken = "no" |
| 31 |
IaxRequirecalltokenYes IaxRequirecalltoken = "yes" |
| 32 |
) |
| 33 |
|
| 34 |
type IaxTransfer string |
| 35 |
|
| 36 |
const ( |
| 37 |
IaxTransferMediaonly IaxTransfer = "mediaonly" |
| 38 |
IaxTransferNo IaxTransfer = "no" |
| 39 |
IaxTransferYes IaxTransfer = "yes" |
| 40 |
) |
| 41 |
|
| 42 |
type MohMode string |
| 43 |
|
| 44 |
const ( |
| 45 |
MohModeCustom MohMode = "custom" |
| 46 |
MohModeFiles MohMode = "files" |
| 47 |
MohModeMp3Nb MohMode = "mp3nb" |
| 48 |
MohModePlaylist MohMode = "playlist" |
| 49 |
MohModeQuietmp3 MohMode = "quietmp3" |
| 50 |
MohModeQuietmp3Nb MohMode = "quietmp3nb" |
| 51 |
) |
| 52 |
|
| 53 |
type Pjsip100Rel string |
| 54 |
|
| 55 |
const ( |
| 56 |
Pjsip100RelNo Pjsip100Rel = "no" |
| 57 |
Pjsip100RelRequired Pjsip100Rel = "required" |
| 58 |
Pjsip100RelYes Pjsip100Rel = "yes" |
| 59 |
) |
| 60 |
|
| 61 |
type PjsipAuthType string |
| 62 |
|
| 63 |
const ( |
| 64 |
PjsipAuthTypeGoogleOauth PjsipAuthType = "google_oauth" |
| 65 |
PjsipAuthTypeMd5 PjsipAuthType = "md5" |
| 66 |
PjsipAuthTypeUserpass PjsipAuthType = "userpass" |
| 67 |
) |
| 68 |
|
| 69 |
type PjsipCidPrivacy string |
| 70 |
|
| 71 |
const ( |
| 72 |
PjsipCidPrivacyAllowed PjsipCidPrivacy = "allowed" |
| 73 |
PjsipCidPrivacyAllowedFailedScreened PjsipCidPrivacy = "allowed_failed_screened" |
| 74 |
PjsipCidPrivacyAllowedNotScreened PjsipCidPrivacy = "allowed_not_screened" |
| 75 |
PjsipCidPrivacyAllowedPassedScreened PjsipCidPrivacy = "allowed_passed_screened" |
| 76 |
PjsipCidPrivacyProhib PjsipCidPrivacy = "prohib" |
| 77 |
PjsipCidPrivacyProhibFailedScreened PjsipCidPrivacy = "prohib_failed_screened" |
| 78 |
PjsipCidPrivacyProhibNotScreened PjsipCidPrivacy = "prohib_not_screened" |
| 79 |
PjsipCidPrivacyProhibPassedScreened PjsipCidPrivacy = "prohib_passed_screened" |
| 80 |
PjsipCidPrivacyUnavailable PjsipCidPrivacy = "unavailable" |
| 81 |
) |
| 82 |
|
| 83 |
type PjsipConnectedLineMethod string |
| 84 |
|
| 85 |
const ( |
| 86 |
PjsipConnectedLineMethodInvite PjsipConnectedLineMethod = "invite" |
| 87 |
PjsipConnectedLineMethodReinvite PjsipConnectedLineMethod = "reinvite" |
| 88 |
PjsipConnectedLineMethodUpdate PjsipConnectedLineMethod = "update" |
| 89 |
) |
| 90 |
|
| 91 |
type PjsipDirectMediaGlareMitigation string |
| 92 |
|
| 93 |
const ( |
| 94 |
PjsipDirectMediaGlareMitigationIncoming PjsipDirectMediaGlareMitigation = "incoming" |
| 95 |
PjsipDirectMediaGlareMitigationNone PjsipDirectMediaGlareMitigation = "none" |
| 96 |
PjsipDirectMediaGlareMitigationOutgoing PjsipDirectMediaGlareMitigation = "outgoing" |
| 97 |
) |
| 98 |
|
| 99 |
type PjsipDtlsSetup string |
| 100 |
|
| 101 |
const ( |
| 102 |
PjsipDtlsSetupActive PjsipDtlsSetup = "active" |
| 103 |
PjsipDtlsSetupActpass PjsipDtlsSetup = "actpass" |
| 104 |
PjsipDtlsSetupPassive PjsipDtlsSetup = "passive" |
| 105 |
) |
| 106 |
|
| 107 |
type PjsipDtmfMode string |
| 108 |
|
| 109 |
const ( |
| 110 |
PjsipDtmfModeAuto PjsipDtmfMode = "auto" |
| 111 |
PjsipDtmfModeAutoInfo PjsipDtmfMode = "auto_info" |
| 112 |
PjsipDtmfModeInband PjsipDtmfMode = "inband" |
| 113 |
PjsipDtmfModeInfo PjsipDtmfMode = "info" |
| 114 |
PjsipDtmfModeRfc4733 PjsipDtmfMode = "rfc4733" |
| 115 |
) |
| 116 |
|
| 117 |
type PjsipIdentifyBy string |
| 118 |
|
| 119 |
const ( |
| 120 |
PjsipIdentifyByAuthUsername PjsipIdentifyBy = "auth_username" |
| 121 |
PjsipIdentifyByIp PjsipIdentifyBy = "ip" |
| 122 |
PjsipIdentifyByUsername PjsipIdentifyBy = "username" |
| 123 |
) |
| 124 |
|
| 125 |
type PjsipMediaEncryption string |
| 126 |
|
| 127 |
const ( |
| 128 |
PjsipMediaEncryptionDtls PjsipMediaEncryption = "dtls" |
| 129 |
PjsipMediaEncryptionNo PjsipMediaEncryption = "no" |
| 130 |
PjsipMediaEncryptionSdes PjsipMediaEncryption = "sdes" |
| 131 |
) |
| 132 |
|
| 133 |
type PjsipRedirectMethod string |
| 134 |
|
| 135 |
const ( |
| 136 |
PjsipRedirectMethodUriCore PjsipRedirectMethod = "uri_core" |
| 137 |
PjsipRedirectMethodUriPjsip PjsipRedirectMethod = "uri_pjsip" |
| 138 |
PjsipRedirectMethodUser PjsipRedirectMethod = "user" |
| 139 |
) |
| 140 |
|
| 141 |
type PjsipT38UdptlEc string |
| 142 |
|
| 143 |
const ( |
| 144 |
PjsipT38UdptlEcFec PjsipT38UdptlEc = "fec" |
| 145 |
PjsipT38UdptlEcNone PjsipT38UdptlEc = "none" |
| 146 |
PjsipT38UdptlEcRedundancy PjsipT38UdptlEc = "redundancy" |
| 147 |
) |
| 148 |
|
| 149 |
type PjsipTaskprocessorOverloadTrigger string |
| 150 |
|
| 151 |
const ( |
| 152 |
PjsipTaskprocessorOverloadTriggerGlobal PjsipTaskprocessorOverloadTrigger = "global" |
| 153 |
PjsipTaskprocessorOverloadTriggerNone PjsipTaskprocessorOverloadTrigger = "none" |
| 154 |
PjsipTaskprocessorOverloadTriggerPjsipOnly PjsipTaskprocessorOverloadTrigger = "pjsip_only" |
| 155 |
) |
| 156 |
|
| 157 |
type PjsipTimer string |
| 158 |
|
| 159 |
const ( |
| 160 |
PjsipTimerForced PjsipTimer = "forced" |
| 161 |
PjsipTimerNo PjsipTimer = "no" |
| 162 |
PjsipTimerRequired PjsipTimer = "required" |
| 163 |
PjsipTimerYes PjsipTimer = "yes" |
| 164 |
) |
| 165 |
|
| 166 |
type PjsipTransportMethod string |
| 167 |
|
| 168 |
const ( |
| 169 |
PjsipTransportMethodDefault PjsipTransportMethod = "default" |
| 170 |
PjsipTransportMethodSslv2 PjsipTransportMethod = "sslv2" |
| 171 |
PjsipTransportMethodSslv23 PjsipTransportMethod = "sslv23" |
| 172 |
PjsipTransportMethodSslv3 PjsipTransportMethod = "sslv3" |
| 173 |
PjsipTransportMethodTlsv1 PjsipTransportMethod = "tlsv1" |
| 174 |
PjsipTransportMethodUnspecified PjsipTransportMethod = "unspecified" |
| 175 |
) |
| 176 |
|
| 177 |
type PjsipTransportProtocol string |
| 178 |
|
| 179 |
const ( |
| 180 |
PjsipTransportProtocolFlow PjsipTransportProtocol = "flow" |
| 181 |
PjsipTransportProtocolTcp PjsipTransportProtocol = "tcp" |
| 182 |
PjsipTransportProtocolTls PjsipTransportProtocol = "tls" |
| 183 |
PjsipTransportProtocolUdp PjsipTransportProtocol = "udp" |
| 184 |
PjsipTransportProtocolWs PjsipTransportProtocol = "ws" |
| 185 |
PjsipTransportProtocolWss PjsipTransportProtocol = "wss" |
| 186 |
) |
| 187 |
|
| 188 |
type QueueAutopause string |
| 189 |
|
| 190 |
const ( |
| 191 |
QueueAutopauseAll QueueAutopause = "all" |
| 192 |
QueueAutopauseNo QueueAutopause = "no" |
| 193 |
QueueAutopauseYes QueueAutopause = "yes" |
| 194 |
) |
| 195 |
|
| 196 |
type QueueStrategy string |
| 197 |
|
| 198 |
const ( |
| 199 |
QueueStrategyFewestcalls QueueStrategy = "fewestcalls" |
| 200 |
QueueStrategyLeastrecent QueueStrategy = "leastrecent" |
| 201 |
QueueStrategyLinear QueueStrategy = "linear" |
| 202 |
QueueStrategyRandom QueueStrategy = "random" |
| 203 |
QueueStrategyRingall QueueStrategy = "ringall" |
| 204 |
QueueStrategyRrmemory QueueStrategy = "rrmemory" |
| 205 |
QueueStrategyRrordered QueueStrategy = "rrordered" |
| 206 |
QueueStrategyWrandom QueueStrategy = "wrandom" |
| 207 |
) |
| 208 |
|
| 209 |
type ShaHash string |
| 210 |
|
| 211 |
const ( |
| 212 |
ShaHashSHA1 ShaHash = "SHA-1" |
| 213 |
ShaHashSHA256 ShaHash = "SHA-256" |
| 214 |
) |
| 215 |
|
| 216 |
type SipCallingpres string |
| 217 |
|
| 218 |
const ( |
| 219 |
SipCallingpresAllowed SipCallingpres = "allowed" |
| 220 |
SipCallingpresAllowedFailedScreen SipCallingpres = "allowed_failed_screen" |
| 221 |
SipCallingpresAllowedNotScreened SipCallingpres = "allowed_not_screened" |
| 222 |
SipCallingpresAllowedPassedScreen SipCallingpres = "allowed_passed_screen" |
| 223 |
SipCallingpresProhib SipCallingpres = "prohib" |
| 224 |
SipCallingpresProhibFailedScreen SipCallingpres = "prohib_failed_screen" |
| 225 |
SipCallingpresProhibNotScreened SipCallingpres = "prohib_not_screened" |
| 226 |
SipCallingpresProhibPassedScreen SipCallingpres = "prohib_passed_screen" |
| 227 |
) |
| 228 |
|
| 229 |
type SipDirectmedia string |
| 230 |
|
| 231 |
const ( |
| 232 |
SipDirectmediaNo SipDirectmedia = "no" |
| 233 |
SipDirectmediaNonat SipDirectmedia = "nonat" |
| 234 |
SipDirectmediaOutgoing SipDirectmedia = "outgoing" |
| 235 |
SipDirectmediaUpdate SipDirectmedia = "update" |
| 236 |
SipDirectmediaYes SipDirectmedia = "yes" |
| 237 |
) |
| 238 |
|
| 239 |
type SipDtmfmode string |
| 240 |
|
| 241 |
const ( |
| 242 |
SipDtmfmodeAuto SipDtmfmode = "auto" |
| 243 |
SipDtmfmodeInband SipDtmfmode = "inband" |
| 244 |
SipDtmfmodeInfo SipDtmfmode = "info" |
| 245 |
SipDtmfmodeRfc2833 SipDtmfmode = "rfc2833" |
| 246 |
SipDtmfmodeShortinfo SipDtmfmode = "shortinfo" |
| 247 |
) |
| 248 |
|
| 249 |
type SipPeerType string |
| 250 |
|
| 251 |
const ( |
| 252 |
SipPeerTypeFriend SipPeerType = "friend" |
| 253 |
SipPeerTypePeer SipPeerType = "peer" |
| 254 |
SipPeerTypeUser SipPeerType = "user" |
| 255 |
) |
| 256 |
|
| 257 |
type SipProgressinband string |
| 258 |
|
| 259 |
const ( |
| 260 |
SipProgressinbandNever SipProgressinband = "never" |
| 261 |
SipProgressinbandNo SipProgressinband = "no" |
| 262 |
SipProgressinbandYes SipProgressinband = "yes" |
| 263 |
) |
| 264 |
|
| 265 |
type SipSessionRefresher string |
| 266 |
|
| 267 |
const ( |
| 268 |
SipSessionRefresherUac SipSessionRefresher = "uac" |
| 269 |
SipSessionRefresherUas SipSessionRefresher = "uas" |
| 270 |
) |
| 271 |
|
| 272 |
type SipSessionTimers string |
| 273 |
|
| 274 |
const ( |
| 275 |
SipSessionTimersAccept SipSessionTimers = "accept" |
| 276 |
SipSessionTimersOriginate SipSessionTimers = "originate" |
| 277 |
SipSessionTimersRefuse SipSessionTimers = "refuse" |
| 278 |
) |
| 279 |
|
| 280 |
type SipTransport string |
| 281 |
|
| 282 |
const ( |
| 283 |
SipTransportTcp SipTransport = "tcp" |
| 284 |
SipTransportTls SipTransport = "tls" |
| 285 |
SipTransportUdp SipTransport = "udp" |
| 286 |
SipTransportWs SipTransport = "ws" |
| 287 |
SipTransportWss SipTransport = "wss" |
| 288 |
) |
| 289 |
|
| 290 |
type YesNo string |
| 291 |
|
| 292 |
const ( |
| 293 |
YesNoNo YesNo = "no" |
| 294 |
YesNoYes YesNo = "yes" |
| 295 |
) |
| 296 |
|
| 297 |
func (e AstBool) String() string { |
| 298 |
return string(e) |
| 299 |
} |
| 300 |
func (AstBool) Values() []string { |
| 301 |
return []string{ |
| 302 |
"0", |
| 303 |
"1", |
| 304 |
"false", |
| 305 |
"no", |
| 306 |
"off", |
| 307 |
"on", |
| 308 |
"true", |
| 309 |
"yes", |
| 310 |
} |
| 311 |
} |
| 312 |
|
| 313 |
func (e IaxEncryption) String() string { |
| 314 |
return string(e) |
| 315 |
} |
| 316 |
func (IaxEncryption) Values() []string { |
| 317 |
return []string{ |
| 318 |
"aes128", |
| 319 |
"no", |
| 320 |
"yes", |
| 321 |
} |
| 322 |
} |
| 323 |
|
| 324 |
func (e IaxRequirecalltoken) String() string { |
| 325 |
return string(e) |
| 326 |
} |
| 327 |
func (IaxRequirecalltoken) Values() []string { |
| 328 |
return []string{ |
| 329 |
"auto", |
| 330 |
"no", |
| 331 |
"yes", |
| 332 |
} |
| 333 |
} |
| 334 |
|
| 335 |
func (e IaxTransfer) String() string { |
| 336 |
return string(e) |
| 337 |
} |
| 338 |
func (IaxTransfer) Values() []string { |
| 339 |
return []string{ |
| 340 |
"mediaonly", |
| 341 |
"no", |
| 342 |
"yes", |
| 343 |
} |
| 344 |
} |
| 345 |
|
| 346 |
func (e MohMode) String() string { |
| 347 |
return string(e) |
| 348 |
} |
| 349 |
func (MohMode) Values() []string { |
| 350 |
return []string{ |
| 351 |
"custom", |
| 352 |
"files", |
| 353 |
"mp3nb", |
| 354 |
"playlist", |
| 355 |
"quietmp3", |
| 356 |
"quietmp3nb", |
| 357 |
} |
| 358 |
} |
| 359 |
|
| 360 |
func (e Pjsip100Rel) String() string { |
| 361 |
return string(e) |
| 362 |
} |
| 363 |
func (Pjsip100Rel) Values() []string { |
| 364 |
return []string{ |
| 365 |
"no", |
| 366 |
"required", |
| 367 |
"yes", |
| 368 |
} |
| 369 |
} |
| 370 |
|
| 371 |
func (e PjsipAuthType) String() string { |
| 372 |
return string(e) |
| 373 |
} |
| 374 |
func (PjsipAuthType) Values() []string { |
| 375 |
return []string{ |
| 376 |
"google_oauth", |
| 377 |
"md5", |
| 378 |
"userpass", |
| 379 |
} |
| 380 |
} |
| 381 |
|
| 382 |
func (e PjsipCidPrivacy) String() string { |
| 383 |
return string(e) |
| 384 |
} |
| 385 |
func (PjsipCidPrivacy) Values() []string { |
| 386 |
return []string{ |
| 387 |
"allowed", |
| 388 |
"allowed_failed_screened", |
| 389 |
"allowed_not_screened", |
| 390 |
"allowed_passed_screened", |
| 391 |
"prohib", |
| 392 |
"prohib_failed_screened", |
| 393 |
"prohib_not_screened", |
| 394 |
"prohib_passed_screened", |
| 395 |
"unavailable", |
| 396 |
} |
| 397 |
} |
| 398 |
|
| 399 |
func (e PjsipConnectedLineMethod) String() string { |
| 400 |
return string(e) |
| 401 |
} |
| 402 |
func (PjsipConnectedLineMethod) Values() []string { |
| 403 |
return []string{ |
| 404 |
"invite", |
| 405 |
"reinvite", |
| 406 |
"update", |
| 407 |
} |
| 408 |
} |
| 409 |
|
| 410 |
func (e PjsipDirectMediaGlareMitigation) String() string { |
| 411 |
return string(e) |
| 412 |
} |
| 413 |
func (PjsipDirectMediaGlareMitigation) Values() []string { |
| 414 |
return []string{ |
| 415 |
"incoming", |
| 416 |
"none", |
| 417 |
"outgoing", |
| 418 |
} |
| 419 |
} |
| 420 |
|
| 421 |
func (e PjsipDtlsSetup) String() string { |
| 422 |
return string(e) |
| 423 |
} |
| 424 |
func (PjsipDtlsSetup) Values() []string { |
| 425 |
return []string{ |
| 426 |
"active", |
| 427 |
"actpass", |
| 428 |
"passive", |
| 429 |
} |
| 430 |
} |
| 431 |
|
| 432 |
func (e PjsipDtmfMode) String() string { |
| 433 |
return string(e) |
| 434 |
} |
| 435 |
func (PjsipDtmfMode) Values() []string { |
| 436 |
return []string{ |
| 437 |
"auto", |
| 438 |
"auto_info", |
| 439 |
"inband", |
| 440 |
"info", |
| 441 |
"rfc4733", |
| 442 |
} |
| 443 |
} |
| 444 |
|
| 445 |
func (e PjsipIdentifyBy) String() string { |
| 446 |
return string(e) |
| 447 |
} |
| 448 |
func (PjsipIdentifyBy) Values() []string { |
| 449 |
return []string{ |
| 450 |
"auth_username", |
| 451 |
"ip", |
| 452 |
"username", |
| 453 |
} |
| 454 |
} |
| 455 |
|
| 456 |
func (e PjsipMediaEncryption) String() string { |
| 457 |
return string(e) |
| 458 |
} |
| 459 |
func (PjsipMediaEncryption) Values() []string { |
| 460 |
return []string{ |
| 461 |
"dtls", |
| 462 |
"no", |
| 463 |
"sdes", |
| 464 |
} |
| 465 |
} |
| 466 |
|
| 467 |
func (e PjsipRedirectMethod) String() string { |
| 468 |
return string(e) |
| 469 |
} |
| 470 |
func (PjsipRedirectMethod) Values() []string { |
| 471 |
return []string{ |
| 472 |
"uri_core", |
| 473 |
"uri_pjsip", |
| 474 |
"user", |
| 475 |
} |
| 476 |
} |
| 477 |
|
| 478 |
func (e PjsipT38UdptlEc) String() string { |
| 479 |
return string(e) |
| 480 |
} |
| 481 |
func (PjsipT38UdptlEc) Values() []string { |
| 482 |
return []string{ |
| 483 |
"fec", |
| 484 |
"none", |
| 485 |
"redundancy", |
| 486 |
} |
| 487 |
} |
| 488 |
|
| 489 |
func (e PjsipTaskprocessorOverloadTrigger) String() string { |
| 490 |
return string(e) |
| 491 |
} |
| 492 |
func (PjsipTaskprocessorOverloadTrigger) Values() []string { |
| 493 |
return []string{ |
| 494 |
"global", |
| 495 |
"none", |
| 496 |
"pjsip_only", |
| 497 |
} |
| 498 |
} |
| 499 |
|
| 500 |
func (e PjsipTimer) String() string { |
| 501 |
return string(e) |
| 502 |
} |
| 503 |
func (PjsipTimer) Values() []string { |
| 504 |
return []string{ |
| 505 |
"forced", |
| 506 |
"no", |
| 507 |
"required", |
| 508 |
"yes", |
| 509 |
} |
| 510 |
} |
| 511 |
|
| 512 |
func (e PjsipTransportMethod) String() string { |
| 513 |
return string(e) |
| 514 |
} |
| 515 |
func (PjsipTransportMethod) Values() []string { |
| 516 |
return []string{ |
| 517 |
"default", |
| 518 |
"sslv2", |
| 519 |
"sslv23", |
| 520 |
"sslv3", |
| 521 |
"tlsv1", |
| 522 |
"unspecified", |
| 523 |
} |
| 524 |
} |
| 525 |
|
| 526 |
func (e PjsipTransportProtocol) String() string { |
| 527 |
return string(e) |
| 528 |
} |
| 529 |
func (PjsipTransportProtocol) Values() []string { |
| 530 |
return []string{ |
| 531 |
"flow", |
| 532 |
"tcp", |
| 533 |
"tls", |
| 534 |
"udp", |
| 535 |
"ws", |
| 536 |
"wss", |
| 537 |
} |
| 538 |
} |
| 539 |
|
| 540 |
func (e QueueAutopause) String() string { |
| 541 |
return string(e) |
| 542 |
} |
| 543 |
func (QueueAutopause) Values() []string { |
| 544 |
return []string{ |
| 545 |
"all", |
| 546 |
"no", |
| 547 |
"yes", |
| 548 |
} |
| 549 |
} |
| 550 |
|
| 551 |
func (e QueueStrategy) String() string { |
| 552 |
return string(e) |
| 553 |
} |
| 554 |
func (QueueStrategy) Values() []string { |
| 555 |
return []string{ |
| 556 |
"fewestcalls", |
| 557 |
"leastrecent", |
| 558 |
"linear", |
| 559 |
"random", |
| 560 |
"ringall", |
| 561 |
"rrmemory", |
| 562 |
"rrordered", |
| 563 |
"wrandom", |
| 564 |
} |
| 565 |
} |
| 566 |
|
| 567 |
func (e ShaHash) String() string { |
| 568 |
return string(e) |
| 569 |
} |
| 570 |
func (ShaHash) Values() []string { |
| 571 |
return []string{ |
| 572 |
"SHA-1", |
| 573 |
"SHA-256", |
| 574 |
} |
| 575 |
} |
| 576 |
|
| 577 |
func (e SipCallingpres) String() string { |
| 578 |
return string(e) |
| 579 |
} |
| 580 |
func (SipCallingpres) Values() []string { |
| 581 |
return []string{ |
| 582 |
"allowed", |
| 583 |
"allowed_failed_screen", |
| 584 |
"allowed_not_screened", |
| 585 |
"allowed_passed_screen", |
| 586 |
"prohib", |
| 587 |
"prohib_failed_screen", |
| 588 |
"prohib_not_screened", |
| 589 |
"prohib_passed_screen", |
| 590 |
} |
| 591 |
} |
| 592 |
|
| 593 |
func (e SipDirectmedia) String() string { |
| 594 |
return string(e) |
| 595 |
} |
| 596 |
func (SipDirectmedia) Values() []string { |
| 597 |
return []string{ |
| 598 |
"no", |
| 599 |
"nonat", |
| 600 |
"outgoing", |
| 601 |
"update", |
| 602 |
"yes", |
| 603 |
} |
| 604 |
} |
| 605 |
|
| 606 |
func (e SipDtmfmode) String() string { |
| 607 |
return string(e) |
| 608 |
} |
| 609 |
func (SipDtmfmode) Values() []string { |
| 610 |
return []string{ |
| 611 |
"auto", |
| 612 |
"inband", |
| 613 |
"info", |
| 614 |
"rfc2833", |
| 615 |
"shortinfo", |
| 616 |
} |
| 617 |
} |
| 618 |
|
| 619 |
func (e SipPeerType) String() string { |
| 620 |
return string(e) |
| 621 |
} |
| 622 |
func (SipPeerType) Values() []string { |
| 623 |
return []string{ |
| 624 |
"friend", |
| 625 |
"peer", |
| 626 |
"user", |
| 627 |
} |
| 628 |
} |
| 629 |
|
| 630 |
func (e SipProgressinband) String() string { |
| 631 |
return string(e) |
| 632 |
} |
| 633 |
func (SipProgressinband) Values() []string { |
| 634 |
return []string{ |
| 635 |
"never", |
| 636 |
"no", |
| 637 |
"yes", |
| 638 |
} |
| 639 |
} |
| 640 |
|
| 641 |
func (e SipSessionRefresher) String() string { |
| 642 |
return string(e) |
| 643 |
} |
| 644 |
func (SipSessionRefresher) Values() []string { |
| 645 |
return []string{ |
| 646 |
"uac", |
| 647 |
"uas", |
| 648 |
} |
| 649 |
} |
| 650 |
|
| 651 |
func (e SipSessionTimers) String() string { |
| 652 |
return string(e) |
| 653 |
} |
| 654 |
func (SipSessionTimers) Values() []string { |
| 655 |
return []string{ |
| 656 |
"accept", |
| 657 |
"originate", |
| 658 |
"refuse", |
| 659 |
} |
| 660 |
} |
| 661 |
|
| 662 |
func (e SipTransport) String() string { |
| 663 |
return string(e) |
| 664 |
} |
| 665 |
func (SipTransport) Values() []string { |
| 666 |
return []string{ |
| 667 |
"tcp", |
| 668 |
"tls", |
| 669 |
"udp", |
| 670 |
"ws", |
| 671 |
"wss", |
| 672 |
} |
| 673 |
} |
| 674 |
|
| 675 |
func (e YesNo) String() string { |
| 676 |
return string(e) |
| 677 |
} |
| 678 |
func (YesNo) Values() []string { |
| 679 |
return []string{ |
| 680 |
"no", |
| 681 |
"yes", |
| 682 |
} |
| 683 |
} |