Hi all!
Trying to up following confihuration: septel SPCI4 + DNI310 on HMP 3.1LIN. All trunks connected to septel board, and routed to ctbus (LIU_SC_DRIVE cmd).
Error occured during gc_Listen() command call, reporting error "Device does not support SCBus routing functions".
In rtflog I can see that dx_getxmitslot() returns 4096, which outbounds phisical CTbus.
How can I force HMP DX device to use ctbus routable timeslots (less than 4096) ?
Log:
7248 gc APPL gclib ::::> gc_Start() - returns:07248 gc APPL gclib <:::: gc_CCLibStatusEx(cclib_name:GC_ALL_LIB)7248 gc APPL gclib ::::> gc_CCLibStatusEx(cclib_name:GC_ALL_LIB) - Exit7248 gc APPL gclib <:::: gc_OpenEx(name::N_dkB1T1:P_SS7:V_dxxxB1C1, mode:sync)7248 dm3low INFO Libdxxdm3 Version : DLcid 6.1.1.4 DM3 Voice Library7248 dm3low INFO DeviceInfoData Opening shared memory file /tmp/CheetahSharedMemory.dat7248 dm3low INFO DeviceInfoData Mapping /tmp/CheetahSharedMemory.dat in shared memory (8012 bytes)7248 dm3voice APPL libdxxdm3 dxxxB1C1 <==== dx_open7248 dm3low INFO DeviceInfoData UMBC DATA BRIDGE IS SUPPORTED7248 dm3low INFO DeviceInfoData UMBC DATA BRIDGE IS SUPPORTED7248 dm3low INFO ResourceMngr dm3B1 ----- Dm3ResourceManager <0x9> being created (0:1:1:0: 5)7248 dm3low INFO DeviceInfoData UMBC DATA BRIDGE IS SUPPORTED7248 dm3low INFO Dm3 dxxxB1C1 GetGroup(B=1) returned 17248 dm3voice APPL libdxxdm3 dxxxB1C1 ====> dx_open returns 0x27248 dm3voice APPL libdxxdm3 dxxxB1C1 <:::: dx_listen(0x2)7248 dm3voice APPL libdxxdm3 dxxxB1C1 ::::> dx_listen(0x2) returned 07248 dm3voice APPL libdxxdm3 dxxxB1C1 <:::: dx_getxmitslot(0x2)7248 dm3voice APPL libdxxdm3 dxxxB1C1 ::::> dx_getxmitslot(0x2)->4096 returned 07248 gc APPL gclib ::::> gc_OpenEx(ldev:3, name::N_dkB1T1:P_SS7:V_dxxxB1C1, mode:sync) returns:07248 gc APPL gclib <:::: gc_GetResourceH(linedev:3, resource_type:1)7248 gc APPL gclib <:::: gc_GetNetworkH(linedev:3)7248 gc APPL gclib dkB1T1 ::::> gc_GetNetworkH(linedev:3, networkh:3) - returns:07248 gc APPL gclib dkB1T1 ::::> gc_GetResourceH(linedev:3, resourceh:3, resource_type:1) - returns:07248 gc APPL gclib <:::: gc_GetResourceH(linedev:3, resource_type:2)7248 gc APPL gclib <:::: gc_GetVoiceH(linedev:3)7248 gc APPL gclib dkB1T1 ::::> gc_GetVoiceH(linedev:3, voiceh:2) - returns:07248 gc APPL gclib dkB1T1 ::::> gc_GetResourceH(linedev:3, resourceh:2, resource_type:2) - returns:07248 gc APPL gclib <:::: gc_GetXmitSlot(linedev:3)7248 gc APPL gclib dkB1T1 ::::> gc_GetXmitSlot(linedev:3) - returns:07248 dm3voice APPL libdxxdm3 dxxxB1C1 <:::: dx_listen(0x2)7248 dm3voice APPL libdxxdm3 dxxxB1C1 ::::> dx_listen(0x2) returned 07248 dm3voice APPL libdxxdm3 dxxxB1C1 <:::: dx_getxmitslot(0x2)7248 dm3voice APPL libdxxdm3 dxxxB1C1 ::::> dx_getxmitslot(0x2)->4096 returned 07248 gc APPL gclib <:::: gc_Listen(linedev:3, mode:sync)7248 gc ERR1 gclib dkB1T1 ::::> gc_Listen(linedev:3, mode:sync) - returns:-17248 gc APPL gclib <:::: gc_ErrorInfo()7248 gc APPL gclib <:::: gc_ErrorValue()7248 gc APPL gclib ::::> gc_ErrorValue(gc_error:10, cclib_id:5, cc_error:32777) is called
config.txt fragment:
SS7_BOARD 0 SPCI4 0x0043 ss7.dc3 25 *$ hw_type=SS7SPCI4LIU_CONFIG 0 0 5 1 2 3LIU_SC_DRIVE 0 0 512 0xfffefffeLIU_CONFIG 0 1 5 1 2 3LIU_SC_DRIVE 0 1 542 0xfffefffeLIU_CONFIG 0 2 5 1 2 3LIU_SC_DRIVE 0 2 572 0xfffefffeLIU_CONFIG 0 3 5 1 2 3LIU_SC_DRIVE 0 3 602 0xfffefffe
Thanks for any help!
Since GC can route automatically, I have removed LIU_SC_DRIVE commands from config, and excluded getxmitslot/listen commands from code.
Now I have got following error in ss7 library log (during gc_OpenEx() call):
14:47 51.445 DEBG: ConfigAnalyzer::TsAssign() assign the CT Bus timeslot:384 for Channel:dkB4T614:47 51.445 DEBG: ConfigAnalyzer::TsAssign() assign the CT Bus timeslot:385 for Channel:dkB4T714:47 51.445 DEBG: ConfigAnalyzer::TsAssign() assign the CT Bus timeslot:386 for Channel:dkB4T814:47 51.445 DEBG: ConfigAnalyzer::TsAssign() assign the CT Bus timeslot:387 for Channel:dkB4T914:47 51.446 DEBUG: [0x00000000] TrunkDevice::PreInit() Ok14:47 51.482 DEBG: s7_OpenEx(dkB1T1) Board dkB1 found; 1 timeslots registered14:47 51.482 ==> [0x00000001] MT_OPEN_REQ in cs_UNKNOWN14:47 51.482 ::> [0x00000001] Attach(2)14:47 51.482 ::> [0x00000001] Listen(4096, Mode:0x0)14:47 51.482 ::> [0x00000001] RouteTS(TS:4096, Mode:0x0)14:47 51.482 DEBG: GetUMBCInterface() - Loading umbc library14:47 51.482 ERROR: [0x00000001] LineDevice::RouteTS() - UMBC_ConnectSBusToCTBus() Failed E[0x1] TS[4096]14:47 51.482 <:: s7_OpenEx(:N_dkB1T1:P_SS7:V_dxxxB1C1)14:47 51.482 <== [0x00000001] MT_OPEN_CONF in cs_UNKNOWN, size=1014:47 51.482 <== [0x00000001] MT_ALARM_IND in cs_UNKNOWN, size=2514:47 51.482 <:: [0x00000001] $SRLEvent=2146, AlarmOn=1, magic=0x0000, cause=0x40b114:47 52.023 <== [0x00000001] MT_UNBLOCKED_IND in cs_UNKNOWN, size=1614:47 52.026 <:: [0x00000001] GCEV_UNBLOCKED, crn=0x00, magic=0x0000, cause=0x400b14:47 52.029 ::> [0x00000001] ResetLineDev()14:47 52.029 ==> [0x00000001] MT_RESET_REQ in cs_READY14:47 52.561 <== [0x00000001] MT_RESET_CONF in cs_READY, size=614:47 52.561 <:: [0x00000001] GCEV_RESETLINEDEV, crn=0x00, magic=0x0000, cause=0x000014:47 52.564 ::> [0x00000001] WaitCall()14:47 52.564 ==> [0x00000001] MT_WAITCALL_REQ in cs_READY14:47 56.485 ::> [0x00000001] SetParm(GCPR_RECEIVE_INFO_BUF)14:47 56.485 ==> [0x00000001] MT_PRM_REQ: GCPR_RECEIVE_INFO_BUF = 814:47 58.445 <== MT_KEEPALIVE_IND14:47 58.445 ==> MT_KEEPALIVE_RESP
Other issue is I cant do uny DX operations, such as dx_clrdigbuf() or dx_playwav():
2286226352 spwrvoice APPL dxio (unreg'd) <:::: dx_stopch(2,32768)2286226352 dm3voice APPL libdxxdm3 dxxxB1C1 <:::: dx_stopch(0x2, 0x8000)2286226352 dm3voice APPL libdxxdm3 dxxxB1C1 ::::> dx_stopch2286226352 gc WARN gcrtcm_mgr ----- FindLineDevObject() - GetLineDevObjectByID(ccliblinedev:2) failed2286226352 spwrvoice APPL dxio (unreg'd) ::::> dx_stopch() = 02286226352 gc WARN gcrtcm_mgr ----- FindLineDevObject() - GetLineDevObjectByID(ccliblinedev:2) failed2286226352 spwrvoice APPL dxcfg (unreg'd) <:::: dx_clrdigbuf(2)2286226352 dm3voice APPL libdxxdm3 dxxxB1C1 <:::: dx_clrdigbuf(0x2)2286226352 dm3low EXCE NotSupportedException at VoiceChannel.cpp:2426 (0x8)2286226352 dm3voice ERR1 libdxxdm3 dxxxB1C1 ::::> dx_clrdigbuf returns -12286226352 gc WARN gcrtcm_mgr ----- FindLineDevObject() - GetLineDevObjectByID(ccliblinedev:2) failed2286226352 spwrvoice APPL dxcfg (unreg'd) ::::> dx_clrdigbuf() = -12286226352 gc WARN gcrtcm_mgr ----- FindLineDevObject() - GetLineDevObjectByID(ccliblinedev:2) failed2286226352 spwrvoice APPL dxio (unreg'd) <:::: dx_playwav(2,/tmp/test.wav,0x8844fba0,0)2286226352 dm3voice APPL libdxxdm3 dxxxB1C1 <:::: dx_set_lasterr(0x2, 0xf)2286226352 dm3voice APPL libdxxdm3 dxxxB1C1 ::::> dx_set_lasterr returns 02286226352 gc WARN gcrtcm_mgr ----- FindLineDevObject() - GetLineDevObjectByID(ccliblinedev:2) failed2286226352 spwrvoice APPL dxio (unreg'd) ::::> dx_playwav() = -12306747312 gc APPL gcep dkB1T1 ----- GC event:0x826h(GCEV_DISCONNECTED) posted on linedev:3, crn:0x10003h
BTW: It seems to be.. first attempt of dx_setevtmsk timed out (but on application level no errors got)
26893 1093987248 dm3low WARN VoiceChanMgr dxxxB1C1 ====> WaitObjectReady timed out!5 26893 1093987248 dm3voice APPL libdxxdm3 dxxxB1C1 ::::> dx_setevtmsk returns 05 26893 1093987248 dm3voice APPL libdxxdm3 dxxxB1C1 <:::: dx_setevtmsk(0x2, 0x80)5 26893 1093987248 dm3voice APPL libdxxdm3 dxxxB1C1 ::::> dx_setevtmsk returns 0
What wrong with voice device ??
Dear MAX,
Did you solve this Issue ??
as i face the same problem
BR,