[reSIProcate] Preserving order of attributes in sdp
I'm trying to add fax-capabilities according to RFC3407, but because of
the map-implementation it is impossible to keep the order stated in the RFC:
"The individual capability descriptions in a capability set can be
provided contiguously or they can be scattered throughout the session
description. The first capability description MUST, however, follow
immediately after the sequence number."
v=0
o=4001 866981 866981 IN IP4 148.122.211.58
s=-
c=IN IP4 148.122.211.58
t=0 0
m=audio 10628 RTP/AVP 8 0
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=ptime:20
a=cpar: a=T38FaxVersion:0
a=cpar: a=T38MaxBitRate:14400
a=cpar: a=T38FaxRateManagement:transferredTCF
a=cpar: a=T38FaxMaxBuffer:336
a=cpar: a=T38FaxMaxDatagram:176
a=cpar: a=T38FaxUdpEC:t38UDPRedundancy
a=cdsc:1 image udptl t38
a=sqn:0
There is no way to get capacity description after the sequence number.
best regards
Björn A.
--
This communication is confidential and intended solely for the addressee(s).
Any unauthorized review, use, disclosure or distribution is prohibited. If you
believe this message has been sent to you in error, please notify the sender by
replying to this transmission and delete the message without disclosing it.
Thank you.
E-mail including attachments is susceptible to data corruption, interruption,
unauthorized amendment, tampering and viruses, and we only send and receive
e-mails on the basis that we are not liable for any such corruption,
interception, amendment, tampering or viruses or any consequences thereof.