Hello Venu, Diego and others:

Have updated the the design document and the updated document is available @
http://www.opensolaris.org/os/project/network-sip/files/SDP_Parser_Design.pdf

SDP parser is now not tied up with the SIP and has been made generic. Please
review the document and provide you invaluable comments.

cheers
~Girish

 >I agree that the SDP parser should not be tied to the SIP stack. From the
 >design doc., doesn't look like the SIP stack itself does any payload 
parsing,
 >it just leaves it to the application. Just glancing at the design doc.,
 >we probably want to remove uses of sip_str_t and sip_ (if sip_str_t-like
 >type is considered useful, one could consider defining something similar
 >in a common header file).

 >I think Girish was/is considering having the SDP stuff separate from
 >libsip.so.1. I suppose we could have a generic lib for parsing different
 >payloads, as you suggest, and have SDP as one of them (I am not sure if
 >there is already a lib suitable for this).

 >-venu



 >On Tue, 14 Aug 2007, Diego B wrote:
 >
 >> Hi;
 >> why adding an SDP parser to a SIP stack ?
 >> I think this package has to be independent of the SIP stack.
 >>
 >> The SIP stack user may need to get a raw byte array of the SIP message
 >> pay-load and then
 >> base on the Content-type try to parse the data.
 >>
 >> Remember that the body of a SIP message can be a multipart-mixed, so, it
 >> will need more complex parsing.
 >>
 >> I think that there have to be a mime- utility to parse and get objects
 >> of a body of a SIP message.
 >> It is true that SDP is the most used payload when trying to use SIP to
 >> create multimedia messages.
 >> But then you have SIMPLE, NOTIFY, MESSAGE, INFO, with all kind of
 >> payloads. And most of the payloads today are
 >> based on XML. There will be a day that SDP will also be transformed to
 >> XML :)
 >>
 >> I think a framework will be more appropriate, where SDP may be one of
 >> the parsers.
 >>
 >> Regards
 >> Diego B
 >>
 >> Girish Moodalbail wrote:
 >> Folks:
 >>
 >> Please find attached the Design Specification for the SDP parser 
feature in SIP stack.
 >> The current SIP stack does not have API's to parse, generate and do 
syntax checking
 >> of SDP description in a SIP message. The applications have to take 
care of doing it.
 >>
 >> This design document answers the technical requirements laid out in 
the SDP parser
 >> requirements document 
(http://www.opensolaris.org/os/project/network-sip/files/SDP_req.pdf).
 >>
 >> Please provide feedback/comments for the same before the end of this 
week (17th August).
 >>
 >> cheers
 >> ~Girish
 >>
 >>
 >> This message posted from opensolaris.org
 >> _______________________________________________
 >> networking-discuss mailing list
 >> networking-discuss at opensolaris dot org
 >>
 > _______________________________________________
 > networking-discuss mailing list
 > networking-discuss at opensolaris dot org
 >
_______________________________________________
network-sip-d iscuss mailing list
network-sip-discuss at opensolaris dot org
http://mail.opensolaris.org/mailman/listinfo/network-sip-discuss
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to