[Freeswitch-users] Call drops after few minutes

Michael Giagnocavo mgg at giagnocavo.net
Wed Dec 30 02:06:37 MSK 2015


Usually retransmits mean you have a NAT/firewall/routing issue and one side isn't getting the packets. Put the pcap up on cloudshark?

-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Rajil Saraswat
Sent: Tuesday, 29 December, 2015 16:22
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Subject: [Freeswitch-users] Call drops after few minutes

Hello,

I have a sip client (Android Csipsimple) connected to my FS server.
Any outbound calls i make drop after some time. The FS server is running in a FreeBSD jail on a separate network (192.168.10.10) to the Android phone which is on a LAN (172.16.1.21).

I have the following acl defined.

        <list name="natme" default="allow">
                <node type="deny" cidr="192.168.10.0/24"/>
                <node type="deny" cidr="172.16.1.0/24"/>
        </list>

        <list name="nonat" default="deny">
                <node type="allow" cidr="192.168.10.0/24"/>
                <node type="allow" cidr="172.16.1.0/24"/>
        </list>

In internal profile (internal.xml) the acl is setup as

                <param name="apply-nat-acl" value="natme"/>
                <param name="local-network-acl" value="nonat"/>

Following is the wire-shark representation of the call. Any idea what my call is being dropped?



Conv.| Time    | 172.16.1.21                           | 94.75.247.45
                        |
     |         |                   | 192.168.10.10     |
4    |3545.555602|         INVITE SDP (g711U g7          |
      |SIP From: <sip:202 at myhost.dyndns.org To:<sip:+441292619109 at myhost.dyndns.org
     |         |(42765)  ------------------>  (5060)   |                   |
4    |3545.555751|         100 Trying|                   |
      |SIP Status
     |         |(42765)  <------------------  (5060)   |                   |
4    |3545.556369|         407 Proxy Authentica          |
      |SIP Status
     |         |(42765)  <------------------  (5060)   |                   |
4    |3545.582420|         ACK       |                   |
      |SIP Request
     |         |(42765)  ------------------>  (5060)   |                   |
4    |3545.582556|         INVITE SDP (g711U g7          |
      |SIP From: <sip:202 at myhost.dyndns.org To:<sip:+441292619109 at myhost.dyndns.org
     |         |(42765)  ------------------>  (5060)   |                   |
4    |3545.582640|         100 Trying|                   |
      |SIP Status
     |         |(42765)  <------------------  (5060)   |                   |
-----------------------------------------------------------------------------
5    |3545.858175|                   |         INVITE SDP (g711U g7
      |SIP From: "202" <sip:1314364 at localphone.com To:<sip:+441292619109 at localphone.com
     |         |                   |(5080)   ------------------>  (5060)   |
5    |3546.027093|                   |         407 Proxy Authentica
      |SIP Status
     |         |                   |(5080)   <------------------  (5060)   |
5    |3546.027150|                   |         ACK       |
      |SIP Request
     |         |                   |(5080)   ------------------>  (5060)   |
5    |3546.027278|                   |         INVITE SDP (g711U g7
      |SIP From: "202" <sip:1314364 at localphone.com To:<sip:+441292619109 at localphone.com
     |         |                   |(5080)   ------------------>  (5060)   |
5    |3546.202676|                   |         100 Giving a try...
      |SIP Status
     |         |                   |(5080)   <------------------  (5060)   |
5    |3547.065610|                   |         180 Ringing SDP (g71
      |SIP Status
     |         |                   |(5080)   <------------------  (5060)   |
-----------------------------------------------------------------------------
4    |3547.090314|         183 Session Progress          |
      |SIP Status
     |         |(42765)  <------------------  (5060)   |                   |
-----------------------------------------------------------------------------
5    |3553.609372|                   |         200 OK SDP (g711U te
      |SIP Status
     |         |                   |(5080)   <------------------  (5060)   |
5    |3553.622941|                   |         ACK       |
      |SIP Request
     |         |                   |(5080)   ------------------>  (5060)   |
-----------------------------------------------------------------------------
4    |3553.662881|         200 OK SDP (g711U te          |
      |SIP Status
     |         |(42765)  <------------------  (5060)   |                   |
4    |3553.756280|         ACK       |                   |
      |SIP Request
     |         |(42765)  ------------------>  (5060)   |                   |
4    |3661.662465|         BYE       |                   |
      |SIP Request
     |         |(42765)  <------------------  (5060)   |                   |
4    |3662.669760|         BYE       |                   |
      |SIP Request
     |         |(42765)  <------------------  (5060)   |                   |
4    |3664.700044|         BYE       |                   |
      |SIP Request
     |         |(42765)  <------------------  (5060)   |                   |
4    |3668.712399|         BYE       |                   |
      |SIP Request
     |         |(42765)  <------------------  (5060)   |                   |
4    |3672.713804|         BYE       |                   |
      |SIP Request
     |         |(42765)  <------------------  (5060)   |                   |
4    |3676.722414|         BYE       |                   |
      |SIP Request
     |         |(42765)  <------------------  (5060)   |                   |
4    |3680.742404|         BYE       |                   |
      |SIP Request
     |         |(42765)  <------------------  (5060)   |                   |
4    |3684.762407|         BYE       |                   |
      |SIP Request
     |         |(42765)  <------------------  (5060)   |                   |
4    |3688.772652|         BYE       |                   |
      |SIP Request
     |         |(42765)  <------------------  (5060)   |                   |
4    |3692.782402|         BYE       |                   |
      |SIP Request
     |         |(42765)  <------------------  (5060)   |                   |
-----------------------------------------------------------------------------
5    |3693.702939|                   |         BYE       |
      |SIP Request
     |         |                   |(5080)   ------------------>  (5060)   |
5    |3693.899483|                   |         200 OK    |
      |SIP Status
     |         |                   |(5080)   <------------------  (5060)   |
-----------------------------------------------------------------------------
4    |3707.848672|         BYE       |                   |
      |SIP Request
     |         |(42765)  ------------------>  (5060)   |                   |
4    |3707.848763|         481 Call Does Not Ex          |
      |SIP Status
     |         |(42765)  <------------------  (5060)   |                   |

Thanks

_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
consulting at freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list