iaxRpt Example Asterisk Server Configuration Contexts
To support incoming iaxRpt connections, the following contexts must be entered in the Asterisk dialplan.
For XIPAR installations these contexts can be found in /etc/asterisk/iax_rpt_custom.conf and /etc/asterisk/extensions_rpt_custom.conf. If you properly answered the questions about iaxRpt at install time, everything is ready to go and you can probably disregard this information.
For manual configuration of non-XIPAR installations, include a context like this in /etc/asterisk/iax.conf for incoming IAX2 calls from iaxRpt clients.
[gui]
type=user
context=radio-gui
auth=md5
secret=whatever
host=dynamic
disallow=all
allow=gsm
notransfer=yes
Include a context like this in extensions.conf to route incoming IAX2 calls from iaxRpt clients. Substitute NODENUMBER with your actual node number.
[radio-gui]
exten => NODENUMBER,1,rpt(NODENUMBER|X)