As far as set up goes here's what I did:
1. On the callcentric web panel go to call treatments and set up a new rule that's one destination to voicemail (in other words always forward incoming calls to my callcentric number to voicemail),
2. My sipsorcery incoming dial plan then looks like this
Code: Select all
if req.URI.User == "someprovider.me"
sys.Log("Incoming call on the main line.")
sys.Dial("me@local", 10)
sys.Dial("1777227xxxx@in.callcentric.com")
else
sys.Log("Incoming call being processed by defaultin.")
sys.Dial("me@local")
end