Hi, I'm having a periodic issue with HMP 3.0 build 372 on Windows 8.
My HMP app will start correctly, and be able to open all line devices and voice resources and do a gc_WaitCall(). However, after answering a call it will occasionally fail to start the RTP traffic and we can't playback audio. In Wireshark it can be seen that the incoming call starts sending RTP traffic to the app, but not vice-versa. No HMP api call is returning any error. When the call hangs up, the SIP BYE is sent correctly, but HMP generates no GCEV_DISCONNECTED event. However, a GCEV_EXTENSION with ext_id = IPEXTID_IPPROTOCOL_STATE, param_id = IPPARM_SIGNALING_DISCONNECTED is sent during the call.
After this occurs, I try restarting HMP via DCM. Shutting down takes a long time (seems like something is just timing out). Attempting to restart then just generates a generic error message. Trying to manually restart the Windows services doesn't work fix it either, and the only solution is to restart the computer and try again. The issue sometimes happens on fresh boots, but can also start occurring after HMP was working properly and the computer has been left running for a while (perhaps after sleeping?)
In the Windows Event Log I see these error messages:
dlgc_log:
<DSS> RunProgsInKey : ServiceControl dlgcstart dm3config -tDLGCDM3 returned fatal error.
<DSS> RunProgsInKey : CreateProcess FATAL ERROR : ServiceControl dlgcstart dm3config -tDLGCDM3
DM3Config:
General fault: Download failed for HMP_Software #0 in slot 0/65535
General fault: MC_ERROR_START_CP_RUNTIME: Failed to start Control Processor runtime Kernel
Board Number: 0
Processor: 1
Instance: 0
Additional Data: Image Name = "C:\Program Files (x86)\Dialogic\HMP\bin\cpload_ssp.exe " ,CmdLine = -b0 -p1 -f"C:\Program Files (x86)\Dialogic\HMP\data\ssp.mlm" -dd, ErrorCode = 21
dm3nk:
\Device\SSP
qkernel
0
qkernerr.h
3901F
qkernerr.h
The RTF log also has errors. In the app, the failed call received GCEV_ANSWERED and GCEV_LISTENED events at 9:18:35, the IPPARM_SIGNALING_DISCONNECTED message arrives 09:18:44. There is a gap in the log at that point:
04/04/2017 09:17:51.055 7228 2220 sm_main.cpp:340 ! 0 ! gc_h3r:>> h3r_Start : gc_start_structp->version=513, media_operational_mode=EmbeddedMedia
04/04/2017 09:18:05.887 7228 2220 decoder.cpp:72 ! 0 ! gc_h3r:Sharon - Decoder Send socket binding on IP=0x100007f : Port=6631
04/04/2017 09:18:05.887 7228 2220 decoder.cpp:85 ! 0 ! gc_h3r:Sharon - Listening on IP=0x7f000001 : Port=59161
04/04/2017 09:18:05.890 7228 2220 virt_board.cpp:181 ! 0 ! gc_h3r:MIME pool allocation complete size 0x5c4 number 100.
04/04/2017 09:18:05.890 7228 2220 virt_board.cpp:209 ! 0 ! gc_h3r:NSControlData pool allocation complete size 0xff number 0.
04/04/2017 09:18:05.890 7228 2220 sm.cpp:2511 ! 0 ! gc_h3r: Allocation: Board 1 - Sharon = 20 , H323 = 0 , SIP = 20
04/04/2017 09:18:05.890 7228 2220 sm.cpp:2518 ! 0 ! gc_h3r: Allocation: CRNs = 20 , Extension buffers = 130
04/04/2017 09:18:05.890 7228 2220 sm.cpp:1086 ! 0 ! gc_h3r:Initialization: delimiter: ',', IP_VIRTBOARD version: 0x117
04/04/2017 09:18:05.890 7228 2220 sm.cpp:472 ! 0 ! gc_h3r:Initialization: SIP Board 0: IPv4 transport address: DEFAULT_HOST_IPADDR:5050
04/04/2017 09:18:05.890 7228 2220 sm.cpp:474 ! 0 ! gc_h3r:Initialization: SIP Board 0: IPv6 transport address: DEFAULT_HOST_IPADDR:5050
04/04/2017 09:18:05.890 7228 2220 sm.cpp:476 ! 0 ! gc_h3r:Initialization: SIP Board 0: sip_msginfo_mask: 0xf, sup_serv_mask: 0x0, dynamic_outbound_proxy_enable: 0x0
04/04/2017 09:18:05.890 7228 11344 sip_decoder.cpp:64 ! 0 ! gc_h3r: Board 1 - Listening on IP=0x7f000001 : Port=59162
04/04/2017 09:18:05.890 7228 11344 sip_encoder.cpp:164 ! 0 ! gc_h3r:Board 1 - Sharon on IP=0x7f000001 : Port=59161
04/04/2017 09:18:05.963 7228 11344 sip_sigalmanage:1294 ! 0 ! gc_h3r:Board 1 - RV SIP Stack Version 6.5.0.14
04/04/2017 09:18:05.966 7228 11344 sip_sigal_main.:127 ! 0 ! gc_h3r:Board 1 - Sigal SIP Version 5,2,2,802
04/04/2017 09:18:06.469 7228 2220 sm.cpp:342 ! 0 ! gc_h3r:Monitor Init: SIP Board 0: transport address: 192.x.x.1
04/04/2017 09:18:06.470 7228 6476 mon_decenc.cpp:57 ! 0 ! gc_h3r:>> MonDecoder::ctor Listening on IP=0x7f000001 : Port=59163
04/04/2017 09:18:06.972 7228 2220 sm.cpp:2571 ! 0 ! gc_h3r: Sharon Version 5,2,2,802
04/04/2017 09:18:11.023 7228 4776 gc_h3r ERR1 encoder.cpp:2367 ! 0 ! Encoder::sendSysMsg : encodeCallForward failed:No Call Forward data in DB.
04/04/2017 09:18:11.023 7228 4776 gc_h3r ERR1 board_device.cp:360 ! 0 ! << CallForward
, sendSysMsg(MsgType_CallForward) failed!
04/04/2017 09:18:11.047 7228 11344 gc_h3r ERR1 sip_register.cp:6485 ! 0 ! SipRegAOR::completeEncodingOfSuccessResponse: no Service-Route header registered
04/04/2017 09:18:11.047 7228 6508 gc_h3r ERR1 sipheader_mgr.c:2245 ! 0 ! << SipHeaderMgrFactory::DeallocateMgr - HeaderMgr 0x6a09c88 was already deallocated!
04/04/2017 09:18:11.083 7228 4776 gc_h3r ERR1 encoder.cpp:2367 ! 0 ! Encoder::sendSysMsg : encodeCallForward failed:No Call Forward data in DB.
04/04/2017 09:18:11.083 7228 4776 gc_h3r ERR1 board_device.cp:360 ! 0 ! << CallForward
, sendSysMsg(MsgType_CallForward) failed!
04/04/2017 09:18:12.428 7228 9720 Dm3Odi.dll Error Qcd [0:0:1:5:1] CDm3StdComp::Dm3GetErrorResult() -> (Std_MsgError) Message[0x12] Xid[0x6] Src[0:0:1:5:1] Dest[4:255:0:0:0] ErrorCode[0x6]
04/04/2017 09:18:12.428 7228 9720 libipm_ipvsc ERR1 CIPVscChannel ipmB1C1 --- ::OnGetParm: ch=ipmB1C1 ErrorCode=0x6 -Invalid parameter number.
04/04/2017 09:18:12.519 7228 9720 Dm3Odi.dll Error Qcd [0:0:1:5:1] CDm3IPVsc::ProcessGetPortInfo() -> Unknown media information type = 0x32
04/04/2017 09:18:12.519 7228 9720 Dm3Odi.dll Error Qcd [0:0:1:5:1] CDm3IPVsc::ProcessGetPortInfo() -> Unknown media information type = 0x2b
04/04/2017 09:18:12.519 7228 9720 Dm3Odi.dll Error Qcd [0:0:1:5:1] CDm3IPVsc::ProcessGetPortInfo() -> Unknown media information type = 0x0
04/04/2017 09:18:12.519 7228 9720 Dm3Odi.dll Error Qcd [0:0:1:5:1] CDm3IPVsc::ProcessGetPortInfo() -> Unknown media information type = 0x0
04/04/2017 09:18:12.519 7228 9720 Dm3Odi.dll Error Qcd [0:0:1:5:1] CDm3IPVsc::ProcessGetPortInfo() -> Unknown media information type = 0x0
04/04/2017 09:18:12.519 7228 9720 Dm3Odi.dll Error Qcd [0:0:1:5:1] CDm3IPVsc::ProcessGetPortInfo() -> Unknown media information type = 0x0
04/04/2017 09:18:12.519 7228 9720 Dm3Odi.dll Error Qcd [0:0:1:5:1] CDm3IPVsc::ProcessGetPortInfo() -> Unknown media information type = 0x0
04/04/2017 09:18:12.519 7228 9720 Dm3Odi.dll Error Qcd [0:0:1:5:1] CDm3IPVsc::ProcessGetPortInfo() -> Unknown media information type = 0x0
04/04/2017 09:18:12.519 7228 9720 Dm3Odi.dll Error Qcd [0:0:1:5:1] CDm3IPVsc::ProcessGetPortInfo() -> Unknown media information type = 0x0
04/04/2017 09:18:12.519 7228 9720 Dm3Odi.dll Error Qcd [0:0:1:5:1] CDm3IPVsc::ProcessGetPortInfo() -> Unknown media information type = 0x0
04/04/2017 09:18:35.068 7228 4776 gc ERR1 gclib iptB1T1 ::::> gc_GetUserInfo(target_type:16, target_id) - returns:134217729
04/04/2017 09:19:26.094 7228 11344 sip_stack Error 00002C50 ERROR - RA - RA_Alloc - (raH=0x061CCE08(Reg client pool),ElementPtr=0x0635CC48)=-2: No more elements are available
04/04/2017 09:19:26.094 7228 11344 sip_stack Error 00002C50 ERROR - RLIST - RLIST_InsertTail - (hPoolList=0x061CCCF0)=-2
04/04/2017 09:19:26.094 7228 11344 sip_stack Error 00002C50 ERROR - REG_CLIENT - RvSipRegClientMgrCreateRegClient - Error - Failed to allocate new register-client object
04/04/2017 09:19:26.094 7228 11344 gc_h3r ERR1 sip_register.cp:2987 ! 0 ! << SipRegAOR::iniRegClient - RvSipRegClientMgrCreateRegClient(hRegClientMgr=0x61ccc48) failed: -2
04/04/2017 09:19:26.094 7228 11344 gc_h3r ERR1 sip_register.cp:3081 ! 0 ! <<SipRegAOR::processRegister - failed to retrieve RV Register-Client object handle.
04/04/2017 09:19:26.094 7228 11344 gc_h3r ERR1 sip_register.cp:3032 ! 0 ! << SipRegAOR::getRegClientState - either m_hRegClient(0x0) or pState(0x635ccc8) were NULL
04/04/2017 09:19:26.094 7228 11344 gc_h3r ERR1 sip_sigalmanage:2322 ! 0 ! <<SipSigalMan::processRegistration() - Failed to process the Register request and get RV Reg-Client's state, destroying SipRegAOR=0x6ad6fd0
04/04/2017 09:19:26.094 7228 11344 gc_h3r ERR1 sip_decoder.cpp:1433 ! 0 ! << SIP_DECODER::decodeSystemMsg(): postRegistrationService() failed: [-996]
04/04/2017 09:19:26.094 7228 11344 gc_h3r ERR1 sip_decoder.cpp:611 ! 0 ! << SIP_DECODER::decodeMsg(): decodeSystemMsg() failed msg MsgType_RegistrationService (19) : [-996]
04/04/2017 09:19:26.094 7228 11344 gc_h3r ERR1 sip_ipc.cpp:311 ! 0 ! recv :error on decodeMsg
04/04/2017 09:19:44.255 7228 11344 sip_sigalmanage:364 ! 0 ! gc_h3r:>>~SipSigalMan(): **************** Sigal Sip Board 1 Rv Stack Network Msg Summary *************
04/04/2017 09:19:44.255 7228 11344 sip_sigalmanage:367 ! 0 ! gc_h3r:StackReceive Stats rcvdINVITE=2, rcvdINVITERetrans=1 rcvdNonInviteReq=11
04/04/2017 09:19:44.255 7228 11344 sip_sigalmanage:370 ! 0 ! gc_h3r:StackReceive Stats rcvdNonInviteReqRetrans=6 rcvdResponse=1 rcvdResponseRetrans=0
04/04/2017 09:19:44.255 7228 11344 sip_sigalmanage:373 ! 0 ! gc_h3r:StackSend Stats sentINVITE=0, sentINVITERetrans=0 sentNonInviteReq=1
04/04/2017 09:19:44.255 7228 11344 sip_sigalmanage:376 ! 0 ! gc_h3r:StackSend Stats sentNonInviteReqRetrans=0 sentResponse=6 sentResponseRetrans=0
04/04/2017 09:19:44.255 7228 11344 sip_sigalmanage:379 ! 0 ! gc_h3r:<<~SipSigalMan(): ****************** Summary Complete *****************************************
04/04/2017 09:19:44.255 7228 11344 gc_h3r ERR1 sip_register.cp:2888 ! 0 ! SipRegAOR::~SipRegAOR - Possible memory leak of RvRegisterClient object. (This message can appear if applications shut down without deregistering their Aliases.)
04/04/2017 09:19:44.255 7228 11344 sip_sigalmanage:426 ! 0 ! gc_h3r:
>>~SipSigalMan(): ******* Sigal SIP Board 1 IPC Msg Summary *******
Total Msgs Sent = 33, Send Rate = 0 msgs/sec, Max Send Rate = 0 msgs/sec
Total Msgs Rec = 72, Rec Rate = 0 msgs/sec, Max Rec Rate = 0 msgs/sec
Total Msgs Rec out of order = 0, Max Cached Msgs = 0, Max cached Time = 0 sec.
<<~SipSigalMan(): ****************** Summary Complete ******************
04/04/2017 09:19:44.255 7228 6508 decoder.cpp:1197 ! 0 ! gc_h3r:>> OnEventTerminate: Board 1 - SIP library is down numLoadedSubLibs = 1.
******************** Sharon SIP Board 1 Msg Summary ********************
Total Msgs Sent = 72, Send Rate = 0 msgs/sec, Max Send Rate = 0 msgs/sec
Total Msgs Rec = 34, Rec Rate = 0 msgs/sec, Max Rec Rate = 0 msgs/sec
Total Msgs Rec out of order = 0, Max Cached Msgs = 0, Max cached Time = 0 sec.
**************************** Summary Complete ****************************
04/04/2017 09:19:46.472 7228 6508 decoder.cpp:1244 ! 0 ! gc_h3r:>> OnEventTerminate: Board 1 - IP library is down numLoadedSubLibs = 0
Any thoughts or advice would be welcome,
Regards,
Brendan