MCPcopy Create free account
hub / github.com/RangeNetworks/openbts / SipBaseInit

Method SipBaseInit

SIP/SIPBase.cpp:235–247  ·  view source on GitHub ↗

(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.

Source from the content-addressed store, hash-verified

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.
235void 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
249SipBase::~SipBase()
250{

Callers

nothing calls this directly

Calls 1

ipSetMethod · 0.80

Tested by

no test coverage detected