< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate] Problem Parsing CISCO CM5 SIP messages


Title: RE: [reSIProcate] Problem Parsing CISCO CM5 SIP messages
The code you sent is not even trying to read the connection address from the media line.  It is only reading the connection address from the session.  If you use getConnections from Media, then it will return the c= line from the media line (if present) and the session level c= line.  In either case you generally just want the first one in the list.
 
ie. sdp.session().media().front().getConnections().front()


From: voora srinivas [mailto:voora@xxxxxxxxx]
Sent: Wed 12/6/2006 2:22 PM
To: Scott Godin
Subject: RE: [reSIProcate] Problem Parsing CISCO CM5 SIP messages

Hi Scott,

Thanks for looking in to the issue.

Attached are
1. Code i am using
2. Resiprocate Trace (Bolded the the lines i am
looking for)
3. Ethereal trace ( if needed you can get Ethereal
from http://ethereal.com/download.html for free)
4. Screen image of the SDP packet with problem

Thanks,
Srinivas

--- Scott Godin <slgodin@xxxxxxxxxxxx> wrote:

> Can you send a copy of the sdp that is failing to
> parse, and I'll look into it?
>
> Scott
>
> -----Original Message-----
> From: "voora srinivas" <voora@xxxxxxxxx>
> To: resiprocate-devel@xxxxxxxxxxxxxxxxxxxx
> Sent: 12/5/06 5:34 PM
> Subject: [reSIProcate] Problem Parsing CISCO CM5 SIP
> messages
>
> Hi,
>
> I had a problem parsing CISCO CM5 SIP/SDP messages
> with resipro. I want the "Connection Information"
> from
> SDP. I did not had this problem with any other
> vendor.
> On CISCO CM5 the "Connection Information" is after
> "Media Description" rather than after "Owner" field.
> I
> think the pearser is failing because of the change
> in
> the position. I wanted to check if any one had
> similer
> problem.
>
> Sri
>
>

>
____________________________________________________________________________________
> Do you Yahoo!?
> Everyone is raving about the all-new Yahoo! Mail
> beta.
> http://new.mail.yahoo.com
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxxx
>
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
>
>




____________________________________________________________________________________
Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited