AmB2BCallerSession Class Reference

Caller leg of a B2B session. More...

#include <AmB2BSession.h>

Inheritance diagram for AmB2BCallerSession:

AmB2BSession AmSession AmThread AmEventQueue AmEventHandler AmSipDialogEventHandler AnnounceCallerDialog EarlyAnnounceDialog IvrDialog PySemsB2BDialog

Public Types

enum  CalleeStatus { None = 0, NoReply, Ringing, Connected }

Public Member Functions

CalleeStatus getCalleeStatus ()
virtual AmB2BCalleeSessionnewCalleeSession ()
void connectCallee (const string &remote_party, const string &remote_uri, bool relayed_invite=false)
const AmSipRequestgetOriginalRequest ()
void onSessionStart (const AmSipRequest &req)
void terminateLeg ()
void terminateOtherLeg ()
void onB2BEvent (B2BEvent *ev)
AmSipRequestgetInviteReq ()

Protected Member Functions

virtual void createCalleeSession ()
void relayEvent (AmEvent *ev)

Protected Attributes

AmSipRequest invite_req

Detailed Description

Caller leg of a B2B session.


Member Function Documentation

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.


The documentation for this class was generated from the following files:
Generated on Fri May 16 12:02:06 2008 for SEMS by  doxygen 1.5.1
Home |  Recent changes |  Search |  Glossary |  Sitemap |  Login