This is a 'why doesn't continue_on_fail' continue question. session:setVariable("continue_on_fail", "true"); session:setVariable("ignore_early_media", "true"); session:setVariable("hangup_after_bridge", "true"); # Try some local registered extensions session:execute("bridge", "[leg_timeout=28]loopback/202/default/XML"); # Ok, this works, we get here only when nobody picks up. # Use the dial plan leading to a bridge sofia/internal/xxx@voip2pstn1|sofia/internal/xxx@voip2pstn session:execute("bridge", "[leg_timeout=30][accountcode=4499090]sofia/internal/5551212@${domain}"); # If fails for any reason (all outgoing voip->pstn lines are busy or if voip2pstn device is dead/busy) continue here. # Problem is -- We never get here if the above fails. # The reason is 'NORMAL_TEMPORARY_FAILURE' but it just hangs up the calling extension. session:execute("bridge", "[leg_timeout=136]loopback/*99008"); #should leave voicemail, never gets called. What am I doing wrong? Harry