(pat) This constructor preforms only base initialization. Final initialization is in the dialog constructor. For MO the final init of mRemote... is in sendMessage or sendInvite, which is called from the dialog constructor.
| 233 | // Final initialization is in the dialog constructor. |
| 234 | // For MO the final init of mRemote... is in sendMessage or sendInvite, which is called from the dialog constructor. |
| 235 | void SipBase::SipBaseInit(DialogType wDialogType, string proxy, const char * proxyProvenance) // , TranEntryId wTranId) |
| 236 | { |
| 237 | //mTranId = 0; |
| 238 | mDialogId = gDialogId++; |
| 239 | mLastResponse = NULL; |
| 240 | mInvite = NULL; |
| 241 | mDialogType = wDialogType; |
| 242 | //mTranId = wTranId; |
| 243 | |
| 244 | if (! mProxy.ipSet(proxy,proxyProvenance)) { |
| 245 | LOG(ALERT) << "cannot resolve IP address for " << proxy << sbText(); |
| 246 | } |
| 247 | } |
| 248 | |
| 249 | SipBase::~SipBase() |
| 250 | { |