#include <sipfsm.h>

Definition at line 453 of file sipfsm.h.
Public Member Functions | |
| SipCall (QString localIp, QString natIp, int localPort, int n, SipFsm *par) | |
| ~SipCall () | |
| int | getState () |
| void | setVideoPayload (int p) |
| void | setVideoResolution (QString v) |
| void | setAllowVideo (bool a) |
| void | setDisableNat (bool n) |
| void | to (QString uri, QString DispName) |
| void | dialViaProxy (SipRegistration *s) |
| virtual int | FSM (int Event, SipMsg *sipMsg=0, void *Value=0) |
| virtual QString | type () |
| virtual int | getCallRef () |
| void | GetIncomingCaller (QString &u, QString &d, QString &l, bool &aud) |
| void | GetSdpDetails (QString &ip, int &aport, int &audPay, QString &audCodec, int &dtmfPay, int &vport, int &vidPay, QString &vidCodec, QString &vidRes) |
| bool | ModifyCodecs (QString audioCodec, QString videoCodec) |
Private Member Functions | |
| void | initialise () |
| bool | UseNat () |
| void | ForwardMessage (SipMsg *msg) |
| void | BuildSendInvite (SipMsg *authMsg) |
| void | BuildSendReInvite (SipMsg *authMsg) |
| void | BuildSendAck () |
| void | BuildSendBye (SipMsg *authMsg) |
| void | BuildSendCancel (SipMsg *authMsg) |
| void | AlertUser (SipMsg *rxMsg) |
| void | GetSDPInfo (SipMsg *sipMsg) |
| void | addSdpToInvite (SipMsg &msg, bool advertiseVideo, int audioCodec=-1) |
| QString | BuildSdpResponse () |
Private Attributes | |
| int | State |
| int | callRef |
| QString | DestinationUri |
| QString | DisplayName |
| CodecNeg | CodecList [MAX_AUDIO_CODECS] |
| QString | txVideoResolution |
| QString | rxVideoResolution |
| int | cseq |
| SipRegistration * | viaRegProxy |
| QString | CallersUserid |
| QString | CallersDisplayName |
| QString | CallerUrl |
| QString | remoteIp |
| int | remoteAudioPort |
| int | remoteVideoPort |
| int | audioPayloadIdx |
| int | videoPayload |
| int | dtmfPayload |
| bool | allowVideo |
| bool | disableNat |
| int | ModifyAudioCodec |
| QString | myDisplayName |
| QString | sipLocalIP |
| QString | sipNatIP |
| int | sipLocalPort |
| QString | sipUsername |
| int | sipRtpPacketisation |
| int | sipAudioRtpPort |
| int | sipVideoRtpPort |
| SipCall::SipCall | ( | QString | localIp, | |
| QString | natIp, | |||
| int | localPort, | |||
| int | n, | |||
| SipFsm * | par | |||
| ) |
Definition at line 1397 of file sipfsm.cpp.
| SipCall::~SipCall | ( | ) |
Definition at line 1406 of file sipfsm.cpp.
| int SipCall::getState | ( | ) | [inline] |
| void SipCall::setVideoPayload | ( | int | p | ) | [inline] |
| void SipCall::setVideoResolution | ( | QString | v | ) | [inline] |
| void SipCall::setAllowVideo | ( | bool | a | ) | [inline] |
| void SipCall::setDisableNat | ( | bool | n | ) | [inline] |
| void SipCall::to | ( | QString | uri, | |
| QString | DispName | |||
| ) | [inline] |
| void SipCall::dialViaProxy | ( | SipRegistration * | s | ) | [inline] |
Definition at line 464 of file sipfsm.h.
Referenced by SipFsm::CreateCallFsm(), and SipFsm::NewCall().
| int SipCall::FSM | ( | int | Event, | |
| SipMsg * | sipMsg = 0, |
|||
| void * | Value = 0 | |||
| ) | [virtual] |
Reimplemented from SipFsmBase.
Definition at line 1509 of file sipfsm.cpp.
Referenced by SipFsm::Answer(), SipFsm::HangUp(), SipFsm::ModifyCall(), and SipFsm::NewCall().
| virtual QString SipCall::type | ( | void | ) | [inline, virtual] |
| virtual int SipCall::getCallRef | ( | ) | [inline, virtual] |
| void SipCall::GetIncomingCaller | ( | QString & | u, | |
| QString & | d, | |||
| QString & | l, | |||
| bool & | aud | |||
| ) | [inline] |
| void SipCall::GetSdpDetails | ( | QString & | ip, | |
| int & | aport, | |||
| int & | audPay, | |||
| QString & | audCodec, | |||
| int & | dtmfPay, | |||
| int & | vport, | |||
| int & | vidPay, | |||
| QString & | vidCodec, | |||
| QString & | vidRes | |||
| ) | [inline] |
| bool SipCall::ModifyCodecs | ( | QString | audioCodec, | |
| QString | videoCodec | |||
| ) |
| void SipCall::initialise | ( | ) | [private] |
| bool SipCall::UseNat | ( | ) | [private] |
| void SipCall::ForwardMessage | ( | SipMsg * | msg | ) | [private] |
| void SipCall::BuildSendInvite | ( | SipMsg * | authMsg | ) | [private] |
| void SipCall::BuildSendReInvite | ( | SipMsg * | authMsg | ) | [private] |
| void SipCall::BuildSendAck | ( | ) | [private] |
| void SipCall::BuildSendBye | ( | SipMsg * | authMsg | ) | [private] |
| void SipCall::BuildSendCancel | ( | SipMsg * | authMsg | ) | [private] |
| void SipCall::AlertUser | ( | SipMsg * | rxMsg | ) | [private] |
| void SipCall::GetSDPInfo | ( | SipMsg * | sipMsg | ) | [private] |
Definition at line 2260 of file sipfsm.cpp.
Referenced by BuildSendInvite(), and BuildSendReInvite().
| QString SipCall::BuildSdpResponse | ( | ) | [private] |
int SipCall::State [private] |
int SipCall::callRef [private] |
QString SipCall::DestinationUri [private] |
QString SipCall::DisplayName [private] |
CodecNeg SipCall::CodecList[MAX_AUDIO_CODECS] [private] |
Definition at line 495 of file sipfsm.h.
Referenced by addSdpToInvite(), BuildSdpResponse(), FSM(), GetSDPInfo(), initialise(), and ModifyCodecs().
QString SipCall::txVideoResolution [private] |
Definition at line 496 of file sipfsm.h.
Referenced by addSdpToInvite(), BuildSdpResponse(), and initialise().
QString SipCall::rxVideoResolution [private] |
int SipCall::cseq [private] |
Definition at line 499 of file sipfsm.h.
Referenced by BuildSendAck(), BuildSendBye(), BuildSendCancel(), BuildSendInvite(), BuildSendReInvite(), and FSM().
SipRegistration* SipCall::viaRegProxy [private] |
Definition at line 500 of file sipfsm.h.
Referenced by AlertUser(), BuildSendBye(), BuildSendCancel(), BuildSendInvite(), BuildSendReInvite(), FSM(), and initialise().
QString SipCall::CallersUserid [private] |
QString SipCall::CallersDisplayName [private] |
QString SipCall::CallerUrl [private] |
QString SipCall::remoteIp [private] |
int SipCall::remoteAudioPort [private] |
int SipCall::remoteVideoPort [private] |
int SipCall::audioPayloadIdx [private] |
Definition at line 509 of file sipfsm.h.
Referenced by BuildSdpResponse(), FSM(), GetSDPInfo(), and initialise().
int SipCall::videoPayload [private] |
Definition at line 510 of file sipfsm.h.
Referenced by AlertUser(), BuildSdpResponse(), FSM(), GetSDPInfo(), and initialise().
int SipCall::dtmfPayload [private] |
Definition at line 511 of file sipfsm.h.
Referenced by BuildSdpResponse(), FSM(), GetSDPInfo(), and initialise().
bool SipCall::allowVideo [private] |
Definition at line 512 of file sipfsm.h.
Referenced by BuildSendInvite(), BuildSendReInvite(), initialise(), and ModifyCodecs().
bool SipCall::disableNat [private] |
int SipCall::ModifyAudioCodec [private] |
Definition at line 514 of file sipfsm.h.
Referenced by BuildSendReInvite(), initialise(), and ModifyCodecs().
QString SipCall::myDisplayName [private] |
QString SipCall::sipLocalIP [private] |
Definition at line 517 of file sipfsm.h.
Referenced by addSdpToInvite(), BuildSdpResponse(), BuildSendAck(), BuildSendBye(), BuildSendCancel(), BuildSendInvite(), BuildSendReInvite(), ForwardMessage(), FSM(), and SipCall().
QString SipCall::sipNatIP [private] |
int SipCall::sipLocalPort [private] |
Definition at line 519 of file sipfsm.h.
Referenced by BuildSendAck(), BuildSendBye(), BuildSendCancel(), BuildSendInvite(), BuildSendReInvite(), ForwardMessage(), FSM(), and SipCall().
QString SipCall::sipUsername [private] |
int SipCall::sipRtpPacketisation [private] |
int SipCall::sipAudioRtpPort [private] |
Definition at line 523 of file sipfsm.h.
Referenced by addSdpToInvite(), BuildSdpResponse(), and initialise().
int SipCall::sipVideoRtpPort [private] |
Definition at line 524 of file sipfsm.h.
Referenced by addSdpToInvite(), BuildSdpResponse(), and initialise().
1.5.5