[Freeswitch-users] Outbound Gateway hang up at 30 seconds with no answer

Sean Devoy sdevoy at bizfocused.com
Fri Feb 4 19:32:38 UTC 2022


I have a PCAP with a failed call.  It is 100K.  where can I put it or send it?  Should I attach it here?
I don't understand what I am looking at.  Hopefully, someone can look at it and help me out.

Thanks,
Sean

-----Original Message-----
From: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> On Behalf Of Antony Stone
Sent: Friday, January 7, 2022 4:56 PM
To: FreeSWITCH Users Help <freeswitch-users at 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 at 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 at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com


More information about the FreeSWITCH-users mailing list