[reSIProcate] containt type

Jason Fischl jason at counterpath.com
Tue May 9 22:08:54 CDT 2006


On 5/9/06, Dale R. Worley <dworley at pingtel.com> wrote:
> On Tue, 2006-05-09 at 11:16 +0530, Parag wrote:
> >       I want to pass binary data trough Notify messages.
> >
> >       Can sip message's contents contain binary data (ex. Photo image) ?
>
> In principle, the body of a SIP message may have any MIME media type,
> including binary types.  Of course, a body is useless unless the
> recipient knows how to process the media type.  However, one should not
> pass large bodies (over maybe 100 bytes) in SIP messages, because the
> protocol does not regulate the transfer of large messages well.  A
> better technique would be to use the body to contain a URL for
> retrieving a large binary object.  Or use one of the "content
> indirection" MIME headers to pass the URL.
>

I haven't seen too many SDP bodies < 100 bytes :)



More information about the resiprocate-devel mailing list