<html><body bgcolor="#FFFFFF"><div>It appears this is getting rejected because we are sending as HTML and it only accepts plain text.&nbsp; Do you have the rest of the sip trace with these 2 uac's so we can see if they ever specify what they support for message content type.&nbsp; I am surprised they dont include the header in the 415.<br><br>On Apr 15, 2008, at 10:42 PM, "이성훈" &lt;<a href="mailto:loveoflife74@gmail.com">loveoflife74@gmail.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div>Hi freeSwitch users !<br><br>I was installed freeSwitch window version on my notebook, <br>all functionality features are doing desirable.<br>but RFC 3428(instant message) feature is not.<br><br>see below, i describe my setting.<br>
<br>UAS&nbsp; - freeSwitch window version, in my notebook (ip:<a href="http://192.168.1.100">192.168.1.100</a>)<br>UAC1 - just simple voip phone, in my notebook (ip:<a href="http://192.168.1.100">192.168.1.100</a>)<br>UAC2 - hardware voip phone&nbsp;(ip:<a href="http://192.168.1.101">192.168.1.101</a>)<br>
<br>both UACs are the same setting that sip server (freeSwitch UAS).<br><br>UAC1 &lt;-&gt; UAC2 call, take answer, talk are doing good.<br><br>but UAC1 &lt;-&gt; UAC2 instant message send, receive are not.<br><br>UAC1 sends message to UAC2, UAC1 receives 200 ok message from UAS,<br>
but UAC2 receives nothing, reverse actions too.<br><br>anyone help me please ! <br>is it support RFC 3428 feature in freeSwitch ?<br><br>(denotes: UAC - user agent client, in this case voip phone<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UAS - user agent server, in this case sip server(freeSwitch))<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>(example sip packets)<br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>recv 791 bytes from udp/[localaddress]:5090 at 01:57:15.187500:<br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>
&nbsp;&nbsp; MESSAGE sip:1001@localaddress SIP/2.0<br>&nbsp;&nbsp; Via: SIP/2.0/UDP localaddress:5090;rport;branch=z9hG4bKPj4f841d9b229c4353957a63f44b097214<br>&nbsp;&nbsp; Max-Forwards: 70<br>&nbsp;&nbsp; From: &lt;sip:1000@localaddress&gt;;tag=7c5eab80dedb4d7c8fc2cc5b44a53b70<br>
&nbsp;&nbsp; To: &lt;sip:1001@localaddress&gt;<br>&nbsp;&nbsp; Call-ID: 97e135971d86481ca15dae3acc0272d0<br>&nbsp;&nbsp; CSeq: 26500 MESSAGE<br>&nbsp;&nbsp; Accept: text/plain, application/im-iscomposing+xml<br>&nbsp;&nbsp; Contact: &lt;sip:1000@localaddress:5090;transport=UDP&gt;<br>
&nbsp;&nbsp; User-Agent: PJSUA v0.8.0/win32<br>&nbsp;&nbsp; Content-Type: application/im-iscomposing+xml<br>&nbsp;&nbsp; Content-Length:&nbsp;&nbsp; 264<br><br>&nbsp;&nbsp; &lt;?xml version="1.0" encoding="UTF-8"?&gt;<br>&nbsp;&nbsp; &lt;isComposing xmlns="urn:ietf:params:xml:ns:im-iscomposing" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance"><a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a></a>" xsi:schemaLocation="urn:ietf:params:xml:ns:im-composing iscomposing.xsd"&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;state&gt;active&lt;/state&gt;<br>&nbsp;&nbsp; &lt;/isComposing&gt;<br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>send 522 bytes to udp/[localaddress]:5090 at 01:57:15.187500:<br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>
&nbsp;&nbsp; SIP/2.0 200 OK<br>&nbsp;&nbsp; Via: SIP/2.0/UDP localaddress:5090;rport=5090;branch=z9hG4bKPj4f841d9b229c4353957a63f44b097214<br>&nbsp;&nbsp; From: &lt;sip:1000@localaddress&gt;;tag=7c5eab80dedb4d7c8fc2cc5b44a53b70<br>&nbsp;&nbsp; To: &lt;sip:1001@localaddress&gt;;tag=m461UjHUm02yN<br>
&nbsp;&nbsp; Call-ID: 97e135971d86481ca15dae3acc0272d0<br>&nbsp;&nbsp; CSeq: 26500 MESSAGE<br>&nbsp;&nbsp; User-Agent: FreeSWITCH-mod_sofia/1.0.rc1-7946<br>&nbsp;&nbsp; Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY,REFER, UPDATE, REGISTER, INFO, PUBLISH<br>
&nbsp;&nbsp; Supported: 100rel, precondition, timer<br>&nbsp;&nbsp; Content-Length: 0<br><br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>recv 509 bytes from udp/[localaddress]:5090 at 01:57:17.953125:<br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>
&nbsp;&nbsp; MESSAGE sip:1001@localaddress SIP/2.0<br>&nbsp;&nbsp; Via: SIP/2.0/UDP localaddress:5090;rport;branch=z9hG4bKPj770d2b3e6a5248b5bf0aca1abc976b9c<br>&nbsp;&nbsp; Max-Forwards: 70<br>&nbsp;&nbsp; From: &lt;sip:1000@localaddress&gt;;tag=8eb10cec2ced420fbee0a3f1c004a82c<br>
&nbsp;&nbsp; To: &lt;sip:1001@localaddress&gt;<br>&nbsp;&nbsp; Call-ID: 9a795b147818437d8b0cb4e11c9e6e6a<br>&nbsp;&nbsp; CSeq: 15724 MESSAGE<br>&nbsp;&nbsp; Accept: text/plain, application/im-iscomposing+xml<br>&nbsp;&nbsp; Contact: &lt;sip:1000@localaddress:5090;transport=UDP&gt;<br>
&nbsp;&nbsp; User-Agent: PJSUA v0.8.0/win32<br>&nbsp;&nbsp; Content-Type: text/plain<br>&nbsp;&nbsp; Content-Length:&nbsp;&nbsp;&nbsp;&nbsp; 2<br><br>&nbsp;&nbsp; HI<br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>send 522 bytes to udp/[localaddress]:5090 at 01:57:17.953125:<br>
&nbsp;&nbsp; ------------------------------------------------------------------------<br>&nbsp;&nbsp; SIP/2.0 200 OK<br>&nbsp;&nbsp; Via: SIP/2.0/UDP localaddress:5090;rport=5090;branch=z9hG4bKPj770d2b3e6a528b5bf0aca1abc976b9c<br>&nbsp;&nbsp; From: &lt;sip:1000@localaddress&gt;;tag=8eb10cec2ced420fbee0a3f1c004a82c<br>
&nbsp;&nbsp; To: &lt;sip:1001@localaddress&gt;;tag=ND0tXD2yH9rHH<br>&nbsp;&nbsp; Call-ID: 9a795b147818437d8b0cb4e11c9e6e6a<br>&nbsp;&nbsp; CSeq: 15724 MESSAGE<br>&nbsp;&nbsp; User-Agent: FreeSWITCH-mod_sofia/1.0.rc1-7946<br>&nbsp;&nbsp; Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY,<br>
REFER, UPDATE, REGISTER, INFO, PUBLISH<br>&nbsp;&nbsp; Supported: 100rel, precondition, timer<br>&nbsp;&nbsp; Content-Length: 0<br><br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>send 655 bytes to udp/[221.132.67.173]:5060 at 01:57:17.968750:<br>
&nbsp;&nbsp; ------------------------------------------------------------------------<br>&nbsp;&nbsp; MESSAGE sip:<a href="mailto:1001@221.132.67.173">1001@221.132.67.173</a>:5060;transport=udp SIP/2.0<br>&nbsp;&nbsp; Via: SIP/2.0/UDP localaddress;rport;branch=z9hG4bKFQ85jBK4v24mg<br>&nbsp;&nbsp; Max-Forwards: 70<br>
&nbsp;&nbsp; From: &lt;sip:1000@localaddress&gt;;tag=8eb10cec2ced420fbee0a3f1c004a82c<br>&nbsp;&nbsp; To: "UAS2" &lt;sip:<a href="mailto:1001@221.132.67.173">1001@221.132.67.173</a>:5060;transport=udp&gt;<br>&nbsp;&nbsp; Call-ID: 48d60e4c-85fb-122b-2780-39a48cb53b8d<br>&nbsp;&nbsp; CSeq: 98037182 MESSAGE<br>
&nbsp;&nbsp; Contact: &lt;sip:mod_sofia@localaddress:5060&gt;<br>&nbsp;&nbsp; User-Agent: FreeSWITCH-mod_sofia/1.0.rc1-7946<br>&nbsp;&nbsp; Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY,REFER, UPDATE, REGISTER, INFO, PUBLISH<br>
&nbsp;&nbsp; Supported: 100rel, precondition, timer<br>&nbsp;&nbsp; Content-Type: text/html<br>&nbsp;&nbsp; Content-Length: 2<br><br>&nbsp;&nbsp; HI<br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>recv 377 bytes from udp/[221.132.67.173]:5060 at 01:57:18.015625:<br>
&nbsp;&nbsp; ------------------------------------------------------------------------<br>&nbsp;&nbsp; SIP/2.0 415 Unsupported Media Type<br>&nbsp;&nbsp; Call-ID: 48d60e4c-85fb-122b-2780-39a48cb53b8d<br>&nbsp;&nbsp; CSeq: 98037182 MESSAGE<br>&nbsp;&nbsp; From: &lt;sip:1000@localaddress&gt;;tag=8eb10cec2ced420fbee0a3f1c004a82c<br>
&nbsp;&nbsp; To: "UAS2" &lt;<a href="http://sip:1001@221.132.67.173:5060">sip:<a href="mailto:1001@221.132.67.173">1001@221.132.67.173</a>:5060</a>&gt;;tag=205e2a1a5f55968<br>&nbsp;&nbsp; Via: SIP/2.0/UDP localaddress;branch=z9hG4bKFQ85jBK4v24mg<br>&nbsp;&nbsp; Content-Length: 0<br>
&nbsp;&nbsp; User-Agent: Stonehenge IP255-S 1.30.191&nbsp;&nbsp; <br><br><br>&nbsp;
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Freeswitch-users mailing list</span><br><span><a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a></span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br></div></blockquote></body></html>