<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=koi8-r">
<META content="MSHTML 6.00.6000.20753" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>On 1st host (192.168.2.107, it opos8, it 127.0.0.1) are carried out:</DIV>
<DIV><FONT face=Arial size=2>- SIPP UAC<BR>- SIPP UAS<BR>- FS</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>1. At first we do direct connect RTP UAC-> UAS
and return relaying UAS-> UAC</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>[root@opos9 sipp.svn]# ./sipp -sn uac_pcap -m 1
opos9</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>[olej@opos9 sipp.svn]$ ./sipp -sn uas
-rtp_echo</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>[root@opos9 OGG]# tcpdump -i3 -n host
opos9<BR>tcpdump: WARNING: Promiscuous mode not supported on the "any"
device<BR>tcpdump: verbose output suppressed, use -v or -vv for full protocol
decode<BR>listening on any, link-type LINUX_SLL (Linux cooked), capture size 96
bytes<BR>11:24:58.171257 IP 127.0.0.1.sip-tls > 127.0.0.1.sip: SIP, length:
559<BR>11:24:58.171514 IP 127.0.0.1.sip > 127.0.0.1.sip-tls: SIP, length:
301<BR>11:24:58.171616 IP 127.0.0.1.sip > 127.0.0.1.sip-tls: SIP, length:
458<BR>11:24:58.172038 IP 127.0.0.1.sip-tls > 127.0.0.1.sip: SIP, length:
351<BR>11:24:58.172404 IP 127.0.0.1.6001 > 127.0.0.1.6000: UDP, length
252<BR>11:24:58.172449 IP 127.0.0.1.6000 > 127.0.0.1.6001: UDP, length
252<BR>11:24:58.204027 IP 127.0.0.1.6001 > 127.0.0.1.6000: UDP, length
252<BR>11:24:58.204080 IP 127.0.0.1.6000 > 127.0.0.1.6001: UDP, length
252<BR>....................<BR>11:25:06.314426 IP 127.0.0.1.6001 >
127.0.0.1.6000: UDP, length 16<BR>11:25:06.314465 IP 127.0.0.1.6001 >
127.0.0.1.6000: UDP, length 16<BR>11:25:06.314477 IP 127.0.0.1.6001 >
127.0.0.1.6000: UDP, length 16<BR>11:25:06.314767 IP 127.0.0.1.6000 >
127.0.0.1.6001: UDP, length 16<BR>11:25:06.314793 IP 127.0.0.1.6000 >
127.0.0.1.6001: UDP, length 16<BR>11:25:06.314804 IP 127.0.0.1.6000 >
127.0.0.1.6001: UDP, length 16<BR>11:25:07.174327 IP 127.0.0.1.sip-tls >
127.0.0.1.sip: SIP, length: 351<BR>11:25:07.174526 IP 127.0.0.1.sip >
127.0.0.1.sip-tls: SIP, length: 293</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>498 packets captured<BR>1494 packets received by
filter<BR>0 packets dropped by kernel</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>- it's OK - RTP trafic run into 2
direction.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>2. Now it would be desirable to include FreeSWITCH
in stream rupture between UAC - UAS:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>[olej@opos9 sipp.svn]$ ./sipp -sn uas -rtp_echo -p
5062 -mp 6004 <BR>- RTP port 6004</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>[root@opos9 sipp.svn]# ./sipp -sn uac_pcap -s 20081
-m 1 -mp 6008 192.168.2.107:5070 <BR>- RTP port 6008</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>[root@opos9 OGG]# tcpdump -i3 -n dst host
192.168.2.107 or 127.0.0.1 and src host 192.168.2.107 or 127.0.0.1<BR>tcpdump:
WARNING: Promiscuous mode not supported on the "any" device<BR>tcpdump: verbose
output suppressed, use -v or -vv for full protocol decode<BR>listening on any,
link-type LINUX_SLL (Linux cooked), capture size 96 bytes<BR>15:27:06.474765 IP
192.168.2.107.sip-tls > 192.168.2.107.5070: UDP, length
563<BR>15:27:06.475596 IP 192.168.2.107.5070 > 192.168.2.107.sip-tls: UDP,
length 310<BR>15:27:06.487313 IP 192.168.2.107.5070 > 127.0.0.1.5062: UDP,
length 921<BR>15:27:06.487707 IP 192.168.2.107.5062 > 192.168.2.107.5070:
UDP, length 322<BR>15:27:06.487859 IP 192.168.2.107.5062 >
192.168.2.107.5070: UDP, length 479<BR>15:27:06.489679 IP 192.168.2.107.5070
> 127.0.0.1.5062: UDP, length 355<BR>15:27:06.491973 IP 192.168.2.107.5070
> 192.168.2.107.sip-tls: UDP, length 590<BR>15:27:06.493873 IP
192.168.2.107.5070 > 192.168.2.107.sip-tls: UDP, length
822<BR>15:27:06.496382 IP 192.168.2.107.sip-tls > 192.168.2.107.5070: UDP,
length 354<BR>15:27:06.497854 IP 127.0.0.1.6008 > 127.0.0.1.0: UDP, length
252<BR>15:27:06.497898 IP 127.0.0.1 > 127.0.0.1: ICMP 127.0.0.1 udp port 0
unreachable, length 288<BR>15:27:06.529517 IP 127.0.0.1.6008 > 127.0.0.1.0:
UDP, length 252<BR>15:27:06.529558 IP 127.0.0.1 > 127.0.0.1: ICMP 127.0.0.1
udp port 0 unreachable, length 288<BR>15:27:06.559627 IP 127.0.0.1.6008 >
127.0.0.1.0: UDP, length 252<BR>....<BR>15:27:14.640995 IP 127.0.0.1.6008 >
127.0.0.1.0: UDP, length 16<BR>15:27:14.641035 IP 127.0.0.1 > 127.0.0.1: ICMP
127.0.0.1 udp port 0 unreachable, length 52<BR>15:27:14.641061 IP 127.0.0.1.6008
> 127.0.0.1.0: UDP, length 16<BR>15:27:14.641071 IP 127.0.0.1 > 127.0.0.1:
ICMP 127.0.0.1 udp port 0 unreachable, length 52<BR>15:27:14.641086 IP
127.0.0.1.6008 > 127.0.0.1.0: UDP, length 16<BR>15:27:14.641095 IP 127.0.0.1
> 127.0.0.1: ICMP 127.0.0.1 udp port 0 unreachable, length
52<BR>15:27:15.501954 IP 192.168.2.107.sip-tls > 192.168.2.107.5070: UDP,
length 354<BR>15:27:15.502513 IP 192.168.2.107.5070 > 192.168.2.107.sip-tls:
UDP, length 485<BR>15:27:15.511937 IP 192.168.2.107.5070 > 127.0.0.1.5062:
UDP, length 615<BR>15:27:15.513052 IP 192.168.2.107.5062 >
192.168.2.107.5070: UDP, length 314</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>505 packets captured<BR>1516 packets received by
filter<BR>0 packets dropped by kernel</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><extension name="20081"><BR>
<condition field="destination_number" expression="^20081$"
><BR> <action application="set" data="bypass_media=true"
/><BR> <action application="bridge" data="<A
href="mailto:sofia/nat/20081@127.0.0.1:5062">sofia/nat/20081@127.0.0.1:5062</A>"
/><BR> <action application="answer"
/><BR> <action application="sleep" data="1000"
/><BR> </condition><BR></extension></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>It is well
visible that SIP-stream through FreeSWITCH is well transmit between
UAs.</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>But RTP-stream
goes to FreeSWITCH, but it does not reach.</FONT></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>What is it?</FONT></DIV>
<DIV><FONT face=Arial size=2>We do something not so? Or it is misoperation of
FreeSWITCH?</FONT></DIV>
<DIV><FONT face=Arial size=2>This is a prtocol from FreeSWITCH
console:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>2008-09-02 15:27:06 [INFO] mod_dialplan_xml.c:228
dialplan_hunt() Processing sipp->20081 in context public<BR>2008-09-02
15:27:06 [NOTICE] switch_channel.c:538 switch_channel_set_name() New Channel <A
href="mailto:sofia/nat/20081@127.0.0.1:5062">sofia/nat/20081@127.0.0.1:5062</A>
[b808d845-f4e6-41e1-82d8-1251c0aec269]<BR>2008-09-02 15:27:06 [NOTICE]
sofia.c:2195 sofia_handle_sip_i_state() Ring-Ready <A
href="mailto:sofia/nat/20081@127.0.0.1:5062">sofia/nat/20081@127.0.0.1:5062</A>!<BR>2008-09-02
15:27:06 [NOTICE] mod_sofia.c:1071 sofia_receive_message() Ring-Ready <A
href="mailto:sofia/nat/sipp@127.0.0.1:5061">sofia/nat/sipp@127.0.0.1:5061</A>!<BR>2008-09-02
15:27:06 [NOTICE] sofia.c:2484 sofia_handle_sip_i_state() Channel
[sofia/nat/20081@127.0.0.1:5062] has been answered<BR>2008-09-02 15:27:06
[NOTICE] sofia.c:2497 sofia_handle_sip_i_state() Channel
[sofia/nat/sipp@127.0.0.1:5061] has been answered<BR>2008-09-02 15:27:15
[NOTICE] sofia.c:2573 sofia_handle_sip_i_state() Hangup <A
href="mailto:sofia/nat/sipp@127.0.0.1:5061">sofia/nat/sipp@127.0.0.1:5061</A>
[CS_HIBERNATE] [NORMAL_CLEARING]<BR>2008-09-02 15:27:15 [NOTICE]
switch_ivr_bridge.c:594 signal_bridge_on_hangup() Hangup <A
href="mailto:sofia/nat/20081@127.0.0.1:5062">sofia/nat/20081@127.0.0.1:5062</A>
[CS_HIBERNATE] [NORMAL_CLEARING]<BR>2008-09-02 15:27:15 [NOTICE]
switch_core_session.c:812 switch_core_session_thread() Session 3 (<A
href="mailto:sofia/nat/sipp@127.0.0.1:5061">sofia/nat/sipp@127.0.0.1:5061</A>)
Ended<BR>2008-09-02 15:27:15 [NOTICE] switch_core_session.c:814
switch_core_session_thread() Close Channel <A
href="mailto:sofia/nat/sipp@127.0.0.1:5061">sofia/nat/sipp@127.0.0.1:5061</A>
[CS_HANGUP]<BR>2008-09-02 15:27:15 [NOTICE] switch_core_session.c:812
switch_core_session_thread() Session 4 (<A
href="mailto:sofia/nat/20081@127.0.0.1:5062">sofia/nat/20081@127.0.0.1:5062</A>)
Ended<BR>2008-09-02 15:27:15 [NOTICE] switch_core_session.c:814
switch_core_session_thread() Close Channel <A
href="mailto:sofia/nat/20081@127.0.0.1:5062">sofia/nat/20081@127.0.0.1:5062</A>
[CS_HANGUP]</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>- FreeSWITCH "thinks", that all is fine?
:(<BR></FONT></DIV></BODY></HTML>