summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-09-27 11:45:18 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-09-27 11:45:18 +0000
commitd3313d948cb9f677717767311888a7289f100d3e (patch)
tree5ad88d0e5e2cfbecc52513852ec3992aa78c88aa
parent1514a5a751f3fd2a6c124125bfdccfba73fed912 (diff)
xpp: twinstar - improve jump robustness
If one AB fails in jump, we should continue to iterate and try to jump the others, so we are not leaving some orphan AB's on the server which we try to evacuate. xpp rev: 7273 git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7218 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rwxr-xr-xxpp/twinstar5
1 files changed, 4 insertions, 1 deletions
diff --git a/xpp/twinstar b/xpp/twinstar
index b5e43ff..fc37a1f 100755
--- a/xpp/twinstar
+++ b/xpp/twinstar
@@ -128,7 +128,10 @@ sub tws_jump(@) {
printf STDERR "%s: no MPP information\n", $dev->hardware_name;
next;
}
- $mppinfo->mpp_jump;
+ eval {
+ $mppinfo->mpp_jump;
+ };
+ warn $@ if $@;
}
}