Jump to content

This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!

VoIP Phones - Asterisk: Difference between revisions

Content deleted Content added
AA-Andrew (talk | contribs)
Drsox (talk | contribs)
Line 79: Line 79:




==PJSIP: Keep-Alive / Anti-Idle==
==Calls stop after 5 minutes? qualify_frequency==
If you are using a firewall or NAT router with short timeouts on UDP sessions you can force packets to be sent over the connection to keep it alive.
asterisk with pjsip -If you have problems where calls can only flow in for around 5 minutes after registration / re-registration then you may have a router that closes the UDP session after a few minutes of no activity. The solution is to tell Asterisk / pjsip to send keep alives.


To do this, set qualify_frequency in the aor section, which seems to send an OPTIONS message every X (as set) seconds.
Set qualify_frequency in the aor section; This triggers an OPTIONS message every X (as set) seconds.
An example of the aor section follows:
[aaisptrunk]
type = aor
contact = sip:+442082881111@voiceless.aa.net.uk
qualify_frequency=20


==Note: Asterisk and IPv6 SLAAC addresses==
==Note: Asterisk and IPv6 SLAAC addresses==