Here are some notes for getting an IAX2 trunk going on Hamshack Hotline. There were no surprises getting outbound calling to work, but inbound was
a different story. Don't expect any help from HH support. I hope this helps you. Give me a call on HH 12441
-------iax.conf
register => NODENUMBER:[email protected]
; HH inbound calls are sent from HH to radio context
[radio]
type=user
disallow=all
allow=ulaw
allow=gsm
codecpriority=host
context=hh-inbound
transfer=no
[hamhotline]
type=friend
username=NODENUMBER
secret=SECRET
context=hh-inbound
qualify=yes
qualifyfreq=60
host=hhus.wizworks.net
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=Hamshack Hotline <1234>
-------Extensions.conf
[hh-inbound]
; Hamshack Hotline 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
[hh-outbound]
exten => *43,1,Dial(IAX2/hamhotline/${EXTEN})
same => n,Hangup()
exten => 611,1,Dial(IAX2/hamhotline/${EXTEN})
same => n,Hangup()
; 5 Digit extensions
exten => _ZXXXX,1,Dial(IAX2/hamhotline/${EXTEN})
same => n,Hangup()
exten => _ZXXX,1,Dial(IAX2/hamhotline/${EXTEN})
same => n,Hangup()
exten => _3XX,1,Dial(IAX2/hamhotline/${EXTEN})
same => n,Hangup()
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