|
|
| | OpalFaxConnection (OpalCall &call, OpalFaxEndPoint &endpoint, const PString &filename, bool receiving, bool disableT38, OpalConnection::StringOptions *stringOptions=NULL) |
| |
| | ~OpalFaxConnection () |
| |
|
| virtual PString | GetPrefixName () const |
| |
| virtual OpalMediaFormatList | GetMediaFormats () const |
| |
| virtual void | AdjustMediaFormats (bool local, const OpalConnection *otherConnection, OpalMediaFormatList &mediaFormats) const |
| |
| virtual void | OnEstablished () |
| |
| virtual void | OnReleased () |
| |
| virtual OpalMediaStream * | CreateMediaStream (const OpalMediaFormat &mediaFormat, unsigned sessionID, PBoolean isSource) |
| |
| virtual void | OnStartMediaPatch (OpalMediaPatch &patch) |
| |
| virtual void | OnStopMediaPatch (OpalMediaPatch &patch) |
| |
| virtual PBoolean | SendUserInputTone (char tone, unsigned duration) |
| |
| virtual void | OnUserInputTone (char tone, unsigned duration) |
| |
| virtual bool | SwitchFaxMediaStreams (bool toT38) |
| |
| virtual void | OnSwitchedFaxMediaStreams (bool toT38, bool success) |
| |
| virtual bool | OnSwitchingFaxMediaStreams (bool toT38) |
| |
|
| virtual void | OnFaxCompleted (bool failed) |
| |
| virtual void | GetStatistics (OpalMediaStatistics &statistics) const |
| |
| const PString & | GetFileName () const |
| |
| bool | IsReceive () const |
| |
| | OpalLocalConnection (OpalCall &call, OpalLocalEndPoint &endpoint, void *userData, unsigned options, OpalConnection::StringOptions *stringOptions, char tokenPrefix='L') |
| |
| | ~OpalLocalConnection () |
| |
| virtual PBoolean | IsNetworkConnection () const |
| |
| virtual void | OnApplyStringOptions () |
| | Call back for connection to act on changed string options. More...
|
| |
| virtual PBoolean | SetUpConnection () |
| |
| virtual PBoolean | SetAlerting (const PString &calleeName, PBoolean withMedia) |
| |
| virtual PBoolean | SetConnected () |
| |
| virtual OpalMediaStreamPtr | OpenMediaStream (const OpalMediaFormat &mediaFormat, unsigned sessionID, bool isSource) |
| |
| virtual PBoolean | SendUserInputString (const PString &value) |
| |
| virtual bool | OnOutgoingSetUp () |
| |
| virtual bool | OnOutgoing () |
| |
| virtual bool | OnIncoming () |
| |
| virtual void | AlertingIncoming () |
| |
| virtual void | AcceptIncoming () |
| |
| void * | GetUserData () const |
| | Get user data pointer. More...
|
| |
| void | SetUserData (void *v) |
| | Set user data pointer. More...
|
| |
| virtual bool | GarbageCollection () |
| |
| const StringOptions & | GetStringOptions () const |
| | Get the string options associated with this connection. More...
|
| |
| void | SetStringOptions (const StringOptions &options, bool overwrite) |
| | Set the string options associated with this connection. More...
|
| |
| virtual void | EnableRecording () |
| |
| virtual void | DisableRecording () |
| |
| | OpalConnection (OpalCall &call, OpalEndPoint &endpoint, const PString &token, unsigned options=0, OpalConnection::StringOptions *stringOptions=NULL) |
| |
| | ~OpalConnection () |
| |
| void | PrintOn (ostream &strm) const |
| |
| virtual PBoolean | OnIncomingConnection (unsigned int options, OpalConnection::StringOptions *stringOptions) |
| |
| virtual PBoolean | OnSetUpConnection () |
| |
| virtual void | OnProceeding () |
| |
| virtual void | OnAlerting () |
| |
| virtual AnswerCallResponse | OnAnswerCall (const PString &callerName) |
| |
| virtual void | AnsweringCall (AnswerCallResponse response) |
| |
| virtual void | OnConnected () |
| |
| virtual bool | OnTransferNotify (const PStringToString &info, const OpalConnection *transferringConnection) |
| |
| virtual void | Release (CallEndReason reason=EndedByLocalUser, bool synchronous=false) |
| |
| virtual PString | GetDestinationAddress () |
| |
| virtual PBoolean | ForwardCall (const PString &forwardParty) |
| |
| PSafePtr< OpalConnection > | GetOtherPartyConnection () const |
| |
| template<class cls > |
| PSafePtr< cls > | GetOtherPartyConnectionAs () const |
| |
| virtual OpalMediaFormatList | GetLocalMediaFormats () |
| |
| virtual unsigned | GetNextSessionID (const OpalMediaType &mediaType, bool isSource) |
| |
| virtual OpalMediaType::AutoStartMode | GetAutoStart (const OpalMediaType &mediaType) const |
| |
| virtual void | AutoStartMediaStreams (bool force=false) |
| |
| virtual bool | CloseMediaStream (unsigned sessionId, bool source) |
| |
| virtual bool | CloseMediaStream (OpalMediaStream &stream) |
| |
| bool | RemoveMediaStream (OpalMediaStream &strm) |
| |
| virtual void | StartMediaStreams () |
| |
| virtual void | CloseMediaStreams () |
| |
| virtual void | PauseMediaStreams (bool paused) |
| |
| virtual void | OnPauseMediaStream (OpalMediaStream &strm, bool paused) |
| |
| OpalMediaStreamPtr | GetMediaStream (const PString &streamID, bool source) const |
| |
| OpalMediaStreamPtr | GetMediaStream (unsigned sessionId, bool source) const |
| |
| OpalMediaStreamPtr | GetMediaStream (const OpalMediaType &mediaType, bool source, OpalMediaStreamPtr previous=NULL) const |
| |
| virtual PBoolean | OnOpenMediaStream (OpalMediaStream &stream) |
| |
| virtual void | OnClosedMediaStream (const OpalMediaStream &stream) |
| |
| virtual void | OnPatchMediaStream (PBoolean isSource, OpalMediaPatch &patch) |
| |
| virtual bool | OnMediaCommand (OpalMediaStream &stream, const OpalMediaCommand &command) |
| |
| virtual void | AttachRFC2833HandlerToPatch (PBoolean isSource, OpalMediaPatch &patch) |
| |
| virtual PBoolean | IsMediaBypassPossible (unsigned sessionID) const |
| |
| virtual PBoolean | CreateVideoInputDevice (const OpalMediaFormat &mediaFormat, PVideoInputDevice *&device, PBoolean &autoDelete) |
| |
| virtual PBoolean | CreateVideoOutputDevice (const OpalMediaFormat &mediaFormat, PBoolean preview, PVideoOutputDevice *&device, PBoolean &autoDelete) |
| |
| virtual bool | SendVideoUpdatePicture (unsigned sessionID=0, bool force=false) const |
| |
| virtual PBoolean | SetAudioVolume (PBoolean source, unsigned percentage) |
| |
| virtual PBoolean | GetAudioVolume (PBoolean source, unsigned &percentage) |
| |
| virtual bool | SetAudioMute (bool source, bool mute) |
| |
| virtual bool | GetAudioMute (bool source, bool &mute) |
| |
| virtual unsigned | GetAudioSignalLevel (PBoolean source) |
| |
| unsigned | GetBandwidthAvailable () const |
| |
| virtual PBoolean | SetBandwidthAvailable (unsigned newBandwidth, PBoolean force=false) |
| |
| virtual unsigned | GetBandwidthUsed () const |
| |
| virtual PBoolean | SetBandwidthUsed (unsigned releasedBandwidth, unsigned requiredBandwidth) |
| |
| OpalEndPoint & | GetEndPoint () const |
| |
| OpalCall & | GetCall () const |
| |
| const PString & | GetToken () const |
| |
| PBoolean | IsOriginating () const |
| |
| const PTime & | GetPhaseTime (Phases phase) const |
| |
| const PTime & | GetSetupUpTime () const |
| |
| const PTime & | GetAlertingTime () const |
| |
| const PTime & | GetConnectionStartTime () const |
| |
| const PTime & | GetConnectionEndTime () const |
| |
| const OpalProductInfo & | GetProductInfo () const |
| |
| void | SetProductInfo (const OpalProductInfo &info) |
| |
| const PString & | GetLocalPartyName () const |
| |
| virtual void | SetLocalPartyName (const PString &name) |
| |
| virtual PString | GetLocalPartyURL () const |
| |
| const PString & | GetDisplayName () const |
| |
| void | SetDisplayName (const PString &name) |
| |
| virtual bool | IsPresentationBlocked () const |
| |
| const PString & | GetRemotePartyName () const |
| |
| void | SetRemotePartyName (const PString &name) |
| |
| const PString & | GetRemotePartyNumber () const |
| |
| const PString & | GetRemotePartyAddress () const |
| |
| void | SetRemotePartyAddress (const PString &addr) |
| |
| virtual PString | GetRemotePartyURL () const |
| |
| const PString & | GetRedirectingParty () const |
| |
| void | SetRedirectingParty (const PString &party) |
| |
| const PString | GetRemotePartyCallbackURL () const |
| |
| PCaselessString | GetRemoteApplication () const |
| |
| const OpalProductInfo & | GetRemoteProductInfo () const |
| |
| const PString & | GetCalledPartyName () const |
| |
| const PString & | GetCalledPartyNumber () const |
| |
| virtual PString | GetCalledPartyURL () |
| |
| void | CopyPartyNames (const OpalConnection &other) |
| |
| virtual PString | GetAlertingType () const |
| |
| virtual bool | SetAlertingType (const PString &info) |
| |
| virtual PString | GetCallInfo () const |
| |
| unsigned | GetMinAudioJitterDelay () const |
| |
| unsigned | GetMaxAudioJitterDelay () const |
| |
| void | SetAudioJitterDelay (unsigned minDelay, unsigned maxDelay) |
| |
| OpalSilenceDetector * | GetSilenceDetector () const |
| |
| virtual PString | GetIdentifier () const |
| |
| virtual PINDEX | GetMaxRtpPayloadSize () const |
| |
| virtual OpalTransport & | GetTransport () const |
| |
| | PDICTIONARY (MediaAddressesDict, POrdinalKey, OpalTransportAddress) |
| |
| MediaAddressesDict & | GetMediaTransportAddresses () |
| |
| unsigned | GetVideoUpdateRequestsSent () const |
| |
| __inline Phases | GetPhase () const |
| |
| __inline bool | IsEstablished () const |
| | Return true if connection is in the established phase. More...
|
| |
| __inline bool | IsReleased () const |
| | Return true if connection is in the established phase. More...
|
| |
| void | SetPhase (Phases phaseToSet) |
| |
| CallEndReason | GetCallEndReason () const |
| |
| PString | GetCallEndReasonText () const |
| |
| virtual void | SetCallEndReason (CallEndReason reason) |
| |
| void | ClearCall (CallEndReason reason=EndedByLocalUser, PSyncPoint *sync=NULL) |
| |
| virtual void | ClearCallSynchronous (PSyncPoint *sync, CallEndReason reason=EndedByLocalUser) |
| |
| unsigned | GetQ931Cause () const |
| |
| void | SetQ931Cause (unsigned v) |
| |
| virtual bool | TransferConnection (const PString &remoteParty) |
| |
| virtual bool | Hold (bool fromRemote, bool placeOnHold) |
| |
| virtual bool | IsOnHold (bool fromRemote) |
| |
| virtual void | OnHold (bool fromRemote, bool onHold) |
| |
| virtual void | SetSendUserInputMode (SendUserInputModes mode) |
| |
| virtual SendUserInputModes | GetSendUserInputMode () const |
| |
| virtual SendUserInputModes | GetRealSendUserInputMode () const |
| |
| virtual void | OnUserInputString (const PString &value) |
| |
| void | SendUserInputHookFlash (unsigned duration=500) |
| |
| virtual PString | GetUserInput (unsigned timeout=30) |
| |
| virtual void | SetUserInput (const PString &input) |
| |
| virtual PString | ReadUserInput (const char *terminators="#\", unsigned lastDigitTimeout=4, unsigned firstDigitTimeout=30) |
| |
| virtual PBoolean | PromptUserInput (PBoolean play) |
| |
Fax Connection. There are six modes of operation: Mode receiving disableT38 filename TIFF -> T.38 false false "something.tif" T.38 -> TIFF true false "something.tif" TIFF -> G.711 false true "something.tif" G.711 ->TIFF true true "something.tif" T.38 -> G.711 false don't care PString::Empty() G.711 -> T.38 true don't care PString::Empty()
If T.38 is involved then there is generally two stages to the setup, as indicated by the m_switchedToT38 flag. When false then we are in audio mode looking for CNG/CED tones. When true, then we are switching, or have switched, to T.38 operation. If the switch fails, then the m_disableT38 is set and we proceed in fall back mode.