sipt38.h

Go to the documentation of this file.
00001 /*
00002  * t38proto.h
00003  *
00004  * T.38 protocol handler
00005  *
00006  * Open Phone Abstraction Library
00007  *
00008  * Copyright (c) 2001 Equivalence Pty. Ltd.
00009  *
00010  * The contents of this file are subject to the Mozilla Public License
00011  * Version 1.0 (the "License"); you may not use this file except in
00012  * compliance with the License. You may obtain a copy of the License at
00013  * http://www.mozilla.org/MPL/
00014  *
00015  * Software distributed under the License is distributed on an "AS IS"
00016  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
00017  * the License for the specific language governing rights and limitations
00018  * under the License.
00019  *
00020  * The Original Code is Open H323 Library.
00021  *
00022  * The Initial Developer of the Original Code is Equivalence Pty. Ltd.
00023  *
00024  * Contributor(s): ______________________________________.
00025  *
00026  * $Revision: 21293 $
00027  * $Author: rjongbloed $
00028  * $Date: 2008-10-12 23:24:41 +0000 (Sun, 12 Oct 2008) $
00029  */
00030 
00031 #ifndef OPAL_T38_SIPT38_H
00032 #define OPAL_T38_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 //  SDP media description for fax media
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_T38_SIPT38_H
00073 

Generated on Mon Feb 1 00:25:54 2010 for OPAL by  doxygen 1.5.1