11 #if !defined(AFX_SIPLINE_H__6AD8439B_AA8A_4F09_B5C4_44A3BA9C7AC6__INCLUDED_) 12 #define AFX_SIPLINE_H__6AD8439B_AA8A_4F09_B5C4_44A3BA9C7AC6__INCLUDED_ 18 #include <utl/UtlHashBag.h> 75 UtlBoolean visible = TRUE,
77 UtlBoolean isAutoEnabled = TRUE,
78 UtlBoolean useCallHandling = FALSE);
99 void setUser(
const UtlString user);
124 const UtlString& strUserID,
125 const UtlString& strPassword,
126 const UtlString& Type);
129 const UtlString& realm ,
131 UtlString* MD5_token );
134 const UtlString& realm );
137 int& actualEnteries ,
141 UtlString passtoken[]);
177 #endif // !defined(AFX_SIPLINE_H__6AD8439B_AA8A_4F09_B5C4_44A3BA9C7AC6__INCLUDED_)
UtlBoolean getCallHandling()
Definition: SipLine.cpp:269
LineStates
Definition: SipLine.h:61
LINE_CONTACT_TYPE
Line contact type: Use the local address or a NAT-derived address (e.g.
Definition: SipLine.h:35
#define HTTP_DIGEST_AUTHENTICATION
Definition: HttpMessage.h:96
UtlBoolean removeCredential(const UtlString *realm)
Definition: SipLine.cpp:390
UtlHashBag mCredentials
Definition: SipLine.h:171
Url mCanonicalUrl
Definition: SipLine.h:163
UtlBoolean IsDuplicateRealm(const UtlString realm, const UtlString scheme=HTTP_DIGEST_AUTHENTICATION)
Definition: SipLine.cpp:499
void setUser(const UtlString user)
Definition: SipLine.cpp:195
UtlBoolean mIsUsingCallHandling
Definition: SipLine.h:160
int getState()
Definition: SipLine.cpp:180
UtlBoolean isDeviceLine()
Definition: SipLine.cpp:174
UtlBoolean getAutoEnableStatus()
Definition: SipLine.cpp:250
UtlString mUser
Definition: SipLine.h:166
int mCurrentState
Definition: SipLine.h:168
Url mUserEnteredUrl
Definition: SipLine.h:162
void setPreferredContactUri(const Url &preferredContactUri)
Definition: SipLine.cpp:417
void setAutoEnableStatus(UtlBoolean isAutoEnabled)
Definition: SipLine.cpp:245
UtlString mLineId
Definition: SipLine.h:167
void setCallHandling(UtlBoolean useCallHandling=TRUE)
Definition: SipLine.cpp:264
void setVisibility(UtlBoolean isEnable=TRUE)
Definition: SipLine.cpp:255
UtlBoolean getPreferredContactUri(Url &preferredContactUri) const
Definition: SipLine.cpp:423
void setIdentityAndUrl(Url identity, Url userEnteredUrl)
Definition: SipLine.cpp:207
Use the local IP address.
Definition: SipLine.h:37
void setContactType(LINE_CONTACT_TYPE eContactType)
Definition: SipLine.cpp:440
int GetNumOfCredentials()
Definition: SipLine.cpp:302
LINE_CONTACT_TYPE getContactType() const
Definition: SipLine.cpp:434
Url mIdentity
Definition: SipLine.h:161
Url & getIdentity()
Definition: SipLine.cpp:235
UtlBoolean mIsAutoEnabled
Definition: SipLine.h:159
LINE_CONTACT_TYPE meContactType
Type of of contact address (either LOCAL or NAT_MAPPED)
Definition: SipLine.h:164
void setState(int state)
Definition: SipLine.cpp:185
Url & getUserEnteredUrl()
Definition: SipLine.cpp:231
UtlString & getLineId()
Definition: SipLine.cpp:168
UtlBoolean getCredentials(const UtlString &type, const UtlString &realm, UtlString *userID, UtlString *MD5_token)
Definition: SipLine.cpp:308
void removeAllCredentials()
Definition: SipLine.cpp:410
SipLine & operator=(const SipLine &rSipLine)
Definition: SipLine.cpp:59
UtlBoolean mIsVisible
Definition: SipLine.h:158
UtlBoolean getAllCredentials(int MaxEnteries, int &actualEnteries, UtlString realms[], UtlString UserId[], UtlString type[], UtlString passtoken[])
Definition: SipLine.cpp:446
Url & getCanonicalUrl()
Definition: SipLine.cpp:240
UtlBoolean getVisibility()
Definition: SipLine.cpp:260
UtlBoolean getDuplicateCredentials(const UtlString &type, const UtlString &realm)
Definition: SipLine.cpp:361
SipLine(Url userEnteredUrl="", Url identityUri="", UtlString user="", UtlBoolean visible=TRUE, int state=LINE_STATE_REGISTERED, UtlBoolean isAutoEnabled=TRUE, UtlBoolean useCallHandling=FALSE)
Definition: SipLine.cpp:112
UtlString & getUser()
Definition: SipLine.cpp:190
void copyCredentials(const SipLine &rSipLine)
Definition: SipLine.cpp:81
Use the NAT-derived IP address.
Definition: SipLine.h:38
URL parser and constructor.
Definition: Url.h:90
virtual ~SipLine()
Definition: SipLine.cpp:163
UtlBoolean addCredentials(const UtlString &strRealm, const UtlString &strUserID, const UtlString &strPassword, const UtlString &Type)
Definition: SipLine.cpp:274
void getIdentityAndUrl(Url &identity, Url &userEnteredUrl)
Definition: SipLine.cpp:201
Url mPreferredContactUri
Definition: SipLine.h:169
void generateLineID(UtlString &lineId)
Definition: SipLine.cpp:509