VoIP Phones - Asterisk: Difference between revisions

No edit summary
Localnet should of course be set to whatever RFC1918 range you are using on your LAN.
 
 
==Define a proxy==
Defining us as a SIP proxy for outbound calls:
<syntaxhighlight>
[voiceless]
type=peer ; Only for outbound calls
remotesecret=password ; password
defaultuser=+44123456789 ; Auth username
fromdomain=Asterisk ; Might be good to put your hostname here.
host=voiceless.aa.net.uk
transport=udp
disallow=all
allow=alaw
</syntaxhighlight>
 
==Dialplan==