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@myhost.dyndns.org To:<sip:+441292619109@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@myhost.dyndns.org To:<sip:+441292619109@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@localphone.com To:<sip:+441292619109@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@localphone.com To:<sip:+441292619109@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
The pastebin link for the wireshark call trace is at http://pastebin.com/wiKBFvqk
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@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Rajil Saraswat Sent: Tuesday, 29 December, 2015 16:22 To: FreeSWITCH Users Help <freeswitch-users@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@myhost.dyndns.org To:<sip:+441292619109@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@myhost.dyndns.org To:<sip:+441292619109@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@localphone.com To:<sip:+441292619109@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@localphone.com To:<sip:+441292619109@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
The ACL allows users to register without authenticating, so if the call connects at all they are not a concern here. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence
-----Original Message----- From: Michael Giagnocavo Sent: Tuesday, 29 December, 2015 18:07 Subject: Re: [Freeswitch-users] Call drops after few minutes
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: Rajil Saraswat Sent: Tuesday, 29 December, 2015 16:22 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"/>
On 29 December 2015 at 17:21, Bote Man <bote_radio@botecomm.com> wrote:
The ACL allows users to register without authenticating, so if the call connects at all they are not a concern here.
--- Bote
cxreg helped me in figuring this out. It seems that my android client was not replying with ACK messages. So i changed from Csipsimple to Zoiper client and it is behaving properly. An additional thing i did was to change from <param name="ext-rtp-ip" value="$${external_rtp_ip}"/> <param name="ext-sip-ip" value="$${external_sip_ip}"/> to <param name="ext-rtp-ip" value="autonat:$${external_rtp_ip}"/> <param name="ext-sip-ip" value="autonat:$${external_sip_ip}"/> in the internal profile following this http://www.dslreports.com/forum/r25017215-SOLVED-PBX-FreeSWITCH-Multiple-Pro.... I was getting the public ip in the Contact header even with local lan calls without this setting. The wiki page (https://freeswitch.org/confluence/display/FREESWITCH/Auto+Nat) talks about auto-nat, but there is no mention of autonat though.
participants (3)
-
Bote Man
-
Michael Giagnocavo
-
Rajil Saraswat