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
> [email protected]
>   
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to