Hams Over IP IAX trunk notes for Asterisk

Here are some notes for getting an IAX2 trunk going on Hams Over IP. There were no surprises getting outbound calling to work, but inbound was a different story. I hope this helps you. Give me a call on HOIP 101135



-------iax.conf

register => get from HOIP

; HH inbound calls are sent from HH to radio context
[radio]
type=user
disallow=all
allow=ulaw
allow=gsm
codecpriority=host
context=hoip-inbound
transfer=no

[hoip]
type=friend
username=NODENUMBER
secret=SECRET
context=hoip-inbound
qualify=yes
qualifyfreq=60
host= get from HOIP
dtmfmode=rfc2833
disallow=all
allow=ulaw
insecure=port,invite
requirecalltoken=no
permit=0.0.0.0/0.0.0.0
transfer=no
trunk=yes
callerid=HOIP <1234>


-------Extensions.conf

[hoip-inbound]
; HOIP inbound - calls are sent from HH using radio context, ext s
; radio stanza in iax.conf changes context to hh-inbound. Choose either of the two
; examples below for call routing, either the inbound test message or ring SIP extension.
;
; optional, send call to your ext instead of s
;exten => s,1,Noop(Fixing DID to 1234)
;exten => s,n,Goto(1234,1)

; example inbound test message
exten => s,1,Answer
exten => s,n,Wait(1)
exten => s,n,Playback(weasels-eaten-phonesys)
exten => s,n,Playback(goodbye)
exten => s,n,Hangup

; example inbound call route - ring SIP phone ext 400
exten => s,1,Dial(SIP/400,15)
exten => s,n,Hangup


[hoip-outbound]
exten => _*9X.,1,Set(CALLERID(num)="1234")          ; Dial *9 + HOIP extension
same => n,Progress()
same => n,Set(CALLERID(name)="Hams over IP")
same => n,Dial(IAX2/hoip/${EXTEN:2})
same => n,Hangup()













Back to the Main Page





This site requires a frames-compatible browser for proper page viewing. If you're having trouble viewing this page, or want to visit the non-frames page, click here


Last Updatee May 24, 2026
©1997-2026 Kyle Yoksh