Outgoing message.
| 764 | |
| 765 | // Outgoing message. |
| 766 | void SipMOInviteClientTransactionLayer::moWriteLowSide(SipMessage *sipmsg) |
| 767 | { |
| 768 | if (sipmsg->isINVITE() || sipmsg->isMESSAGE()) { // It cant be anything else. |
| 769 | if (!dsPeer()->ipIsReliableTransport()) { mTimerAE.set(2*T1); } |
| 770 | mTimerBF.setOnce(64*T1); // RFC3261 17.1.2.2.2 Timer F |
| 771 | // This assert is not true in the weird case where we resend an SMS message. |
| 772 | // We should not be using this code for MESSAGE in the first place - it should be a TU. |
| 773 | //assert(mInvite == 0); |
| 774 | saveInviteOrMessage(sipmsg,true); |
| 775 | } |
| 776 | sipWrite(sipmsg); |
| 777 | } |
| 778 | |
| 779 | // (pat) Counter-intuitively, the "ACK" is a SIP Request, not a SIP Response. |
| 780 | // Therefore its first line includes a Request-URI, and the request-uri is also placed in the "To" field. |
no test coverage detected