#include <AmB2BSession.h>
Inheritance diagram for AmB2BCallerSession:

Public Types | |
| enum | CalleeStatus { None = 0, NoReply, Ringing, Connected } |
Public Member Functions | |
| CalleeStatus | getCalleeStatus () |
| virtual AmB2BCalleeSession * | newCalleeSession () |
| void | connectCallee (const string &remote_party, const string &remote_uri, bool relayed_invite=false) |
| const AmSipRequest & | getOriginalRequest () |
| void | onSessionStart (const AmSipRequest &req) |
| void | terminateLeg () |
| void | terminateOtherLeg () |
| void | onB2BEvent (B2BEvent *ev) |
| AmSipRequest * | getInviteReq () |
Protected Member Functions | |
| virtual void | createCalleeSession () |
| void | relayEvent (AmEvent *ev) |
Protected Attributes | |
| AmSipRequest | invite_req |
| void AmB2BCallerSession::relayEvent | ( | AmEvent * | ev | ) | [protected, virtual] |
Relay one event to the other side.
Reimplemented from AmB2BSession.
| void AmB2BCallerSession::onSessionStart | ( | const AmSipRequest & | req | ) | [virtual] |
onSessionStart will be called after call setup.
Throw AmSession::Exception if you want to signal any error.
Warning: Sems will NOT send any BYE on his own.
Reimplemented from AmSession.
Reimplemented in AnnounceCallerDialog, EarlyAnnounceDialog, IvrDialog, and PySemsB2BDialog.
| void AmB2BCallerSession::terminateLeg | ( | ) |
Terminate our leg and forget the other.
Reimplemented from AmB2BSession.
| void AmB2BCallerSession::terminateOtherLeg | ( | ) | [virtual] |
Terminate the other leg and forget it.
Reimplemented from AmB2BSession.
| void AmB2BCallerSession::onB2BEvent | ( | B2BEvent * | ev | ) | [virtual] |
B2BEvent handler
Reimplemented from AmB2BSession.
1.5.1