El Friday 14 September 2007 15:53:35 Dave Neary escribió:
> Iñaki Baz Castillo wrote:
> > WengoPhone sends HTML MESSAGES but the "Content-Type" says:
> >   Content-Type: text/plain
> >
> > Shouldn't it be:
> >   Content-Type: text/html  ?
> >
> > In fact, in Twinkle (that can draw HTML messages from other softphones as
> > X-Lite) I see the HTML code in messages from WengoPhone.
>
> Aurelien, you've been in this code recently. Do we have a way to set the
> content type (and eventually, to dynamically decide, depending on
> whether there's any HTML markup or not)?

Hum, that it's not necessary because WengoPhone ALWAYS uses HTML code, even if 
the user doesn't press the rich format keys:

---------------------
MESSAGE sip:[EMAIL PROTECTED]:5061 SIP/2.0
Content-Type: text/plain
Content-Length:    63

<font color="#000000"><font face="Helvetica">hola</font></font>
---------------------

So the solutions is as easy as always set:
   Content-Type: text/html 



-- 
Iñaki Baz Castillo
[EMAIL PROTECTED]
_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Reply via email to