SipContainer Class Reference

#include <sipfsm.h>

List of all members.


Detailed Description

Definition at line 285 of file sipfsm.h.


Public Member Functions

 SipContainer ()
 ~SipContainer ()
void PlaceNewCall (QString Mode, QString uri, QString name, bool disableNat)
void AnswerRingingCall (QString Mode, bool disableNat)
void HangupCall ()
void ModifyCall (QString audCodec, QString vidCodec="UNCHANGED")
void UiOpened (QObject *)
void UiClosed ()
void UiWatch (QStrList uriList)
void UiWatch (QString uri)
void UiStopWatchAll ()
QString UiSendIMMessage (QString DestUrl, QString CallId, QString Msg)
bool GetNotification (QString &type, QString &url, QString &param1, QString &param2)
void GetRegistrationStatus (bool &Registered, QString &RegisteredTo, QString &RegisteredAs)
int GetSipState ()
void GetIncomingCaller (QString &u, QString &d, QString &l, bool &audOnly)
void GetSipSDPDetails (QString &ip, int &aport, int &audPay, QString &audCodec, int &dtmfPay, int &vport, int &vidPay, QString &vidCodec, QString &vidRes)
void notifyRegistrationStatus (bool reg, QString To, QString As)
void notifyCallState (int s)
void notifySDPDetails (QString ip, int aport, int audPay, QString audCodec, int dtmfPay, int vport, int vidPay, QString vidCodec, QString vidRes)
void notifyCallerDetails (QString cU, QString cN, QString cUrl, bool inAudOnly)
bool killThread ()
QString getLocalIpAddress ()
QString getNatIpAddress ()

Private Attributes

SipThreadsipThread
bool killSipThread
int CallState
bool regStatus
QString regTo
QString regAs
QString callerUser
QString callerName
QString callerUrl
bool inAudioOnly
QString remoteIp
int remoteAudioPort
int remoteVideoPort
int audioPayload
int dtmfPayload
int videoPayload
QString audioCodec
QString videoCodec
QString videoRes

Constructor & Destructor Documentation

SipContainer::SipContainer (  ) 

Definition at line 66 of file sipfsm.cpp.

SipContainer::~SipContainer (  ) 

Definition at line 76 of file sipfsm.cpp.


Member Function Documentation

void SipContainer::PlaceNewCall ( QString  Mode,
QString  uri,
QString  name,
bool  disableNat 
)

Definition at line 83 of file sipfsm.cpp.

Referenced by PhoneUIBox::PlaceCall().

void SipContainer::AnswerRingingCall ( QString  Mode,
bool  disableNat 
)

Definition at line 94 of file sipfsm.cpp.

Referenced by PhoneUIBox::AnswerCall().

void SipContainer::HangupCall (  ) 

Definition at line 103 of file sipfsm.cpp.

Referenced by PhoneUIBox::HangUp().

void SipContainer::ModifyCall ( QString  audCodec,
QString  vidCodec = "UNCHANGED" 
)

Definition at line 110 of file sipfsm.cpp.

Referenced by PhoneUIBox::changeVolume().

void SipContainer::UiOpened ( QObject *  callingApp  ) 

Definition at line 119 of file sipfsm.cpp.

Referenced by PhoneUIBox::PhoneUIBox().

void SipContainer::UiClosed (  ) 

Definition at line 127 of file sipfsm.cpp.

Referenced by PhoneUIBox::~PhoneUIBox().

void SipContainer::UiWatch ( QStrList  uriList  ) 

Definition at line 135 of file sipfsm.cpp.

Referenced by PhoneUIBox::PhoneUIBox().

void SipContainer::UiWatch ( QString  uri  ) 

Definition at line 147 of file sipfsm.cpp.

void SipContainer::UiStopWatchAll (  ) 

Definition at line 156 of file sipfsm.cpp.

Referenced by PhoneUIBox::~PhoneUIBox().

QString SipContainer::UiSendIMMessage ( QString  DestUrl,
QString  CallId,
QString  Msg 
)

Definition at line 163 of file sipfsm.cpp.

Referenced by PhoneUIBox::imSendReply().

bool SipContainer::GetNotification ( QString &  type,
QString &  url,
QString &  param1,
QString &  param2 
)

Definition at line 192 of file sipfsm.cpp.

Referenced by PhoneUIBox::ProcessSipNotification().

void SipContainer::GetRegistrationStatus ( bool Registered,
QString &  RegisteredTo,
QString &  RegisteredAs 
)

Definition at line 216 of file sipfsm.cpp.

Referenced by PhoneUIBox::PhoneUIBox().

int SipContainer::GetSipState (  ) 

Definition at line 183 of file sipfsm.cpp.

Referenced by PhoneUIBox::ProcessSipStateChange().

void SipContainer::GetIncomingCaller ( QString &  u,
QString &  d,
QString &  l,
bool audOnly 
)

Definition at line 225 of file sipfsm.cpp.

void SipContainer::GetSipSDPDetails ( QString &  ip,
int &  aport,
int &  audPay,
QString &  audCodec,
int &  dtmfPay,
int &  vport,
int &  vidPay,
QString &  vidCodec,
QString &  vidRes 
)

Definition at line 235 of file sipfsm.cpp.

void SipContainer::notifyRegistrationStatus ( bool  reg,
QString  To,
QString  As 
) [inline]

Definition at line 305 of file sipfsm.h.

Referenced by SipThread::CheckRegistrationStatus().

void SipContainer::notifyCallState ( int  s  )  [inline]

Definition at line 306 of file sipfsm.h.

Referenced by SipThread::ChangePrimaryCallState().

void SipContainer::notifySDPDetails ( QString  ip,
int  aport,
int  audPay,
QString  audCodec,
int  dtmfPay,
int  vport,
int  vidPay,
QString  vidCodec,
QString  vidRes 
) [inline]

Definition at line 307 of file sipfsm.h.

Referenced by SipThread::ChangePrimaryCallState().

void SipContainer::notifyCallerDetails ( QString  cU,
QString  cN,
QString  cUrl,
bool  inAudOnly 
) [inline]

Definition at line 310 of file sipfsm.h.

Referenced by SipThread::ChangePrimaryCallState().

bool SipContainer::killThread (  )  [inline]

Definition at line 312 of file sipfsm.h.

Referenced by SipThread::SipThreadWorker().

QString SipContainer::getLocalIpAddress (  ) 

Definition at line 250 of file sipfsm.cpp.

Referenced by PhoneUIBox::LoopbackButtonPushed().

QString SipContainer::getNatIpAddress (  ) 

Definition at line 255 of file sipfsm.cpp.

Referenced by PhoneUIBox::LoopbackButtonPushed().


Member Data Documentation

Definition at line 318 of file sipfsm.h.

Referenced by SipContainer(), and ~SipContainer().

Definition at line 319 of file sipfsm.h.

Referenced by SipContainer(), and ~SipContainer().

int SipContainer::CallState [private]

Definition at line 320 of file sipfsm.h.

Referenced by GetSipState(), and SipContainer().

Definition at line 321 of file sipfsm.h.

Referenced by GetRegistrationStatus().

QString SipContainer::regTo [private]

Definition at line 322 of file sipfsm.h.

Referenced by GetRegistrationStatus().

QString SipContainer::regAs [private]

Definition at line 323 of file sipfsm.h.

Referenced by GetRegistrationStatus().

QString SipContainer::callerUser [private]

Definition at line 324 of file sipfsm.h.

Referenced by GetIncomingCaller().

QString SipContainer::callerName [private]

Definition at line 324 of file sipfsm.h.

Referenced by GetIncomingCaller().

QString SipContainer::callerUrl [private]

Definition at line 324 of file sipfsm.h.

Referenced by GetIncomingCaller().

Definition at line 325 of file sipfsm.h.

Referenced by GetIncomingCaller().

QString SipContainer::remoteIp [private]

Definition at line 326 of file sipfsm.h.

Referenced by GetSipSDPDetails().

Definition at line 327 of file sipfsm.h.

Referenced by GetSipSDPDetails().

Definition at line 328 of file sipfsm.h.

Referenced by GetSipSDPDetails().

Definition at line 329 of file sipfsm.h.

Referenced by GetSipSDPDetails().

Definition at line 330 of file sipfsm.h.

Referenced by GetSipSDPDetails().

Definition at line 331 of file sipfsm.h.

Referenced by GetSipSDPDetails().

QString SipContainer::audioCodec [private]

Definition at line 332 of file sipfsm.h.

Referenced by GetSipSDPDetails().

QString SipContainer::videoCodec [private]

Definition at line 333 of file sipfsm.h.

Referenced by GetSipSDPDetails().

QString SipContainer::videoRes [private]

Definition at line 334 of file sipfsm.h.

Referenced by GetSipSDPDetails().


The documentation for this class was generated from the following files:

Generated on Sat Dec 18 05:16:11 2010 for MythTV by  doxygen 1.5.5