From 53894e5aa1e733a0321a69bd1b12bd794586b4ab Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Tue, 17 Jun 2008 17:49:05 +0000 Subject: Move the xpp utilities to the tools side. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4374 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- xpp/xpp_blink | 168 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 168 insertions(+) create mode 100755 xpp/xpp_blink (limited to 'xpp/xpp_blink') diff --git a/xpp/xpp_blink b/xpp/xpp_blink new file mode 100755 index 0000000..7d0d845 --- /dev/null +++ b/xpp/xpp_blink @@ -0,0 +1,168 @@ +#! /usr/bin/perl -w +# +# Written by Oron Peled +# Copyright (C) 2007, Xorcom +# This program is free software; you can redistribute and/or +# modify it under the same terms as Perl itself. +# +# $Id$ +# +use strict; +use File::Basename; +BEGIN { my $dir = dirname($0); unshift(@INC, "$dir", "$dir/zconf"); } + +use Zaptel; +use Zaptel::Span; +use Zaptel::Xpp; +use Zaptel::Xpp::Xbus; + +sub usage { + die "Usage: $0 {on|off|bzzt} {span | chan | xpd [] | label