00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031 #ifndef __OPAL_SIPT38_H
00032 #define __OPAL_SIPT38_H
00033
00034 #ifdef P_USE_PRAGMA
00035 #pragma interface
00036 #endif
00037
00038 #include <opal/buildopts.h>
00039
00040 #if OPAL_SIP
00041
00042 #include <sip/sdp.h>
00043
00044 #if OPAL_T38_CAPABILITY
00045
00047
00048
00049
00050
00051 class SDPFaxMediaDescription : public SDPMediaDescription
00052 {
00053 PCLASSINFO(SDPFaxMediaDescription, SDPMediaDescription);
00054 public:
00055 SDPFaxMediaDescription(const OpalTransportAddress & address);
00056 virtual PCaselessString GetSDPTransportType() const;
00057 virtual SDPMediaFormat * CreateSDPMediaFormat(const PString & portString);
00058 virtual PString GetSDPMediaType() const;
00059 virtual PString GetSDPPortList() const;
00060 virtual bool PrintOn(ostream & str, const PString & connectString) const;
00061 virtual void SetAttribute(const PString & attr, const PString & value);
00062 virtual void ProcessMediaOptions(SDPMediaFormat & sdpFormat, const OpalMediaFormat & mediaFormat);
00063
00064 protected:
00065 PStringToString t38Attributes;
00066 };
00067
00068 #endif // OPAL_T38_CAPABILITY
00069
00070 #endif // OPAL_SIP
00071
00072 #endif // __OPAL_SIPT38_H
00073