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

Method moWriteLowSide

SIP/SIPBase.cpp:766–777  ·  view source on GitHub ↗

Outgoing message.

Source from the content-addressed store, hash-verified

764
765// Outgoing message.
766void 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.

Callers 1

newSipDialogHandoverMethod · 0.80

Calls 5

isINVITEMethod · 0.80
isMESSAGEMethod · 0.80
ipIsReliableTransportMethod · 0.80
setOnceMethod · 0.80
setMethod · 0.45

Tested by

no test coverage detected