|
| SipConnection (const char *outboundLineAddress, UtlBoolean isEarlyMediaFor180Enabled=TRUE, CpCallManager *callMgr=NULL, CpCall *call=NULL, CpMediaInterface *mediaInterface=NULL, SipUserAgent *sipUA=NULL, int offeringDelayMilliSeconds=IMMEDIATE, int sessionReinviteTimer=0, int availableBehavior=RING, const char *forwardUnconditionalUrl=NULL, int busyBehavior=BUSY, const char *forwardOnBusy=NULL) |
|
virtual | ~SipConnection () |
|
virtual UtlBoolean | dequeue () |
|
virtual UtlBoolean | send (SipMessage &message, OsMsgQ *responseListener=NULL, void *responseListenerData=NULL, UtlBoolean bUseSendToTransportType=FALSE) |
|
virtual UtlBoolean | dial (const char *dialString, const char *callerId, const char *callId, const char *callController=NULL, const char *originalCallConnection=NULL, UtlBoolean requestQueuedCall=FALSE, const void *pDisplay=NULL, const void *pSecurity=NULL, const char *locationHeader=NULL, const int bandWidth=AUDIO_MICODEC_BW_DEFAULT, UtlBoolean bOnHold=FALSE, const char *originalCallId=NULL, const RTP_TRANSPORT rtpTransportOptions=RTP_TRANSPORT_UDP) |
|
virtual UtlBoolean | originalCallTransfer (UtlString &transferTargetAddress, const char *transferControllerAddress, const char *targetCallId) |
| param: requestQueuedCall - indicates that the caller wishes to have the callee queue the call if busy More...
|
|
virtual UtlBoolean | targetCallBlindTransfer (const char *transferTargetAddress, const char *transferControllerAddress) |
|
virtual UtlBoolean | transfereeStatus (int connectionState, int response) |
|
virtual UtlBoolean | transferControllerStatus (int connectionState, int response) |
|
virtual void | outOfFocus () |
|
virtual UtlBoolean | answer (const void *hWnd=NULL) |
|
virtual UtlBoolean | hangUp () |
|
virtual UtlBoolean | hold () |
|
virtual UtlBoolean | offHold () |
|
virtual UtlBoolean | renegotiateCodecs () |
|
virtual UtlBoolean | silentRemoteHold () |
|
virtual UtlBoolean | accept (int forwardOnNoAnswerTimeOut, const void *pSecurity=NULL, const char *locationHeader=NULL, const int bandWidth=AUDIO_MICODEC_BW_DEFAULT, UtlBoolean sendEarlyMedia=FALSE) |
| Accept and incoming INVITE and change from OFFERING to ALERTING state. More...
|
|
virtual UtlBoolean | reject (int errorCode=0, const char *errorText="") |
|
virtual UtlBoolean | redirect (const char *forwardAddress) |
|
virtual UtlBoolean | canSendInfo () |
|
virtual UtlBoolean | sendInfo (UtlString contentType, UtlString sContent) |
|
virtual UtlBoolean | processMessage (OsMsg &eventMessage) |
|
void | setCallerId () |
|
virtual UtlBoolean | getRemoteAddress (UtlString *remoteAddress) const |
|
virtual UtlBoolean | getRemoteAddress (UtlString *remoteAddress, UtlBoolean leaveFieldParmetersIn) const |
| returns: TRUE/FALSE if the connection has an address. The connection may not have an address assigned yet (i.e. if it is not fully setup). More...
|
|
void | setContactType (SIPX_CONTACT_TYPE eType, Url *pToUrl=NULL) |
|
void | setContactId (SIPX_CONTACT_ID contactId) |
|
void | setExternalTransport (SIPX_TRANSPORT_DATA *pTransport) |
|
void | setVoiceQualityReportTarget (const char *szTargetSipUrl) |
|
void | sendVoiceQualityReport (const char *szTargetSipUrl) |
|
void | cacheMediaPassThroughData (CpMediaInterface::MEDIA_STREAM_TYPE mediaType, int mediaTypeStreamIndex, UtlString &receiveAddress, int rtpPort, int rtcpPort) |
|
virtual UtlContainableType | getContainableType () const |
|
virtual UtlBoolean | getSession (SipSession &session) |
| returns: TRUE/FALSE if the connection has an address. The connection may not have an address assigned yet (i.e. if it is not fully setup). More...
|
|
virtual OsStatus | getFromField (UtlString *fromField) |
|
virtual OsStatus | getToField (UtlString *toField) |
|
int | getNextCseq () |
|
virtual OsStatus | getInviteHeaderValue (const char *headerName, int headerIndex, UtlString &headerValue) const |
|
virtual UtlBoolean | isInstanceOf (const UtlContainableType type) const |
|
virtual UtlBoolean | willHandleMessage (OsMsg &eventMessage) const |
|
virtual UtlBoolean | isConnection (const char *callId, const char *toTag, const char *fromTag, UtlBoolean strictCompare) const |
|
virtual UtlBoolean | isSameRemoteAddress (Url &remoteAddress) const |
|
virtual UtlBoolean | isSameRemoteAddress (Url &remoteAddress, UtlBoolean tagsMustMatch) const |
|
void | setSecurity (const SIPXTACK_SECURITY_ATTRIBUTES *const pSecurity) |
|
void | getRemoteUserAgent (UtlString *userAgent) |
|
virtual UtlBoolean | isInviteFromThisSide () const |
|
virtual UtlBoolean | isLocallyInitiatedRemoteHold () const |
|
virtual void | registerObserver (UtlObserver *observer) |
| Registers a listener of this observable. More...
|
|
virtual void | removeObserver (UtlObserver *observer) |
| Removes a listener of this observable. More...
|
|
| Connection (CpCallManager *callMgr=NULL, CpCall *call=NULL, CpMediaInterface *mediaInterface=NULL, int offeringDelayMilliSeconds=IMMEDIATE, int availableBehavior=RING, const char *forwardUnconditionalUrl=NULL, int busyBehavior=BUSY, const char *forwardOnBusyUrl=NULL, int fowardOnNoAnswerSeconds=-1) |
|
virtual | ~Connection () |
|
virtual void | prepareForSplit () |
|
virtual void | prepareForJoin (CpCall *pNewCall, const char *szLocalAddress, CpMediaInterface *pNewMediaInterface) |
|
virtual void | forceHangUp (int connectionState=CONNECTION_DISCONNECTED) |
|
void | setLocalAddress (const char *address) |
|
void | unimplemented (const char *methodName) const |
|
void | markForDeletion () |
|
void | setMediaInterface (CpMediaInterface *pMediaInterface) |
|
CpMediaInterface * | getMediaInterfacePtr () |
|
UtlBoolean | validStateTransition (SIPX_CALLSTATE_EVENT eFrom, SIPX_CALLSTATE_EVENT eTo) |
|
void | fireSipXCallEvent (SIPX_CALLSTATE_EVENT eMajor, SIPX_CALLSTATE_CAUSE eMinor, void *pEventData=NULL) |
|
void | fireSipXSecurityEvent (SIPX_SECURITY_INFO *pEventData) |
|
void | fireSipXMediaEvent (SIPX_MEDIA_EVENT event, SIPX_MEDIA_CAUSE cause, SIPX_MEDIA_TYPE type, void *pEventData=NULL) |
|
void | getLocalAddress (UtlString *address) |
|
int | getState (int isLocal=0) const |
|
int | getState (int isLocal, int &cause) const |
|
int | getTerminalState (int isLocal) const |
|
int | getLocalState () const |
|
int | getRemoteState () const |
|
void | getCallId (UtlString *callId) |
|
void | getCallerId (UtlString *callerId) |
|
int | getResponseCode () |
|
void | getResponseText (UtlString &responseText) |
|
int | getConnectionId () |
|
OsStatus | getDeleteAfter (OsTime &time) |
|
void | setTransferHeld (UtlBoolean bHeld) |
|
const UtlString & | getRemoteRtpAddress () const |
|
UtlBoolean | isRemoteCallee () |
|
UtlBoolean | remoteRequestedHold () |
|
UtlBoolean | isMarkedForDeletion () const |
|
UtlBoolean | isHeld () const |
|
UtlBoolean | isHoldInProgress () const |
|
UtlBoolean | isTransferHeld () const |
|
|
virtual void | notify (int code, void *pUserData) |
| The observable calls this to notify its observers of a change. More...
|
|
UtlBoolean | prepareInviteSdpForSend (SipMessage *pMsg, int connectionId, const void *pSecurityAttribute) |
|
void | setMediaDestination (const char *hostAddress, int audioRtpPort, int audioRtcpPort, int videoRtpPort, int videoRtcpPort, const SdpBody *pRemoteBody) |
|
SIPX_CONTACT_TYPE | selectCompatibleContactType (const SipMessage &request) |
|
void | updateContact (Url *pContactUrl, SIPX_CONTACT_TYPE eType, Url *pToUrl=NULL, UtlString *pRemoteHostOrIp=NULL, int *pRemotePort=NULL) |
|
void | updateContactFromResponse (const SipMessage *pResponse) |
|
UtlBoolean | doOffHold (UtlBoolean forceReInvite) |
|
UtlBoolean | doHangUp (const char *dialString=NULL, const char *callerId=NULL) |
|
void | buildFromToAddresses (const char *dialString, const char *callerId, const char *callerDisplayName, UtlString &fromAddress, UtlString &goodToAddress) |
|
void | buildLocalContact (Url fromAddress, UtlString &localContact, Url *pToUrl=NULL) |
|
UtlBoolean | extendSessionReinvite () |
|
UtlBoolean | processRequest (const SipMessage *request) |
|
void | processInviteRequest (const SipMessage *request) |
|
void | processReferRequest (const SipMessage *request) |
|
void | processAckRequest (const SipMessage *request) |
|
void | processByeRequest (const SipMessage *request) |
|
void | processCancelRequest (const SipMessage *request) |
|
void | processNotifyRequest (const SipMessage *request) |
|
UtlBoolean | processResponse (const SipMessage *response) |
|
void | processInviteResponse (const SipMessage *request) |
|
void | processReferResponse (const SipMessage *request) |
|
void | processOptionsResponse (const SipMessage *request) |
|
void | processByeResponse (const SipMessage *request) |
|
void | processCancelResponse (const SipMessage *request) |
|
void | processNotifyResponse (const SipMessage *request) |
|
void | processInviteResponseRinging (const SipMessage *response) |
|
void | processInviteResponseBusy (const SipMessage *response) |
|
void | processInviteResponseQueued (const SipMessage *response) |
|
void | processInviteResponseRequestPending (const SipMessage *response) |
|
void | processInviteResponseFailed (const SipMessage *response) |
|
void | processInviteResponseHangingUp (const SipMessage *response) |
|
void | processInviteResponseNormal (const SipMessage *response) |
|
void | processInviteResponseRedirect (const SipMessage *response) |
|
void | processInviteResponseUnknown (const SipMessage *response) |
|
void | processInviteRequestBadTransaction (const SipMessage *request, int tag) |
|
void | processInviteRequestLoop (const SipMessage *request, int tag) |
|
void | processInviteRequestBadRefer (const SipMessage *request, int tag) |
|
void | processInviteRequestOffering (const SipMessage *request, int tag, UtlBoolean doesReplaceCallLegExist, int replaceCallLegState, UtlString &replaceCallId, UtlString &replaceToTag, UtlString &replaceFromTag) |
|
void | processInviteRequestReinvite (const SipMessage *request, int tag) |
|
void | fireIncompatibleCodecsEvent (SdpCodecList *pSupportedCodecs, SdpCodec **ppMatchedCodecs, int nMatchedCodces) |
|
void | fireAudioStartEvents (SIPX_MEDIA_CAUSE cause=MEDIA_CAUSE_NORMAL) |
|
void | fireAudioStopEvents (SIPX_MEDIA_CAUSE cause=MEDIA_CAUSE_NORMAL) |
|
void | setState (int newState, int isLocal, int cause=CONNECTION_CAUSE_NORMAL, int termState=-1) |
|
void | setTerminalConnectionState (int newState, int isLocal, int cause=CONNECTION_CAUSE_NORMAL) |
|
virtual void | setOfferingTimer (int milliSeconds) |
|
virtual void | setRingingTimer (int seconds) |
|
void | postTaoListenerMessage (int state, int newCause, int isLocal=0) |
|
void | setCallId (const char *callId) |
|
void | setCallerId (const char *callId) |
|
|
UtlBoolean | getInitialSdpCodecs (const SipMessage *sdpMessage, SdpCodecList &supportedCodecsArray, int &numCodecsInCommon, SdpCodec **&commonCodecsForEncoder, UtlString &remoteAddress, int &remotePort, int &remoteRtcpPort, int &remoteVideoRtpPort, int &remoteVideoRtcpPort, SdpSrtpParameters &localSrtpParams, SdpSrtpParameters &matchingSrtpParams, int localBandwidth, int &matchingBandwidth, int localVideoFramerate, int &matchingVideoFramerate) |
|
virtual void | proceedToRinging (const SipMessage *inviteMessage, SipUserAgent *sipUserAgent, int tagNum, int availableBehavior, int numAddresses=0, UtlString hostAddresses[]=NULL, int receiveRtpPorts[]=NULL, int receiveRtcpPorts[]=NULL, int receiveVideoRtpPorts[]=NULL, int receiveVideoRtcpPorts[]=NULL, RTP_TRANSPORT transportTypes[]=NULL, int numMatchingCodecs=0, SdpCodec *matchingCodecs[]=NULL, SdpSrtpParameters *matchingSrtpParams=NULL, int totalBandwidth=0, int matchingVideoFramerate=0) |
|
UtlBoolean | isMethodAllowed (const char *method) |
|
void | doBlindRefer () |
|
SipConnection & | operator= (const SipConnection &rhs) |
|
| SipConnection (const SipConnection &rSipConnection) |
|