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

Swap type=user and type=peer
No edit summary
(Swap type=user and type=peer)
(One intermediate revision by the same user not shown)
<syntaxhighlight>
[aaisp-incoming-username]
type=peeruser
context=aaisp-incoming-context
secret=aaisp-incoming-password
trustrpid=yes
</syntaxhighlight>
*We send Remote-Party-Id with the privacy and screen settings, setting trustrpid=yes in the incoming SIP config will allow asteriskAsterisk to pass withheld/unknown on.
 
=== Authentication ===
*Voiceless must authenticatedauthenticate so that calls are recognised as the above peer section.
*You need to use the '''match_auth_username=yes''' setting otherwise Asterisk will not recognise Voiceless' initial requests.
 
match_auth_username=yes
</syntaxhighlight>
*We initially send an Authorization header with only a username, allowing Asterisk to identify Voiceless by username instead of by IP. By default Asterisk ignores the username when identifying peers.
 
 
<syntaxhighlight>
[aaisp-outgoing-account]
type=userpeer
host=voiceless.aa.net.uk
defaultip=81.187.30.111
42

edits