VoIP Phones - Asterisk: Difference between revisions
Appearance
Content deleted Content added
| 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. |
|||
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== |
||