Dialogic IP Phone 05-2239-009 User Manual
522
Dialogic
®
Global Call IP Technology Guide — November 2007
Dialogic Corporation
IP-Specific Parameters
9.2.12
IPSET_MIME and IPSET_MIME_200OK_TO_BYE
Table 54 shows the parameter IDs in the IPSET_MIME and IPSET_MIME_200OK_TO_BYE
parameter sets which are used when sending and receiving MIME-encoded SIP messages. The
same parameters apply to both parameter sets. When using the IPSET_MIME_200OK_TO_BYE
parameter set ID, that same set ID must be used in all parameter elements in all data blocks
associated with the message.
parameter sets which are used when sending and receiving MIME-encoded SIP messages. The
same parameters apply to both parameter sets. When using the IPSET_MIME_200OK_TO_BYE
parameter set ID, that same set ID must be used in all parameter elements in all data blocks
associated with the message.
Table 54. IPSET_MIME and IPSET_MIME_200OK_TO_BYE Parameter Sets
Parameter ID
Data Type & Size
Description
SIP/
H.323
IPPARM_MIME_PART
Type: pointer to
GC_PARM_BLK
GC_PARM_BLK
Size: 4 bytes
Required parameter. Used to set or get
SIP message MIME part(s). Parameter
value is a pointer to a GC_PARM_BLK
structure that contains a list of pointers to
one or more GC_PARM_BLK structures
that contain MIME message parts.
SIP message MIME part(s). Parameter
value is a pointer to a GC_PARM_BLK
structure that contains a list of pointers to
one or more GC_PARM_BLK structures
that contain MIME message parts.
SIP
only
only
IPPARM_
MIME_PART_BODY
MIME_PART_BODY
Type: char *
Size: 4 bytes
Required parameter. Used to copy MIME
part body between application and
Global Call space. Parameter value is a
pointer to a MIME part body.
part body between application and
Global Call space. Parameter value is a
pointer to a MIME part body.
SIP
only
only
IPPARM_
MIME_PART_BODY_SIZE
MIME_PART_BODY_SIZE
Type: Unsigned int
Size: 4 bytes
Required parameter. Used to indicate the
actual size of the MIME part body, not
including MIME part headers.
actual size of the MIME part body, not
including MIME part headers.
SIP
only
only
IPPARM_
MIME_PART_HEADER
MIME_PART_HEADER
Type: Null-terminated
string †
string †
Size: max. length =
max_parm_data_size
(configured at start-up via
IPCCLIB_START_DATA)
max_parm_data_size
(configured at start-up via
IPCCLIB_START_DATA)
Optional parameter. Used to contain
MIME part header field in format of
“field-name: field-value”. Field-name can
be any string other than “Content-type”.
Content is not checked by Global Call
before insertion into SIP message.
MIME part header field in format of
“field-name: field-value”. Field-name can
be any string other than “Content-type”.
Content is not checked by Global Call
before insertion into SIP message.
SIP
only
only
IPPARM_
MIME_PART_TYPE
MIME_PART_TYPE
Type: Null-terminated
string †
string †
Size: max. length =
max_parm_data_size
(configured at start-up via
IPCCLIB_START_DATA)
max_parm_data_size
(configured at start-up via
IPCCLIB_START_DATA)
Required parameter. Used to contain
name and value of the MIME part content
type field. String must begin with the field
name “Content-Type:”.
name and value of the MIME part content
type field. String must begin with the field
name “Content-Type:”.
SIP
only
only
†
For parameters with data of type String, the length in a GC_PARM_BLK is the length of the data string plus 1.