Config file:
# For SS7 protocols
# Board #1
dtiB1T1          SS7                Out       dxxxB1C1                1234567
Config file:
# For SS7 protocols
# Board #1
dtiB1T1          SS7                In       dxxxB1C1                1234567

C:\bogotel\test\gc_basic_call_model\inst2>..\gc_basic_call_model.exe
 [MISC]:                 SRL Model Set to SR_STASYNC | SR_POLLMODE
gc_basic_call_model_B1T1.log successfully opened
 [MISC]:                 ********** GC DEMO - BASIC CALL MODEL ***********

 [GC_APICALL]: gc_Start(startp = NULL) Success
 [MISC]:                  Call Control Library Status:
                  Lib 0 - configured
                  Lib 1 - configured
                  Lib 2 - configured
                  Lib 3 - configured
                  Lib 4 - configured
                  Lib 5 - configured
                  Lib 6 - configured
                  Lib 7 - configured
                  Lib 8 - configured

 [MISC]:                 SS7 device being opened
 [GC_APICALL]: gc_OpenEx(devicename=:N_dtiB1T1, mode=EV_SYNC) Success
 [MISC]:                 gc_SetCallingNum(linedev=1, phone_num = 7654321) Success

 [MISC]:                 ********* Received a GC event *********
 [EVENT]:                GCEV_UNBLOCKED
 [STATE]:                GCST_NULL is the current GC call state
 [GC_APICALL]: gc_MakeCall(linedev=1, numberstr=1234567, mode=EV_ASYNC) Success
 [STATE]:                GCST_NULL is the new GC call state after processing the event
 [MISC]:                 ********* Received a GC event *********
 [EVENT]:                GCEV_ALERTING
 [STATE]:                GCST_NULL is the current GC call state
 [STATE]:                GCST_ALERTING is the new GC call state after processing the event
 [MISC]:                 ********* Received a GC event *********
 [EVENT]:                GCEV_CONNECTED
 [STATE]:                GCST_ALERTING is the current GC call state
 [MISC]:                 call connected - call progress not applicable
 [MISC]:                 gc_DropCall() will be issued in 1-2 seconds
 [STATE]:                GCST_CONNECTED is the new GC call state after processing the event
 [MISC]:                 ********* Dropping outbound call from drop_outbound_calls_if_required() *********
 [GC_APICALL]: gc_DropCall(crn=0x1, cause=GC_NORMAL_CLEARING, mode=EV_ASYNC) Success
 [MISC]:                 ********* Received a GC event *********
 [EVENT]:                GCEV_DROPCALL
 [STATE]:                GCST_CONNECTED is the current GC call state
 [GC_APICALL]: gc_ReleaseCallEx(crn=0x1, EV_ASYNC) Success
 [STATE]:                GCST_IDLE is the new GC call state after processing the event
 [MISC]:                 ********* Received a GC event *********
 [EVENT]:                GCEV_RESETLINEDEV
 [STATE]:                GCST_IDLE is the current GC call state
 [GC_APICALL]: gc_MakeCall(linedev=1, numberstr=1234567, mode=EV_ASYNC) Success
 [STATE]:                GCST_NULL is the new GC call state after processing the event
 [MISC]:                 ********* Received a GC event *********
 [EVENT]:                GCEV_ALERTING
 [STATE]:                GCST_NULL is the current GC call state
 [STATE]:                GCST_ALERTING is the new GC call state after processing the event
 [MISC]:                 ********* Received a GC event *********
 [EVENT]:                GCEV_CONNECTED
 [STATE]:                GCST_ALERTING is the current GC call state
 [MISC]:                 call connected - call progress not applicable
 [MISC]:                 gc_DropCall() will be issued in 1-2 seconds
 [STATE]:                GCST_CONNECTED is the new GC call state after processing the event
 [MISC]:                 ********* Dropping outbound call from drop_outbound_calls_if_required() *********
 [GC_APICALL]: gc_DropCall(crn=0x2, cause=GC_NORMAL_CLEARING, mode=EV_ASYNC) Success
 [MISC]:                 ********* Received a GC event *********
 [EVENT]:                GCEV_DROPCALL
 [STATE]:                GCST_CONNECTED is the current GC call state
 [GC_APICALL]: gc_ReleaseCallEx(crn=0x2, EV_ASYNC) Success
 [STATE]:                GCST_IDLE is the new GC call state after processing the event
 [MISC]:                 ********* Received a GC event *********
 [EVENT]:                GCEV_RESETLINEDEV
 [STATE]:                GCST_IDLE is the current GC call state
 [GC_APICALL]: gc_MakeCall(linedev=1, numberstr=1234567, mode=EV_ASYNC) Success
 [STATE]:                GCST_NULL is the new GC call state after processing the event
 [MISC]:                 ********* Received a GC event *********
 [EVENT]:                GCEV_ALERTING
 [STATE]:                GCST_NULL is the current GC call state
 [STATE]:                GCST_ALERTING is the new GC call state after processing the event
 [MISC]:                 ********* Received a GC event *********
 [EVENT]:                GCEV_CONNECTED
 [STATE]:                GCST_ALERTING is the current GC call state
 [MISC]:                 call connected - call progress not applicable
 [MISC]:                 gc_DropCall() will be issued in 1-2 seconds
 [STATE]:                GCST_CONNECTED is the new GC call state after processing the event
*******Received User Interrupted Signal*******
 [MISC]:                 ********* Program Exiting *********
 [MISC]:                 The total no of Outbound        calls on this device is: 3
 [MISC]:                 The total no of Inbound calls over all devices is: 0
 [MISC]:                 The total no of Outbound calls over all devices is: 3
 [MISC]:                 The total duration taken by the test is:  0.08 minutes

C:\bogotel\test\gc_basic_call_model\inst2>

C:\bogotel\test\gc_basic_call_model>gc_basic_call_model.exe
 [MISC]:                 SRL Model Set to SR_STASYNC | SR_POLLMODE
gc_basic_call_model_B1T1.log successfully opened
 [MISC]:                 ********** GC DEMO - BASIC CALL MODEL ***********

 [GC_APICALL]: gc_Start(startp = NULL) Success
 [MISC]:                  Call Control Library Status:
                  Lib 0 - configured
                  Lib 1 - configured
                  Lib 2 - configured
                  Lib 3 - configured
                  Lib 4 - configured
                  Lib 5 - configured
                  Lib 6 - configured
                  Lib 7 - configured
                  Lib 8 - configured

 [MISC]:                 SS7 device being opened
 [GC_APICALL]: gc_OpenEx(devicename=:N_dtiB1T1, mode=EV_SYNC) Success
 [MISC]:                 ********* Received a GC event *********
 [EVENT]:                GCEV_UNBLOCKED
 [STATE]:                GCST_NULL is the current GC call state
 [GC_APICALL]: gc_WaitCall(linedev=1, crnp=NULL, waittime=0, mode=EV_ASYNC) Success
 [STATE]:                GCST_NULL is the new GC call state after processing the event
 [MISC]:                 ********* Received a GC event *********
 [EVENT]:                GCEV_OFFERED
 [STATE]:                GCST_NULL is the current GC call state
 [GC_APICALL]: gc_GetDNIS(crn=0x1) Success - dnis = 1234567
 [GC_APICALL]: gc_GetANI(crn=0x1) Success - ANI = 7654321
 [GC_APICALL]: gc_AcceptCall(crn=0x1, mode=EV_ASYNC) Success
 [STATE]:                GCST_OFFERED is the new GC call state after processing the event
 [MISC]:                 ********* Received a GC event *********
 [EVENT]:                GCEV_ACCEPT
 [STATE]:                GCST_OFFERED is the current GC call state
 [GC_APICALL]: gc_AnswerCall(crn=0x1, mode=EV_ASYNC) Success
 [STATE]:                GCST_ACCEPTED is the new GC call state after processing the event
 [MISC]:                 ********* Received a GC event *********
 [EVENT]:                GCEV_ANSWERED
 [STATE]:                GCST_ACCEPTED is the current GC call state
 [STATE]:                GCST_CONNECTED is the new GC call state after processing the event
 [MISC]:                 ********* Received a GC event *********
 [EVENT]:                GCEV_DISCONNECTED
 [STATE]:                GCST_CONNECTED is the current GC call state
 [GC_APICALL]: gc_DropCall(crn=0x1, cause=GC_NORMAL_CLEARING, mode=EV_ASYNC) Success
 [STATE]:                GCST_DISCONNECTED is the new GC call state after processing the event
 [MISC]:                 ********* Received a GC event *********
 [EVENT]:                GCEV_DROPCALL
 [STATE]:                GCST_DISCONNECTED is the current GC call state
 [GC_APICALL]: gc_ReleaseCallEx(crn=0x1, EV_ASYNC) Success
 [STATE]:                GCST_IDLE is the new GC call state after processing the event
 [MISC]:                 ********* Received a GC event *********
 [EVENT]:                GCEV_RESETLINEDEV
 [STATE]:                GCST_IDLE is the current GC call state
 [GC_APICALL]: gc_WaitCall(linedev=1, crnp=NULL, waittime=0, mode=EV_ASYNC) Success
 [STATE]:                GCST_NULL is the new GC call state after processing the event
 [MISC]:                 ********* Received a GC event *********
 [EVENT]:                GCEV_OFFERED
 [STATE]:                GCST_NULL is the current GC call state
 [GC_APICALL]: gc_GetDNIS(crn=0x2) Success - dnis = 1234567
 [GC_APICALL]: gc_GetANI(crn=0x2) Success - ANI = 7654321
 [GC_APICALL]: gc_AcceptCall(crn=0x2, mode=EV_ASYNC) Success
 [STATE]:                GCST_OFFERED is the new GC call state after processing the event
 [MISC]:                 ********* Received a GC event *********
 [EVENT]:                GCEV_ACCEPT
 [STATE]:                GCST_OFFERED is the current GC call state
 [GC_APICALL]: gc_AnswerCall(crn=0x2, mode=EV_ASYNC) Success
 [STATE]:                GCST_ACCEPTED is the new GC call state after processing the event
 [MISC]:                 ********* Received a GC event *********
 [EVENT]:                GCEV_ANSWERED
 [STATE]:                GCST_ACCEPTED is the current GC call state
 [STATE]:                GCST_CONNECTED is the new GC call state after processing the event
 [MISC]:                 ********* Received a GC event *********
 [EVENT]:                GCEV_DISCONNECTED
 [STATE]:                GCST_CONNECTED is the current GC call state
 [GC_APICALL]: gc_DropCall(crn=0x2, cause=GC_NORMAL_CLEARING, mode=EV_ASYNC) Success
 [STATE]:                GCST_DISCONNECTED is the new GC call state after processing the event
 [MISC]:                 ********* Received a GC event *********
 [EVENT]:                GCEV_DROPCALL
 [STATE]:                GCST_DISCONNECTED is the current GC call state
 [GC_APICALL]: gc_ReleaseCallEx(crn=0x2, EV_ASYNC) Success
 [STATE]:                GCST_IDLE is the new GC call state after processing the event
 [MISC]:                 ********* Received a GC event *********
 [EVENT]:                GCEV_RESETLINEDEV
 [STATE]:                GCST_IDLE is the current GC call state
 [GC_APICALL]: gc_WaitCall(linedev=1, crnp=NULL, waittime=0, mode=EV_ASYNC) Success
 [STATE]:                GCST_NULL is the new GC call state after processing the event
 [MISC]:                 ********* Received a GC event *********
 [EVENT]:                GCEV_OFFERED
 [STATE]:                GCST_NULL is the current GC call state
 [GC_APICALL]: gc_GetDNIS(crn=0x3) Success - dnis = 1234567
 [GC_APICALL]: gc_GetANI(crn=0x3) Success - ANI = 7654321
 [GC_APICALL]: gc_AcceptCall(crn=0x3, mode=EV_ASYNC) Success
 [STATE]:                GCST_OFFERED is the new GC call state after processing the event
 [MISC]:                 ********* Received a GC event *********
 [EVENT]:                GCEV_ACCEPT
 [STATE]:                GCST_OFFERED is the current GC call state
 [GC_APICALL]: gc_AnswerCall(crn=0x3, mode=EV_ASYNC) Success
 [STATE]:                GCST_ACCEPTED is the new GC call state after processing the event
 [MISC]:                 ********* Received a GC event *********
 [EVENT]:                GCEV_ANSWERED
 [STATE]:                GCST_ACCEPTED is the current GC call state
 [STATE]:                GCST_CONNECTED is the new GC call state after processing the event
*******Received User Interrupted Signal*******
 [MISC]:                 ********* Program Exiting *********
 [MISC]:                 The total no of Inbound calls on this device is: 3
 [MISC]:                 The total no of Inbound calls over all devices is: 3
 [MISC]:                 The total no of Outbound calls over all devices is: 0
 [MISC]:                 The total duration taken by the test is:  0.30 minutes

C:\bogotel\test\gc_basic_call_model>

Last updated 30th Mar 2003