diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2009-09-27 11:45:18 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2009-09-27 11:45:18 +0000 |
commit | d3313d948cb9f677717767311888a7289f100d3e (patch) | |
tree | 5ad88d0e5e2cfbecc52513852ec3992aa78c88aa /xpp/twinstar | |
parent | 1514a5a751f3fd2a6c124125bfdccfba73fed912 (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
Diffstat (limited to 'xpp/twinstar')
-rwxr-xr-x | xpp/twinstar | 5 |
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 $@; } } |