|
reSIProcate/DialogUsageManager
9694
|


Public Member Functions | |
| virtual void | onNewSession (ClientInviteSessionHandle, InviteSession::OfferAnswerType oat, const SipMessage &msg) |
| called when an initial INVITE or the intial response to an outoing invite | |
| virtual void | onNewSession (ServerInviteSessionHandle, InviteSession::OfferAnswerType oat, const SipMessage &msg) |
| called when an initial INVITE or the intial response to an outoing invite | |
| virtual void | onFailure (ClientInviteSessionHandle, const SipMessage &msg) |
| Received a failure response from UAS. | |
| virtual void | onProvisional (ClientInviteSessionHandle h, const SipMessage &msg) |
| called when dialog enters the Early state - typically after getting 18x | |
| virtual void | onConnected (ClientInviteSessionHandle, const SipMessage &msg) |
| called when a dialog initiated as a UAC enters the connected state | |
| virtual void | onStaleCallTimeout (ClientInviteSessionHandle) |
| UAC gets no final response within the stale call timeout (default is 3 minutes). | |
| virtual void | onConnected (InviteSessionHandle, const SipMessage &msg) |
| called when a dialog initiated as a UAS enters the connected state | |
| virtual void | onRedirected (ClientInviteSessionHandle, const SipMessage &msg) |
| called when a 3xx with valid targets is encountered in an early dialog This is different then getting a 3xx in onTerminated, as another request will be attempted, so the DialogSet will not be destroyed. | |
| virtual void | onTerminated (InviteSessionHandle, InviteSessionHandler::TerminatedReason reason, const SipMessage *msg) |
| virtual void | onAnswer (InviteSessionHandle h, const SipMessage &msg, const SdpContents &sdp) |
| called when an answer is received - has nothing to do with user answering the call | |
| virtual void | onOffer (InviteSessionHandle is, const SipMessage &msg, const SdpContents &sdp) |
| called when an offer is received - must send an answer soon after this | |
| virtual void | onEarlyMedia (ClientInviteSessionHandle, const SipMessage &msg, const SdpContents &sdp) |
| called when an in-dialog provisional response is received that contains a body | |
| virtual void | onOfferRequired (InviteSessionHandle, const SipMessage &msg) |
| called when an Invite w/out offer is sent, or any other context which requires an offer from the user | |
| virtual void | onOfferRejected (InviteSessionHandle, const SipMessage &msg) |
| virtual void | onDialogModified (InviteSessionHandle, InviteSession::OfferAnswerType oat, const SipMessage &msg) |
| virtual void | onInfo (InviteSessionHandle, const SipMessage &msg) |
| called when INFO message is received | |
| virtual void | onRefer (InviteSessionHandle, ServerSubscriptionHandle, const SipMessage &msg) |
| called when an REFER message is received. | |
| virtual void | onReferAccepted (InviteSessionHandle, ClientSubscriptionHandle, const SipMessage &msg) |
| called when an REFER message receives an accepted response | |
| virtual void | onReferRejected (InviteSessionHandle, const SipMessage &msg) |
| called when an REFER message receives a failure response | |
| virtual void | onInfoSuccess (InviteSessionHandle, const SipMessage &msg) |
| called when response to INFO message is received | |
| virtual void | onInfoFailure (InviteSessionHandle, const SipMessage &msg) |
| virtual void | onForkDestroyed (ClientInviteSessionHandle) |
| called when a fork that was created through a 1xx never receives a 2xx because another fork answered and this fork was canceled by a proxy. | |
Definition at line 31 of file test3pcc.cxx.
| virtual void Controller::onAnswer | ( | InviteSessionHandle | , |
| const SipMessage & | msg, | ||
| const SdpContents & | |||
| ) | [inline, virtual] |
called when an answer is received - has nothing to do with user answering the call
Implements resip::InviteSessionHandler.
Definition at line 73 of file test3pcc.cxx.
{
h->end();
}
| virtual void Controller::onConnected | ( | ClientInviteSessionHandle | , |
| const SipMessage & | msg | ||
| ) | [inline, virtual] |
called when a dialog initiated as a UAC enters the connected state
Implements resip::InviteSessionHandler.
Definition at line 52 of file test3pcc.cxx.
{
}
| virtual void Controller::onConnected | ( | InviteSessionHandle | , |
| const SipMessage & | msg | ||
| ) | [inline, virtual] |
called when a dialog initiated as a UAS enters the connected state
Implements resip::InviteSessionHandler.
Definition at line 60 of file test3pcc.cxx.
{
}
| virtual void Controller::onDialogModified | ( | InviteSessionHandle | , |
| InviteSession::OfferAnswerType | oat, | ||
| const SipMessage & | msg | ||
| ) | [inline, virtual] |
Definition at line 94 of file test3pcc.cxx.
{
}
| virtual void Controller::onEarlyMedia | ( | ClientInviteSessionHandle | , |
| const SipMessage & | , | ||
| const SdpContents & | |||
| ) | [inline, virtual] |
called when an in-dialog provisional response is received that contains a body
Implements resip::InviteSessionHandler.
Definition at line 82 of file test3pcc.cxx.
{
}
| virtual void Controller::onFailure | ( | ClientInviteSessionHandle | , |
| const SipMessage & | msg | ||
| ) | [inline, virtual] |
Received a failure response from UAS.
Implements resip::InviteSessionHandler.
Definition at line 44 of file test3pcc.cxx.
{
}
| virtual void Controller::onForkDestroyed | ( | ClientInviteSessionHandle | ) | [inline, virtual] |
called when a fork that was created through a 1xx never receives a 2xx because another fork answered and this fork was canceled by a proxy.
Implements resip::InviteSessionHandler.
Definition at line 123 of file test3pcc.cxx.
{
}
| virtual void Controller::onInfo | ( | InviteSessionHandle | , |
| const SipMessage & | msg | ||
| ) | [inline, virtual] |
called when INFO message is received
Implements resip::InviteSessionHandler.
Definition at line 99 of file test3pcc.cxx.
{
}
| virtual void Controller::onInfoFailure | ( | InviteSessionHandle | , |
| const SipMessage & | msg | ||
| ) | [inline, virtual] |
| virtual void Controller::onInfoSuccess | ( | InviteSessionHandle | , |
| const SipMessage & | msg | ||
| ) | [inline, virtual] |
called when response to INFO message is received
Implements resip::InviteSessionHandler.
Definition at line 115 of file test3pcc.cxx.
{
}
| virtual void Controller::onNewSession | ( | ClientInviteSessionHandle | , |
| InviteSession::OfferAnswerType | oat, | ||
| const SipMessage & | msg | ||
| ) | [inline, virtual] |
called when an initial INVITE or the intial response to an outoing invite
Implements resip::InviteSessionHandler.
Definition at line 34 of file test3pcc.cxx.
{
}
| virtual void Controller::onNewSession | ( | ServerInviteSessionHandle | , |
| InviteSession::OfferAnswerType | oat, | ||
| const SipMessage & | msg | ||
| ) | [inline, virtual] |
called when an initial INVITE or the intial response to an outoing invite
Implements resip::InviteSessionHandler.
Definition at line 39 of file test3pcc.cxx.
{
}
| virtual void Controller::onOffer | ( | InviteSessionHandle | , |
| const SipMessage & | msg, | ||
| const SdpContents & | |||
| ) | [inline, virtual] |
called when an offer is received - must send an answer soon after this
Implements resip::InviteSessionHandler.
Definition at line 78 of file test3pcc.cxx.
{
}
| virtual void Controller::onOfferRejected | ( | InviteSessionHandle | , |
| const SipMessage & | msg | ||
| ) | [inline, virtual] |
Definition at line 90 of file test3pcc.cxx.
{
}
| virtual void Controller::onOfferRequired | ( | InviteSessionHandle | , |
| const SipMessage & | msg | ||
| ) | [inline, virtual] |
called when an Invite w/out offer is sent, or any other context which requires an offer from the user
Implements resip::InviteSessionHandler.
Definition at line 86 of file test3pcc.cxx.
{
}
| virtual void Controller::onProvisional | ( | ClientInviteSessionHandle | , |
| const SipMessage & | |||
| ) | [inline, virtual] |
called when dialog enters the Early state - typically after getting 18x
Implements resip::InviteSessionHandler.
Definition at line 48 of file test3pcc.cxx.
{
}
| virtual void Controller::onRedirected | ( | ClientInviteSessionHandle | , |
| const SipMessage & | msg | ||
| ) | [inline, virtual] |
called when a 3xx with valid targets is encountered in an early dialog This is different then getting a 3xx in onTerminated, as another request will be attempted, so the DialogSet will not be destroyed.
Basically an onTermintated that conveys more information. checking for 3xx respones in onTerminated will not work as there may be no valid targets.
Implements resip::InviteSessionHandler.
Definition at line 64 of file test3pcc.cxx.
{
}
| virtual void Controller::onRefer | ( | InviteSessionHandle | , |
| ServerSubscriptionHandle | , | ||
| const SipMessage & | msg | ||
| ) | [inline, virtual] |
called when an REFER message is received.
The refer is accepted or rejected using the server subscription. If the offer is accepted, DialogUsageManager::makeInviteSessionFromRefer can be used to create an InviteSession that will send notify messages using the ServerSubscription
Implements resip::InviteSessionHandler.
Definition at line 103 of file test3pcc.cxx.
{
}
| virtual void Controller::onReferAccepted | ( | InviteSessionHandle | , |
| ClientSubscriptionHandle | , | ||
| const SipMessage & | msg | ||
| ) | [inline, virtual] |
called when an REFER message receives an accepted response
Implements resip::InviteSessionHandler.
Definition at line 107 of file test3pcc.cxx.
{
}
| virtual void Controller::onReferRejected | ( | InviteSessionHandle | , |
| const SipMessage & | msg | ||
| ) | [inline, virtual] |
called when an REFER message receives a failure response
Implements resip::InviteSessionHandler.
Definition at line 111 of file test3pcc.cxx.
{
}
| virtual void Controller::onStaleCallTimeout | ( | ClientInviteSessionHandle | h | ) | [inline, virtual] |
UAC gets no final response within the stale call timeout (default is 3 minutes).
This is just a notification. After the notification is called, the InviteSession will then call InviteSessionHandler::terminate()
Reimplemented from resip::InviteSessionHandler.
Definition at line 56 of file test3pcc.cxx.
{
}
| virtual void Controller::onTerminated | ( | InviteSessionHandle | , |
| InviteSessionHandler::TerminatedReason | reason, | ||
| const SipMessage * | msg | ||
| ) | [inline, virtual] |
1.7.5.1