[TriLUG] Asterisk calls dropping after a few minutes

jonc at nc.rr.com jonc at nc.rr.com
Mon Aug 8 09:17:10 EDT 2011


Aaron as always speaks wisdom.  Look for the RTP stream dropping - and you'll *know* it's the firewall.  It also sounds like you have silence suppression turned on somewhere. Turn it off.

I'll wager that your call drops almost exactly at 2min past the time the RTP stream starts up (the call is answered and you hear audio). That being the case, change your firewalls UDP Timeout from 120 seconds to 300 seconds.

HtH - Jon Carnes


---- Aaron Joyner <aaron at joyner.ws> wrote: 
> When in doubt, I've found it most helpful to just peek under the hood.
>  Fire up tcpdump on the external interface of the asterisk server,
> listening on port 5060, and printing out the packets in ascii.  A
> command like this one should do the trick nicely:
> $ sudo tcudmp -As 1600 -i ethN port 5060
> 
> Where 'ethN' is the ethernet interface between your asterisk server
> and the SIP provider.  I'd bet good money that the problem is an
> interaction between asterisk and that provider, rather than asterisk
> and the phones.  You should then be able to scan the output to see
> what issues the tear down of the connection.  If it's not clear, feel
> free to sanitize the output (it will contain your SIP username and
> password) and post it to the list and I or someone else can take a
> look.
> 
> Best of luck,
> Aaron S. Joyner
> 
> 
> On Thu, Aug 4, 2011 at 10:00 PM, Joseph S. Tate <dragonstrider at gmail.com> wrote:
> > I've got a Cisco 7905 IP phone connected to Trixbox going out to a
> > callwithus.com SIP gateway.  I can dial out ok*, but the call drops after
> > about 2 minutes.  I've tried to follow the log on the Trixbox server, but
> > all I can see is something is triggering a hangup event.  It's not the
> > remote party, and the phone doesn't reboot, or show anything wrong.  Anyone
> > have pointers to how I can troubleshoot this?
> >
> > * I say OK, but after dialing, the number, I can't hear the ring, or the
> > remote party that's answered until I blow into the mic, or otherwise make
> > some sort of sound on my end.
> >
> > --
> > Joseph Tate
> > Personal e-mail: jtate AT dragonstrider DOT com
> > Web: http://www.dragonstrider.com
> > --
> > This message was sent to: Aaron S. Joyner <aaron at joyner.ws>
> > To unsubscribe, send a blank message to trilug-leave at trilug.org from that address.
> > TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
> > Unsubscribe or edit options on the web  : http://www.trilug.org/mailman/options/trilug/aaron%40joyner.ws
> > TriLUG FAQ          : http://www.trilug.org/wiki/Frequently_Asked_Questions
> >
> -- 
> This message was sent to: Jon Carnes - cybertooth <jonc at nc.rr.com>
> To unsubscribe, send a blank message to trilug-leave at trilug.org from that address.
> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
> Unsubscribe or edit options on the web	: http://www.trilug.org/mailman/options/trilug/jonc%40nc.rr.com
> TriLUG FAQ          : http://www.trilug.org/wiki/Frequently_Asked_Questions




More information about the TriLUG mailing list