[reSIProcate] Problem Parsing CISCO CM5 SIP messages
Scott Godin
slgodin at icescape.com
Wed Dec 6 15:01:37 CST 2006
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 at yahoo.com]
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 at icescape.com> 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 at yahoo.com>
> To: resiprocate-devel at list.resiprocate.org
> 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 <http://new.mail.yahoo.com/>
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel at list.resiprocate.org
>
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
>
>
____________________________________________________________________________________
Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20061206/4c4c550a/attachment.htm>
More information about the resiprocate-devel
mailing list