[reSIProcate] Re: MESSAGE to LCS failing
Sorry. I forgot to mention that this is inside an INVITE session.
Basically INVITE, OK, ACK is done. I got an epid from the OK, that I am
supposed to put in ACK and all MESSAGEs in this dialog. The epid is
associated with the "To" header in the MESSAGE, and still I get back 400
Bad Request.
On Mon, 2005-08-22 at 16:03 -0600, Chris Rigg wrote:
> Hi Sandeep,
>
> I would be surprised if LCS would accept a MESSAGE even if you put a
> charset-UTF-8 in there. LCS currently only supports session mode (i.e.
> conversations initiated within the context of an INVITE, etc.). I do not
> believe they will ever accept an unsolicited, pager-mode MESSAGE signal
> (unless it is within the context of an already created session).
>
> Chris
>
> Sandeep Sharma wrote:
>
> >Hi,
> >
> >I am trying to send a MESSAGE to LCS but get back "Bad Request". I found
> >out from reliable sources that it would work if I put charset as part of
> >Content-Type.
> >
> >In other words, right now I am sending:
> >Content-Type: text/plain
> >
> >whereas LCS wants me to send:
> >Content-Type: text/plain ;charset=UTF-8
> >
> >My question is: How do I put the charset in there? I looked at the
> >classes ContentType and Mime but could not find anything.
> >
> >Thanks
> >Sandeep
> >
> >
--
Sandeep Sharma <ssharma@xxxxxxxxxx>