Quantcast
Channel: Dialogic PowerMedia HMP GlobalCall and R4 API - Recent Threads
Viewing all articles
Browse latest Browse all 1151

RE: HMP starts, but no audio on first call, and then can't be restarted in DCM

$
0
0

Hi Jeff,

Was able to re-create the issue this morning. Here's the timeline of what happens:

8:23 Cold boot

Board appears as started in DCM. Rtf logs some "Client detached" messages. dlgc_log logs some "Successfully reconnected to the License Server." messages to the Windows Event log. No errors.

8:30 Start my application

Application starts. All line devices and voice resources open and I also perform SIP registration with a PBX. I check every return code and wait for all the expected events, and it all seems to work, but the rtf log contains this:

04/06/2017 08:30:16.996   1724        1140                                      sm.cpp:342            !     0 ! gc_h3r:Monitor Init: SIP Board 0: transport address: 10.8.x.x
04/06/2017 08:30:16.996   1724        3740                                      mon_decenc.cpp:57     !     0 ! gc_h3r:>> MonDecoder::ctor Listening on IP=0x7f000001 : Port=64400
04/06/2017 08:30:17.511   1724        1140                                      sm.cpp:2571           !     0 ! gc_h3r: Sharon Version 5,2,2,802
04/06/2017 08:30:21.395   1724         680 gc_h3r                  ERR1         encoder.cpp:2367      !     0 ! Encoder::sendSysMsg : encodeCallForward failed:No Call Forward data in DB.

04/06/2017 08:30:21.395   1724         680 gc_h3r                  ERR1         board_device.cp:360   !     0 ! << CallForward Devil, sendSysMsg(MsgType_CallForward) failed!
04/06/2017 08:30:21.410   1724         860 gc_h3r                  ERR1         sip_register.cp:6485  !     0 ! SipRegAOR::completeEncodingOfSuccessResponse: no Service-Route header registered
04/06/2017 08:30:21.410   1724        5900 gc_h3r                  ERR1         sipheader_mgr.c:2245  !     0 ! << SipHeaderMgrFactory::DeallocateMgr - HeaderMgr 0x5fd93f8 was already deallocated!
04/06/2017 08:30:21.441   1724         680 gc_h3r                  ERR1         encoder.cpp:2367      !     0 ! Encoder::sendSysMsg : encodeCallForward failed:No Call Forward data in DB.
04/06/2017 08:30:21.441   1724         680 gc_h3r                  ERR1         board_device.cp:360   !     0 ! << CallForward Devil, sendSysMsg(MsgType_CallForward) failed!
04/06/2017 08:30:22.767   1724        4800 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/06/2017 08:30:22.767   1724        4800 libipm_ipvsc            ERR1         CIPVscChannel         ipmB1C1    ---  ::OnGetParm: ch=ipmB1C1 ErrorCode=0x6 -Invalid parameter number.
04/06/2017 08:30:22.892   1724        4800 Dm3Odi.dll              Error        Qcd [0:0:1:5:1] CDm3IPVsc::ProcessGetPortInfo() -> Unknown media information type = 0x32
04/06/2017 08:30:22.892   1724        4800 Dm3Odi.dll              Error        Qcd [0:0:1:5:1] CDm3IPVsc::ProcessGetPortInfo() -> Unknown media information type = 0xfe
04/06/2017 08:30:22.892   1724        4800 Dm3Odi.dll              Error        Qcd [0:0:1:5:1] CDm3IPVsc::ProcessGetPortInfo() -> Unknown media information type = 0x1
04/06/2017 08:30:22.892   1724        4800 Dm3Odi.dll              Error        Qcd [0:0:1:5:1] CDm3IPVsc::ProcessGetPortInfo() -> Unknown media information type = 0x104
04/06/2017 08:30:22.892   1724        4800 Dm3Odi.dll              Error        Qcd [0:0:1:5:1] CDm3IPVsc::ProcessGetPortInfo() -> Unknown media information type = 0x0
04/06/2017 08:30:22.892   1724        4800 Dm3Odi.dll              Error        Qcd [0:0:1:5:1] CDm3IPVsc::ProcessGetPortInfo() -> Unknown media information type = 0x0
04/06/2017 08:30:22.892   1724        4800 Dm3Odi.dll              Error        Qcd [0:0:1:5:1] CDm3IPVsc::ProcessGetPortInfo() -> Unknown media information type = 0x0
04/06/2017 08:30:22.892   1724        4800 Dm3Odi.dll              Error        Qcd [0:0:1:5:1] CDm3IPVsc::ProcessGetPortInfo() -> Unknown media information type = 0x0
04/06/2017 08:30:22.892   1724        4800 Dm3Odi.dll              Error        Qcd [0:0:1:5:1] CDm3IPVsc::ProcessGetPortInfo() -> Unknown media information type = 0x0
04/06/2017 08:30:22.892   1724        4800 Dm3Odi.dll              Error        Qcd [0:0:1:5:1] CDm3IPVsc::ProcessGetPortInfo() -> Unknown media information type = 0x0
04/06/2017 08:30:22.892   1724        4800 Dm3Odi.dll              Error        Qcd [0:0:1:5:1] CDm3IPVsc::ProcessGetPortInfo() -> Unknown media information type = 0x0
04/06/2017 08:30:22.892   1724        4800 Dm3Odi.dll              Error        Qcd [0:0:1:5:1] CDm3IPVsc::ProcessGetPortInfo() -> Unknown media information type = 0x0
04/06/2017 08:30:22.892   1724        4800 Dm3Odi.dll              Error        Qcd [0:0:1:5:1] CDm3IPVsc::ProcessGetPortInfo() -> Unknown media information type = 0x0
04/06/2017 08:30:56.966   1724         680 gc                      ERR1         gclib                 iptB1T1   ::::> gc_GetUserInfo(target_type:16, target_id) - returns:134217729
04/06/2017 08:31:37.830   1724         680 gc                      ERR1         gclib                 iptB1T4   ::::> gc_GetUserInfo(target_type:16, target_id) - returns:134217732

Note: the IP I highlighted in red is not the "Default IP Address" selected in the board configuration in DCM or encoded in the struct provided to gc_Start()

8:31 Ring in

Ringing into the app works, and can accept the call. Line device and voice resource are linked successfully (TDX_LISTEN and GCEV_LISTEN events arrive).

Try to play back an IVR message with dx_play(), function returns successful, but no RTP traffic is coming from the application and nothing is heard.

About 30 seconds after dx_play() was called and no other events, the GCEV_EXTENSION event arrives with  IPPARM_SIGNALING_DISCONNECTED. I suspect this is our PBX (AsteriskNow) trying to disconnect the call because it's noticed something is wrong. No GCEV_DISCONNECTED event arrives though

8:36 Shutdown the application

When I shut down the application after the above error, the application is able to de-register with SIP server, stop voice resources, reset and close line devices. No errors returned, expected events arrive. However when try to close the primary board (:N_iptB1:P_IP) gc_Close() fails with GCValue: 29, GCMessage System error or internal error, CCLibID: 0, CCLibName: GLOBALCALL, CCLibValue: 29, CCLibMessage: System error or internal error.

In the RTF log when this occurs:

04/06/2017 08:36:57.609   1724         860 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/06/2017 08:36:57.613   1724         860                                      sip_sigalmanage:426   !     0 ! gc_h3r:
                                                                               >>~SipSigalMan(): ******* Sigal SIP Board 1 IPC Msg Summary *******
                                                                               Total Msgs Sent = 53, Send Rate = 0 msgs/sec, Max Send Rate = 0 msgs/sec
                                                                               Total Msgs Rec  = 88, 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/06/2017 08:36:57.613   1724        5900                                      decoder.cpp:1197      !     0 ! gc_h3r:>> OnEventTerminate: Board 1 - SIP library is down numLoadedSubLibs = 1.
                                                                               ******************** Sharon SIP Board 1 Msg Summary ********************
                                                                               Total Msgs Sent = 88, Send Rate = 0 msgs/sec, Max Send Rate = 0 msgs/sec
                                                                               Total Msgs Rec  = 54, 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/06/2017 08:36:57.990   1724         680 gc                      ERR1         gclib                           ----- GCLINEDEV_TO_CCLLINEDEV_SR_RELEASE macro - gcdb_GCLdev_to_CCLLdev(gclinedev:1) failed: 29

8:42 Shutdown the board in DCM

When I shut down the board in DCM, dm3nk logs a Windows Event error with event data:

\Device\SSP
000000000200300000000000030007C0000000000000000000000000000000000000000000000000

In the RTF log:

04/06/2017 08:42:01.745   3244        5912 OAMSYSLOG               ErrorEx      DM3FDSP - <IsAlive> Board 0 : Terminate event
04/06/2017 08:42:01.745   3244        2740 OAMSYSLOG               ErrorEx      DM3FDSP - <QError> Board 0 : Terminate event
04/06/2017 08:42:01.745   7624        6852 OAMIPC                  Warning      OAMTransport - CSocketClientTransport::SendMessage() - m_ClientReceiveSocket.ShutAndCloseSocket failed

8:50 Try to restart the board in DCM, but fails with generic error message

RTF log:

04/06/2017 08:50:58.572   9052        6852 OAMSYSLOG               ErrorEx      NCMAPI - NCMMgr::checkDSSstate - OpenEvent on PnPDetection Event failed, last error = 2, wait for 0.5sec and try again
04/06/2017 08:50:59.074   9052        6852 OAMSYSLOG               ErrorEx      NCMAPI - NCMMgr::checkDSSstate - OpenEvent on PnPDetection Event failed, last error = 2
04/06/2017 08:52:14.087   7984        8304 OAMSYSLOG               ErrorEx      DLGCSERV - <DSS> RunProgsInKey : ServiceControl dlgcstart dm3config -tDLGCDM3 returned fatal error.
04/06/2017 08:52:14.113   7984        8304 OAMSYSLOG               ErrorEx      DLGCSERV - Dialogic System Service stopping

Windows event log:

dm3nk:
Device\SSP
qkernel
0
qkernerr.h
3901F
qkernerr.h
000000000600300000000000030007C0000000000000000000000000000000000000000000000000

dlgc_log:
<DSS> RunProgsInKey : ServiceControl dlgcstart dm3config -tDLGCDM3 returned fatal error

DM3Config:
Download failed for HMP_Software #0 in slot 0/65535
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

Additional Info

The computer is running System Center Endpoint Protection for antivirus and has no particular rule for any Program Files folders. However, I have been running HMP on this computer for a while, and never encountered this particular problems until recently.

Also I have two network cards, and run AsteriskNow in VMWare which creates Virtual Ethernet Adapters. Possibly this is a factor.

I am running 3.0 SU 372 on Windows 8.1


Viewing all articles
Browse latest Browse all 1151

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>