when my internet go out the call goes not to voicemail. it should go to voicemail when the users@sipsorcery.com is not reacheable but I got with no internet and the voicemail does not activate. could you see if there is something wrong with the code mike ?
here the incoming call area
# ******************** i n c o m i n g C a l l *************************
def incomingCall
sys.SetFromHeader(formatNum(@cname || @cid,true), nil, Host) # Set FromName & FromHost for sys.Dial
# Forward call to the bindings (ATA / softphone)
# Change FromURI when forwarding to @local, or else Bria won't find contact in its phonebook!
WhiteList = [
'10311702',
'15920766',
'38240083',
'10319999',
'36420040',
'38130134',
'10312255',
'31221070',
]
if !((100..700) === @t.hour*100 + @t.min) or WhiteList.map {|n| to_ENUM(n)}.include?(@cid)
callswitch("#{@user}@local&177724xxxxx@in.callcentric.com[dt=20][fu=#{@cid}]",45)
else
callswitch("177724xxxxx@in.callcentric.com[fu=#{@cid}]",45)
end