|
Public Member Functions |
| virtual BOOL | ForwardCall (const PString &forwardParty) |
| BOOL | SendPDU (SIP_PDU &, const OpalTransportAddress &) |
| unsigned | GetNextCSeq () |
| BOOL | BuildSDP (SDPSessionDescription *&, RTP_SessionManager &rtpSessions, unsigned rtpSessionId) |
| SIPTransaction * | GetTransaction (PString transactionID) |
| void | AddTransaction (SIPTransaction *transaction) |
| void | RemoveTransaction (SIPTransaction *transaction) |
| OpalTransportAddress | GetLocalAddress (WORD port=0) const |
| OpalTransport & | GetTransport () const |
| PString | GetLocalPartyAddress () const |
| void | SetLocalPartyAddress () |
| void | SetLocalPartyAddress (const PString &addr) |
| const PString | GetRemotePartyCallbackURL () const |
| PString | GetTag () const |
| SIPEndPoint & | GetEndPoint () const |
| const SIPURL & | GetTargetAddress () const |
| const PStringList & | GetRouteSet () const |
| const SIPAuthentication & | GetAuthenticator () const |
|
| | SIPConnection (OpalCall &call, SIPEndPoint &endpoint, const PString &token, const SIPURL &address, OpalTransport *transport) |
| | ~SIPConnection () |
|
| virtual BOOL | SetUpConnection () |
| virtual void | TransferConnection (const PString &remoteParty, const PString &callIdentity=PString::Empty()) |
| virtual void | HoldConnection () |
| virtual void | RetrieveConnection () |
| virtual BOOL | IsConnectionOnHold () |
| virtual BOOL | SetAlerting (const PString &calleeName, BOOL withMedia) |
| virtual BOOL | SetConnected () |
| virtual OpalMediaFormatList | GetMediaFormats () const |
| virtual BOOL | OpenSourceMediaStream (const OpalMediaFormatList &mediaFormats, unsigned sessionID) |
| virtual OpalMediaStream * | OpenSinkMediaStream (OpalMediaStream &source) |
| virtual OpalMediaStream * | CreateMediaStream (const OpalMediaFormat &mediaFormat, unsigned sessionID, BOOL isSource) |
| virtual OpalConnection::AnswerCallResponse | OnAnswerCall (const PString &callerName) |
| void | AnsweringCall (AnswerCallResponse response) |
| virtual void | OnConnected () |
| virtual BOOL | IsMediaBypassPossible (unsigned sessionID) const |
| virtual void | OnReleased () |
|
| virtual void | OnTransactionFailed (SIPTransaction &transaction) |
| virtual void | OnReceivedPDU (SIP_PDU &pdu) |
| virtual void | OnReceivedINVITE (SIP_PDU &pdu) |
| virtual void | OnReceivedACK (SIP_PDU &pdu) |
| virtual void | OnReceivedOPTIONS (SIP_PDU &pdu) |
| virtual void | OnReceivedNOTIFY (SIP_PDU &pdu) |
| virtual void | OnReceivedREFER (SIP_PDU &pdu) |
| virtual void | OnReceivedBYE (SIP_PDU &pdu) |
| virtual void | OnReceivedCANCEL (SIP_PDU &pdu) |
| virtual void | OnReceivedResponse (SIPTransaction &transaction, SIP_PDU &response) |
| virtual void | OnReceivedTrying (SIP_PDU &pdu) |
| virtual void | OnReceivedRinging (SIP_PDU &pdu) |
| virtual void | OnReceivedSessionProgress (SIP_PDU &pdu) |
| virtual void | OnReceivedAuthenticationRequired (SIPTransaction &transaction, SIP_PDU &response) |
| virtual void | OnReceivedRedirection (SIP_PDU &pdu) |
| virtual void | OnReceivedOK (SIPTransaction &transaction, SIP_PDU &response) |
| void | QueuePDU (SIP_PDU *pdu) |
| virtual void | OnRTPStatistics (const RTP_Session &session) const |
Protected Types |
| enum | { ReleaseWithBYE,
ReleaseWithCANCEL,
ReleaseWithResponse,
ReleaseWithNothing
} |
Protected Member Functions |
| | PDECLARE_NOTIFIER (PThread, SIPConnection, HandlePDUsThreadMain) |
| virtual RTP_UDP * | OnUseRTPSession (const unsigned rtpSessionId, const OpalTransportAddress &mediaAddress, OpalTransportAddress &localAddress) |
| virtual void | OnReceivedSDP (SIP_PDU &pdu) |
| virtual BOOL | OnReceivedSDPMediaDescription (SDPSessionDescription &sdp, SDPMediaDescription::MediaType mediaType, unsigned sessionId) |
| virtual BOOL | OnSendSDPMediaDescription (const SDPSessionDescription &sdpIn, SDPMediaDescription::MediaType mediaType, unsigned sessionId, SDPSessionDescription &sdpOut) |
| virtual BOOL | OnOpenSourceMediaStreams (const OpalMediaFormatList &remoteFormatList, unsigned sessionId, SDPMediaDescription *localMedia) |
| SDPMediaDescription::Direction | GetDirection (unsigned sessionId) |
| void | InitRFC2833Handler () |
Static Protected Member Functions |
| static BOOL | WriteINVITE (OpalTransport &transport, void *param) |
Protected Attributes |
| SIPEndPoint & | endpoint |
| OpalTransport * | transport |
| OpalTransportAddress | lastTransportAddress |
| PMutex | transportMutex |
| PMutex | streamsMutex |
| BOOL | local_hold |
| BOOL | remote_hold |
| PString | localPartyAddress |
| PString | forwardParty |
| SIP_PDU * | originalInvite |
| SDPSessionDescription | remoteSDP |
| PStringList | routeSet |
| SIPURL | targetAddress |
| SIPAuthentication | authentication |
| SIP_PDU_Queue | pduQueue |
| PSemaphore | pduSemaphore |
| PThread * | pduHandler |
| SIPTransaction * | referTransaction |
| SIPTransactionList | invitations |
| SIPTransactionDict | transactions |
| unsigned | lastSentCSeq |
| enum SIPConnection:: { ... } | releaseMethod |
| OpalMediaFormatList | remoteFormatList |