i'm sorry, it was mistake, i was replaced trace text not all part. (for hidding ip address ^_^) i attatch complete replace trace text, see below. and i only changed dial plan xml file (conf\dialplan\public.xml), first UAC1 has 1000 number, second UAC2 has 1001 number. here dial plan xml file <!-- http://wiki.freeswitch.org/wiki/Dialplan_XML --> <include> <context name="public"> <extension name="unloop"> <condition field="${unroll_loops}" expression="^true$"/> <condition field="${sip_looped_call}" expression="^true$"> <action application="deflect" data="${destination_number}"/> </condition> </extension> <extension name="1001"> <condition field="destination_number" expression="^(1001)$"> <action application="transfer" data="$1 XML default"/> </condition> </extension> <extension name="1000"> <condition field="destination_number" expression="^(1000)$"> <action application="transfer" data="$1 XML default"/> </condition> </extension> <extension name="public_extensions"> <condition field="destination_number" expression="^(10[01][0-9])$"> <action application="transfer" data="$1 XML default"/> </condition> </extension> <extension name="public_did"> <condition field="destination_number" expression="^(5551212)$"> <action application="transfer" data="$1 XML default"/> </condition> </extension> </context> </include> here trace text ------------------------------------------------------------------------ recv 791 bytes from udp/[192.168.1.100]:5090 at 01:57:15.187500: ------------------------------------------------------------------------ MESSAGE sip:1001@192.168.1.100 <sip%3A1001@192.168.1.100> SIP/2.0 Via: SIP/2.0/UDP 192.168.1.100:5090 ;rport;branch=z9hG4bKPj4f841d9b229c4353957a63f44b097214 Max-Forwards: 70 From: <sip:1000@192.168.1.100 <sip%3A1000@192.168.1.100>
;tag=7c5eab80dedb4d7c8fc2cc5b44a53b70 To: <sip:1001@192.168.1.100 <sip%3A1001@192.168.1.100>> Call-ID: 97e135971d86481ca15dae3acc0272d0 CSeq: 26500 MESSAGE Accept: text/plain, application/im-iscomposing+xml Contact: <sip:1000@192.168.1.100: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/[192.168.1.100]:5090 at 01:57:15.187500: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.1.100:5090 ;rport=5090;branch=z9hG4bKPj4f841d9b229c4353957a63f44b097214 From: <sip:1000@192.168.1.100 <sip%3A1000@192.168.1.100>
;tag=7c5eab80dedb4d7c8fc2cc5b44a53b70 To: <sip:1001@192.168.1.100 <sip%3A1001@192.168.1.100>>;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/[192.168.1.100]:5090 at 01:57:17.953125: ------------------------------------------------------------------------ MESSAGE sip:1001@192.168.1.100 <sip%3A1001@192.168.1.100> SIP/2.0 Via: SIP/2.0/UDP 192.168.1.100:5090 ;rport;branch=z9hG4bKPj770d2b3e6a5248b5bf0aca1abc976b9c Max-Forwards: 70 From: <sip:1000@192.168.1.100 <sip%3A1000@192.168.1.100>
;tag=8eb10cec2ced420fbee0a3f1c004a82c To: <sip:1001@192.168.1.100 <sip%3A1001@192.168.1.100>> Call-ID: 9a795b147818437d8b0cb4e11c9e6e6a CSeq: 15724 MESSAGE Accept: text/plain, application/im-iscomposing+xml Contact: <sip:1000@192.168.1.100:5090;transport=UDP> User-Agent: PJSUA v0.8.0/win32 Content-Type: text/plain Content-Length: 2
HI ------------------------------------------------------------------------ send 522 bytes to udp/[192.168.1.100]:5090 at 01:57:17.953125: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.1.100:5090 ;rport=5090;branch=z9hG4bKPj770d2b3e6a528b5bf0aca1abc976b9c From: <sip:1000@192.168.1.100 <sip%3A1000@192.168.1.100>
;tag=8eb10cec2ced420fbee0a3f1c004a82c To: <sip:1001@192.168.1.100 <sip%3A1001@192.168.1.100>>;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@221.132.67.173:5060;transport=udp SIP/2.0 Via: SIP/2.0/UDP 192.168.1.100;rport;branch=z9hG4bKFQ85jBK4v24mg Max-Forwards: 70 From: <sip:1000@192.168.1.100 <sip%3A1000@192.168.1.100>
;tag=8eb10cec2ced420fbee0a3f1c004a82c To: "UAS2" <sip:1001@221.132.67.173:5060;transport=udp> Call-ID: 48d60e4c-85fb-122b-2780-39a48cb53b8d CSeq: 98037182 MESSAGE Contact: <sip:mod_sofia@192.168.1.100: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/[192.168.1.101]: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@192.168.1.100 <sip%3A1000@192.168.1.100>
;tag=8eb10cec2ced420fbee0a3f1c004a82c To: "UAS2" <sip:1001@192.168.1.101:5060>;tag=205e2a1a5f55968 Via: SIP/2.0/UDP 192.168.1.100;branch=z9hG4bKFQ85jBK4v24mg Content-Length: 0 User-Agent: Stonehenge IP255-S 1.30.191
and thank you Brian ! 2008/4/16, Brian West <brian@freeswitch.org>:
What is 221.132.67.173 in this trace? And can you tell me if you have changed anything in the configs.
/b
On Apr 15, 2008, at 9:42 PM, 이성훈 wrote:
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@localaddress SIP/2.0 Via: SIP/2.0/UDP localaddress:5090;rport;branch=z9hG4bKPj4f841d9b229c4353957a63f44b097214 Max-Forwards: 70 From: <sip:1000@localaddress>;tag=7c5eab80dedb4d7c8fc2cc5b44a53b70 To: <sip:1001@localaddress> Call-ID: 97e135971d86481ca15dae3acc0272d0 CSeq: 26500 MESSAGE Accept: text/plain, application/im-iscomposing+xml Contact: <sip:1000@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@localaddress>;tag=7c5eab80dedb4d7c8fc2cc5b44a53b70 To: <sip:1001@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@localaddress SIP/2.0 Via: SIP/2.0/UDP localaddress:5090;rport;branch=z9hG4bKPj770d2b3e6a5248b5bf0aca1abc976b9c Max-Forwards: 70 From: <sip:1000@localaddress>;tag=8eb10cec2ced420fbee0a3f1c004a82c To: <sip:1001@localaddress> Call-ID: 9a795b147818437d8b0cb4e11c9e6e6a CSeq: 15724 MESSAGE Accept: text/plain, application/im-iscomposing+xml Contact: <sip:1000@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@localaddress>;tag=8eb10cec2ced420fbee0a3f1c004a82c To: <sip:1001@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@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@localaddress>;tag=8eb10cec2ced420fbee0a3f1c004a82c To: "UAS2" <sip:1001@221.132.67.173:5060;transport=udp> Call-ID: 48d60e4c-85fb-122b-2780-39a48cb53b8d CSeq: 98037182 MESSAGE Contact: <sip:mod_sofia@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@localaddress>;tag=8eb10cec2ced420fbee0a3f1c004a82c To: "UAS2" <sip:1001@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
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- =============================== (주) 에프앤에이에스 연구소 과장 이성훈 +82-(0)70-7739-1725 +82-(0)16-712-2576 "인내란 소극적이고 무기력한 것이 아니라 적극적이며 강렬하게 저항하는 것이다." - 이소령 어록중에서 ===============================