Answer Call Script with Call termination at far end.


//BOARD SETTINGS...

set rx interface terminate #*;
set signaling mode cas #*;
set crc4 on#*;
set tx clock source internal #*;
set outward driver loopback off #*;
set inward driver loopback off #*;

// Send idle signal
go 1,0,0,1 #1:1;
// Check for line sieze.
waitfor sigbits 0,0,0,1 #1:1 response 50 msec;
// Send line seize acknowledge.
go 1,1,0,1 #1:1;
wait 150 msec;

// Start sending MFC-R2 backward digits.
tx mfr2b digits("5", -10, 50, 50) #1:1;
wait 150 msec;
tx mfr2b digits("5", -10, 50, 50) #1:1;
wait 150 msec;
tx mfr2b digits("5", -10, 50, 50) #1:1;
wait 150 msec;
tx mfr2b digits("5", -10, 50, 50) #1:1;
wait 150 msec;
tx mfr2b digits("5", -10, 50, 50) #1:1;
wait 150 msec;
tx mfr2b digits("5", -10, 50, 50) #1:1;
wait 150 msec;
tx mfr2b digits("5", -10, 50, 50) #1:1;
wait 150 msec;
tx mfr2b digits("5", -10, 50, 50) #1:1;
wait 150 msec;
tx mfr2b digits("1", -10, 50, 50) #1:1;
wait 150 msec;
tx mfr2b digits("1", -10, 50, 50) #1:1;
wait 150 msec;
tx mfr2b digits("1", -10, 50, 50) #1:1;
wait 150 msec;
tx mfr2b digits("1", -10, 50, 50) #1:1;
wait 150 msec;
tx mfr2b digits("1", -10, 50, 50) #1:1;
wait 150 msec;
tx mfr2b digits("1", -10, 50, 50) #1:1;
wait 150 msec;
tx mfr2b digits("3", -10, 50, 50) #1:1;
wait 150 msec;
tx mfr2b digits("6", -10, 50, 50) #1:1;
wait 150 msec;

// Send answer signal.
go 0,1,0,1 #1:1;

tx server file "C:\Program Files\Gl Communications Inc\Dual Pci Ultra E1 Analyzer\A-Law samples\Testref1.pcm" #1:1 10 sec;

// Wait for termination at far end.
waitfor sigbits 1,0,0,1 #1:1 response 50 msec;
// Send idle signal to terminate the call
go 1,0,0,1 #1:1;


Script with Call termination at near end.


//BOARD SETTINGS...
set rx interface terminate #*;
set signaling mode cas #*;
set crc4 on#*;
set tx clock source internal #*;
set outward driver loopback off #*;
set inward driver loopback off #*;

// Send idle code.
go 1,0,0,1 #1:1;
// Check for line sieze.
waitfor sigbits 0,0,0,1 #1:1 response 50 msec;
// Send line seize acknowledge.
go 1,1,0,1 #1:1;
wait 150 msec;

// Start sending MFC-R2 backward digits.
tx mfr2b digits("5", -10, 50, 50) #1:1;
wait 150 msec;
tx mfr2b digits("5", -10, 50, 50) #1:1;
wait 150 msec;
tx mfr2b digits("5", -10, 50, 50) #1:1;
wait 150 msec;
tx mfr2b digits("5", -10, 50, 50) #1:1;
wait 150 msec;
tx mfr2b digits("5", -10, 50, 50) #1:1;
wait 150 msec;
tx mfr2b digits("5", -10, 50, 50) #1:1;
wait 150 msec;
tx mfr2b digits("5", -10, 50, 50) #1:1;
wait 150 msec;
tx mfr2b digits("5", -10, 50, 50) #1:1;
wait 150 msec;
tx mfr2b digits("1", -10, 50, 50) #1:1;
wait 150 msec;
tx mfr2b digits("1", -10, 50, 50) #1:1;
wait 150 msec;
tx mfr2b digits("1", -10, 50, 50) #1:1;
wait 150 msec;
tx mfr2b digits("1", -10, 50, 50) #1:1;
wait 150 msec;
tx mfr2b digits("1", -10, 50, 50) #1:1;
wait 150 msec;
tx mfr2b digits("1", -10, 50, 50) #1:1;
wait 150 msec;
tx mfr2b digits("3", -10, 50, 50) #1:1;
wait 150 msec;
tx mfr2b digits("6", -10, 50, 50) #1:1;
wait 150 msec;

// Send answer signal.
go 0,1,0,1 #1:1;

tx server file "C:\Program Files\Gl Communications Inc\Dual Pci Ultra E1 Analyzer\A-Law samples\Testref1.pcm" #1:1 10 sec;

wait 1000 msec;
// Send clear back signal.
go 1,1,0,1 #1:1;
// Wait for idle code from far end.
waitfor sigbits 1,0,0,1 response 50 msec;
// Send idle code.
go 1,0,0,1 #1:1;