Difference between revisions of "Radioless Nodes"

From "PTTLink Wiki"
Jump to navigation Jump to search
m
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
[[Category:How to]]
 
[[Category:How to]]
IAXRPT is a specialized windows soft phone program which allows users to connect from their PC's to an Allstar node. Setting up IAXRPT access is similar to seting up dial-in access, but a different command line switch is used in extensions.conf, and user autheorization is done in iax.conf.
+
[[Category:Node Configuration]]
 +
Note: For information on using Zoiper with a Radioless Node see [[Zoiper]]
 +
 
 +
IAXRPT is a specialized windows soft phone program which allows users to connect from their PC's to an PTTLink node. Setting up IAXRPT access is similar to seting up dial-in access, but a different command line switch is used in extensions.conf, and user autheorization is done in iax.conf.
  
 
== Download ==
 
== Download ==
Line 12: Line 15:
 
=== Setup ===
 
=== Setup ===
 
First, a user stanza needs to added to iax.conf to allow incoming IAXRPT calls to be routed to a context in extensions.conf. A modified on the following stanza should be placed in iax.conf:
 
First, a user stanza needs to added to iax.conf to allow incoming IAXRPT calls to be routed to a context in extensions.conf. A modified on the following stanza should be placed in iax.conf:
[gui]
+
<syntaxhighlight lang="ini">[gui]
type=user           
+
type=user           
context=radio-gui   
+
context=radio-gui   
auth=md5               
+
auth=md5               
secret=nunya  ; *** Important! Change this!!!
+
secret=nunya  ; *** Important! Change this!!!
host=dynamic       
+
host=dynamic       
disallow=all
+
disallow=all
allow=ulaw   
+
allow=ulaw   
allow=gsm         
+
allow=gsm         
transfer=no
+
transfer=no</syntaxhighlight>
 
Second, a context stanza is added to extensions.conf to transfer control to the Rpt application:
 
Second, a context stanza is added to extensions.conf to transfer control to the Rpt application:
[radio-gui]                   
+
<syntaxhighlight lang="ini">[radio-gui]                   
exten = 1234,1,Rpt,1234|X    ; Change 1234 to your node number
+
exten = 1234,1,Rpt,1234|X    ; Change 1234 to your node number</syntaxhighlight>
 
The X option passed to the Rpt application disables the normal security checks. Because incoming connections are validated in iax.conf, and we don't know where the user will be coming from in advance, the X option is required.
 
The X option passed to the Rpt application disables the normal security checks. Because incoming connections are validated in iax.conf, and we don't know where the user will be coming from in advance, the X option is required.

Latest revision as of 05:24, 28 January 2022

Note: For information on using Zoiper with a Radioless Node see Zoiper

IAXRPT is a specialized windows soft phone program which allows users to connect from their PC's to an PTTLink node. Setting up IAXRPT access is similar to seting up dial-in access, but a different command line switch is used in extensions.conf, and user autheorization is done in iax.conf.

Download

Setup file for IAXRPT - This was at Xeletec, but their servers are offline as of 2019-04-04.

Security Issues

Incoming IAXRPT connections need to be authorized by making sure the incoming IAX user stanza is protected with a secret. This is the case because incoming IAX calls are not checked against a nodes stanza.

Setup

First, a user stanza needs to added to iax.conf to allow incoming IAXRPT calls to be routed to a context in extensions.conf. A modified on the following stanza should be placed in iax.conf:

[gui]
type=user          
context=radio-gui   
auth=md5              
secret=nunya  ; *** Important! Change this!!!
host=dynamic      
disallow=all
allow=ulaw  
allow=gsm        
transfer=no

Second, a context stanza is added to extensions.conf to transfer control to the Rpt application:

[radio-gui]                   
exten = 1234,1,Rpt,1234|X    ; Change 1234 to your node number

The X option passed to the Rpt application disables the normal security checks. Because incoming connections are validated in iax.conf, and we don't know where the user will be coming from in advance, the X option is required.