[reSIProcate] RE: creating a SipMessage using SipMessage::make, SDP fmtp line appears at the top of the attribute list
Hi,
Could someone please comment on this issue?
Thanks,
-Justin
-----Original Message-----
From: Justin Matthews [mailto:justin.matthews@xxxxxxx]
Sent: Tuesday, October 04, 2005 2:49 PM
To: 'resiprocate-devel@xxxxxxxxxxxxxxxxxxx'
Subject: creating a SipMessage using SipMessage::make, SDP fmtp line appears
at the top of the attribute list
Hello,
When creating a SipMessage from a string using SipMessage::make() that
contains SDP:
v=0
o=MyUser 2403208976 2403208976 IN IP4 192.168.2.4
s=SIP Call
c=IN IP4 192.168.2.4
t=0 0
m=audio 18382 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
Calling the following:
sdp = my_cast_macro(resip::SdpContents*,resipMsg_.getContents());
...
resip::SipMessage &inviteMsg =
dum_->makeInviteSession(msg->resipMsg_.header(h_To),appDialogSet->userProfil
e_,sdp,appDialogSet);
...
dum->Send(inviteMsg)
Results in the following SDP on the wire:
v=0
o=MyUser 2403208976 2403208976 IN IP4 192.168.2.4
s=SIP Call
c=IN IP4 192.168.2.4
t=0 0
m=audio 18382 RTP/AVP 0 101
a=fmtp:101 0-15
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
The fmtp attribute entry appears at the top of the list. I believe that a
vendor is having problems parsing this. Does anyone know how to get the
fmtp attribute to be listed at the bottom of the list?
Thanks,
-Justin