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_POLLMODEgc_basic_call_model_dti06 .log successfully openedgc_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
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
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 openedgc_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
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 allcc -g -Wall -I/usr/dialogic//inc -Dlint -c -o gc_basic_call_model.o gc_basic_call_model.ccc 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 -lgccollect2: ld returned 1 exit statusmake: *** [gc_basic_call_model] Error 1
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.
May be.Bcause I also installed 64 bit.Could you please tell me how to add the option -m32 to gcc.