<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18876"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=432042223-05032010><FONT color=#0000ff
size=2 face=Arial>Sorry again for the late reply on this issue. I think I
understand what you're saying. Since IMs are not sent in the context of a
dialog (it's simply a send/receive handshake), the b2bua has nothing to
tell the originator. I will investigate the possibility of getting the
Bria phones to send plain text. Regarding commercial support options
for FS, I raised the issue to management here, but I'm not sure what the outcome
of that will be (it's not my decision to make).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=432042223-05032010><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=432042223-05032010><FONT color=#0000ff
size=2 face=Arial>Thanks And Best Regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=432042223-05032010><FONT color=#0000ff
size=2 face=Arial>Jerry</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=432042223-05032010><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV><BR>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> Anthony Minessale
[mailto:anthony.minessale@gmail.com] <BR><B>Sent:</B> Friday, February 26,
2010 12:56 PM<BR><B>To:</B>
freeswitch-users@lists.freeswitch.org<BR><B>Subject:</B> Re:
[Freeswitch-users] 415 Unsupported Media Handling<BR></FONT><BR></DIV>
<DIV></DIV>It says SHOULD, not MUST right?<BR><BR>The message passing in FS is
abstracted and protocol agnostic and we are a b2bua not a proxy in terms of
SIP.<BR>You are sending a message to 1 UA on FS who is accepting the message
and delivering it to the core who is happy to receive messages in any
format. Then it's routed back out another sip dialog where it's
rejected. It's too late to go tell the sender that is unacceptable
because we already happily accepted it (messages are not always passed out to
other phones they can easily be directed at other internal resources).
We don't know what the content-type means as we are a neutral party in the
whole thing so there is not much else we can do but violate this scope issue
and break out of our role as a neutral party and translate it to plain text
and try again which is not very elegant.<BR><BR>If FS was a proxy software,
like openser and friends, we would be passing the data between UA in the way
you expect but we are not a proxy.<BR><BR><BR>Based on the frequency and
specific nature of your constant inquiries, and the likelihood that you are
offering commercial VoIP services to customers. I suggest you contact us
at <A href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</A> to
investigate commercial support options for FreeSWITCH. Even then, I am
not sure I could help you besides maybe a param to convert all text/html
messages to plain text or some other sad hack.<BR><BR><BR><BR><BR>
<DIV class=gmail_quote>On Fri, Feb 26, 2010 at 1:43 PM, Jerry Richards <SPAN
dir=ltr><<A
href="mailto:jerry.richards@teotech.com">jerry.richards@teotech.com</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>I'm not sure I follow your comment. The first device
prefers text/html so<BR>that's what it normally sets in the initial MESSAGE.
Devices that support<BR>text/html will not generate this 415 error
reply. It's only devices that<BR>don't support it that would send the
415 reply, so the issue is that the 415<BR>is not getting passed back to the
originator.<BR><BR>Best Regards,<BR><FONT color=#888888>Jerry<BR></FONT>
<DIV>
<DIV></DIV>
<DIV class=h5><BR><BR>-----Original Message-----<BR>From: Brian West
[mailto:<A
href="mailto:brian@freeswitch.org">brian@freeswitch.org</A>]<BR>Sent:
Friday, February 26, 2010 11:01 AM<BR>To: <A
href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</A><BR>Subject:
Re: [Freeswitch-users] 415 Unsupported Media Handling<BR><BR>Its really
clear here you'll need to say text/plain in the content type<BR>their accept
header says they only take text/plain.<BR><BR>/b<BR><BR>On Feb 26, 2010, at
12:57 PM, Jerry Richards wrote:<BR><BR>><BR>> I have two types of
devices, one supports text/html MESSAGE content<BR>> and one that only
supports text/plain MESSAGE content. When I send an<BR>> IM from
the first to the second, the second replies with 415<BR>> Unsupported
Media Type (as shown below). Section 8.1.3.5 of RFC 3261<BR>> says
the sender should retry using the media type acceptable to the<BR>receiver
(in this case: plain/text).<BR>><BR>> The problem I have is that
Freeswitch doesn't pass the error back to<BR>> the sender (nor does it
retry itself using plain/text). So the IM is<BR>lost.<BR>> Does
anyone see the reason why the error is not being handled
correctly?<BR>><BR>><BR>>
----------------------------------------------------------------------<BR>>
-- send 668 bytes to udp/[192.168.72.141]:5062 at 18:43:24.720446:<BR>>
------------------------------------------------------------------------<BR>>
MESSAGE <A href="http://sip:5398@192.168.72.141:5062"
target=_blank>sip:5398@192.168.72.141:5062</A> SIP/2.0<BR>> Via:
SIP/2.0/UDP 192.168.72.141;rport;branch=z9hG4bKXg6SNUcQa5Kre<BR>>
Max-Forwards: 70<BR>> From: "5382 on 141" <<A
href="mailto:sip%3A5382@192.168.72.141">sip:5382@192.168.72.141</A>>;tag=66661130<BR>>
To: "5398" <<A href="http://sip:5398@192.168.72.141:5062"
target=_blank>sip:5398@192.168.72.141:5062</A>><BR>> Call-ID:
a9891a15-9da9-122d-b3ad-003048d7e9f0<BR>> CSeq: 127444135
MESSAGE<BR>> Contact: <<A
href="http://sip:mod_sofia@192.168.72.141:5060"
target=_blank>sip:mod_sofia@192.168.72.141:5060</A>><BR>>
User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-32M<BR>> Allow: INVITE,
ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,<BR>> REGISTER, REFER,
NOTIFY, PUBLISH, SUBSCRIBE<BR>> Supported: timer, precondition,
path, replaces<BR>> Content-Type: text/html<BR>>
Content-Length: 63<BR>><BR>> <font size="2"
face="Arial">hello this is Jerry from Teo</font><BR>><BR>>
----------------------------------------------------------------------<BR>>
-- recv 459 bytes from udp/[192.168.72.141]:5062 at 18:43:24.728390:<BR>>
------------------------------------------------------------------------<BR>>
SIP/2.0 415 Unsupported media type<BR>> Via:
SIP/2.0/UDP<BR>>
192.168.72.141;rport=5060;branch=z9hG4bKXg6SNUcQa5Kre;received=192.168<BR>>
.72.14<BR>> 1<BR>> From: "5382 on 141" <<A
href="mailto:sip%3A5382@192.168.72.141">sip:5382@192.168.72.141</A>>;tag=66661130<BR>>
To: "5398" <<A href="http://sip:5398@192.168.72.141:5062"
target=_blank>sip:5398@192.168.72.141:5062</A>><BR>> Call-ID:
a9891a15-9da9-122d-b3ad-003048d7e9f0<BR>> CSeq: 127444135
MESSAGE<BR>> Date: Fri, 26 Feb 2010 18:43:24 GMT<BR>>
User-Agent: MobilityGateway-2.0.34078<BR>> Server:
MobilityGateway-2.0.34078<BR>> Accept: text/plain<BR>>
Content-Length: 0<BR>><BR>> Best Regards,<BR>>
Jerry<BR>><BR>><BR>>
_______________________________________________<BR>> FreeSWITCH-users
mailing list<BR>> <A
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A><BR>>
<A href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>>
UNSUBSCRIBE:<A
href="http://lists.freeswitch.org/mailman/options/freeswitch-use"
target=_blank>http://lists.freeswitch.org/mailman/options/freeswitch-use</A><BR>>
rs<BR>> <A href="http://www.freeswitch.org"
target=_blank>http://www.freeswitch.org</A><BR><BR><BR><BR><BR><BR>_______________________________________________<BR>FreeSWITCH-users
mailing list<BR><A
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A><BR><A
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A
href="http://www.freeswitch.org"
target=_blank>http://www.freeswitch.org</A><BR></DIV></DIV></BLOCKQUOTE></DIV><BR><BR
clear=all><BR>-- <BR>Anthony Minessale II<BR><BR>FreeSWITCH <A
href="http://www.freeswitch.org/">http://www.freeswitch.org/</A><BR>ClueCon <A
href="http://www.cluecon.com/">http://www.cluecon.com/</A><BR>Twitter: <A
href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</A><BR><BR>AIM:
anthm<BR><A
href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</A><BR>GTALK/JABBER/<A
href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</A><BR>IRC:
<A href="http://irc.freenode.net">irc.freenode.net</A>
#freeswitch<BR><BR>FreeSWITCH Developer Conference<BR><A
href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</A><BR><A
href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</A><BR><A
href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</A><BR>pstn:+19193869900<BR></BLOCKQUOTE></BODY></HTML>