(Page 1 of 1 in this chapter)
brd2brd [options]
ClockRef is set to OSC) and the other is
configured to act as a bus clock slave (in its AG configuration file,
ClockRef is set to MVIP).
[PPX]
Fabric
Bus H100
CTBUS:0..15:0..31
CTBUS:16..23:0..63
CTBUS:24..31:0..127
End Bus
Switch 0 ## AG-8
SwitchType = FMIC
DeviceName = "agsw"
DeviceNumber = 0
Bus H100 (CTBUS:0..15:0..31)
Inputs
LOCAL:0..6(2):0..7
End Inputs
Outputs
LOCAL:1..7(2):0..7
End Outputs
End Switch
Switch 1 ## AG-8
SwitchType = FMIC
DeviceName = "agsw"
DeviceNumber = 1
Bus H100 (CTBUS:0..15:0..31)
Inputs
LOCAL:0..6(2):0..7
End Inputs
Outputs
LOCAL:1..7(2):0..7
End Outputs
End Switch
End Fabric
brd2brd -b 0 -s 4 -B 1 -S 2 -i lps0 -o wnk0This indicates the following usage:
Event: CTAEVN_OPEN_SERVICES_DONE, Finished
Event: CTAEVN_OPEN_SERVICES_DONE, Finished
Event: ADIEVN_STARTPROTOCOL_DONE, Finished
--------
Waiting for incoming call...brd2brd is now ready to receive a call.
Event: ADIEVN_INCOMING_CALL
Incoming Call...
Answering call...
Event: ADIEVN_ANSWERING_CALL
Event: ADIEVN_CALL_CONNECTED, AnsweredYou will hear a greeting and a prompt to provide an extension number.
Collecting digits to dial...
Event: ADIEVN_DIGIT_BEGIN, '3'
Event: ADIEVN_DIGIT_END
Event: ADIEVN_DIGIT_BEGIN, '3'
Event: ADIEVN_DIGIT_END
Event: ADIEVN_DIGIT_BEGIN, '1'
Event: ADIEVN_COLLECTION_DONE,
Finished digit string ='331' Got extension: 331
Playing file 'ctademo', msg #17...
Playing 1 messages from 'ctademo'...
Event: ADIEVN_DIGIT_END
Event: VCEEVN_PLAY_DONE, Finished, msec=2240
Placing a call to '331'...
Event: ADIEVN_PLACING_CALL
Event: ADIEVN_CALL_CONNECTED, Signal Connected.The program makes a duplex connection between the incoming and outgoing lines.
Hanging up...
Event: ADIEVN_CALL_RELEASED
Call done.
Hanging up...
Event: ADIEVN_CALL_RELEASED
Call done.
Event: ADIEVN_STOPPROTOCOL_DONE, Finished
Event: ADIEVN_STOPPROTOCOL_DONE, Finished
Event: ADIEVN_STARTPROTOCOL_DONE, Finished
--------
Waiting for incoming call...
callcntr [options]
ClockRef is set to OSC) and the
other is configured to act as a bus clock slave (in its AG
configuration file, ClockRef is set to MVIP).
[PPX]
Fabric
Bus H100
CTBUS:0..15:0..31
CTBUS:16..23:0..63
CTBUS:24..31:0..127
End Bus
Switch 0 ## AG-8
SwitchType = FMIC
DeviceName = "agsw"
DeviceNumber = 0
Bus H100 (CTBUS:0..15:0..31)
Inputs
LOCAL:0..6(2):0..7
End Inputs
Outputs
LOCAL:1..7(2):0..7
End Outputs
End Switch
Switch 1 ## AG-8
SwitchType = FMIC
DeviceName = "agsw"
DeviceNumber = 1
Bus H100 (CTBUS:0..15:0..31)
Inputs
LOCAL:0..6(2):0..7
End Inputs
Outputs
LOCAL:1..7(2):0..7
End Outputs
End Switch
End Fabric
callcntr -b 1 -s 4,2 -B 0 -S 4 -i wnk0 -o lps0This indicates the following usage:
Event: CTAEVN_OPEN_SERVICES_DONE, Finished
Event: CTAEVN_OPEN_SERVICES_DONE, Finished
Event: CTAEVN_OPEN_SERVICES_DONE, Finished
Event: CTAEVN_OPEN_SERVICES_DONE, Finished
Event: ADIEVN_STARTPROTOCOL_DONE, Finished
Event: ADIEVN_STARTPROTOCOL_DONE, Finished
--------
Waiting for incoming call...
Event: ADIEVN_STARTPROTOCOL_DONE, Finished
--------
Waiting for incoming call...Two messages indicating that the program is waiting for an incoming call are displayed. Each of these messages represents a thread in the demonstration program that is waiting for calls to be received on the "customer" lines, and indicates that a message is continually being played on the "on hold" port:
Playing file 'ctademo', msg #17...
Playing 1 messages from 'ctademo'...
Event: VCEEVN_PLAY_DONE, Finished ,
msec=2240callcntr is ready to receive an incoming call.
Event: ADIEVN_INCOMING_CALL
Incoming Call...Answering call...
Event: ADIEVN_ANSWERING_CALL
Event: ADIEVN_CALL_CONNECTED, AnsweredAnd then:
--------
Placing a call to '331'...
Event: ADIEVN_PLACING_CALL
Event: ADIEVN_CALL_CONNECTED, Voice Begin Connected.callcntr makes a duplex connection between the "customer" line and the "operator" line.
Event: ADIEVN_INCOMING_CALL
Incoming Call...
Answering call...
Event: ADIEVN_ANSWERING_CALL
Event: ADIEVN_CALL_CONNECTED, Answered
Call connected.
Hanging up...
Event: ADIEVN_CALL_RELEASED
Call done.
Event: ADIEVN_STOPPROTOCOL_DONE, Finishedcallcntr then displays the following message, which indicates that the customer protocol is being reestablished so that it can wait for the next call:
Event: ADIEVN_STARTPROTOCOL_DONE, FinishedAlmost immediately following this message, there will be a message indicating that a call is being placed to the operator:
Placing a call to '331'...
Event: ADIEVN_PLACING_CALLThe "operator" phone will ring.
Event: ADIEVN_CALL_CONNECTED, Voice Connected.
swish [-i] [filename]
-i specifies that the default initialization file, swish.ini, will be ignored.
exit command at the end, swish goes into interactive mode after executing the commands in the text file. Use the filename.swi naming convention for the input text file.
swish: is displayed. Type Help to get a list of commands and arguments that swish supports. You may also enter the name of a command without any arguments to get more information about the command.
|
Use this prefix...
|
To indicate...
|
|---|---|
|
ppx
|
Point-to-Point Switching service commands
|
|
swi
|
Switching service commands.
|
|
drv
|
MVIP-90 driver commands.
|
|
d95
|
MVIP-95 driver commands.
|
[PPX]
Fabric
Bus H100
CTBUS:0..15:0..31
CTBUS:16..23:0..63
CTBUS:24..31:0..127
End Bus
Switch 0 ## AG-8
SwitchType = FMIC
DeviceName = "agsw"
DeviceNumber = 0
Bus H100 (CTBUS:0..15:0..31)
Inputs
LOCAL:0..6(2):0..7
End Inputs
Outputs
LOCAL:1..7(2):0..7
End Outputs
End Switch
End Fabric
# This SWISH script connects the Line-interfaces on an AG-8 board as listeners on a connection block to a DSP resource on the AG-8 board which is playing a hold message (the talker).
# Create the connection block.
ppx.CreateConnection hd0 = "" 0
# Set the talker
ppx.SetTalker hd0 0:LOCAL:4:0
# Add the listeners - add the 8 incoming lines
ppx.AddListeners hd0 0:LOCAL:0:0..7
# A new message can be played to all the listeners by simply setting a
# new talker to the connection. The previous talker is disconnected.
ppx.SetTalker hd0 0:LOCAL:4:1
# Close the connection
ppx.CloseConnection hd0
quit
showcx95 [switch_driver]
showcx95 agsw
[PPX]
Fabric
Bus H100
CTBUS:0..15:0..31
CTBUS:16..23:0..63
CTBUS:24..31:0..127
End Bus
Switch 0 ## AG-8
SwitchType = FMIC
DeviceName = "agsw"
DeviceNumber = 0
Bus H100 (CTBUS:0..15:0..31)
Inputs
LOCAL:0..6(2):0..7
End Inputs
Outputs
LOCAL:1..7(2):0..7
End Outputs
End Switch
Switch 2 ## Quad T
SwitchType = HMIC
DeviceName = "agsw"
DeviceNumber = 2
Bus H100 ()
Inputs
LOCAL:0..14(2):0..23 # Trunk
LOCAL:16..18(2):0..127 # DSP
End Inputs
Outputs
LOCAL:1..15(2):0..23 # Trunk
LOCAL:17..19(2):0..127 # DSP
End Outputs
End Switch
End Fabric
ppx.Connect 0:local:0:0 to 2:local:17:0 SIMPLEX ppx.Connect 0:local:0:2 to 2:local:17:2 DUPLEX ppx.Connect 0:local:0:4 to 2:local:17:4 QUAD
SHOWCX95 Version 1.1 Jan 15 1998
AGSW 0 M-14:02 <- L-00:00 M-14:04 <- L-00:02 M-14:06 <- L-00:04 M-14:07 <- L-02:04 L-01:00 <- 0x7f L-01:02 <- M-15:00 L-01:04 <- M-15:01 L-01:06 <- 0x7f L-03:00 <- 0x00 L-03:02 <- 0x00 L-03:04 <- M-15:02 AGSW 2 M-15:00 <- L-16:02 M-15:01 <- L-16:04 M-15:02 <- L-18:04 L-01:00..23 <- 0x7f
L-15:00..23 <- 0x00 L-17:00 <- M-14:02 L-17:01 <- 0x7f L-17:02 <- M-14:04 L-17:03 <- 0x7f L-17:04 <- M-14:06 L-17:05..127 <- 0x7f L-19:00..03 <- 0x00 L-19:04 <- M-14:07 L-19:05..127 <- 0x00
M indicates MVIP bus and L indicates local bus. The showcx95 output shows three types of connections:
L-01:02 <- 0x7f
L-05:00..03 <- L-00:00..04
M{00/01}:00 <-> L{01/00}:00
-install | -remove ] [options]
-install Registers the service.
(Page 1 of 1 in this chapter)