<html><body bgcolor="#FFFFFF"><div>It appears this is getting rejected because we are sending as HTML and it only accepts plain text. 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. I am surprised they dont include the header in the 415.<br><br>On Apr 15, 2008, at 10:42 PM, "이성훈" <<a href="mailto:loveoflife74@gmail.com">loveoflife74@gmail.com</a>> 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 - 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 (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 <-> UAC2 call, take answer, talk are doing good.<br><br>but UAC1 <-> 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> UAS - user agent server, in this case sip server(freeSwitch))<br>
<br> <br> <br>(example sip packets)<br> ------------------------------------------------------------------------<br>recv 791 bytes from udp/[localaddress]:5090 at 01:57:15.187500:<br> ------------------------------------------------------------------------<br>
MESSAGE sip:1001@localaddress SIP/2.0<br> Via: SIP/2.0/UDP localaddress:5090;rport;branch=z9hG4bKPj4f841d9b229c4353957a63f44b097214<br> Max-Forwards: 70<br> From: <sip:1000@localaddress>;tag=7c5eab80dedb4d7c8fc2cc5b44a53b70<br>
To: <sip:1001@localaddress><br> Call-ID: 97e135971d86481ca15dae3acc0272d0<br> CSeq: 26500 MESSAGE<br> Accept: text/plain, application/im-iscomposing+xml<br> Contact: <sip:1000@localaddress:5090;transport=UDP><br>
User-Agent: PJSUA v0.8.0/win32<br> Content-Type: application/im-iscomposing+xml<br> Content-Length: 264<br><br> <?xml version="1.0" encoding="UTF-8"?><br> <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"><br>
<state>active</state><br> </isComposing><br> ------------------------------------------------------------------------<br>send 522 bytes to udp/[localaddress]:5090 at 01:57:15.187500:<br> ------------------------------------------------------------------------<br>
SIP/2.0 200 OK<br> Via: SIP/2.0/UDP localaddress:5090;rport=5090;branch=z9hG4bKPj4f841d9b229c4353957a63f44b097214<br> From: <sip:1000@localaddress>;tag=7c5eab80dedb4d7c8fc2cc5b44a53b70<br> To: <sip:1001@localaddress>;tag=m461UjHUm02yN<br>
Call-ID: 97e135971d86481ca15dae3acc0272d0<br> CSeq: 26500 MESSAGE<br> User-Agent: FreeSWITCH-mod_sofia/1.0.rc1-7946<br> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY,REFER, UPDATE, REGISTER, INFO, PUBLISH<br>
Supported: 100rel, precondition, timer<br> Content-Length: 0<br><br> ------------------------------------------------------------------------<br>recv 509 bytes from udp/[localaddress]:5090 at 01:57:17.953125:<br> ------------------------------------------------------------------------<br>
MESSAGE sip:1001@localaddress SIP/2.0<br> Via: SIP/2.0/UDP localaddress:5090;rport;branch=z9hG4bKPj770d2b3e6a5248b5bf0aca1abc976b9c<br> Max-Forwards: 70<br> From: <sip:1000@localaddress>;tag=8eb10cec2ced420fbee0a3f1c004a82c<br>
To: <sip:1001@localaddress><br> Call-ID: 9a795b147818437d8b0cb4e11c9e6e6a<br> CSeq: 15724 MESSAGE<br> Accept: text/plain, application/im-iscomposing+xml<br> Contact: <sip:1000@localaddress:5090;transport=UDP><br>
User-Agent: PJSUA v0.8.0/win32<br> Content-Type: text/plain<br> Content-Length: 2<br><br> HI<br> ------------------------------------------------------------------------<br>send 522 bytes to udp/[localaddress]:5090 at 01:57:17.953125:<br>
------------------------------------------------------------------------<br> SIP/2.0 200 OK<br> Via: SIP/2.0/UDP localaddress:5090;rport=5090;branch=z9hG4bKPj770d2b3e6a528b5bf0aca1abc976b9c<br> From: <sip:1000@localaddress>;tag=8eb10cec2ced420fbee0a3f1c004a82c<br>
To: <sip:1001@localaddress>;tag=ND0tXD2yH9rHH<br> Call-ID: 9a795b147818437d8b0cb4e11c9e6e6a<br> CSeq: 15724 MESSAGE<br> User-Agent: FreeSWITCH-mod_sofia/1.0.rc1-7946<br> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY,<br>
REFER, UPDATE, REGISTER, INFO, PUBLISH<br> Supported: 100rel, precondition, timer<br> Content-Length: 0<br><br> ------------------------------------------------------------------------<br>send 655 bytes to udp/[221.132.67.173]:5060 at 01:57:17.968750:<br>
------------------------------------------------------------------------<br> MESSAGE sip:<a href="mailto:1001@221.132.67.173">1001@221.132.67.173</a>:5060;transport=udp SIP/2.0<br> Via: SIP/2.0/UDP localaddress;rport;branch=z9hG4bKFQ85jBK4v24mg<br> Max-Forwards: 70<br>
From: <sip:1000@localaddress>;tag=8eb10cec2ced420fbee0a3f1c004a82c<br> To: "UAS2" <sip:<a href="mailto:1001@221.132.67.173">1001@221.132.67.173</a>:5060;transport=udp><br> Call-ID: 48d60e4c-85fb-122b-2780-39a48cb53b8d<br> CSeq: 98037182 MESSAGE<br>
Contact: <sip:mod_sofia@localaddress:5060><br> User-Agent: FreeSWITCH-mod_sofia/1.0.rc1-7946<br> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY,REFER, UPDATE, REGISTER, INFO, PUBLISH<br>
Supported: 100rel, precondition, timer<br> Content-Type: text/html<br> Content-Length: 2<br><br> HI<br> ------------------------------------------------------------------------<br>recv 377 bytes from udp/[221.132.67.173]:5060 at 01:57:18.015625:<br>
------------------------------------------------------------------------<br> SIP/2.0 415 Unsupported Media Type<br> Call-ID: 48d60e4c-85fb-122b-2780-39a48cb53b8d<br> CSeq: 98037182 MESSAGE<br> From: <sip:1000@localaddress>;tag=8eb10cec2ced420fbee0a3f1c004a82c<br>
To: "UAS2" <<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>>;tag=205e2a1a5f55968<br> Via: SIP/2.0/UDP localaddress;branch=z9hG4bKFQ85jBK4v24mg<br> Content-Length: 0<br>
User-Agent: Stonehenge IP255-S 1.30.191 <br><br><br>
</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>