gc_basic_call_model doesnt run in linux

rated by 0 users
This post has 5 Replies | 3 Followers

Not Ranked
Male
Posts 9
Points 75
biswajit Posted: 03-16-2010 6:37 AM

I have installed SR 6.1 update in centos 5.4.After installation I run ./dlstart command and then run  gc_basic_call_model as a demo programm.But following errors occure

 [MISC]:                 SRL mode ID set to SR_POLLMODE
gc_basic_call_model_dti06 .log successfully opened
gc_basic_call_model_dti06 .log successfully opened
 [GC_APICALL]: gc_Start(startp = NULL) Success
 [MISC]:                  Call Control Library Status:
                  GC_ICAPI_LIB - available
                  GC_ISDN_LIB - available
                  GC_ANAPI_LIB - available
                  GC_PDKRT_LIB - available
                  GC_SS7_LIB - available
                  GC_DM3CC_LIB - available
                  GC_IPM_LIB - available
                  GC_H3R_LIB - is not available for use
                  GC_DIVAISDN_LIB - is not available for use
                  GC_CUSTOM1_LIB - configured

 [MISC]:                 E1 or T1 device being opened
 [GC_APIERR]:    gc_OpenEx(devicename=:N_Board:P_#1:V_, mode=EV_SYNC) Failed
                                         GC ERROR: dt_open failed
                                         CC Name: GC_ICAPI_LIB
                                         CC ERROR: dt_open failed

 [MISC]:                 ********* Program Exiting *********
 [MISC]:                 The total no of Outbound calls on this device is: 0
 [MISC]:                 The total no of Inbound calls over all devices is: 0
 [MISC]:                 The total no of Outbound calls over all devices is: 0
 [MISC]:                 The total duration taken by the test is:  0.07 minutes
 [MISC]:                 The total no of Outbound calls on this device is: 0
 [MISC]:                 The total no of Inbound calls over all devices is: 0
 [MISC]:                 The total no of Outbound calls over all devices is: 0
 [MISC]:                 The total duration taken by the test is:  0.07 minutes

Please help

Top 25 Contributor
Male
Posts 245
Points 3,952
Dialogic Employee

The device name you are trying to use is definitely wrong:

gc_OpenEx(devicename=:N_Board:P_#1:V_, mode=EV_SYNC)

Depending on the model of board you are using, the device name should look something like this:
:N_dtiB1T1:P_ISDN:V_dxxxB1C1

So there seems to be some mistake in the gc_basic_call_model.cfg config file. Please check the Global Call demo guide for information on how to configure this demo:
http://www.dialogic.com/manuals/docs/globalcall_demo_v2.pdf

 

  • | Post Points: 20
Not Ranked
Male
Posts 9
Points 75

Thank you christian.I have reinstalled SR6.1 then start 'dlstart' command then gc_basic_call_model demo.But it shows another problem -

 

gc_basic_call_model_B1C1.log successfully opened
gc_basic_call_model_B1C2.log successfully opened
 [GC_APICALL]: gc_Start(startp = NULL) Success
 [MISC]:                  Call Control Library Status:
                  GC_ICAPI_LIB - available
                  GC_ISDN_LIB - available
                  GC_ANAPI_LIB - available
                  GC_PDKRT_LIB - available
                  GC_SS7_LIB - available
                  GC_DM3CC_LIB - available
                  GC_IPM_LIB - available
                  GC_H3R_LIB - available
                  GC_DIVAISDN_LIB - is not available for use
                  GC_CUSTOM1_LIB - configured

 [MISC]:                 Analog device being opened
 [GC_APIERR]:    gc_OpenEx(devicename=:P_pdk_na_an_io:V_dxxxB1C1, mode=EV_SYNC) Failed
                                         GC ERROR: dt_open failed
                                         CC Name: GC_PDKRT_LIB
                                         CC ERROR: dt_open failed

 [MISC]:                 ********* Program Exiting *********
 [MISC]:                 The total no of Inbound calls on this device is: 0
 [MISC]:                 The total no of Inbound calls over all devices is: 0
 [MISC]:                 The total no of Outbound calls over all devices is: 0
 [MISC]:                 The total duration taken by the test is:  0.05 minutes
 [MISC]:                 The total no of Outbound calls on this device is: 0
 [MISC]:                 The total no of Inbound calls over all devices is: 0
 [MISC]:                 The total no of Outbound calls over all devices is: 0
 [MISC]:                 The total duration taken by the test is:  0.05 minutes

 

 

  • | Post Points: 5
Not Ranked
Male
Posts 9
Points 75

I found another error here whenever i compile the gc_baisc_call_model directory by 'make all' command

 

[root@localhost gc_basic_call_model]# make all
cc -g -Wall -I/usr/dialogic//inc -Dlint   -c -o gc_basic_call_model.o gc_basic_call_model.c
cc gc_basic_call_model.o -L/usr/dialogic//lib -lgc  -o gc_basic_call_model
/usr/bin/ld: skipping incompatible /usr/dialogic//lib/libgc.so when searching for -lgc
/usr/bin/ld: skipping incompatible /usr/lib/libgc.so when searching for -lgc
/usr/bin/ld: cannot find -lgc
collect2: ld returned 1 exit status
make: *** [gc_basic_call_model] Error 1

  • | Post Points: 20
Top 50 Contributor
Posts 129
Points 1,500

I've seen such error once, when I installed a 64bit linux. If that is your case, maybe you should add the option -m32 to gcc.

  • | Post Points: 20
Not Ranked
Male
Posts 9
Points 75

May be.Bcause I also installed 64 bit.Could you please tell me how to add the option -m32 to gcc.

  • | Post Points: 5
Page 1 of 1 (6 items) | RSS