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
Drsox (talk | contribs)
Drsox (talk | contribs)
Line 18: Line 18:


==PJSIP: Trunk registration==
==PJSIP: Trunk registration==
Here is an example of a working pjsip.conf setup where Asterisk will register with A&A to receive calls.
Here is an example of a working pjsip.conf setup where Asterisk will register with A&A to receive calls.<br />
It is recommended you read the "PJSIP: NAT Issues: Keep-Alive / Anti-Idle" section below as you may wish to comment out or drastically increase the qualify_frequency line(s) if your Asterisk is not behind NAT.


In pjsip.conf:
In pjsip.conf:
Line 42: Line 43:
type = aor
type = aor
contact = sip:+442082881111@voiceless.aa.net.uk
contact = sip:+442082881111@voiceless.aa.net.uk
qualify_frequency=20

[aaisptrunk_servera]
type = aor
contact = sip:+442082881111@a.voiceless.aa.net.uk
qualify_frequency=20

[aaisptrunk_serverb]
type = aor
contact = sip:+442082881111@b.voiceless.aa.net.uk
qualify_frequency=20
qualify_frequency=20
Line 58: Line 69:
direct_media = no
direct_media = no
rtp_symmetric = yes
rtp_symmetric = yes
aors = aaisptrunk
aors = aaisptrunk,aaisptrunk_servera,aaisptrunk_serverb
outbound_auth=auth_reg_442082881111
outbound_auth=auth_reg_442082881111