|
sipxtacklib
Version 3.3
|
#include <SipLine.h>

Public Types | |
| enum | LineStates { LINE_STATE_UNKNOWN = 0, LINE_STATE_REGISTERED, LINE_STATE_DISABLED, LINE_STATE_FAILED, LINE_STATE_PROVISIONED, LINE_STATE_TRYING, LINE_STATE_EXPIRED } |
Public Member Functions | |
| SipLine (Url userEnteredUrl="", Url identityUri="", UtlString user="", UtlBoolean visible=TRUE, int state=LINE_STATE_REGISTERED, UtlBoolean isAutoEnabled=TRUE, UtlBoolean useCallHandling=FALSE) | |
| virtual | ~SipLine () |
| SipLine (const SipLine &rSipLine) | |
| SipLine & | operator= (const SipLine &rSipLine) |
| UtlBoolean | isDeviceLine () |
| UtlBoolean | IsDuplicateRealm (const UtlString realm, const UtlString scheme=HTTP_DIGEST_AUTHENTICATION) |
| UtlString & | getLineId () |
| int | getState () |
| void | setState (int state) |
| UtlString & | getUser () |
| void | setUser (const UtlString user) |
| void | getIdentityAndUrl (Url &identity, Url &userEnteredUrl) |
| void | setIdentityAndUrl (Url identity, Url userEnteredUrl) |
| Url & | getUserEnteredUrl () |
| Url & | getIdentity () |
| Url & | getCanonicalUrl () |
| void | setAutoEnableStatus (UtlBoolean isAutoEnabled) |
| UtlBoolean | getAutoEnableStatus () |
| UtlBoolean | getCallHandling () |
| void | setCallHandling (UtlBoolean useCallHandling=TRUE) |
| UtlBoolean | getVisibility () |
| void | setVisibility (UtlBoolean isEnable=TRUE) |
| int | GetNumOfCredentials () |
| UtlBoolean | addCredentials (const UtlString &strRealm, const UtlString &strUserID, const UtlString &strPassword, const UtlString &Type) |
| UtlBoolean | getCredentials (const UtlString &type, const UtlString &realm, UtlString *userID, UtlString *MD5_token) |
| UtlBoolean | getDuplicateCredentials (const UtlString &type, const UtlString &realm) |
| UtlBoolean | getAllCredentials (int MaxEnteries, int &actualEnteries, UtlString realms[], UtlString UserId[], UtlString type[], UtlString passtoken[]) |
| UtlBoolean | removeCredential (const UtlString *realm) |
| void | removeAllCredentials () |
| void | setPreferredContactUri (const Url &preferredContactUri) |
| UtlBoolean | getPreferredContactUri (Url &preferredContactUri) const |
| LINE_CONTACT_TYPE | getContactType () const |
| void | setContactType (LINE_CONTACT_TYPE eContactType) |
Protected Member Functions | |
| void | copyCredentials (const SipLine &rSipLine) |
| void | generateLineID (UtlString &lineId) |
Protected Attributes | |
| UtlBoolean | mIsVisible |
| UtlBoolean | mIsAutoEnabled |
| UtlBoolean | mIsUsingCallHandling |
| Url | mIdentity |
| Url | mUserEnteredUrl |
| Url | mCanonicalUrl |
| LINE_CONTACT_TYPE | meContactType |
| Type of of contact address (either LOCAL or NAT_MAPPED) More... | |
| UtlString | mUser |
| UtlString | mLineId |
| int | mCurrentState |
| Url | mPreferredContactUri |
| UtlHashBag | mCredentials |
| enum LineStates |
| SipLine | ( | Url | userEnteredUrl = "", |
| Url | identityUri = "", |
||
| UtlString | user = "", |
||
| UtlBoolean | visible = TRUE, |
||
| int | state = LINE_STATE_REGISTERED, |
||
| UtlBoolean | isAutoEnabled = TRUE, |
||
| UtlBoolean | useCallHandling = FALSE |
||
| ) |
|
virtual |
| UtlBoolean isDeviceLine | ( | ) |
| UtlBoolean IsDuplicateRealm | ( | const UtlString | realm, |
| const UtlString | scheme = HTTP_DIGEST_AUTHENTICATION |
||
| ) |
| UtlString & getLineId | ( | ) |
| int getState | ( | ) |
| void setState | ( | int | state | ) |
| UtlString & getUser | ( | ) |
| void setUser | ( | const UtlString | user | ) |
| Url & getUserEnteredUrl | ( | ) |
| Url & getIdentity | ( | ) |
| Url & getCanonicalUrl | ( | ) |
| void setAutoEnableStatus | ( | UtlBoolean | isAutoEnabled | ) |
| UtlBoolean getAutoEnableStatus | ( | ) |
| UtlBoolean getCallHandling | ( | ) |
| void setCallHandling | ( | UtlBoolean | useCallHandling = TRUE | ) |
| UtlBoolean getVisibility | ( | ) |
| void setVisibility | ( | UtlBoolean | isEnable = TRUE | ) |
| int GetNumOfCredentials | ( | ) |
| UtlBoolean addCredentials | ( | const UtlString & | strRealm, |
| const UtlString & | strUserID, | ||
| const UtlString & | strPassword, | ||
| const UtlString & | Type | ||
| ) |
| UtlBoolean getCredentials | ( | const UtlString & | type, |
| const UtlString & | realm, | ||
| UtlString * | userID, | ||
| UtlString * | MD5_token | ||
| ) |
| UtlBoolean getDuplicateCredentials | ( | const UtlString & | type, |
| const UtlString & | realm | ||
| ) |
| UtlBoolean getAllCredentials | ( | int | MaxEnteries, |
| int & | actualEnteries, | ||
| UtlString | realms[], | ||
| UtlString | UserId[], | ||
| UtlString | type[], | ||
| UtlString | passtoken[] | ||
| ) |
| UtlBoolean removeCredential | ( | const UtlString * | realm | ) |
| void removeAllCredentials | ( | ) |
| void setPreferredContactUri | ( | const Url & | preferredContactUri | ) |
| UtlBoolean getPreferredContactUri | ( | Url & | preferredContactUri | ) | const |
| LINE_CONTACT_TYPE getContactType | ( | ) | const |
| void setContactType | ( | LINE_CONTACT_TYPE | eContactType | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Type of of contact address (either LOCAL or NAT_MAPPED)
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |