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
Swap type=user and type=peer
No edit summary
Line 7: Line 7:
= Configuration =
= Configuration =
== Incoming Calls ==
== Incoming Calls ==
=== Peer Section ===
=== User Section ===
*Accept authenticated calls and route them to a context.
*Accept authenticated calls and route them to a context.
sip.conf:
sip.conf:
Line 20: Line 20:
trustrpid=yes
trustrpid=yes
</syntaxhighlight>
</syntaxhighlight>
*We send Remote-Party-Id with the privacy and screen settings, setting trustrpid=yes in the incoming SIP config will allow Asterisk to pass withheld/unknown on.
*We send Remote-Party-Id with the privacy and screen settings, setting '''trustrpid=yes''' in the incoming SIP config will allow Asterisk to pass withheld/unknown on.


=== Authentication ===
=== Authentication ===
Line 35: Line 35:


== Outgoing Calls ==
== Outgoing Calls ==
*Either use a separate '''type=user''' section or combine incoming and outgoing in one '''type=friend''' section
*Either use a separate '''type=peer''' section or combine incoming and outgoing in one '''type=friend''' section


=== Separate Section ===
=== Separate Section ===
Line 44: Line 44:
host=voiceless.aa.net.uk
host=voiceless.aa.net.uk
defaultip=81.187.30.111
defaultip=81.187.30.111
username=aaisp-phone-number
defaultuser=aaisp-phone-number
remotesecret=aaisp-outgoing-password
remotesecret=aaisp-outgoing-password
transport=udp
transport=udp
Line 66: Line 66:
host=voiceless.aa.net.uk
host=voiceless.aa.net.uk
defaultip=81.187.30.111
defaultip=81.187.30.111
username=aaisp-phone-number
defaultuser=aaisp-phone-number
remotesecret=aaisp-outgoing-password
remotesecret=aaisp-outgoing-password
</syntaxhighlight>
</syntaxhighlight>