IAXRPT is a specialized Windows "soft phone" program which allows users to connect from their PC's to an AllStarLink node. Setting up IAXRPT access is similar to setting up dial-in access, but a different command line switch is used in extensions.conf, and user authorization is done in iax.conf.
|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.|
- SSH into your node and modify /etc/asterisk/iax.conf.
- 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:
[iaxrpt] type=user context=radio-gui auth=md5 secret=CHANGEMEPLEASE ; *** Important! Change this!!! host=dynamic disallow=all allow=ulaw allow=gsm transfer=no
Add a context stanza to /etc/asterisk/extensions.conf to transfer control to app_rpt:
[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.
After installing, you will use the username iaxrpt and the password you specified above.