I have an older version of Freepbx that I’d rather not discuss at the moment. It’s a small (2 phone, 2 DID) system that has been installed and running for a number of years with no problems and working exactly as needed. I use BulkVS as the provider.
A year ago I decided to downsize my IT setup to a Dynamic (dhcp) installation using DDNS. I consulted BulkVS and they told me that only one change was needed: adding an SRV record the the nameserver: _sip._udp SRV 5 0 5060 {domain.com} which we added and all worked well. EXCEPT that we never actually changed the IP address so this was a change with no effect. Flash forward to last week when the old ISP was out and the new is in. Everything works EXCEPT incoming calls return “all circuits busy” and the log file says “chan_sip.c fobidden”
BulkVS tech support has put in the effort but the results have not been productive.
Here is what was changed on their end: the IP trunk was deleted and replaced with a SIP Trunk that named “nnnnnn_domain” and a password "{password}
I guessed from the Internet to add this to the outbound trunk Peer details:
host=sip.bulkvs.com
type=friend
nat=yes
disallow=all
allow=ulaw
insecure=port,invite
context=from-trunk
dtmfmode=rfc2833
user=nnnnnn_{domain}
secret={password}
register=nnnnnnn_domain:{password}@sip.bulkvs.com/{did}
and then this in the Registration String:
nnnnnn_domain:{password}@sip.bulkvs.com with and without the /{did}
After this change, the BulkVS shows that the SIP trunk is registered …
now incoming calls show “chan_sip.c: Failed to authenticate device”
And this is as far as I can go by randomly banging on keys in the hopes of stumbling on a solution, so I’m asking for help.
- The entire setup worked fine under the Static IP
- Outgoing calls, intercom, messages, etc all work fine - just outgoing calls.
What did I miss?