Home

mm [mm [1 um um [11115151116 |])|]1]

image

Contents

1. 30 40 45 50 55 60 65 6 FIG 5 illustrates the flow of events from the ISDN network to the phone and then to the application The application chooses events to be received by setting the corresponding bit in the SEM command parameter For example assume the application is only interested in receiv ing the following ISDN call status events Display Data Call Substate Calling Party Number From the DCC command mode the application issues an AT U command to switch to the CDLAPI command processor Next the application issues the SEM command with the bits corresponding to the display data call substate and calling party number set logical 1 and the remainder of the bits reset logical 0 In this case the telephone and DCC will still receive all the ISDN call status events but the DCC will automatically send only a subset of the events to the application It should be understood that the state of any event can be reported to the application program by way of a specific request The SEM command only determines which events are automatically spontaneously reported upon occurrence l A number of event masks can be provided so that each application can execute its own SEM command In such an embodiment each event mask would also include a field of information identifying the specific application to which it pertains When an ISDN call status event occurs the micro processor can scan the table and send a repor
2. CALLING NUMBER APPLICA PHONE CALL SUBSTATE TION DISPLAY DATA 5 581 608 1 METHOD AND APPARATUS FOR MASKING THE REPORTING OF NETWORK TELEPHONY EVENTS TO A COMPUTER CROSS REFERENCE TO RELATED APPLICATION This is a continuation of Ser No 07 936 963 filed Aug 28 1992 now abandoned BACKGROUND OF THE INVENTION A Field of the Invention This invention relates to a telephone control interface system for use with digital telephones that are coupled to programmable computer control B Related Art A computer controllable telephone typically includes at least two ports a telephone line interface for connection with a telephone network and a data communication inter face for communication with a computer For example a telephone such as the ROLMphone R 244PC includes a telephony port for providing connection to a private branch exchange PBX and an asynchronous data communication port for providing connection to a computer The computer communicates with the phone via the data communication port in a manner similar to that in which it would commu nicate with a modem Applications executing on the com puter can control the phone accessing the various PBX telephony features by way of a command set A typical application would be for example an auto dialer An increasingly popular network architecture is the inte grated services digital network ISDN This network pro vides many features including enhance
3. type which is installable by the user A more detailed view of the data communications con troller 122 is illustrated in FIG 2 The DCC 122 includes two microprocessors 202 204 each of which includes an internal UART Universal Asynchronous Receiver Trans mitter The primary microprocessor 202 a Motorola 68302 is connected to the telephone s internal data bus 124 the secondary microprocessor 204 a set of RS 232 trans ceivers XCVRS 206 a random access memory RAM 208 and a read only memory ROM 210 The secondary microprocessor 204 a Motorola 6805 is connected to the primary microprocessor 202 the control bus 126 and a second set of transceivers XCVRS 212 The transceivers 206 212 are in turn respectively connected to a first RS 232 port PORT1 214 and a second RS 232 port PORT2 216 The secondary microprocessor serves as a conduit between the primary microprocessor 202 and the control bus 126 and second RS 232 port 216 The secondary micro processor includes internal code to pass ISDN call status events received from the network via the control bus 126 to the primary microprocessor 202 and to pass commands and responses between the second communications port 216 and the primary microprocessor 202 The RAM 208 provides workspace for the primary micro processor and includes a data buffer area for the RS 232 ports The RAM also includes a devoted address location for storing an event mask 218 which will be de
4. set AT commands and a conventional telephony com mand set ROLM commands are described in more detail in the ROLMphone 244PC User s Manual copyright 1987 1988 available from ROLM Systems of Santa Clara Calif The ROLMphone 244PC User s Manual is incorporated by reference herein in its entirety as if printed in full below According to an embodiment of the present invention the telephony command processor 222 hereinafter referred to as the CDLAPI includes instructions for processing a set event mask SEM command As illustrated in FIG 2 a computer workstation 226 can be coupled to either of the DCC s communications ports 214 216 by way of its own RS 232 data communication port 228 An application program 230 executing on the work station 226 sends commands and data to the DCC 122 via the workstation s RS 232 port 228 According to an embodi ment of the present invention the application 230 selects which ISDN call status events it is interested in having spontaneously reported and communicates the identity of these events to the CDLAPI 222 by way of the Set Event Mask SEM command The CDLAPI 222 in turn sets a mask 218 in the RAM Once the mask is set the processor 202 limits the ISDN call status events reported to the application to those which were selected It should be understood that the SEM command actually performs two functions In normal operation when the SEM command has not been received by t
5. 51 Int C1 H04M 1 00 select a subset of telephony events by way of a telephony 52 U S Cl 399 95 379 201 379 96 Command to the telephone s data communication port This Ve eye wane eta 399 93 379 112 Command is processed by a telephony command processor 58 Field of Search 370 i 10 1 60 within the data communications controller which in turn 370 85 11 68 1 86 379 196 201 DIL sets a programmable event mask within the telephone In 212 90 266 62 133 112 110 136 95 Tesponse to the event mask being set only the selected eee 94 93 telephony events are spontaneously reported to the host computer and application program 56 References Cited U S PATENT DOCUMENTS 4 782 482 11 1988 Kiatipov csessecescssesesessesseeseees 370 86 18 Claims 5 Drawing Sheets WORKSTATION P SELECTED ISDN EVENTS EVENT MASK DATA BUFFERS TELEPHONY COMMAND PROC TELEPHONY CONTROL PROC PROCESSOR UART TSON EVENTS oe 122 U S Patent Dec 3 1996 Sheet 1 of 5 5 581 608 FIG 4 144 Ba 100 S 108 Ca 128 120 104 T TE E oes at 122 OOOO O 106 KEYPAD ee AND LOGIC 124 104 NIE me f o ROLMLINK FACE 102 U S Patent Dec 3 1996 Sheet 2 of 5 5 581 608 WORKSTATION APPLICATION PROGRAM 230 PROCESSOR UART WORKING AREA EVENT MASK DATA BUFFERS SELECTED ISON EVENTS DATA TRANSFER PROCESS
6. AN A AN AAA N DNT 1608A United States Patent u9 11 Patent Number 5 581 608 Jreij et al 45 Date of Patent Dec 3 1996 54 METHOD AND APPARATUS FOR MASKING 4 864 601 9 1989 Berry ccscssssessssssssesssssecsssessnsees 379 96 THE REPORTING OF NETWORK 4 893 310 1 1990 Robertson 370 110 1 TELEPHONY EVENTS TO A COMPUTER 4 932 022 6 1990 Keeney Qn sssseccsssesssersseeeessesee 370 60 4 961 189 10 1990 Cukier et al oe eeseeeseeees 370 62 75 Inventors Elie A Jreij Tave P Dunn both of 5 014 269 5 1991 Picandet 370 85 11 Austin Tex Michael J Horowitz Ann 5 065 425 11 1991 Lecomte c esseecsssesesesseseeeseseees 379 96 Arbor Mich Peter E Gersing 5 150 357 9 1992 Hopner 370 68 1 Cupertino Calif Robert D 5 343 516 8 1994 Callele et al oo eessseeeeesee 379 90 Whittington Pflugerville Tex Werner 5 377 261 12 1994 Baals et al esessessssssssssesseesen 379 201 Huber Munich Germany 73 Assignee Rolm Systems Santa Clara Calif Primary Examiner Krista M Zele Assistant Examiner Scott Wolinsky 21 Appl No 405 614 22 Filed Mar 15 1995 57 ABSTRACT Related U S Application Data A method apparatus for selectively passing various types of telephony information between a data communications port 63 Continuation of Ser No 936 963 Aug 28 1992 aban ON a digital telephone and a computer run application doned program In one embodiment the application program can
7. ODEC when to read a field in a data bus frame The second the CODEC clock CCLK 118 is a bit clock which runs at the bit transmission rate of the internal bus A digital LCD display 120 is also connected to the microprocessor 104 The display 120 is used to display data such as the number dialed stored telephone numbers and other data provided by way of the microprocessor 104 A data communications controller DCC 122 controlled by the microprocessor 104 provides the telephone with two RS 232 data communications ports The DCC 122 is con nected to the network interface 102 and the microprocessor 104 Although signals from the CODEC 108 are made available at the DCC interface they are not used by the DCC 5 581 608 3 122 When a data connection is active data from an option ally connected RS 232 device flows through the telephone and ROLMlink to the switch from which it flows to another line or device The control bus 126 is the path for phone control infor mation which is sourced by the microprocessor An audio bus 128 carries analog audio information and provides an analog path to and from the CODEC 108 Optionally an auxiliary processing apparatus 130 can be provided The auxiliary processing apparatus 130 is con nected to the network interface 102 and the microprocessor 104 and may also be connected to the CODEC 108 The data communications controller 122 and the auxiliary processing apparatus 130 can be of a plug in
8. OR TELEPHONY COMMAND PROC T TELEPHONY ai CONTROL PROC DATA COMMUNIC COMMAND PROC ROM 224 PROCESSOR UART ISDN EVENTS ee 122 U S Patent Dec 3 1996 Sheet 3 of 5 5 581 608 FIG 3 MONITOR RS 232 PORTS AND INTERNAL TELEPHONE BUSSES 306 ISDN EVENT RECEIVED SAVE EVENT IN MEMORY SEND EVENT TO APPLICATION U S Patent Dec 3 1996 Sheet 4 of 5 5 581 608 FIG 4 402 y 404 DATA 5 406 CTAL SEM LENGTH CMD CODE EVENT BITS ACOUSTIC re CALL SUBSTATE API CAUSE API DISPLAY DATA API DYN FEATURE PRES APT ERROR APT FEATURE API PROGRAM STATE API DATA API LAST DIALED NO API LOC REP NO APT SIGNAL API CALLED NAME API CALLED NO APT CALLING NAME APT CALLING NO API CONNECTED NAME APT CONNECTED NO API REDIRECTION NAME API REDIRECTION NO TIME DATE INIT TIME DATE UPDATE API CHARGING INFO API LOC REP NAME API LOC SPEED U S Patent Dec 3 1996 Sheet 5 of 5 5 581 608 ACOUSTIC STATE CALL SUBSTATE CAUSE DISPLAY DATA STATIC FEATURE PRES DYNAMIC FEATURE PRES ERROR INDICATION ERROR INDICATION FEATURE INDICATION PROGRAM STATE DATA CALL INDICATION REPDIAL CHANGE EVENT SIGNAL CALLED PARTY NUMBER CALLED PARTY NAME CALLING PARTY NUMBER CALLING PARTY NAME CONNECTED PARTY NUMBER CONNECTED PARTY NAME REDIRECTION PARTY NUMBER REDIRECTION PARTY NAME TIME amp DATE INDICATION CHARGING INFORMATIO FIG 5
9. by a telephony command processor within the data communica tion controller which in turn sets a programmable event mask within the telephone In response to the event mask being set only the selected ISDN call status events are spontaneously reported to the host computer and application program 10 15 20 25 30 40 45 50 60 65 2 BRIEF DESCRIPTION OF THE DRAWING FIG 1 depicts a digital telephone FIG 2 is a more detailed diagram of the data communi cations controller in the telephone of FIG 1 FIG 3 is a flow chart of a method of event reporting by the data communications controller of FIG 2 FIG 4 is an exemplary format of a Set Event Mask SEM command FIG 5 illustrates the flow of events from the ISDN network to the phone and then to the application Like reference numerals appearing in more than one figure represent like elements DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT The present invention enables a user application program to cause a connected telephone to selectively mask out spontaneous reporting of ISDN call status events The application selects which ISDN call status events it is interested in receiving and communicates the identity of these events to the telephone by way of a Set Event Mask SEM command The SEM command is recognized by the telephone s telephony command processor which in turn sets a mask in the telephony equipment Once the mask is set the telepho
10. cation those events that were selected via the SEM command Since all ISDN call status events are stored in the RAM 208 the application program can obtain the present status of any ISDN call status event by issuing a feature status refresh FSR command The format of the FSR command is identical to that of the SEM command except that the command codes are distinct from one another and the event bits in the FSR command tell the CDLAPI which stored events to report from the working area of the RAM rather than directly from the control bus as with the SEM command When the CDLAPI receives an FSR command it reads the status in the working area of RAM 208 of each of the ISDN call status events indicated by the event field and immediately reports this status one event at a time to the application program Unlike the SEM command the FSR command does not cause any changes to the event mask 218 and will not cause the spontaneous reporting of the ISDN call status events as they occur The format of events reported to the applications program by way of the RS 232 port is also similar to that of the SEM command of FIG 4 Each report includes a data control message length field a distinct command code indicating the event being reported and a data field which indicates the status of the event e g a calling name if the ISDN call status event is CALLING NAME or a calling number if the ISDN call status event is CALLING NO 10 15 20 25
11. d telephony services The enhanced telephony services provide flexible control of telephone calls and communication of status information about the telephone Examples of ISDN call status informa tion include call state calling number available features and other events By communicating the ISDN call status infor mation to a host computer via a telephone s data commu nications port the operation of the telephone can be auto mated by a computer application program Conventionally the telephone s data communications port will pass the ISDN call status information to the host computer s application program with no modification This places the burden on the application to filter unwanted events Application based filtering requires additional pro cessing time and real time usage of the host computer where the application is running Under this environment tele phony application programs must often be able to handle events that are not pertinent to the desired task SUMMARY OF THE INVENTION As a solution to the above described problem the present invention provides a method and apparatus for selectively passing various types of ISDN call status information between the telephone s data communication port and a computer application program In one embodiment the application program can select a subset of ISDN call status events by way of a telephony command to the telephone s data communication port This command is processed
12. he CDLAPI ISDN call status events are not spontaneously reported to the RS 232 ports and thus the application Once the SEM command is processed the occurrence or change in state of any of the selected events will be spontaneously without further request reported to the application program via the RS 232 port on which the SEM command was received In DCCs including more than one RS 232 port a separate event mask location can be maintained for each If an application wants to change the set of events which are spontaneously reported it issues another SEM command which overwrites 5 581 608 5 the old event mask thus overriding the previous SEM command A flow chart of the ISDN call status event handling in the DCC of FIG 2 is illustrated in FIG 3 In step 302 an ISDN call status event is received by the telephony control pro cessor 221 from the control bus 126 In response to detection of the event in step 304 the telephony control processor 221 checks a status area in the Ram to determine if the CDLAPI has been activated by an application If the CDLAPI is not active in step 306 the telephony control processor 221 stores the ISDN call status event in the working area of the Ram and returns to the control loop 225 If the CDLAPI is active in step 308 the telephony command processor 222 checks the event mask for the application and determines whether the event is masked If the event is not masked in step 310 the telephony comma
13. he step of after reporting said first subset of masked telephony events issuing a third command by said computer said third command causing a second subset of said masked telephony events to be reported to said computer 16 Telephony event processing apparatus comprising a computer interface for coupling to a computer imple menting a computer program a network interface for coupling to a communications network detection means for detecting a plurality of telephony call status events occurring on said communications net work a memory and processor means coupled to said detection means said memory and said computer interface for processing commands received from said computer and for setting an event mask in said memory in response to at least one of said commands said at least one of said com mands specifying telephony call status events to be masked wherein masked telephony call status events are not reported to said computer the processor means further comprising means for auto matically reporting non masked telephony call status events indicated by said event mask to said computer 17 The apparatus of claim 16 wherein said processor means further comprises means for storing information indicative of said telephony call status events 18 The apparatus of claim 17 wherein said processor means further comprises means for reporting said informa tion to said computer in response to a feature status refresh com
14. mand issued by said computer x oe k ok OR
15. n described by way of the preferred embodiment various enhancements and improve ments which do not depart from the scope and spirit of the invention will become apparent to those of skill in the art Thus it should be understood that the preferred embodiment has been provided by way of example and not by way of limitation The scope of the invention is defined by the appended claims We claim 1 A digital telephone comprising a computer interface for coupling the telephone to a computer running an application program for control ling the masking of telephony events in the operation of said telephone 5 581 608 7 a network interface for coupling said telephone to a communications network on which a plurality of tele phony events occur detection means for detecting the occurrence of said plurality of telephony events and mask means coupled to said detection means and said computer interface wherein said mask means prevents the reporting of masked telephony events to said com puter and in response to a command received from said computer said mask means allows the reporting of non masked telephony events said non masked tele phony events being reported to said computer via said computer interface as said non masked telephony events occur 2 The digital telephone of claim 1 wherein said tele phone is part of a telephone system 3 The digital telephone of claim 1 wherein said tele phony events are call status even
16. nd processor 222 reports the event to the application and returns control to the telephony control processor 221 Then in step 306 the telephony control processor 221 stores the event in the working area of the RAM At startup time when the telephone is initially powered up the primary microprocessor 202 initializes the event mask 218 so that all events are masked reporting is turned off Thus if no SEM commands are received by the CDLAPI 222 no events will be spontaneously reported to the application An example of the Set Event Mask command format is illustrated in FIG 4 The SEM command comprises three ficlds a command length field 402 a command code 404 and an data event field 406 Each bit in the event field controls the masking of a particular ISDN call status event signal As is conventional unused bit positions are used as place holders to format the SEM command into 8 bit octets The application chooses events to be signaled received by setting the corresponding bit in the SEM command param eter to 1 In other words a 1 in a particular bit location tells the DCC to signal a corresponding event to the appli cation while a zero in a location will cause the event signal to be masked such that the DCC will not signal the occur rence of the corresponding event It should be understood that the telephony equipment itself will continue to detect all ISDN call status events although it will only signal to the appli
17. ne will limit the ISDN call status events spontaneously reported to the application program to those which were selected by the application Turning first to FIG 1 a digital telephone 100 is coupled to a PBX not shown by way of a network interface 102 The network interface 102 translates the network protocol e g ROLMlink or ISDN to the protocol of the telephone s internal data and control busses 124 126 and handles transfers of telephone control information between a micro processor 104 and the telephony line 101 The micropro cessor 104 is connected to the network interface 102 The microprocessor 104 controls all of the telephone functions and is the source and destination for all communications with the PBX Also connected to the network interface and the microprocessor is a keypad and associated control logic 106 The keypad control logic 106 includes the telephone keys light emitting diodes LEDs and the associated con trol circuitry A coder decoder CODEC 108 is connected to receive data output from the network interface 102 The CODEC 108 converts digital audio information into analog form to drive a speaker 110 and or handset 112 and converts the analog information from a microphone 114 and or the hand set 112 to digital information destined for the network switch The CODEC 108 is also connected to receive two clock signals from the network interface The first of these signals the CODEC sync CSYNC 116 tells the C
18. particular application program for controlling the masking of telephony events from among a plurality of application programs 12 The digital telephone of claim 11 and further includ ing processing means and memory means wherein said telephony events are stored in a table within said memory means and said processing means scans said table and reports to said computer an application identifier along with non masked telephony events for each of said application programs 25 35 45 55 8 13 A method of operating a digital telephone said method comprising the steps of coupling said telephone to a computer implementing an application program coupling said telephone to a communications network setting an event mask in a memory in said telephone in response to a command issued by said computer speci fying telephony events to be masked wherein masked telephony events are not reported to said computer detecting a plurality of telephony events occurring on said communications network and selectively reporting as they occur only non masked telephony events to said computer 14 The method of claim 13 further comprising the steps of storing data indicative of said plurality of telephony events as they occur and in response to a second command issued by said com puter causing data indicative of a first subset of masked telephony events to be reported to said computer 15 The method of claim 14 further comprising t
19. scribed in more detail later The ROM 210 includes a number of programs subroutines or processes which are executed by the pri mary microprocessor 202 These processes include a data transfer processor 220 a telephony control processor 221 a telephony command processor 222 and a data communica tions command processor 224 The data transfer processor 220 is a timer driven interrupt routine The timer internal to the primary microprocessor 202 runs at a sufficient rate to handle the necessary data transfer speeds on the RS 232 ports and the telephony link The data communications command processor 224 and the telephony control processor 221 run in a main control loop 225 each processing one piece of information if any is present and then passing control to the next process The data communications command processor 224 calls the telephony command processor 222 whenever a user enters a telephony command set described in more detail later The data transfer processor 220 handles normal data transfers between the data bus 124 and the RS 232 commu nications ports 214 216 The data transfer processor 220 also includes code for processing the escape sequence which enables a user or applications program connected via an RS 232 port to change the DCC from transparent mode controlled by the data transfer processor to command 10 20 25 30 40 50 55 65 4 mode controlled by either the telephony command proces sor or
20. t to the workstation including the ISDN call status event and the application identifier for each application which is to auto matically receive reporting of the event Thus several appli cations attached to the same phone can receive different subsets of the ISDN call status event signals A number of enhancements can also be made to the above described embodiment For example the event mask 218 can be coupled to the phone keypad logic 106 such that it can be manually programmed by a user In this embodiment the telephone s base microprocessor 104 can recognize user entry of a given access code for example a user depressing S E M on a the telephone s keypad In response the microprocessor 104 causes display 120 to display a mne monic for each of the ISDN call status events The mne monics are cycled on the display 120 and enabled or disabled one by one As each mnemonic identifying a particular ISDN call status event appears on the display the user enters a 1 to enable reporting of that event or a 0 to disable reporting of the identified event As an alternative a hexadecimal SEM control word can be entered on the keypad subsequent to the access code thus programming the event mask In any event the base microprocessor 104 reports the user s selection to the DCC via the control bus 126 In response the primary microprocessor 202 will set up the event mask accordingly Now that the invention has bee
21. the data communications command processor The data communications command processor 224 handles data communications commands of the type well known in the art The commands are sent by a connected apparatus e g a workstation via an RS 232 port On power up the DCC defaults to command mode and the data communications command processor 224 The data com munications command processor controls the DCC in response to commands in accordance with the conventional AT command set with extensions for activating the tele phony command processor s The telephony control processor 221 handles the tele phony protocol that is received from the telephony network link It interprets and responds to telephony commands such as LED cadence commands and ISDN call status events In addition the telephony control processor 221 sends infor mation from the telephone to the link such as information resulting from key depressions The telephony command processor 222 handles telephony commands Like the data communications commands the telephony commands are sent by a connected apparatus via an RS 232 port Once in command mode a user can activate the telephony command processor set by keying the proper AT command sequence e g AT U The telephony command processor can include more than one telephony command set each of which can be entered by way of a distinct AT command The use of escape sequences a conventional data communications command
22. ts 4 The digital telephone of claim 1 further comprising storage means coupled to said detection means for stor ing data indicative of said telephony events as they occur and command means coupled to said storage means for causing data to be reported to said computer as deter mined by said mask means 5 The digital telephone of claim 1 further comprising a keypad programing means coupled to said keypad and said mask means for programming an event mask into said mask means via said keypad and a display coupled to said programming means 6 The digital telephone of claim 5 wherein said mask means is responsive to either of said programming means and said command received from said computer 7 The digital telephone of claim 6 wherein said com munications network is an Integrated Services Digital Net work ISDN 8 The digital telephone of claim 7 wherein ones of said telephony events are selected for reporting to said computer via a single set mask code entered on said keypad 9 The digital telephone of claim 7 wherein data indica tive of said telephony events is displayed on said display 10 The digital telephone of claim 9 wherein ones of said telephony events are selected for reporting to said computer via said computer interface by way of a single entry on said keypad 11 The digital telephone of claim 1 further comprising a plurality of mask means each mask means comprising means for identifying a

Download Pdf Manuals

image

Related Search

Related Contents

Lith printing technique - troubleshooting  VIVO -M101 / -M101M  Coleman 9945-700 User's Manual  1 - Sony  会議資料 [PDFファイル/895KB]  NOAHlink Users Manual Language Versions  Network USB over IP Server User Manual  平成 27 年度 お薦め図書一覧  Energizer CR2450  Istruzioni per l`installazione e l`uso  

Copyright © All rights reserved.
DMCA: DMCA_mwitty#outlook.com.