1#if !defined(RESIP_CLIENTINVITESESSION_HXX)
2#define RESIP_CLIENTINVITESESSION_HXX
17 std::shared_ptr<SipMessage> request,
42 void end(
const Data& userReason)
override;
57 void dispatch(
const DumTimeout& timer)
override;
61 void dispatchEarlyWithOffer (
const SipMessage& msg);
62 void dispatchEarlyWithAnswer (
const SipMessage& msg);
64 void dispatchSentUpdateEarly (
const SipMessage& msg);
65 void dispatchSentUpdateEarlyGlare (
const SipMessage& msg);
66 void dispatchReceivedUpdateEarly (
const SipMessage& msg);
67 void dispatchSentAnswer (
const SipMessage& msg);
68 void dispatchQueuedUpdate (
const SipMessage& msg);
69 void dispatchCancelled (
const SipMessage& msg);
72 void handleProvisional (
const SipMessage& msg);
73 void handleFinalResponse (
const SipMessage& msg);
83 void onForkAccepted();
87 void startCancelTimer();
88 void startStaleCallTimer();
95 std::unique_ptr<Contents> mEarlyMedia;
98 unsigned int mStaleCallTimerSeq;
99 unsigned int mCancelledTimerSeq;
101 bool mAllowOfferInPrack;
ClientInviteSessionHandle getHandle()
const Contents & getEarlyMedia() const
void reject(int statusCode, WarningCategory *warning=nullptr) override
Rejects an offer at the SIP level.
ClientInviteSession(const ClientInviteSession &)=delete
ClientInviteSession & operator=(const ClientInviteSession &)=delete
void provideAnswer(const Contents &answer) override
Similar to provideOffer - called to set the answer to be signaled to the peer.
void provideOffer(const Contents &offer) override
Called to set the offer that will be used in the next message that sends an offer.
ClientInviteSession(ClientInviteSession &&)=delete
ClientInviteSession & operator=(ClientInviteSession &&)=delete
Base class for all SIP body types.
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
dcm! – kill typedef std::list<DialogId> DialogIdSet;
static Handle< ServerSubscription > NotValid()
Base class for class ClientInviteSession and class ServerInviteSession.
Container class for ParserCategory, used by SipMessage to represent multi-valued headers (Contact,...
Represents the RAck header field value defined in the RFC 3262 grammar.
Represents a SIP message.
Represents the "warning-value" element in the RFC 3261 grammar.
dcm! – add UnusedChecking(_enum) below;