AmB2BCallerSession Class Reference

Caller leg of a B2B session. More...

#include <AmB2BSession.h>

Inheritance diagram for AmB2BCallerSession:

AmB2BSession AmSession AmThread AmEventQueue AmEventHandler AmSipDialogEventHandler

Public Types

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

Public Member Functions

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

Detailed Description

Caller leg of a B2B session.


Member Function Documentation

void AmB2BCallerSession::onB2BEvent ( B2BEvent ev  )  [virtual]

B2BEvent handler

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.

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.


The documentation for this class was generated from the following files:
Generated on Thu Mar 8 00:12:46 2007 for Sems by  doxygen 1.4.7
Home |  Recent changes |  Search |  Glossary |  Sitemap |  Login