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

Method sipWrite

SIP/SIPBase.cpp:1311–1318  ·  view source on GitHub ↗

Only the SipMTInviteServerTransactionLayer and SipMOInviteClientTransactionLayer are allowed to call the underlying sipWrite method directly for the invite transactions.

Source from the content-addressed store, hash-verified

1309// Only the SipMTInviteServerTransactionLayer and SipMOInviteClientTransactionLayer are allowed to call
1310// the underlying sipWrite method directly for the invite transactions.
1311void SipBase::sipWrite(SipMessage *sipmsg)
1312{
1313 if (!mProxy.mipValid) {
1314 LOG(ERR) << "Attempt to write to invalid proxy ignored, address:"<<mProxy.mipName;
1315 return;
1316 }
1317 gSipInterface.siWrite(&mProxy.mipSockAddr,sipmsg);
1318}
1319
1320static string encodeSpaces(string str)
1321{

Callers

nothing calls this directly

Calls 1

siWriteMethod · 0.80

Tested by

no test coverage detected