tech-invite   World Map     

IETF     RFCs     Groups     SIP     ABNFs    |    3GPP     Specs     Glossaries     Architecture     IMS     UICC    |    search     info




SDP attributes defined in RFC 5547

25  of  59

 

Here

 

Top

 

Up

 

Prev

 

Next

 

Offer/Answer mechanism to enable File Transfer
file-selector,  file-transfer-id,  file-disposition , file-date,  file-icon,  file-range

RFC 5547 – Section 6

a=file-selector:   (media-level)
a=file-transfer-id:   (media-level)
a=file-disposition:   (media-level)
a=file-date:   (media-level)
a=file-icon:   (media-level)
a=file-range:   (media-level)


attribute   =/
file-selector-attr   =
"file-selector"   [ ":"   selector   *( SP   selector ) ]

selector   =
filename-selector   =
"name:"   DQUOTE   filename-string   DQUOTE

filename-string   =
filename-char   =
%x01-09  /  %x0B-0C  /  %x0E-21  /  %x23-24  /  %x26-FF
;  any byte except NUL, CR, LF, double quotes, or percent

percent-encoded   =
"%"   HEXDIG   HEXDIG

filesize-selector   =
"size:"   filesize-value

filesize-value   =
filetype-selector   =
"type:"   type   "/"   subtype   *( ";"   ft-parameter )

ft-parameter   =
attribute   "="   DQUOTE   value-string   DQUOTE
;  attribute is defined in   RFC 2045 – Section 5.1

value-string   =
hash-selector   =
"hash:"   hash-algorithm   ":"   hash-value

hash-algorithm   =
token
;  see a:fingerprint for the IANA Hash Function Textual Names registry:
;  only "sha-1" is currently supported

hash-value   =
2HEXDIG   *( ":"   2HEXDIG )
;  each byte in upper-case hex, separated by colons

file-tr-id-attr   =
"file-transfer-id:"   file-tr-id-value

file-tr-id-value   =
file-disp-attr   =
"file-disposition:"   file-disp-value

file-disp-value   =
file-date-attr   =
"file-date:"   date-param   *( SP   date-param )

date-param   =
c-date-param   =
"creation:"   DQUOTE   date-time   DQUOTE

m-date-param   =
"modification:"   DQUOTE   date-time   DQUOTE

r-date-param   =
"read:"   DQUOTE   date-time   DQUOTE
;  numeric timezones (+HHMM or -HHMM) must be used

file-icon-attr   =
"file-icon:"   file-icon-value

file-icon-value   =
cid-url
;  cid-url defined in   RFC 2392 – Section 2

file-range-attr   =
"file-range:"   start-offset   "-"   stop-offset

start-offset   =
stop-offset   =
integer  /  "*"