Hi, I have obtained another pcap file using tshark -f "port 5060" -i any -w capturefile.pcap The FS server is not NAT, but the end user phone is (111@fs-esta2...). The gateway is 64.136.173.31 Can someone look at this pcap file and give me some idea why the call at packet 55 from 111@fs-esta2.bizfocused.com to 4436048821 fails, but the call at packet 77 from 111@fs-esta2.bizfocused.com to 4104207777 works fine. In the first call, the user hears a ring 4 times, then a busy signal. If you need RTP captured to, please let me know how to do it. I checked the MAN page and don't see it. Thanks, Sean -----Original Message----- From: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> On Behalf Of Antony Stone Sent: Friday, January 7, 2022 4:56 PM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] Outbound Gateway hang up at 30 seconds with no answer On Friday 07 January 2022 at 22:33:31, David Villasmil wrote:
yeah, if you're using tshark, something like:
tshark -f "host [GATEWAY-IP]" -i any
will show you anything going/coming from that ip address.
you can also install sngrep, which is a fantastic cli tool. it's in debian's repos. You start it with "sngrep -c" to show only [c]alls
I would also advocate doing both. 1. Install sngrep, and if you don't already have them, tshark and/or tcpdump 2. Use tshark (or tcpdump) to capture SIP traffic (which normally means "anything on port 5060, in either direction"), so: tshark -f "port 5060" -i any -w capturefile.pcap 3. Then you can use sngrep to read the file which tshark created, and at your leisure, scroll through the traffic and try to understand what happened when: sngrep -I capturefile.pcap sngrep is a splendid tool, but SIP is not a simple protocol, so having a capture file you can go back to later, whenever you want to, and understand a bit more about it (or answer other people's questions if they ask "well, what was the response to this, then?") is very useful. Antony. -- Some things the German language doesn't easily distinguish between: - slugs and snails - cucumbers and gherkins - snakes and queues - wearing something, or carrying it - mothers and nuts - driving a car, riding a bicycle, or travelling by train - a man and a husband - a woman and a wife - changing clothes and moving house - pockets and bags Please reply to the list; please *don't* CC me. _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://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 https://freeswitch.com