"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/h323con.h" between
h323plus-1_27_0.tar.gz and h323plus-1_27_1.tar.gz

About: H.323 Plus offers libraries for voice (VoIP) and videoconferencing using H.323.

h323con.h  (h323plus-1_27_0):h323con.h  (h323plus-1_27_1)
skipping to change at line 949 skipping to change at line 949
mwitype(mwiNone), mwiCalls(0) {} mwitype(mwiNone), mwiCalls(0) {}
PString mwiCtrId; ///< Message Center ID PString mwiCtrId; ///< Message Center ID
PString mwiUser; ///< UserName for MWI service (optional by default is the endpoint alias name) PString mwiUser; ///< UserName for MWI service (optional by default is the endpoint alias name)
MWIType mwitype; ///< Type of MWI Call (activa te, deactive, interrogate). MWIType mwitype; ///< Type of MWI Call (activa te, deactive, interrogate).
int mwiCalls; ///< Number of calls awaiting (used for activate messages) int mwiCalls; ///< Number of calls awaiting (used for activate messages)
/* To do. Add call detail information */ /* To do. Add call detail information */
}; };
/** Set the MWI Parameters /** Set the MWI Parameters
Use this in H323EndPoint::CreateConnection override to set the call to b eing a non-call supplimentary MWI Use this in H323EndPoint::CreateConnection override to set the call to b eing a non-call supplementary MWI
service with the given parameters service with the given parameters
*/ */
void SetMWINonCallParameters( void SetMWINonCallParameters(
const MWIInformation & mwiInfo ///< Message wait indication structure const MWIInformation & mwiInfo ///< Message wait indication structure
); );
/** Get the MWI Parameters /** Get the MWI Parameters
This is called by the H.450.7 Supplimentary service build to include the parameters in the call This is called by the H.450.7 Supplementary service build to include the parameters in the call
*/ */
const MWIInformation & GetMWINonCallParameters(); const MWIInformation & GetMWINonCallParameters();
/**Received a message wait indication. /**Received a message wait indication.
Override to collect MWI messages. Override to collect MWI messages.
default calls Endpoint function of same name. default calls Endpoint function of same name.
return false indicates MWI rejected. return false indicates MWI rejected.
*/ */
virtual PBoolean OnReceivedMWI(const MWIInformation & mwiInfo); virtual PBoolean OnReceivedMWI(const MWIInformation & mwiInfo);
skipping to change at line 1613 skipping to change at line 1613
If the return value is FALSE then the open is rejected using the If the return value is FALSE then the open is rejected using the
errorCode as the cause, this would be a value from the enum errorCode as the cause, this would be a value from the enum
H245_OpenLogicalChannelReject_cause::Choices. H245_OpenLogicalChannelReject_cause::Choices.
The default behaviour simply returns TRUE. The default behaviour simply returns TRUE.
*/ */
virtual PBoolean OnOpenLogicalChannel( virtual PBoolean OnOpenLogicalChannel(
const H245_OpenLogicalChannel & openPDU, ///< Received PDU for the channel open const H245_OpenLogicalChannel & openPDU, ///< Received PDU for the channel open
H245_OpenLogicalChannelAck & ackPDU, ///< PDU to send for a cknowledgement H245_OpenLogicalChannelAck & ackPDU, ///< PDU to send for a cknowledgement
unsigned & errorCode, ///< Error to return unsigned & errorCode, ///< Error to return i
if refused f refused
const unsigned & channelNumber = 0 ///< Channel Number to o const unsigned & sessionID = 0 ///< Session ID for th
pen e channel
); );
/**Callback for when a logical channel conflict has occurred. /**Callback for when a logical channel conflict has occurred.
This is called when the remote endpoint, which is a master, rejects This is called when the remote endpoint, which is a master, rejects
our transmitter channel due to a resource conflict. Typically an our transmitter channel due to a resource conflict. Typically an
inability to do asymmetric codecs. The local (slave) endpoint must then inability to do asymmetric codecs. The local (slave) endpoint must then
try and open a new transmitter channel using the same codec as the try and open a new transmitter channel using the same codec as the
receiver that is being opened. receiver that is being opened.
*/ */
virtual PBoolean OnConflictingLogicalChannel( virtual PBoolean OnConflictingLogicalChannel(
skipping to change at line 1826 skipping to change at line 1826
The default behaviour returns FALSE. The default behaviour returns FALSE.
*/ */
virtual PBoolean OpenExtendedVideoChannel( virtual PBoolean OpenExtendedVideoChannel(
PBoolean isEncoding, ///< Direction of data flow PBoolean isEncoding, ///< Direction of data flow
H323VideoCodec & codec ///< codec doing the opening H323VideoCodec & codec ///< codec doing the opening
); );
virtual PBoolean SendH239GenericResponse(PBoolean response); virtual PBoolean SendH239GenericResponse(PBoolean response);
/**Get the RTP session ID to be used for H.239
*/
virtual unsigned GetExtVideoRTPSessionID() const;
/**Set the RTP session ID to be used for H.239, when it is received from the
H.245 master
*/
virtual void SetExtVideoRTPSessionID(unsigned id) { h239SessionID = id; }
H245NegLogicalChannels * GetLogicalChannels(); H245NegLogicalChannels * GetLogicalChannels();
#endif // H323_H239 #endif // H323_H239
#endif // NO_H323_VIDEO #endif // NO_H323_VIDEO
/**Close a logical channel. /**Close a logical channel.
*/ */
virtual void CloseLogicalChannel( virtual void CloseLogicalChannel(
unsigned number, ///< Channel number to close. unsigned number, ///< Channel number to close.
skipping to change at line 3025 skipping to change at line 3033
virtual PBoolean OnReceiveCallIndependentSupplementaryService( virtual PBoolean OnReceiveCallIndependentSupplementaryService(
const H323SignalPDU & pdu ///< PDU message const H323SignalPDU & pdu ///< PDU message
); );
virtual PBoolean OnSendFeatureSet(unsigned, H225_FeatureSet &, PBoolean) con st; virtual PBoolean OnSendFeatureSet(unsigned, H225_FeatureSet &, PBoolean) con st;
virtual void OnReceiveFeatureSet(unsigned, const H225_FeatureSet &, PBoolean = false) const; virtual void OnReceiveFeatureSet(unsigned, const H225_FeatureSet &, PBoolean = false) const;
/** Set the call answered flag. /** Set the call answered flag.
This will stop the call negotiating process. This will stop the call negotiating process.
This is used for long term non-call supplimentary services where there i s no media This is used for long term non-call supplementary services where there i s no media
*/ */
void SetCallAnswered() { callAnswered = TRUE; } void SetCallAnswered() { callAnswered = TRUE; }
/** On resolving H.245 Address conflict /** On resolving H.245 Address conflict
*/ */
virtual PBoolean OnH245AddressConflict(); virtual PBoolean OnH245AddressConflict();
#ifdef H323_H460 #ifdef H323_H460
/** Disable the feature set as the remote does not support it. /** Disable the feature set as the remote does not support it.
*/ */
skipping to change at line 3559 skipping to change at line 3567
#ifdef H323_SIGNAL_AGGREGATE #ifdef H323_SIGNAL_AGGREGATE
public: public:
void AggregateSignalChannel(H323Transport * transport); void AggregateSignalChannel(H323Transport * transport);
void AggregateControlChannel(H323Transport * transport); void AggregateControlChannel(H323Transport * transport);
protected: protected:
PBoolean useSignallingAggregation; PBoolean useSignallingAggregation;
H323AggregatedH2x5Handle * signalAggregator; H323AggregatedH2x5Handle * signalAggregator;
H323AggregatedH2x5Handle * controlAggregator; H323AggregatedH2x5Handle * controlAggregator;
#endif #endif
#ifdef H323_H239
unsigned h239SessionID;
#endif // H323_H239
#ifdef H323_H248 #ifdef H323_H248
H323Dictionary<POrdinalKey, H323ServiceControlSession> serviceControlSession s; H323Dictionary<POrdinalKey, H323ServiceControlSession> serviceControlSession s;
#endif #endif
PBoolean m_maintainConnection; PBoolean m_maintainConnection;
#ifdef H323_H460 #ifdef H323_H460
PBoolean disableH460; PBoolean disableH460;
H460_FeatureSet * features; H460_FeatureSet * features;
 End of changes. 6 change blocks. 
7 lines changed or deleted 20 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)