bsc: Add wild scripts to do dial testing with a Motorola A1200

neels/jolly/new_handover
Holger Hans Peter Freyther 12 years ago
parent b4e72f881c
commit e9f7a0d3b9
  1. 1
      openbsc/contrib/bsc-test/README
  2. 8
      openbsc/contrib/bsc-test/all_dial
  3. 11
      openbsc/contrib/bsc-test/dial.sh
  4. 4
      openbsc/contrib/bsc-test/hangup

@ -0,0 +1 @@
Some crazy scripts call testing... and MSC link failure simulation

@ -0,0 +1,8 @@
ABORT BUSY
ABORT 'NO CARRIER'
ABORT 'OK'
'' AT
SAY "Dialing a number\n"
'OK' ATD05660066;

@ -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

@ -0,0 +1,4 @@
TIMEOUT 10
'' ^Z
SAY "Waiting for hangup confirm\n"
'' ATH;
Loading…
Cancel
Save