We are testing VitalPBX and we tried performing an inbound call. Somehow we manage to sucessfully perform an outbound call but failed any tentative to inbound communication. We followed all possible advice we have found on the internet but none seems to work. We contacted ThinkTel and wireshark they provided indicates that VitalPBX server is returning a 401 on an INVITE. What could we have configured wrong?
Some config in your trunk might be wrong. Sharing details of the configuration instructions given by the provider and your current trunk settings might help us understand the issue.
However, make sure to hide any sensitive information.
This is the generic information we have from ThinkTel for Asterisk based PBX
=================
[tor.trk.tprm.ca]
disallow=all
allow=ulaw
dtmfmode=rfc2833
fromdomain=tor.trk.tprm.ca
host=206.80.250.100
username=XXXYYYZZZZ # your SIP authentication number
secret=@@@@@@@@ # your SIP authentication password
nat=no # or nat=yes if behind NAT
insecure=invite,port
type=friend
context=from-trunk
SIP_NAT.conf file must contain these definitions if you are using NAT to ensure proper audio redirection:
internip=192.168.10.55 # use your PBX internal IP address
localnet=192.168.10.0/255.255.255.0 # use your internal subnet range
externip=207.69.25.120 # use your WAN external IP address
SIP.CONF must contain ‘srvlookup=yes’ in the General context
Here is our configuration in VitalPBX. Also the advanced tab and Configuration rules are empty.