OPAL
Version 3.10.10
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
sipt38.h
Go to the documentation of this file.
1
/*
2
* t38proto.h
3
*
4
* T.38 protocol handler
5
*
6
* Open Phone Abstraction Library
7
*
8
* Copyright (c) 2001 Equivalence Pty. Ltd.
9
*
10
* The contents of this file are subject to the Mozilla Public License
11
* Version 1.0 (the "License"); you may not use this file except in
12
* compliance with the License. You may obtain a copy of the License at
13
* http://www.mozilla.org/MPL/
14
*
15
* Software distributed under the License is distributed on an "AS IS"
16
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
17
* the License for the specific language governing rights and limitations
18
* under the License.
19
*
20
* The Original Code is Open H323 Library.
21
*
22
* The Initial Developer of the Original Code is Equivalence Pty. Ltd.
23
*
24
* Contributor(s): ______________________________________.
25
*
26
* $Revision: 26135 $
27
* $Author: rjongbloed $
28
* $Date: 2011-07-08 01:20:08 -0500 (Fri, 08 Jul 2011) $
29
*/
30
31
#ifndef OPAL_T38_SIPT38_H
32
#define OPAL_T38_SIPT38_H
33
34
#ifdef P_USE_PRAGMA
35
#pragma interface
36
#endif
37
38
#include <
opal/buildopts.h
>
39
40
#if OPAL_SIP
41
42
#include <
sip/sdp.h
>
43
44
#if OPAL_T38_CAPABILITY
45
47
//
48
// SDP media description for fax media
49
//
50
51
class
SDPFaxMediaDescription :
public
SDPMediaDescription
52
{
53
PCLASSINFO(SDPFaxMediaDescription,
SDPMediaDescription
);
54
public
:
55
SDPFaxMediaDescription(
const
OpalTransportAddress
& address);
56
virtual
PCaselessString
GetSDPTransportType
()
const
;
57
virtual
SDPMediaFormat
*
CreateSDPMediaFormat
(
const
PString & portString);
58
virtual
SDPMediaDescription
*
CreateEmpty
()
const
;
59
virtual
PString
GetSDPMediaType
()
const
;
60
virtual
PString
GetSDPPortList
()
const
;
61
virtual
bool
PrintOn
(ostream & str,
const
PString & connectString)
const
;
62
virtual
void
SetAttribute
(
const
PString & attr,
const
PString & value);
63
virtual
void
ProcessMediaOptions
(
SDPMediaFormat
& sdpFormat,
const
OpalMediaFormat
& mediaFormat);
64
virtual
bool
PostDecode
(
const
OpalMediaFormatList
& mediaFormats);
65
66
protected
:
67
PStringToString t38Attributes;
68
};
69
70
#endif // OPAL_T38_CAPABILITY
71
72
#endif // OPAL_SIP
73
74
#endif // OPAL_T38_SIPT38_H
75
include
t38
sipt38.h
Generated on Sun Nov 10 2013 22:20:52 for OPAL by
1.8.4