diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-11-15 14:20:14 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-11-15 20:06:50 +0100 |
commit | e9f7a0d3b96cb8f2d35ce96fb9172757339813f7 (patch) | |
tree | 6e1dbf095d721be4b1b42758fbb51978ce03ff70 /openbsc/contrib | |
parent | b4e72f881cb307f52678bdb2535691ab7d12e49a (diff) |
bsc: Add wild scripts to do dial testing with a Motorola A1200
Diffstat (limited to 'openbsc/contrib')
-rw-r--r-- | openbsc/contrib/bsc-test/README | 1 | ||||
-rw-r--r-- | openbsc/contrib/bsc-test/all_dial | 8 | ||||
-rwxr-xr-x | openbsc/contrib/bsc-test/dial.sh | 11 | ||||
-rw-r--r-- | openbsc/contrib/bsc-test/hangup | 4 |
4 files changed, 24 insertions, 0 deletions
diff --git a/openbsc/contrib/bsc-test/README b/openbsc/contrib/bsc-test/README new file mode 100644 index 000000000..adb222e21 --- /dev/null +++ b/openbsc/contrib/bsc-test/README @@ -0,0 +1 @@ +Some crazy scripts call testing... and MSC link failure simulation diff --git a/openbsc/contrib/bsc-test/all_dial b/openbsc/contrib/bsc-test/all_dial new file mode 100644 index 000000000..96e5f00b3 --- /dev/null +++ b/openbsc/contrib/bsc-test/all_dial @@ -0,0 +1,8 @@ +ABORT BUSY +ABORT 'NO CARRIER' +ABORT 'OK' + +'' AT +SAY "Dialing a number\n" +'OK' ATD05660066; + diff --git a/openbsc/contrib/bsc-test/dial.sh b/openbsc/contrib/bsc-test/dial.sh new file mode 100755 index 000000000..e5e19f63e --- /dev/null +++ b/openbsc/contrib/bsc-test/dial.sh @@ -0,0 +1,11 @@ +#!/bin/sh +# Evil dial script.. + +while true; +do + chat -v -f all_dial < /dev/ttyACM0 > /dev/ttyACM0 + sleep 5s + chat -v -f hangup < /dev/ttyACM0 > /dev/ttyACM0 + sleep 2s +done + diff --git a/openbsc/contrib/bsc-test/hangup b/openbsc/contrib/bsc-test/hangup new file mode 100644 index 000000000..cad6870fd --- /dev/null +++ b/openbsc/contrib/bsc-test/hangup @@ -0,0 +1,4 @@ +TIMEOUT 10 +'' ^Z +SAY "Waiting for hangup confirm\n" +'' ATH; |