tcpdump -i <interface> -s 65535 -w <some-file> tcpdump -s 65535 -w dump.pcap That should do the trick, but you can add port filters if you'd prefer. If you do, please include both sip and rtp traffic. The dump.pcap file will be compatible with wireshark to make analyzing it a little easier. 2012/3/20 Andrew Cassidy <andrew@cassidywebservices.co.uk>
---------- Forwarded message ---------- From: "Andrew Cassidy" <andee@bytz.co.uk> Date: Mar 20, 2012 8:55 AM Subject: Re: [Freeswitch-users] NAT issues - Outbound Call drops after ~30 seconds To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org>
When we get a solution (as I'm sure we will) Can we get a guide of things to try put up on the wiki? I've seen the same question asked at least twice already this week.
I'll find the command line to do a more detailed packet dump that can be loaded into wireshark for further analysis. The main thing I'm wondering is if Nat is doing something funny with rewriting the rtp and rtcp port numbers.
What type of NAT do you have? You can use WinStun or another basic stun client to find out. On Mar 20, 2012 6:07 AM, "Brian Foster" <bdfoster@endigotech.com> wrote:
Anton,
I'm not really a pro at reading those, but I did post it here:
http://da1.endigovoip.com/dump.txt
...I'm not sure if that will tell much. Where it says bdfoster-Precision-WorkStation-490, that is the FS server (192.168.1.79), the ATA is on 192.168.1.80 (Grandstream HT286) This problem has also occurred using a SPA921 and another HT286, all on the same LAN connected to the same server, etc.
-BDF
2012/3/20 Anton Kvashenkin <anton.jugatsu@gmail.com>
Try to catch RTP streams
tcpdump -i eth0 portrange 16384-16406
and see what happens.
20 марта 2012 г. 6:14 пользователь Brian Foster <bdfoster@endigotech.com
написал:
Yea I know what you're talking about. That has indeed been switched off
on the RG. For reference purposes, the Residential Gateway is a 2wire AT&T-branded Uverse DSL modem/wireless router with a 4 port switch. I've also got two 8 port netgear prosafe switches. Phones and server are on the same subnet/netmask. Very simple network setup. No VLANS, etc. This was indeed working with Asterisk, so I'm almost positive it's a configuration issue with FreeSWITCH.
If there's a need to look at more than the files/logs I've pb'd, please let be know!
-BDF On Mar 19, 2012 9:20 PM, "Patrick Lists" < freeswitch-list@puzzled.xs4all.nl> wrote:
On 20-03-12 00:10, Brian Foster wrote:
UPnP isn't available on this network. Ports 16384-16406 are forwarded to the machine from the router. Port range in switch.conf.xml reflects that. Also 5080 is forwarded from the router to the server.
Both of those variables (ext-sip-ip and ext-rtp-ip) are set to the stun server, see pastebin 18699 (third link in original email).
If the (ADSL) router has a (for lack of a better term cause I can't remember) "SIP helper" app, try disabling it. Similar to the Cisco "SMTP Fixup" functionality which does an excellent job at the opposite.
Regards, Patrick
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
-- Brian D. Foster Endigo Computer LLC Email: bdfoster@endigotech.com Phone: 317-800-7876 Indianapolis, Indiana, USA
This message contains confidential information and is intended for those listed in the "To:", "CC:", and/or "BCC:" fields of the message header. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
-- Andrew Cassidy BSc (Hons) MBCS Managing Director; Cassidy Web Services Ltd T: 03300 100 960 F: 03300 100 961 E: andrew@cassidywebservices.co.uk W: www.cassidywebservices.co.uk