Intel IP Gateway (Global Call) for Linux and Windows manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56

Ir a la página of

Buen manual de instrucciones

Las leyes obligan al vendedor a entregarle al comprador, junto con el producto, el manual de instrucciones Intel IP Gateway (Global Call) for Linux and Windows. La falta del manual o facilitar información incorrecta al consumidor constituyen una base de reclamación por no estar de acuerdo el producto con el contrato. Según la ley, está permitido adjuntar un manual de otra forma que no sea en papel, lo cual últimamente es bastante común y los fabricantes nos facilitan un manual gráfico, su versión electrónica Intel IP Gateway (Global Call) for Linux and Windows o vídeos de instrucciones para usuarios. La condición es que tenga una forma legible y entendible.

¿Qué es un manual de instrucciones?

El nombre proviene de la palabra latina “instructio”, es decir, ordenar. Por lo tanto, en un manual Intel IP Gateway (Global Call) for Linux and Windows se puede encontrar la descripción de las etapas de actuación. El propósito de un manual es enseñar, facilitar el encendido o el uso de un dispositivo o la realización de acciones concretas. Un manual de instrucciones también es una fuente de información acerca de un objeto o un servicio, es una pista.

Desafortunadamente pocos usuarios destinan su tiempo a leer manuales Intel IP Gateway (Global Call) for Linux and Windows, sin embargo, un buen manual nos permite, no solo conocer una cantidad de funcionalidades adicionales del dispositivo comprado, sino también evitar la mayoría de fallos.

Entonces, ¿qué debe contener el manual de instrucciones perfecto?

Sobre todo, un manual de instrucciones Intel IP Gateway (Global Call) for Linux and Windows debe contener:
- información acerca de las especificaciones técnicas del dispositivo Intel IP Gateway (Global Call) for Linux and Windows
- nombre de fabricante y año de fabricación del dispositivo Intel IP Gateway (Global Call) for Linux and Windows
- condiciones de uso, configuración y mantenimiento del dispositivo Intel IP Gateway (Global Call) for Linux and Windows
- marcas de seguridad y certificados que confirmen su concordancia con determinadas normativas

¿Por qué no leemos los manuales de instrucciones?

Normalmente es por la falta de tiempo y seguridad acerca de las funcionalidades determinadas de los dispositivos comprados. Desafortunadamente la conexión y el encendido de Intel IP Gateway (Global Call) for Linux and Windows no es suficiente. El manual de instrucciones siempre contiene una serie de indicaciones acerca de determinadas funcionalidades, normas de seguridad, consejos de mantenimiento (incluso qué productos usar), fallos eventuales de Intel IP Gateway (Global Call) for Linux and Windows y maneras de solucionar los problemas que puedan ocurrir durante su uso. Al final, en un manual se pueden encontrar los detalles de servicio técnico Intel en caso de que las soluciones propuestas no hayan funcionado. Actualmente gozan de éxito manuales de instrucciones en forma de animaciones interesantes o vídeo manuales que llegan al usuario mucho mejor que en forma de un folleto. Este tipo de manual ayuda a que el usuario vea el vídeo entero sin saltarse las especificaciones y las descripciones técnicas complicadas de Intel IP Gateway (Global Call) for Linux and Windows, como se suele hacer teniendo una versión en papel.

¿Por qué vale la pena leer los manuales de instrucciones?

Sobre todo es en ellos donde encontraremos las respuestas acerca de la construcción, las posibilidades del dispositivo Intel IP Gateway (Global Call) for Linux and Windows, el uso de determinados accesorios y una serie de informaciones que permiten aprovechar completamente sus funciones y comodidades.

Tras una compra exitosa de un equipo o un dispositivo, vale la pena dedicar un momento para familiarizarse con cada parte del manual Intel IP Gateway (Global Call) for Linux and Windows. Actualmente se preparan y traducen con dedicación, para que no solo sean comprensibles para los usuarios, sino que también cumplan su función básica de información y ayuda.

Índice de manuales de instrucciones

  • Página 1

    IP Gateway (Global Call) Demo Guide for Linux and Windows Copyright © 2002-2005 Intel Corporation 05-1662-005[...]

  • Página 2

    COPYRIGHT NOTICE INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL® PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN INTEL'S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER, AND INTEL [...]

  • Página 3

    iii Table of Contents 1. About This Guide ............................................................................................ 1 1.1. Purpose ........................................................................................................... 1 1.2. Intended Audience ...................................................................[...]

  • Página 4

    IP Gateway (Global Call) Demo Guide for Linux and Windows iv 6.5.1. Handling Keyboard Input Events ........................................................ 29 6.5.2. Handling SRL Events .......................................................................... 29 6.5.3. Handling Application Exit Events ..............................................[...]

  • Página 5

    v List of Tables Table 2. Command Line Switches ...................................................................... 18 Table 3. Runtime Keyboard Commands ............................................................. 20 Table 4. Source Files Used by the IP Gateway (Global Call) Demo .................. 21[...]

  • Página 6

    IP Gateway (Global Call) Demo Guide for Linux and Windows vi[...]

  • Página 7

    vii List of Figures Figure 1. Hardware Configuration with Onboard NIC and PSTN Front End ....... 7 Figure 2. Hardware Configuration with Onboard NIC and separate PSTN board .............................................................................................................. 8 Figure 3. Typical Topology .....................................[...]

  • Página 8

    IP Gateway (Global Call) Demo Guide for Linux and Windows viii[...]

  • Página 9

    1 1. About This Guide This section describes the purpose of this guide, the intended audience, and references to other documents that may be useful to the user. 1.1. Purpose This guide describes the operation of the IP Gateway (Global Call) demo. 1.2. Intended Audience This guide is intended for application developers who will be developing a PSTN-[...]

  • Página 10

    IP Gateway (Global Call) Demo Guide for Linux and Windows 2[...]

  • Página 11

    3 2. Demo Description 2.1. About the Demo The IP Gateway (Global Call) demo is a host-based application that demonstrates using the Global Call API to build a PSTN − IP gateway. The demo source code can be used as sample code for those who want to begin developing an application from a working application. The demo is not designed to implement a [...]

  • Página 12

    IP Gateway (Global Call) Demo Guide for Linux and Windows 4[...]

  • Página 13

    5 3. System Requirements This chapter discusses the system requirement for running the IP Gateway (Global Call) demo. It contains the following topics: • Hardware Requirements • Software Requirements 3.1. Hardware Requirements To run the IP Gateway (Global Call) demo, you need: • One of the following: • Intel NetStructure® DM/IP Series boa[...]

  • Página 14

    IP Gateway (Global Call) Demo Guide for Linux and Windows 6[...]

  • Página 15

    7 4. Preparing to Run the Demo This chapter discusses how to prepare to run the IP Gateway (Global Call) demo. It provides information about the following topics: • Connecting to External Equipment • Editing Configuration Files 4.1. Connecting to External Equipment There are two possible hardware configurations for the IP Gateway (Global Call) [...]

  • Página 16

    IP Gateway (Global Call) Demo Guide for Linux and Windows 8 Intern et/ Intr anet li ne Intel NetStructure® IPT board CTbus cable PSTN line Intel NetStructure® DM/V-A series board Figure 2. Hardware Configuration with Onboard NIC and separate PSTN board The IP Gateway (Global Call) demo allows you to connect to gateways on an IP network and establ[...]

  • Página 17

    4. Preparing to Run the Demo 9 IP Netw ork H.323 Terminal IP Gateway Telephone PBX IP Gateway Telephone PBX Fax Fax Figure 3. Typical Topology 4.2. Editing Configuration Files This section discusses how to configure the demo for your system. It contains the following topics: • Configuration file location • Editing the gateway_r4.cfg File 4.2.1.[...]

  • Página 18

    IP Gateway (Global Call) Demo Guide for Linux and Windows 10 4.2.2. Editing the gateway_r4.cfg File Below is an example of the gateway_r4.cfg file. Update the following information: ipProtocol The IP Protocol used for opening the IP Line devices, values: H323, SIP, both Channel Channels defined by this section of the file - may be individual channe[...]

  • Página 19

    4. Preparing to Run the Demo 11 • CoderFramesPerPkt - frames per packet for the selected coder • CoderVAD - Voice Activity Detection on/off AudioTxCodecs Capability for transmit audio codecs. See AudioRxCodecs for a complete description. DataCodecs Capability for fax codecs. The demo currently support T38 only. MediaAlarmLostPackets Indicates t[...]

  • Página 20

    IP Gateway (Global Call) Demo Guide for Linux and Windows 12 UII User Input Indication string to send NonStdParm Non-standard parameter data to send NonStdCmd Non-standard command string to send ObjId Object ID Q931Facility Facility data to send on the Q.931 channel DTMF DTMF mode. Possible options: OutOfBand, inband, rfc2833 enableRegestration Reg[...]

  • Página 21

    4. Preparing to Run the Demo 13 The following is an example of a configuration file. ######################################################################################## # Telephony Protocol : # For ANAPI(Analog Front End) use the root file name of the analog protocol file for your country or telephone network) # For ICAPI (Digital Front End) u[...]

  • Página 22

    IP Gateway (Global Call) Demo Guide for Linux and Windows 14 DTMFmode = OutOfBand AudioRxCodecs { CoderType = g711Mulaw CoderFramesPerPkt = 30 CoderVAD = 0 } AudioTxCodecs { CoderType = g711Mulaw CoderFramesPerPkt = 30 CoderVAD = 0 } DataCodecs { CoderType = t38 } MediaAlarmLostPackets { Threshold = 20 # Threshold value DebounceOn = 10000 # Thresho[...]

  • Página 23

    4. Preparing to Run the Demo 15 # use 0.0.0.0 as the default address for descovering the GK regServerAddress = 10.242.214.45 NonStdRasCmd = NSC_Chan1 RasObjId = Intel # possible alias types: 1 = string, 2 = IP address, 3 = H323 ID, 4 = phone, 5 = URL, 6 = EMail Alias = 1 { AliasType = 3 AliasName = intel } Alias = 2 { AliasType = 4 AliasName = 1111[...]

  • Página 24

    [...]

  • Página 25

    17 5. Running the Demo This chapter discusses how to run the IP Gateway (Global Call) demo. It contains the following topics: • Starting the Demo • Demo Options • Using the Demo • Stopping the Demo 5.1. Starting the Demo Windows From a command prompt, change directories to: $(INTEL_DIALOGIC_DIR)samplesipt_demosgateway_r4 Release Type g[...]

  • Página 26

    IP Gateway (Global Call) Demo Guide for Linux and Windows 18 Table 1. Command Line Switches Switch Action Default -c < filename > Configuration file name gateway_r4.cfg -d Sets Debug Level (0-4): 0-FATAL: used when one or more channels are deadlocked. 1-ERROR: used when the application receives a failure which doesn’t cause the channel to b[...]

  • Página 27

    5. Running the Demo 19 Switch Action Default -l <n,…> Printouts will be printed into channel log files. If ‘all’ follows the –l, log files will be created for all available channels. If a list of channels in the following format: C1-C2, C3-C4, C5 (e.g., 1- 10,112-150,314) follows the –l, log files are created for the channel ranges [...]

  • Página 28

    IP Gateway (Global Call) Demo Guide for Linux and Windows 20 5.3. Using the Demo The demo always waits for input from the keyboard. While the demo is running, you can enter any of the following commands: Table 2. Runtime Keyboard Commands Command Function c or C Print channel information d<n> or D<n> Change debug level during runtime f [...]

  • Página 29

    21 6. Demo Details This chapter discusses the IP Gateway (Global Call) demo in more detail. It contains the following topics: • Files Used by the Demo • Handling an Incoming Call • Programming Model • Initializations • Event Handling • Demo State Machine 6.1. Files Used by the Demo 6.1.1. Demo Source Files In Windows the following files[...]

  • Página 30

    IP Gateway (Global Call) Demo Guide for Linux and Windows 22 Filename Description OS gatepars.c The demo configuration file parsing functions Both gatepars.h Function prototype for gatepars.c Both gatepstn.c PSTN-specific functions Both gatepstn.h Function prototype for gatepstn.c Both gatestate.c State machine functions Both gatestate.h Function p[...]

  • Página 31

    6. Demo Details 23 Filename Description OS register.h Function prototype for register.c Both Release gateway_r4.cfg Demo configuration file Windows Release/ gateway_r4.cfg Demo configuration file Linux Release gateway_r4.exe Executable Windows Release/ gateway_r4.exe Executable Linux 6.1.2. Utility Files In Windows the following files are located[...]

  • Página 32

    IP Gateway (Global Call) Demo Guide for Linux and Windows 24 Filename Description OS Releaseutil.lib Compiled Utility library Windows 6.1.3. PDL Files In Windows the following files are located in $(INTEL_DIALOGIC_DIR)samplesipt_demosShared In Linux the following files are located in $(INTEL_DIALOGIC_DIR)/ipt_demos/Shared Filename Description OS[...]

  • Página 33

    6. Demo Details 25 Filename Description OS /pdl_linux/pdl.c Platform dependency functions Linux /pdl_linux/pdl.h Function prototype for pdl.c Linux /pdl_linux/ pdl_linux_version.c PDL version information Linux 6.2. Handling an Incoming Call This section discusses how the demo application handles incoming calls. It contains the following topics: •[...]

  • Página 34

    IP Gateway (Global Call) Demo Guide for Linux and Windows 26 Once the destination gateway has answered the H.323 call, the IP Gateway (Global Call) demo connects the PSTN call to the IP call. An audio path is now established between the PSTN call and the destination IP station. For more details see section 6.5. Event Mechanism . 6.2.3. Handling an [...]

  • Página 35

    6. Demo Details 27 The threads are created as follows: • The first (main) thread is created by the demo application to get the keyboard input. • The second thread is an SRL thread, created as a result of the demo application calling sr_enblhdlr( ) in Windows. In Linux, the thread must be explicitly created. All Global Call events are received t[...]

  • Página 36

    IP Gateway (Global Call) Demo Guide for Linux and Windows 28 • Calculates the logical board and channel and saves them into Session.pstnParams • Closes the board, by calling dx_Close( ) or dt_Close( ) . 9. Call ipGetChannels( ) which checks how many available IP channels there are by doing the following: • Gets number of IP boards from #defin[...]

  • Página 37

    6. Demo Details 29 • Calls gc_OpenEx( ) which opens all IP devices, returns the IP LineDevH , and saves it in Session.ipParams • Saves the channel number in the global array HandleToChannel[ ] according to the LineDevH handle 13. The application main() function calls waitForKey( ) , to receive keyboard input. 6.5. Event Mechanism The IP Gateway[...]

  • Página 38

    IP Gateway (Global Call) Demo Guide for Linux and Windows 30 3. Otherwise, the application calls gc_GetUsrAttr( ) and then calls either ipGetEvent( ) to process the IP event, or pstnGetEvent( ) to process the PSTN event. 6.5.3. Handling Application Exit Events Normal application exit events don’t enter the SRL. The main() function calls PDLSetApp[...]

  • Página 39

    6. Demo Details 31 GATE_NULL IP_CONNEC TED GATE_DROP IP_OFFERED GATE_CONNECTED IP: GCEV _EXTENSION IP: gc_SetUserInfo( ) IP: gc_AnswerCall( ) IP: GCEV_ANSW ERED IP: gc_Listen( ) PSTN: gc_MakeCall( ) IP, PSTN: GCEV_DISCONNECTED pstnUnListen( ) IP, PSTN: gc_DropCa ll( ) PSTN: GCEV_CONNECTED PSTN: ag_Listen( ) or dt_Listen( ) IP, PSTN: GCEV_DROPCALL I[...]

  • Página 40

    IP Gateway (Global Call) Demo Guide for Linux and Windows 32 3. In IP_CONNECTED, when the application receives GCEV_CONNECTED from the PSTN side, the application calls pstnListen( ) , which in turn calls ag_Listen( ) or dt_Listen( ) ( ag for analog; dt for digital) to tell the PSTN line device to listen to the IP time slot The state transitions to [...]

  • Página 41

    6. Demo Details 33 2. In PSTN_OFFERED the application waits for GCEV_CONNECTED from the IP side. When the application receives GCEV_CONNECTED it calls: • gc_Extension( ) to get the call information from the IP side • gc_Listen( ) to tell the IP line device to listen to the PSTN time slot • pstnListen( ) which calls ag_Listen( ) or dt_Listen( [...]

  • Página 42

    IP Gateway (Global Call) Demo Guide for Linux and Windows 34 2. When the application receives GCEV_DROPCALL from the IP side, it calls gc_Extension( ) to get the RTCP information. When the application receives GCEV_EXTENSION the application calls gc_ReleaseCall( ) and the state transitions to GATE_NULL. 6.6.4. Glare Conditions Glare conditions occu[...]

  • Página 43

    35 Appendix A Log File of IP Call Establishment DATE: 08/16/01 TIME: 10:49:20 TRACE: File: gatepstn.c Line: 189 End of pstnOpenFrontEnd function on channel 14 DATE: 08/16/01 TIME: 10:49:21 TRACE: File: gateip.c Line: 99 Start ipOpenDevices function on channel 14 DATE: 08/16/01 TIME: 10:49:21 TRACE: File: gateip.c Line: 116 End of ipOpenDevices func[...]

  • Página 44

    IP Gateway (Global Call) Demo Guide for Linux and Windows 36 TRACE: File: gateip.c Line: 466 End of ipGetEvent function on channel 14 DATE: 08/16/01 TIME: 10:53:00 TRACE: File: gateip.c Line: 385 In ipGetEvent function on channel 14 DATE: 08/16/01 TIME: 10:53:00 TRACE: File: gateip.c Line: 227 Start OnExtension function on channel 14 DATE: 08/16/01[...]

  • Página 45

    Appendix A 37 TRACE: File: gateip.c Line: 466 End of ipGetEvent function on channel 14 DATE: 08/16/01 TIME: 10:53:01 TRACE: File: gateip.c Line: 385 In ipGetEvent function on channel 14 DATE: 08/16/01 TIME: 10:53:01 TRACE: File: gatestate.c Line: 357 In IP_OFFERED State on channel (0xe) got event GCEV_ANSWERED (0x802) from IP DATE: 08/16/01 TIME: 1[...]

  • Página 46

    IP Gateway (Global Call) Demo Guide for Linux and Windows 38 TRACE: File: gatestate.c Line: 841 Drop call on channel 14 DATE: 08/16/01 TIME: 10:54:24 TRACE: File: gateip.c Line: 466 End of ipGetEvent function on channel 14 DATE: 08/16/01 TIME: 10:54:24 TRACE: File: gatepstn.c Line: 369 In pstnGetEvent function on channel 14 DATE: 08/16/01 TIME: 10:[...]

  • Página 47

    39 Appendix B Log File of PSTN Call Establishment DATE: 08/16/01 TIME: 10:57:55 TRACE: File: gatepstn.c Line: 189 End of pstnOpenFrontEnd function on channel 10 DATE: 08/16/01 TIME: 10:57:56 TRACE: File: gateip.c Line: 99 Start ipOpenDevices function on channel 10 DATE: 08/16/01 TIME: 10:57:56 TRACE: File: gateip.c Line: 116 End of ipOpenDevices fu[...]

  • Página 48

    IP Gateway (Global Call) Demo Guide for Linux and Windows 40 TRACE: File: gateip.c Line: 140 Start ipMakeCall function on channel 10 DATE: 08/16/01 TIME: 10:58:37 TRACE: File: gateip.c Line: 205 End of ipMakeCall function on channel 10 DATE: 08/16/01 TIME: 10:58:37 TRACE: File: gatepstn.c Line: 369 In pstnGetEvent function on channel 10 DATE: 08/16[...]

  • Página 49

    Appendix B 41 DATE: 08/16/01 TIME: 10:58:38 TRACE: File: gateip.c Line: 385 In ipGetEvent function on channel 10 DATE: 08/16/01 TIME: 10:58:38 TRACE: File: gateip.c Line: 227 Start OnExtension function on channel 10 DATE: 08/16/01 TIME: 10:58:38 INFO: File: gateip.c Line: 250 Got extension data display: target DATE: 08/16/01 TIME: 10:58:38 TRACE: F[...]

  • Página 50

    IP Gateway (Global Call) Demo Guide for Linux and Windows 42 DATE: 08/16/01 TIME: 11:00:03 TRACE: File: gatepstn.c Line: 348 End of pstnUnListen function on channel 10 DATE: 08/16/01 TIME: 11:00:03 TRACE: File: gatestate.c Line: 841 Drop call on channel 10 DATE: 08/16/01 TIME: 11:00:03 TRACE: File: gatepstn.c Line: 369 In pstnGetEvent function on c[...]

  • Página 51

    Appendix B 43 DATE: 08/16/01 TIME: 11:00:05 TRACE: File: gateip.c Line: 466 End of ipGetEvent function on channel 10[...]

  • Página 52

    IP Gateway (Global Call) Demo Guide for Linux and Windows 44[...]

  • Página 53

    45 Index A ag_Listen( ), 32, 33 ag_Unlisten( ), 33 APPMAIN.C, 29 ATDV_SUBDEVS( ), 27 C Call connection, 3 Call establishment, 25 Call progress tones, 26 Call state GATE_CONNECTED, 32, 33 GATE_DROP, 33 GATE_NULL, 30 IP_CONNECTED, 31, 33 IP_DROP, 33 IP_OFFERED, 31, 33 PSTN_OFFERED, 32 Call Teardown, 33 checkArg( ), 27 Command Line Switches, 18 Config[...]

  • Página 54

    IP Gateway (Global Call) Demo Guide for Linux and Windows 46 gc_DropCall( ), 33 gc_Extension( ), 31, 33 gc_GetNetworkH( ), 28 gc_GetVoiceH( ), 28 gc_GetXmitSlot(), 30 gc_Listen( ), 31, 33 gc_MakeCall( ), 31, 32 gc_Open( ), 27 gc_OpenEx( ), 28 gc_OpenEx( ) , 28 gc_ReleaseCall( ), 33 gc_SetUserInfo( ), 31 gc_Start( ), 27 gc_Unlisten( ), 33 GCEV_ANSWE[...]

  • Página 55

    Index 47 N NetwH, 28 P PDL, 3 pdl.c, 24 PDLsr_enbhdlr( ), 27 PDLsr_getboardcnt( ), 27 Platform Dependency Library, 3 PSTN State Diagram, 32 PSTN channel, 3 PSTN, Log File, 39 PSTN_OFFERED, 32 pstnGetVOXChannels( ), 27 pstnOpenFrontEnd( ), 28 R remote phone number, 25 Routing, 25 S Session.ipParams, 28 Session.pstnParams, 27, 28 sr_enbhdlr( ), 29 SR[...]

  • Página 56

    48[...]