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

[reSIProcate] How to define a new content type?


Hi!

I have one basic problem.

My application requires to carry XML messages in the body of a SIP message.

When messages are sent to my server application I can see that the stack answers with 415 (unsupported media type).

The incomming messages have the content defined as:

Content-Type: text/xml

which is obviously not being recognized.

My question is:

How can I have the XML content recognized as plain text so that I can later parse it?

Is there some way to add a new content type to the stack?

I greatly appreciate any help.

Victor M.