Only the SipMTInviteServerTransactionLayer and SipMOInviteClientTransactionLayer are allowed to call the underlying sipWrite method directly for the invite transactions.
| 1309 | // Only the SipMTInviteServerTransactionLayer and SipMOInviteClientTransactionLayer are allowed to call |
| 1310 | // the underlying sipWrite method directly for the invite transactions. |
| 1311 | void 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 | |
| 1320 | static string encodeSpaces(string str) |
| 1321 | { |