PREV TOC HOME INDEX NEXT


4.2 Using the Demo

The Global Call API demo program provides a trace of the activity on each channel as it runs. No user interaction is required. The information is captured in an activity log, one for each channel being used. The log files are named according to the following convention gc_basic_call_model_bxty.log, where is bx is the board and ty is the channel number of the channel being used. Examples of the output generated by the demo are described in the following topics:

Example of Inbound Channel Activity Log

The activity log for the inbound channel of the demo program run shown in Section 4.1, "Starting the Demo" is shown below:

06/25 21:09:25.817   [MISC]:        ********** GC DEMO - BASIC CALL MODEL ***********

06/25 21:09:26.578   [GC_APICALL]:  gc_Start(startp = NULL) Success
06/25 21:09:26.578   [MISC]:        Call Control Library Status:
            GC_ICAPI_LIB - available
            GC_ISDN_LIB - available
            GC_ANAPI_LIB - available
            GC_PDKRT_LIB - available
            GC_DM3CC_LIB - available
            GC_SS7_LIB - is not available for use
            GC_IPM_LIB - is not available for use
            GC_CUSTOM1_LIB - configured
            GC_CUSTOM2_LIB - configured  
06/25 21:09:26.588  [MISC]:         E1 or T1 device being opened
06/25 21:09:27.640  [GC_APICALL]:   gc_OpenEx(devicename=:N_dtiB1T1:P_ar_r2_i:V_dxxxB1C1,
                                    mode=EV_SYNC) Success  
06/25 21:09:27.920  [MISC]:         ********* Received a GC event *********
06/25 21:09:27.930  [EVENT]:        GCEV_UNBLOCKED
06/25 21:09:27.950  [STATE]:        GCST_NULL is the current GC call state 
06/25 21:09:27.970  [GC_APICALL]:   gc_WaitCall(linedev=5, crnp=NULL, waittime=0,
                                    mode=EV_ASYNC) Success
06/25 21:09:28.000  [STATE]:        GCST_NULL is the new GC call state after processing
                                    the event  
06/25 21:09:30.925  [MISC]:         ********* Received a GC event *********
06/25 21:09:30.945  [EVENT]:        GCEV_OFFERED
06/25 21:09:30.965  [STATE]:        GCST_NULL is the current GC call state 
06/25 21:09:30.985  [GC_APICALL]:   gc_GetDNIS(crn=0x1000005) Success - dnis = 1234
06/25 21:09:31.005  [GC_APICALL]:   gc_GetANI(crn=0x1000005) Success - ANI = 7654321
06/25 21:09:31.025  [GC_APICALL]:   gc_AcceptCall(crn=0x1000005, mode=EV_ASYNC) Success
06/25 21:09:31.045  [STATE]:        GCST_OFFERED is the new GC call state after
                                    processing the event  
06/25 21:09:42.752  [MISC]:         ********* Received a GC event *********
06/25 21:09:42.762  [EVENT]:        GCEV_ACCEPT
06/25 21:09:42.782  [STATE]:        GCST_OFFERED is the current GC call state 
06/25 21:09:42.812  [GC_APICALL]:   gc_AnswerCall(crn=0x1000005, mode=EV_ASYNC) Success
06/25 21:09:42.822  [STATE]:        GCST_ACCEPTED is the new GC call state after
                                    processing the event  
06/25 21:09:42.862  [MISC]:         ********* Received a GC event *********
06/25 21:09:42.882  [EVENT]:        GCEV_ANSWERED
06/25 21:09:42.902  [STATE]:        GCST_ACCEPTED is the current GC call state 
06/25 21:09:42.922  [STATE]:        GCST_CONNECTED is the new GC call state after
                                    processing the event  
06/25 21:09:45.155  [MISC]:         ********* Received a GC event *********
06/25 21:09:45.175  [EVENT]:        GCEV_DISCONNECTED
06/25 21:09:45.195  [STATE]:        GCST_CONNECTED is the current GC call state 
06/25 21:09:45.215  [GC_APICALL]:   gc_DropCall(crn=0x1000005, cause=GC_NORMAL_CLEARING,
                                    mode=EV_ASYNC) Success
06/25 21:09:45.255  [STATE]:        GCST_DISCONNECTED is the new GC call state after
                                    processing the event  
06/25 21:09:45.285  [MISC]:         ********* Received a GC event *********
06/25 21:09:45.305  [EVENT]:        GCEV_DROPCALL
06/25 21:09:45.325  [STATE]:        GCST_DISCONNECTED is the current GC call state 
06/25 21:09:45.345  [GC_APICALL]:   gc_ReleaseCallEx(crn=0x1000005, EV_ASYNC) Success
06/25 21:09:45.365  [STATE]:        GCST_IDLE is the new GC call state after processing 
                                    the event  
06/25 21:09:45.395  [MISC]:         ********* Received a GC event *********
06/25 21:09:45.415  [EVENT]:        GCEV_RELEASECALL
06/25 21:09:45.436  [STATE]:        GCST_IDLE is the current GC call state 
06/25 21:09:45.456  [STATE]:        GCST_NULL is the new GC call state after processing 
                                    the event  
06/25 21:09:48.490  [MISC]:         ********* Received a GC event *********
06/25 21:09:48.510  [EVENT]:        GCEV_OFFERED
06/25 21:09:48.530  [STATE]:        GCST_NULL is the current GC call state 
06/25 21:09:48.550  [GC_APICALL]:   gc_GetDNIS(crn=0x1000005) Success - dnis = 1234
06/25 21:09:48.570  [GC_APICALL]:   gc_GetANI(crn=0x1000005) Success - ANI = 7654321
06/25 21:09:48.590  [GC_APICALL]:   gc_AcceptCall(crn=0x1000005, mode=EV_ASYNC) Success
06/25 21:09:48.600  [STATE]:        GCST_OFFERED is the new GC call state after 
                                    processing the event
          .
          .
          .
06/25 21:13:00.847  [MISC]:         ********* Program Exiting *********
06/25 21:13:00.867  [MISC]:         The total no of Inbound calls on this device is: 12
06/25 21:13:00.887  [MISC]:         The total no of Inbound calls over all devices is: 12
06/25 21:13:00.897  [MISC]:         The total no of Outbound calls over all devices is: 12
06/25 21:13:00.917  [MISC]:         The total duration taken by the test is: 3.58 minutes  

Example of Outbound Channel Activity Log

The activity log for the outbound channel of the demo program run described in Section 4.1, "Starting the Demo" is shown below:

06/25 21:09:25.817   [MISC]:        ********** GC DEMO - BASIC CALL MODEL ***********

06/25 21:09:26.578   [GC_APICALL]:  gc_Start(startp = NULL) Success
06/25 21:09:26.578   [MISC]:        Call Control Library Status:
            GC_ICAPI_LIB - available
            GC_ISDN_LIB - available
            GC_ANAPI_LIB - available
            GC_PDKRT_LIB - available
            GC_DM3CC_LIB - available
            GC_SS7_LIB - is not available for use
            GC_IPM_LIB - is not available for use
            GC_CUSTOM1_LIB - configured
            GC_CUSTOM2_LIB - configured  
06/25 21:09:27.640  [MISC]:         E1 or T1 device being opened
06/25 21:09:27.850  [GC_APICALL]:   gc_OpenEx(devicename=:N_dtiB2T1:P_ar_r2_o:V_dxxxB9C1, 
                                    mode=EV_SYNC) Success
06/25 21:09:27.860  [MISC]:         gc_SetCallingNum(linedev=12, phone_num = 7654321) 
                                    Success  
06/25 21:09:28.041  [MISC]:         ********* Received a GC event *********
06/25 21:09:28.061  [EVENT]:        GCEV_UNBLOCKED
06/25 21:09:28.071  [STATE]:        GCST_NULL is the current GC call state 
06/25 21:09:28.101  [GC_APICALL]:   gc_MakeCall(linedev=12, numberstr=1234567, 
                                    mode=EV_ASYNC) Success
06/25 21:09:28.131  [STATE]:        GCST_NULL is the new GC call state after processing 
                                    the event  
06/25 21:09:31.385  [MISC]:         ********* Received a GC event *********
06/25 21:09:31.405  [EVENT]:        GCEV_ALERTING
06/25 21:09:31.425  [STATE]:        GCST_NULL is the current GC call state 
06/25 21:09:31.435  [STATE]:        GCST_ALERTING is the new GC call state after 
                                    processing the event  
06/25 21:09:42.952  [MISC]:         ********* Received a GC event *********
06/25 21:09:42.972  [EVENT]:        GCEV_CONNECTED
06/25 21:09:42.992  [STATE]:        GCST_ALERTING is the current GC call state 
06/25 21:09:43.012  [MISC]:         call connected - call progress not applicable
06/25 21:09:43.022  [MISC]:         gc_DropCall() will be issued in 1-2 seconds
06/25 21:09:43.042  [STATE]:        GCST_CONNECTED is the new GC call state after 
                                    processing the event  
06/25 21:09:45.085  [MISC]:         ********* Dropping outbound call from 
                                    drop_outbound_calls_if_required() *********
06/25 21:09:45.115  [GC_APICALL]:   gc_DropCall(crn=0x100000c, cause=GC_NORMAL_CLEARING, 
                                    mode=EV_ASYNC) Success  
06/25 21:09:45.496  [MISC]:         ********* Received a GC event *********
06/25 21:09:45.516  [EVENT]:        GCEV_DROPCALL
06/25 21:09:45.526  [STATE]:        GCST_CONNECTED is the current GC call state 
06/25 21:09:45.546  [GC_APICALL]:   gc_ReleaseCallEx(crn=0x100000c, EV_ASYNC) Success
06/25 21:09:45.566  [STATE]:        GCST_IDLE is the new GC call state after processing 
                                    the event  
06/25 21:09:45.606  [MISC]:         ********* Received a GC event *********
06/25 21:09:45.626  [EVENT]:        GCEV_RELEASECALL
06/25 21:09:45.636  [STATE]:        GCST_IDLE is the current GC call state 
06/25 21:09:45.666  [GC_APICALL]:   gc_MakeCall(linedev=12, numberstr=1234567, 
                                    mode=EV_ASYNC) Success
06/25 21:09:45.696  [STATE]:        GCST_NULL is the new GC call state after processing 
                                    the event  
06/25 21:09:48.951  [MISC]:         ********* Received a GC event *********
06/25 21:09:48.961  [EVENT]:        GCEV_ALERTING
06/25 21:09:48.981  [STATE]:        GCST_NULL is the current GC call state 
06/25 21:09:49.001  [STATE]:        GCST_ALERTING is the new GC call state after 
                                    processing the event
         .
         .
         .  
06/25 21:13:00.847   [MISC]:        ********* Program Exiting *********
06/25 21:13:00.927  [MISC]:         The total no of Outbound	 calls on this device is: 12
06/25 21:13:00.957  [MISC]:         The total no of Inbound calls over all devices is: 12
06/25 21:13:00.967  [MISC]:         The total no of Outbound calls over all devices is: 12
06/25 21:13:00.987  [MISC]:         The total duration taken by the test is: 3.58 minutes  

PREV TOC HOME INDEX NEXT

Click here to contact Telecom Support Resources

Copyright 2002, Intel Corporation
All rights reserved
This page generated September, 2002