VoIP Phones - Asterisk: Difference between revisions
Appearance
Content deleted Content added
SimonArlott (talk | contribs) Swap type=user and type=peer |
SimonArlott (talk | contribs) No edit summary |
||
| Line 7: | Line 7: | ||
= Configuration = |
= Configuration = |
||
== Incoming Calls == |
== Incoming Calls == |
||
=== |
=== 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= |
*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 |
||
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 |
||
defaultuser=aaisp-phone-number |
|||
remotesecret=aaisp-outgoing-password |
remotesecret=aaisp-outgoing-password |
||
</syntaxhighlight> |
</syntaxhighlight> |
||