IAX not supported. SIP only. Taken from https://www.link2voip.com/login/help.php
[link2voip-sw1]
context=from-trunk ; change me
type=friend
host=sip.ca1.link2voip.com
username=usernamehere
secret=passwordhere
canreinvite=no ; if using a nat, do not change
insecure=port,invite ; do NOT remove this
qualify=5000 ; do NOT remove this
dtmfmode=auto
nat=no ; do NOT remove/change this
disallow=all
;allow=g729 ;uncomment if you have purchased a g729 license or can do passthru
allow=ulaw
[link2voip-sw2]
context=from-trunk ; change me
type=friend
host=sip.ca2.link2voip.com
username=usernamehere
secret=passwordhere
canreinvite=no ; if using a nat, do not change
insecure=port,invite ; do NOT remove this
qualify=5000 ; do NOT remove this
dtmfmode=auto
nat=no ; do NOT remove/change this
disallow=all
;allow=g729 ;uncomment if you have purchased a g729 license or can do passthru
allow=ulaw
(registration)
username:[email protected]
username:[email protected]