Asterisk 15-minute drops calls

asterisk

There seems to be a hard limit on incoming calls set a certain way- a telephone engineer told me about this, but I don't know the specifics. When on a call, the moment the call hits 15 minutes it drops. Does anyone know the specifics of this behaviour, and how to change it?

Best Answer

This is a classic symptom of a NAT session timing out on a firewall. Options without changing your firewall:

  • Look in the firewalls advanced firewall settings and see if you can see anything to do with session lifetime or expiry. Try extending this.
  • See if your firewall has a SIP ALG in it anywhere. This may just be called VoIP mode with a tick box, or it could be as complex as 10 pages of configuration. Experiment with enabling/disabling that. ALGs can often have good/bad effects but it totally depends on the firewall and scenario.
  • See if you can put the VoIP server on a routed rather than NAT'd network. Keep the firewall to shield it, but removing NAT entirely is a good cure for this. Some firewalls can this a DMZ zone, but be aware that the term DMZ in cheap SoHo firewalls can just mean 1-to-1 NAT with all ports open - this isn't what you want.