32 #ifndef OPAL_OPAL_CALL_H
33 #define OPAL_OPAL_CALL_H
45 #include <ptlib/safecoll.h>
141 PSyncPoint * sync = NULL
226 virtual OpalConnection::AnswerCallResponse
OnAnswerCall(
228 const PString & caller
302 PSafetyMode mode = PSafeReference
308 template <
class ConnClass>
311 PSafetyMode mode = PSafeReadWrite
314 PSafePtr<ConnClass> connection;
315 for (PSafePtr<OpalConnection> iterConn(
connectionsActive, PSafeReference); iterConn != NULL; ++iterConn) {
316 if ((connection = PSafePtrCast<OpalConnection, ConnClass>(iterConn)) != NULL && count-- == 0) {
317 if (!connection.SetSafetyMode(mode))
318 connection.SetNULL();
376 const PString & address,
421 unsigned sessionID = 0,
424 OpalVideoFormat::ContentRole contentRole = OpalVideoFormat::eNoRole,
426 bool transfer =
false
456 const PString & value
557 const PFilePath & filename,
573 const PString & streamId,
580 const PString & streamId
586 const PString & streamId,
594 const PString & streamId,
598 #endif // OPAL_HAS_MIXER
604 #if OPAL_T38_CAPABILITY
605 bool IsSwitchingT38()
const {
return m_T38SwitchState != e_NotSwitchingT38; }
606 bool IsSwitchingToT38()
const {
return m_T38SwitchState == e_SwitchingToT38; }
607 void ResetSwitchingT38() { m_T38SwitchState = e_NotSwitchingT38; }
608 void SetSwitchingT38(
bool to) { m_T38SwitchState = to ? e_SwitchingToT38 : e_SwitchingFromT38; }
613 PSafePtr<OpalConnection> & connection,
643 PDECLARE_ScriptFunctionNotifier(
OpalCall, ScriptClear);
646 #if OPAL_T38_CAPABILITY
663 #endif // OPAL_OPAL_CALL_H