| Line 6: |
Line 6: |
| | ==Node Configuration== | | ==Node Configuration== |
| | ===iax.conf=== | | ===iax.conf=== |
| | + | '''''Note:''''' Replace the items between < and > with the information indicated. (e.g., If your name was '''Jim''' with node '''2000''' you would replace '''''[<NAME>]''''' with '''''[JIM]''''' and '''''<NODE#>''''' with '''''2000'''''). |
| | :Edit your '''/etc/asterisk/iax.conf''' file adding the following: | | :Edit your '''/etc/asterisk/iax.conf''' file adding the following: |
| | | | |
| − | ['''USERNAME'''] ; This stanza will be the same as your username from Zoiper
| + | <syntaxhighlight lang="ini">[<USERNAME>] ; This stanza will be the same as your username from Zoiper |
| − | type=friend
| + | type=friend |
| − | context=sip-phone
| + | context=sip-phone |
| − | username='''USERNAME''' ; Same as stanza above
| + | username=<USERNAME> ; Same as stanza name above |
| − | auth=md5
| + | auth=md5 |
| − | secret='''PASSWORD''' ; Change to match the password you entered into Zoiper for the account
| + | secret=<PASSWORD> ; Change to match the password you entered into Zoiper for the account |
| − | codecpriority=host
| + | codecpriority=host |
| − | host=dynamic
| + | host=dynamic |
| − | disallow=all
| + | disallow=all |
| − | allow=ulaw
| + | allow=ulaw |
| − | allow=alaw
| + | allow=alaw |
| − | transfer=no
| + | transfer=no |
| − | callerid='''CALLSIGN''' ; Change to your callsign
| + | callerid=<CALLSIGN> ; Change to your callsign</syntaxhighlight> |
| | | | |
| | ===extensions.conf=== | | ===extensions.conf=== |
| | :Edit your '''/etc/asterisk/extensions.conf''' file adding the following: | | :Edit your '''/etc/asterisk/extensions.conf''' file adding the following: |
| | | | |
| − | [iax-phone]
| + | <syntaxhighlight lang="ini">[iax-phone] |
| − | exten => '''NODE#''',1,Answer() ; Change NODE# to either match your node number of a number to connect to your node
| + | exten => <NODE#>,1,Answer() ; Change NODE# to either match your node number of a number to connect to your node |
| − | exten => '''NODE#''',n,Set(CALLERID(name)="'''YOUR CALLSIGN'''")
| + | exten => <NODE#>,n,Set(CALLERID(name)="'''YOUR CALLSIGN'''") |
| − | exten => '''NODE#''',n,Playback(rpt/connected)
| + | exten => <NODE#>,n,Playback(rpt/connected) |
| − | exten => '''NODE#''',n,PLayback(rpt/node)
| + | exten => <NODE#>,n,PLayback(rpt/node) |
| − | exten => '''NODE#''',n,Saydigits(${EXTEN})
| + | exten => <NODE#>,n,Saydigits(${EXTEN}) |
| − | exten => '''NODE#''',n,Rpt(${EXTEN}|P|${CALLERID(name)})
| + | exten => <NODE#>,n,Rpt(${EXTEN}|P|${CALLERID(name)})</syntaxhighlight> |
| | | | |
| | ==Zopier== | | ==Zopier== |