[Freeswitch-users] is it support RFC 3428 feature?

이성훈 loveoflife74 at gmail.com
Tue Apr 15 19:42:06 PDT 2008


Hi freeSwitch users !

I was installed freeSwitch window version on my notebook,
all functionality features are doing desirable.
but RFC 3428(instant message) feature is not.

see below, i describe my setting.

UAS  - freeSwitch window version, in my notebook (ip:192.168.1.100)
UAC1 - just simple voip phone, in my notebook (ip:192.168.1.100)
UAC2 - hardware voip phone (ip:192.168.1.101)

both UACs are the same setting that sip server (freeSwitch UAS).

UAC1 <-> UAC2 call, take answer, talk are doing good.

but UAC1 <-> UAC2 instant message send, receive are not.

UAC1 sends message to UAC2, UAC1 receives 200 ok message from UAS,
but UAC2 receives nothing, reverse actions too.

anyone help me please !
is it support RFC 3428 feature in freeSwitch ?

(denotes: UAC - user agent client, in this case voip phone
          UAS - user agent server, in this case sip server(freeSwitch))



(example sip packets)
   ------------------------------------------------------------------------
recv 791 bytes from udp/[localaddress]:5090 at 01:57:15.187500:
   ------------------------------------------------------------------------
   MESSAGE sip:1001 at localaddress SIP/2.0
   Via: SIP/2.0/UDP
localaddress:5090;rport;branch=z9hG4bKPj4f841d9b229c4353957a63f44b097214
   Max-Forwards: 70
   From: <sip:1000 at localaddress>;tag=7c5eab80dedb4d7c8fc2cc5b44a53b70
   To: <sip:1001 at localaddress>
   Call-ID: 97e135971d86481ca15dae3acc0272d0
   CSeq: 26500 MESSAGE
   Accept: text/plain, application/im-iscomposing+xml
   Contact: <sip:1000 at localaddress:5090;transport=UDP>
   User-Agent: PJSUA v0.8.0/win32
   Content-Type: application/im-iscomposing+xml
   Content-Length:   264

   <?xml version="1.0" encoding="UTF-8"?>
   <isComposing xmlns="urn:ietf:params:xml:ns:im-iscomposing" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:ietf:params:xml:ns:im-composing iscomposing.xsd">
    <state>active</state>
   </isComposing>
   ------------------------------------------------------------------------
send 522 bytes to udp/[localaddress]:5090 at 01:57:15.187500:
   ------------------------------------------------------------------------
   SIP/2.0 200 OK
   Via: SIP/2.0/UDP
localaddress:5090;rport=5090;branch=z9hG4bKPj4f841d9b229c4353957a63f44b097214
   From: <sip:1000 at localaddress>;tag=7c5eab80dedb4d7c8fc2cc5b44a53b70
   To: <sip:1001 at localaddress>;tag=m461UjHUm02yN
   Call-ID: 97e135971d86481ca15dae3acc0272d0
   CSeq: 26500 MESSAGE
   User-Agent: FreeSWITCH-mod_sofia/1.0.rc1-7946
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,
NOTIFY,REFER, UPDATE, REGISTER, INFO, PUBLISH
   Supported: 100rel, precondition, timer
   Content-Length: 0

   ------------------------------------------------------------------------
recv 509 bytes from udp/[localaddress]:5090 at 01:57:17.953125:
   ------------------------------------------------------------------------
   MESSAGE sip:1001 at localaddress SIP/2.0
   Via: SIP/2.0/UDP
localaddress:5090;rport;branch=z9hG4bKPj770d2b3e6a5248b5bf0aca1abc976b9c
   Max-Forwards: 70
   From: <sip:1000 at localaddress>;tag=8eb10cec2ced420fbee0a3f1c004a82c
   To: <sip:1001 at localaddress>
   Call-ID: 9a795b147818437d8b0cb4e11c9e6e6a
   CSeq: 15724 MESSAGE
   Accept: text/plain, application/im-iscomposing+xml
   Contact: <sip:1000 at localaddress:5090;transport=UDP>
   User-Agent: PJSUA v0.8.0/win32
   Content-Type: text/plain
   Content-Length:     2

   HI
   ------------------------------------------------------------------------
send 522 bytes to udp/[localaddress]:5090 at 01:57:17.953125:
   ------------------------------------------------------------------------
   SIP/2.0 200 OK
   Via: SIP/2.0/UDP
localaddress:5090;rport=5090;branch=z9hG4bKPj770d2b3e6a528b5bf0aca1abc976b9c
   From: <sip:1000 at localaddress>;tag=8eb10cec2ced420fbee0a3f1c004a82c
   To: <sip:1001 at localaddress>;tag=ND0tXD2yH9rHH
   Call-ID: 9a795b147818437d8b0cb4e11c9e6e6a
   CSeq: 15724 MESSAGE
   User-Agent: FreeSWITCH-mod_sofia/1.0.rc1-7946
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,
NOTIFY,
REFER, UPDATE, REGISTER, INFO, PUBLISH
   Supported: 100rel, precondition, timer
   Content-Length: 0

   ------------------------------------------------------------------------
send 655 bytes to udp/[221.132.67.173]:5060 at 01:57:17.968750:
   ------------------------------------------------------------------------
   MESSAGE sip:1001 at 221.132.67.173:5060;transport=udp SIP/2.0
   Via: SIP/2.0/UDP localaddress;rport;branch=z9hG4bKFQ85jBK4v24mg
   Max-Forwards: 70
   From: <sip:1000 at localaddress>;tag=8eb10cec2ced420fbee0a3f1c004a82c
   To: "UAS2" <sip:1001 at 221.132.67.173:5060;transport=udp>
   Call-ID: 48d60e4c-85fb-122b-2780-39a48cb53b8d
   CSeq: 98037182 MESSAGE
   Contact: <sip:mod_sofia at localaddress:5060>
   User-Agent: FreeSWITCH-mod_sofia/1.0.rc1-7946
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,
NOTIFY,REFER, UPDATE, REGISTER, INFO, PUBLISH
   Supported: 100rel, precondition, timer
   Content-Type: text/html
   Content-Length: 2

   HI
   ------------------------------------------------------------------------
recv 377 bytes from udp/[221.132.67.173]:5060 at 01:57:18.015625:
   ------------------------------------------------------------------------
   SIP/2.0 415 Unsupported Media Type
   Call-ID: 48d60e4c-85fb-122b-2780-39a48cb53b8d
   CSeq: 98037182 MESSAGE
   From: <sip:1000 at localaddress>;tag=8eb10cec2ced420fbee0a3f1c004a82c
   To: "UAS2" <sip:1001 at 221.132.67.173:5060>;tag=205e2a1a5f55968
   Via: SIP/2.0/UDP localaddress;branch=z9hG4bKFQ85jBK4v24mg
   Content-Length: 0
   User-Agent: Stonehenge IP255-S 1.30.191
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080416/a6ee040a/attachment-0002.html 


More information about the FreeSWITCH-users mailing list