1#if !defined(RESIP_INVITESESSIONHANDLER_HXX)
2#define RESIP_INVITESESSIONHANDLER_HXX
201 bool mGenericOfferAnswer;
Base class for all SIP body types.
virtual void onStaleReInviteTimeout(InviteSessionHandle h)
UAC gets no final response within the stale re-invite timeout (default is 40 seconds).
virtual void onInfo(InviteSessionHandle, const SipMessage &msg)=0
called when INFO message is received the application must call acceptNIT() or rejectNIT() once it is ...
virtual void onOfferRejected(InviteSessionHandle, const SipMessage *msg)=0
called if an offer in a UPDATE or re-INVITE was rejected - not real useful.
virtual void onReferRejected(InviteSessionHandle, const SipMessage &msg)=0
called when an REFER message receives a failure response
InviteSessionHandler(bool genericOfferAnswer=false)
virtual void terminate(ClientInviteSessionHandle h)
called when an early dialog decides it wants to terminate the dialog.
virtual void onIllegalNegotiation(InviteSessionHandle, const SipMessage &msg)
will be called if reINVITE or UPDATE in dialog fails
virtual void onAckNotReceived(InviteSessionHandle)
default behaviour is to send a BYE to end the dialog
virtual void onForkDestroyed(ClientInviteSessionHandle)=0
called when a fork that was created through a 1xx never receives a 2xx because another fork answered ...
virtual void onAckReceived(InviteSessionHandle, const SipMessage &msg)
called when ACK is received
virtual void onRefer(InviteSessionHandle, ServerSubscriptionHandle, const SipMessage &msg)=0
called when an REFER message is received.
virtual void onAnswer(InviteSessionHandle, const SipMessage &msg, const SdpContents &)=0
called when an answer is received - has nothing to do with user answering the call
virtual void onEarlyMedia(ClientInviteSessionHandle, const SipMessage &, const SdpContents &)=0
called when an in-dialog provisional response is received that contains a body
virtual void onSessionExpired(InviteSessionHandle)
will be called if Session-Timers are used and Session Timer expires default behaviour is to send a BY...
virtual void onReferNoSub(InviteSessionHandle, const SipMessage &msg)=0
virtual void onProvisional(ClientInviteSessionHandle, const SipMessage &)=0
called when dialog enters the Early state - typically after getting 18x
virtual void onOfferRequired(InviteSessionHandle, const SipMessage &msg)=0
called when an Invite w/out offer is sent, or any other context which requires an offer from the user
virtual void onRedirected(ClientInviteSessionHandle, const SipMessage &msg)=0
called when a 3xx with valid targets is encountered in an early dialog This is different then getti...
virtual void onMessage(InviteSessionHandle, const SipMessage &msg)=0
called when MESSAGE message is received
virtual void onConnectedConfirmed(InviteSessionHandle, const SipMessage &msg)
called when ACK (with out an answer) is received for initial invite (UAS)
virtual void onStaleCallTimeout(ClientInviteSessionHandle h)
UAC gets no final response within the stale call timeout (default is 3 minutes).
virtual void onPrack(ServerInviteSessionHandle, const SipMessage &msg)
called when PRACK is received for a reliable provisional answer (UAS)
virtual void onInfoFailure(InviteSessionHandle, const SipMessage &msg)=0
virtual void onNewSession(ServerInviteSessionHandle, InviteSession::OfferAnswerType oat, const SipMessage &msg)=0
virtual void onInfoSuccess(InviteSessionHandle, const SipMessage &msg)=0
called when response to INFO message is received
virtual void onTerminated(InviteSessionHandle, InviteSessionHandler::TerminatedReason reason, const SipMessage *related=0)=0
virtual void onOffer(InviteSessionHandle, const SipMessage &msg, const SdpContents &)=0
called when an offer is received - must send an answer soon after this
virtual void onNewSession(ClientInviteSessionHandle, InviteSession::OfferAnswerType oat, const SipMessage &msg)=0
called when an initial INVITE or the intial response to an outoing invite
virtual bool isGenericOfferAnswer()
virtual void onReadyToSend(InviteSessionHandle, SipMessage &msg)
called to allow app to adorn a message. default is to send immediately
TerminatedReason
called when an dialog enters the terminated state - this can happen after getting a BYE,...
@ Referred
slg! - This is really Redirected - not sure why it is called Referred. Only gets used when we send a ...
virtual void onMessageFailure(InviteSessionHandle, const SipMessage &msg)=0
virtual void onMessageSuccess(InviteSessionHandle, const SipMessage &msg)=0
called when response to MESSAGE message is received
virtual void onRemoteAnswerChanged(InviteSessionHandle, const SipMessage &msg, const Contents &)
virtual void onConnected(InviteSessionHandle, const SipMessage &msg)=0
called when a dialog initiated as a UAS enters the connected state
virtual void onFlowTerminated(InviteSessionHandle)
Called when a TCP or TLS flow to the server has terminated.
virtual void onOfferRequestRejected(InviteSessionHandle, const SipMessage &msg)
Called when an error response is received for a reinvite-nobody request (via requestOffer)
virtual void onRemoteSdpChanged(InviteSessionHandle, const SipMessage &msg, const SdpContents &)
called when a modified body is received in a 2xx response to a session-timer reINVITE.
virtual void onFailure(ClientInviteSessionHandle, const SipMessage &msg)=0
Received a failure response from UAS.
virtual ~InviteSessionHandler()
virtual void onReferAccepted(InviteSessionHandle, ClientSubscriptionHandle, const SipMessage &msg)=0
called when an REFER message receives an accepted response
virtual void onConnected(ClientInviteSessionHandle, const SipMessage &msg)=0
called when a dialog initiated as a UAC enters the connected state
Provides an interface to process and generate SDP bodies (MIME content-type application/sdp).
Represents a SIP message.
dcm! – add UnusedChecking(_enum) below;