<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Problem is solved after
externip=<external NAT IP> addition on aserisk.<br>
<br>
<br>
<br>
31.10.2013 0:02, "Гришин В.С." пишет:<br>
</div>
<blockquote cite="mid:527165E8.9010901@vts24.ru" type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<div class="moz-cite-prefix">Call in direction from IP Phone to
PBX works fine.<br>
<br>
<br>
<br>
30.10.2013 22:57, "Гришин В.С." пишет:<br>
</div>
<blockquote cite="mid:5271569A.5080308@vts24.ru" type="cite">
<meta content="text/html; charset=UTF-8"
http-equiv="Content-Type">
<div class="moz-cite-prefix"><small><font face="Courier New,
Courier, monospace" size="-1"><small><font size="-1"><font
size="-1"><br>
<br>
the <font size="-1">correct </font>scheme <font
size="-1">is</font> <font size="-1">PBX</font></font>---E1--Cisco
2811-----VoIP SIP-----<font size="-1">F</font>ree<font
size="-1">SWITCH---</font>--</font></small></font></small><small><font
face="Courier New, Courier, monospace" size="-1"><small><font
size="-1"><small><font face="Courier New, Courier,
monospace" size="-1"><small><font size="-1">VoIP
SIP</font></small></font></small>----NAT----asterisk(1.8.20)</font>---IP
Phone</small></font></small><br>
<small><font face="Courier New, Courier, monospace" size="-1"><small><font
size="-1"><br>
Asterisk IP </font></small></font></small><small><font
face="Courier New, Courier, monospace" size="-1"><small><font
size="-1"><small><font face="Courier New, Courier,
monospace" size="-1"><small>is 162.48.13.26</small></font></small></font></small></font></small>
(<small><font face="Courier New, Courier, monospace" size="-1"><small><font
size="-1">External IP NAT</font></small></font></small>
)<br>
<br>
<br>
30.10.2013 22:36, "Гришин В.С." пишет:<br>
</div>
<blockquote cite="mid:527151AF.6070009@vts24.ru" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<small><font face="Courier New, Courier, monospace" size="-1"><small><font
size="-1"><br>
<font size="-1">the scheme <font size="-1">is</font>
<font size="-1">PBX</font></font>---E1--Cisco
2811-----VoIP SIP-----<font size="-1">F</font>ree<font
size="-1">SWITCH---</font>--</font></small></font></small><small><font
face="Courier New, Courier, monospace" size="-1"><small><font
size="-1"><small><font face="Courier New, Courier,
monospace" size="-1"><small><font size="-1">VoIP
SIP</font></small></font></small>---asterisk(1.8.20)</font>---IP
Phone<br>
<br>
<font size="-1"><font size="-1">FreeSWITCH <font
size="-1">IP</font> </font></font></small></font></small><small><font
face="Courier New, Courier, monospace" size="-1"><small><font
size="-1"><font size="-1"><small><font face="Courier
New, Courier, monospace" size="-1"><small>is
191.21.19.12</small></font></small></font></font><br>
<font size="-1">Asterisk IP </font></small></font></small><small><font
face="Courier New, Courier, monospace" size="-1"><small><font
size="-1"><small><font face="Courier New, Courier,
monospace" size="-1"><small>is 162.48.13.26</small></font></small></font><br>
Call comes to <font size="-1">F</font>ree<font
size="-1">SWITCH</font> from a </small></font></small><small><font
face="Courier New, Courier, monospace" size="-1"><small><small><font
face="Courier New, Courier, monospace" size="-1"><small><font
size="-1">Cisco 2811</font></small></font></small>.</small></font></small><small><font
face="Courier New, Courier, monospace" size="-1"><small><font
size="-1"><font size="-1"><font size="-1"><small><font
face="Courier New, Courier, monospace"
size="-1"><small><small><font face="Courier
New, Courier, monospace" size="-1"><small><font
size="-1"><br>
</font></small></font></small></small></font></small></font></font></font></small></font></small><br>
<font size="-1">SIP session betwee<font size="-1">n </font></font><small><font
face="Courier New, Courier, monospace" size="-1"><small><font
size="-1"><small><font face="Courier New, Courier,
monospace" size="-1"><small><font size="-1">freeswitch
and </font></small></font></small></font></small></font></small><small><font
face="Courier New, Courier, monospace" size="-1"><small><font
size="-1"><small><font face="Courier New, Courier,
monospace" size="-1"><small><font size="-1"><small><font
face="Courier New, Courier, monospace"
size="-1"><small><font size="-1">asterisk(1.8.20)</font></small></font></small></font></small></font></small><br>
<br>
<br>
</font>|Time | 191.21.19.12
|<br>
| | | 162.48.13.26
| <br>
|21.048754| INVITE SDP (g711A CN) |SIP
From: "91295" <<a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:sip:9195@191.21.19.12">sip:9195@191.21.19.12</a>
To:<<a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:sip:9647@162.48.13.26">sip:9647@162.48.13.26</a><br>
| |(5065) ------------------> (5060) |<br>
|21.048758| INVITE SDP (g711A CN) |SIP
From: "91295" <<a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:sip:9195@191.21.19.12">sip:9195@191.21.19.12</a>
To:<<a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:sip:9647@162.48.13.26">sip:9647@162.48.13.26</a><br>
| |(5065) ------------------> (5060) |<br>
|21.065794| 100 Trying| |SIP
Status<br>
| |(5065) <------------------ (5060) |<br>
|21.122406| 180 Ringing |SIP
Status<br>
| |(5065) <------------------ (5060) |<br>
|21.143580| RTP (g711A) |RTP
Num packets:50 Duration:0.922s SSRC:0xB5320A6<br>
| |(21866) <------------------ (12772) |<br>
|22.282684| 180 Ringing |SIP
Status<br>
| |(5065) <------------------ (5060) |<br>
|22.296762| 181 Call is being forwarded |SIP
Status<br>
| |(5065) <------------------ (5060) |<br>
|27.558268| 180 Ringing |SIP
Status<br>
| |(5065) <------------------ (5060) |<br>
|35.039883| 200 OK SDP (g711A) |SIP
Status<br>
| |(5065) <------------------ (5060) |<br>
|35.307222| RTP (g711A) |RTP
Num packets:1490 Duration:29.773s SSRC:0x530CAB37<br>
| |(21866) <------------------ (12772) |<br>
|35.476614| 200 OK SDP (g711A) |SIP
Status<br>
| |(5065) <------------------ (5060) |<br>
|35.532995| RTP (g711A) |RTP
Num packets:2966 Duration:29.680s SSRC:0x308FC816<br>
| |(21866) ------------------> (12772) |<br>
|36.436846| 200 OK SDP (g711A) |SIP
Status<br>
| |(5065) <------------------ (5060) |<br>
|38.282686| 200 OK SDP (g711A) |SIP
Status<br>
| |(5065) <------------------ (5060) |<br>
|42.025399| 200 OK SDP (g711A) |SIP
Status<br>
| |(5065) <------------------ (5060) |<br>
|45.637280| 200 OK SDP (g711A) |SIP
Status<br>
| |(5065) <------------------ (5060) |<br>
|49.343115| 200 OK SDP (g711A) |SIP
Status<br>
| |(5065) <------------------ (5060) |<br>
|53.119940| 200 OK SDP (g711A) |SIP
Status<br>
| |(5065) <------------------ (5060) |<br>
|56.907800| 200 OK SDP (g711A) |SIP
Status<br>
| |(5065) <------------------ (5060) |<br>
|60.791453| 200 OK SDP (g711A) |SIP
Status<br>
| |(5065) <------------------ (5060) |<br>
|64.606730| 200 OK SDP (g711A) |SIP
Status<br>
| |(5065) <------------------ (5060) |<br>
|65.219392| BYE | |SIP
Request<br>
| |(5065) <------------------ (5060) |<br>
|65.234354| 200 OK | |SIP
Status<br>
| |(5065) ------------------> (5060) |<br>
|65.234359| 200 OK | |SIP
Status<br>
| |(5065) ------------------> (5060) |<br>
</small></font></small><br>
<small><font face="Courier New, Courier, monospace" size="-1"><small>It
is visible that there is no package with ACK
confirmation from a <font size="-1">Free<font size="-1">SWITCH
to Asterisk</font></font>. Asterisk sends several
times SIP OK on a <font size="-1">free</font>switch,
and without having waited confirmations (</small></font></small><small><font
face="Courier New, Courier, monospace" size="-1"><small><small><font
face="Courier New, Courier, monospace" size="-1"><small>ACK</small></font></small>)
after 23 seconds sends SIP BY on a </small></font></small><small><font
face="Courier New, Courier, monospace" size="-1"><small><small><font
face="Courier New, Courier, monospace" size="-1"><small><font
size="-1">free</font>switch</small></font></small>
and on IP Phone. <font size="-1">Aft<font size="-1">er
that</font></font> call stops. Before <font
size="-1">disconnection</font> subscribers hear each
other of <font size="-1">29</font> (+-) seconds<br>
<br>
<font size="-1"><font size="-1">In <font size="-1">tcpdump</font>
between Cisco and Free<font size="-1">SWITCH</font>
it is visible that the SIP ACK <font size="-1">packet
from Cisco arrives on a </font></font></font></small></font></small><small><font
face="Courier New, Courier, monospace" size="-1"><small><font
size="-1"><font size="-1"><font size="-1"><small><font
face="Courier New, Courier, monospace"
size="-1"><small><small><font face="Courier
New, Courier, monospace" size="-1"><small><font
size="-1">free</font>switch<font
size="-1">.</font></small></font></small></small></font></small></font></font></font></small></font></small><br>
<br>
<small><font face="Courier New, Courier, monospace">In what
place the SIP ACK in a FreeSWITCH disappeared?<br>
What to me to analyse in SIP session?<br>
Maybe someone solved a similar problem?</font></small><br>
<small><font face="Courier New, Courier, monospace">please,
Help!</font></small><br>
<br>
<font face="Courier New" size="2" color="black"><span
style="font-size:10.0pt; font-family:"Courier
New";color:black" lang="EN-US">Vladislav Grishin</span></font><br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
<font face="Courier New" size="2" color="black"><span
style="font-size:10.0pt; font-family:"Courier
New";color:black" lang="EN-US">Vladislav Grishin</span></font>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<font face="Courier New" size="2" color="black"><span
style="font-size:10.0pt; font-family:"Courier
New";color:black" lang="EN-US">Vladislav Grishin</span></font>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<font face="Courier New" size="2" color="black"><span
style="font-size:10.0pt; font-family:"Courier
New";color:black" lang="EN-US">Vladislav Grishin</span></font>
<br>
<br>
</body>
</html>