(Page 1 of 1 in this chapter) Version


Appendix B

Line Interface Signaling


Introduction
Local Phone Interface Signaling
Local Phone Transmit Signaling
Local Phone Receive Signaling
Monitoring and Controlling Signals
Monitoring the Receive Signals
Controlling the Transmit Signals

Introduction

This appendix describes how to interpret signaling from a line interface, and how to control an interface by sending signaling bits to it.

There are two signaling directions (shown in Figure 27):

The line interfaces on the board convert the signaling into the line condition appropriate for the line type (e.g., loop start, etc.). They also convert incoming information into digital signals recognizable by CT Access applications.

Figure 27. Transmit and Receive Signaling


On the CX 1000 board, the following stream is used for line interface signaling:

Figure 28 and Figure 29 show the signaling in the context of the MVIP-90 and MVIP-95 switch model:

Figure 28. Signaling In MVIP-90 Switch Model




Figure 29. Signaling In MVIP-95 Switch Model


To monitor receive signals, or to set transmit signals for a line interface, your application can examine or change the data in the line interface signaling stream, in the timeslot associated with the interface.

Local Phone Interface Signaling

Figure 30 illustrates a signaling stream byte:

.

Figure 30. Bits in Signaling Byte

Local Phone Transmit Signaling

With local phone interfaces on boards that support the Ringing option, transmit signaling works as illustrated in this diagram:

Figure 31. local Transmit Signaling


The signaling bits are used as follows:

  • Bit D is reserved, and should be set to 0.

    
    
    Note that if you reset the switch, all bits are set to 0.

    Phone ringing is phased; that is, only one phone can begin ringing each 1/4 second. For example, if you direct two phones to ring, the first phone rings 1/4 second after you give the command; the second rings 1/2 second after the command.

    In addition, the CX 1000 board can only apply ringing voltage to 8 phones at any given time. If more than 8 phones are set to ring, the board delays the ringing of each extra phone until one of the first eight phones is not actually ringing (e.g. the phone is in the four-second "quiet" phase of its ring). If 24 phones are set to ring, some phones' rings may be delayed up to 6 seconds after the B bit is set for the phones.

  • Local Phone Receive Signaling

    If talk battery feed is enabled, the A-bit received in the signaling timeslot for a local phone interface indicates whether loop current is flowing or not (that is, whether the phone is off-hook or not). If the A-bit is 0, no loop current is flowing. If the A-bit is 1, current is flowing. Bits B, C and D are reserved, and should be ignored:

    Figure 32. Local Phone Receive Signaling

    
    Note:  The A-bit in this case is meaningless unless talk battery feed is enabled.
    

    Monitoring and Controlling Signals

    Monitoring the Receive Signals

    You can use the CT Access swiSampleInput function to sample the receive signal for a line or phone programmatically. Alternatively, you can use the swish swi.SampleInput command.

    For example, the following swish command samples the receive signal of the phone connected to the first line interface of device cx0:

    MVIP-90: swi.SampleInput cx0 17:0
    MVIP-95: swi.SampleInput cx0 local:2:0

    
    
    If the phone was on-hook, swish would return the following message, indicating that bit A in the Stream:Timeslot is 0:

    MVIP-90: 17:00=00
    MVIP-95: local: 2:00=00

    
    
    If the phone was off-hook, swish would return this message, indicating that bit A in the Stream:Timeslot is set:

    MVIP-90: 17:00=0f
    MVIP-95: local: 2:00=0f

    Controlling the Transmit Signals

    You can control the transmit bits in any of the following ways:



    (Page 1 of 1 in this chapter) Version


    tech_support@nmss.com
    Copyright © 1999, Natural MicroSystems, Inc. All rights reserved.