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

RE: User-defined events

$
0
0

There is a function called sr_putevt() which could be used for your purposes.  The sr_putevt( ) function allows the application to add an event to the Standard Runtime Library

event queue within the same process.

More information can be found in the Standard Runtime Library (SRL) manual at:

www.dialogic.com/.../srl_api_v5.pdf

Hope this helps


User-defined events

$
0
0

I am converting a Natural Access application to HMP (which obviously means drastic surgery). One of the issues is that I have a third-party speech recognition application running as a separate process, which used to alert the Natural Access application that it had finished processing incoming speech by firing a user-defined CTA event at its event queue.

Is it possible to define specialised GCEV_xxx events and fire them at Global Call? (I have found nothing in the documentation which suggests that this is possible, but I may well have missed something.)

RE: User-defined events

$
0
0

It certainly does help, for the immediate problem. However, I have a wider issue, which the description in the SRL manual:

"The sr_putevt() function allows the application to add an event to the Standard Runtime Library event queue *within the same process* (emphasis mine).

The interface to the voice recognition software resides in the same process as the relevant application, so no problem there. However, my software is arranged as:

Process A (NCC services)                           Process B [, C, ....] (MSPP services)

ctaWaitEvent()

                                                                          ctaCreateContext (queuehd, 1, "MyContext" ...)

                                                                          ctaWaitEvent ()

ctaAttachContext (queuehd, 1, "MyContext" ...)

Call established

CTA_EVENT includes remote RTP address

ctaQueueEvent ()

                                                                         Event received

                                                                         establish RTP streams, etc

Call disconnected

CTA_EVENT includes notice of disconnection

ctaQueueEvent ()

                                                                        Event received

                                                                        disconnect RTP streams etc.

                                                                        CTA_EVENT with ack.

                                                                        ctaQueueEvent ()

Event received

Wrap up, release call etc.

Obviously, I depend on CTA events being fired between processes.

There are other means of Inter-Process Communication obviously, but is there such a method entirely within HMP?

RE: SIP Device names

$
0
0

Apologies for typo: the statement to open the devices in the example above should have read:

      if (gc_OpenEx  (&ldev, ":P_SIP:N_iptB1T1:M_ipmB1C1", EV_SYNC, NULL]) != GC_SUCCESS)

RE: SIP Device names

$
0
0

Generally speaking invalid device name means that the line device pass is not valid from the perspective of being enumerated when dialogic system services were started. In the case of IP you need to make sure that IP_VIRTBOARD structure was correctly populated with number of maxcalls in this case. Such that IPT device enumeration would be correct.

Refer to chapter 2.3 of the GC IP TUG:

www.dialogic.com/.../globalcall_for_ip_hmp_v12.pdf

Jeff

RE: ipm_InitResponseSend raise IPMEV_ERROR

$
0
0

What SU version in this case of HMP?  Also which O/S.

RE: Runtime Error on rvcommon.dll on D/480JCT-2T1 Board

$
0
0

Ok, rvcommon is part of the SIP stack libraries from IP host component. Its odd that had an issue on a board side system, since it would not be used. Most likely the mapping of the crash goes to something else.

Do you have a memory dmp file (generated when USER mode dump collection is enabled) on the system. You can check the actual stack in windbg to see what really shows up.

Jeff

RE: Connecting to another SIP Server

$
0
0

Are you looking to use HMP as a gateway in this case?  Meaing inbound calls come to PSTN (like DNI board) and then outbound goes to a SIP trunk (per say) to another gateway?

Jeff


RE: Long time to complete fx_stopch after received DIS

$
0
0

The reason behinds this could be because of the current fax operation (sending of T.30 signal / data)underneath the hood. Pending the time of when stop is called during the receive process would probably result in varying response times. If you waited longer and then hung up the call, does it happen any quicker?

Jeff

Long time to complete fx_stopch after received DIS

$
0
0

Hi,

I have setup fax reception on the incoming fax channel for G711. Then, I received RE-INVITE for T38 from remote side. I try to stop the current fax activity but  it consumed 5.5 seconds to complete this operation. Do it has any thing to speed up this processing ?

09/09/2015 14:29:07.785   5177  3360668528 dm3low                  DEBG         Dm3Object             dxxxB2C2  ----> Std_MsgSetxParms (30)
09/09/2015 14:29:07.785   5177  3360668528 dm3fax                  DEBG         Dm3Fax                dxxxB2C2  ----> Std_MsgSetParms (0xb00, '') L=1
09/09/2015 14:29:07.785   5177  3360668528 dm3fax                  DEBG         Dm3Fax                dxxxB2C2  ----> Std_MsgSetParms (0xb01, '') L=1
09/09/2015 14:29:07.785   5177  3360668528 dm3fax                  DEBG         Dm3Fax                dxxxB2C2  ----> Std_MsgSetParms (0xb02, '') L=1
09/09/2015 14:29:07.785   5177  3360668528 dm3fax                  APPL         libdm3fax             dxxxB2C2  ::::> fx_rcvfax(0xa) returns 0
09/09/2015 14:29:07.813   5177  3270503280 dm3low                  DEBG         Dm3Stream             WxxxB2C2  SWRIT AttachCmplt (StreamId=0x2 - Size=16224)
09/09/2015 14:29:07.813   5177  3270503280 dm3low                  DEBG         Dm3Stream             WxxxB2C2  ==<== OnStreamAttached in StreamConnectingWaitAttachCmplt
09/09/2015 14:29:07.813   5177  3270503280 dm3fax                  DEBG         Dm3Fax                dxxxB2C2  ==<== StreamNotification(0x2) (3) in state FaxSetup
09/09/2015 14:29:07.813   5177  3270503280 dm3fax                  DEBG         Dm3Fax                dxxxB2C2  ==<== consider as StreamConnected
09/09/2015 14:29:07.813   5177  3270503280 dm3fax                  DEBG         FaxChannel            dxxxB2C2  ==<== HandleFaxEvent. Type is 0x8009 in FaxChannelSetup
09/09/2015 14:29:07.813   5177  3270503280 dm3fax                  DEBG         FaxChannel            dxxxB2C2  <---- OnStreamConnect 0x8009 in FaxChannelSetup
09/09/2015 14:29:07.813   5177  3270503280 dm3fax                  DEBG         FaxChannel            dxxxB2C2  ----- CheckForStartingSession (0,0,1)
09/09/2015 14:29:07.813   5177  3270503280 dm3low                  DEBG         Dm3Stream             RxxxB2C2  SREAD AttachCmplt (StreamId=0x3 - Size=16224)
09/09/2015 14:29:07.813   5177  3270503280 dm3low                  DEBG         Dm3Stream             RxxxB2C2  ==<== OnStreamAttached in StreamConnecting
09/09/2015 14:29:07.813   5177  3270503280 dm3fax                  DEBG         Dm3Fax                dxxxB2C2  ==<== StreamConnected(0x3) in state FaxSetup
09/09/2015 14:29:07.813   5177  3270503280 dm3fax                  DEBG         FaxChannel            dxxxB2C2  ==<== HandleFaxEvent. Type is 0x8009 in FaxChannelSetup
09/09/2015 14:29:07.813   5177  3270503280 dm3fax                  DEBG         FaxChannel            dxxxB2C2  <---- OnStreamConnect 0x8009 in FaxChannelSetup
09/09/2015 14:29:07.813   5177  3270503280 dm3fax                  DEBG         FaxChannel            dxxxB2C2  ----- CheckForStartingSession (0,0,2)
09/09/2015 14:29:07.814   5177  3346955120 dm3low                  DEBG         Dm3Timeslot           dxxxB2C2  <---- QResultComplete (So1:ListenReroute EX:0x0) TransID:0x1
09/09/2015 14:29:07.814   5177  3346955120 dm3fax                  DEBG         FaxChannel            dxxxB2C2  ----- TS: ListenCompleted(1,1, 4099)
09/09/2015 14:29:07.814   5177  3346955120 dm3fax                  DEBG         FaxChannel            dxxxB2C2  ----- CheckForStartingSession (1,0,2)
09/09/2015 14:29:07.814   5177  3346955120 dm3fax                  INFO         Dm3Fax                dxxxB2C2  <---- OnSetxParmsCmplt in state FaxSetup
09/09/2015 14:29:07.814   5177  3346955120 dm3fax                  INFO         Dm3Fax                dxxxB2C2  <---- OnSetParmsCmplt in state FaxSetup
09/09/2015 14:29:07.814   5177  3346955120 dm3fax                  INFO         Dm3Fax                dxxxB2C2  <---- OnSetParmsCmplt in state FaxSetup
09/09/2015 14:29:07.814   5177  3346955120 dm3fax                  INFO         Dm3Fax                dxxxB2C2  <---- OnSetParmsCmplt in state FaxSetup
09/09/2015 14:29:07.814   5177  3346955120 dm3fax                  DEBG         FaxChannel            dxxxB2C2  ==<== HandleFaxEvent. Type is 0x8008 in FaxChannelSetup
09/09/2015 14:29:07.814   5177  3346955120 dm3fax                  DEBG         FaxChannel            dxxxB2C2  <---- OnSetupCmplt 0x8008 in FaxChannelSetup
09/09/2015 14:29:07.814   5177  3346955120 dm3fax                  DEBG         FaxChannel            dxxxB2C2  ----- CheckForStartingSession (1,1,2)
09/09/2015 14:29:07.814   5177  3346955120 dm3fax                  DEBG         Dm3Fax                dxxxB2C2  ----> QFC3_MsgSession(0x2, 0x3)
09/09/2015 14:29:07.844   5177  3346955120 dm3fax                  INFO         Dm3Fax                dxxxB2C2  <---- OnSessionAck in state FaxSession (m_StopRequest=0, Operation=2, Answer)
09/09/2015 14:29:07.844   5177  3346955120 dm3fax                  DEBG         Dm3Fax                dxxxB2C2  ----> QFC3_MsgAnswer
09/09/2015 14:29:10.919   5177  3346955120 dm3fax                  INFO         Dm3Fax                dxxxB2C2  <---- OnReportCapsEvt [DIS VR=1 BR=5 WD=2 LN=2 DF=1 EC=0 BF=0 ST=0 JP=0] S=FaxAnswer
09/09/2015 14:29:10.919   5177  3346955120 dm3fax                  INFO         Dm3Fax                dxxxB2C2  <---- OnReportTxHDLCEvt [FF138000EEFA808010] S=FaxAnswer
09/09/2015 14:29:10.919   5177  3346955120 dm3fax                  INFO         Dm3Fax                dxxxB2C2    >>  DIS
09/09/2015 14:29:13.350   5177  3346955120 dm3fax                  INFO         Dm3Fax                dxxxB2C2  <---- OnConnectEvt in state FaxAnswer
09/09/2015 14:29:13.361   5177  3360668528 dm3fax                  APPL         libdm3fax             dxxxB2C2  <:::: fx_stopch(0xa) [0x8000]
09/09/2015 14:29:13.361   5177  3360668528 dm3fax                  DEBG         FaxChannel            dxxxB2C2  ==<== StopChannel in FaxChannelFaxing
09/09/2015 14:29:13.361   5177  3360668528 dm3low                  DEBG         Dm3Stream             RxxxB2C2  ==<== Start in StreamReadIdle (Flag=0x2 - Failure =0)
09/09/2015 14:29:13.361   5177  3360668528 dm3low                  DEBG         Dm3Stream             RxxxB2C2  ==<== Read 04032 F=0x03 (0) 0xcf21c1c8
09/09/2015 14:29:13.361   5177  3360668528 dm3fax                  DEBG         Dm3Fax                dxxxB2C2  ----> QFC3_MsgStop
09/09/2015 14:29:13.361   5177  3360668528 dm3fax                  APPL         libdm3fax             dxxxB2C2  ::::> fx_stopch(0xa) returns 0
09/09/2015 14:29:18.780   5177  3346955120 dm3fax                  INFO         Dm3Fax                dxxxB2C2  <---- OnHangupStatusEvt [114] in state FaxWaitStop
09/09/2015 14:29:18.780   5177  3346955120 dm3fax                  INFO         Dm3Fax                dxxxB2C2  <---- OnSessionCmplt (1,0,0,0,0) in state FaxWaitStop
09/09/2015 14:29:18.780   5177  3346955120 dm3fax                  INFO         Dm3Fax                dxxxB2C2  <---- OnStopCmplt in state FaxWaitStop

Regards

Eddie

Dialogic card D/600JCT-2E1 compatible with hp server

$
0
0

hello ,


I want to know is what the HP ProLiant Gen8 DL380p is compatible with dialogic card D/600JCT-2E1.
or a reference in the HP servers that will comptaible with cards dialogic.

Best Regards

RE: Dialogic card D/600JCT-2E1 compatible with hp server

$
0
0

Well, you would need to contact HP about the potential slots sizes supported on varying servers. I can only stated the requirement as mentioned prior where it need to be able to fit a full size PCIe board.

Jeff

RE: Connecting to another SIP Server

$
0
0

Yeah, we use DNI as terminating inbound calls from PSTN and we want to transfer it to a SIP server outside the company.

Armin

RE: ipm_InitResponseSend raise IPMEV_ERROR

$
0
0

I used HMP 4.1 on CentOS 5.8 x64

ipm_InitResponseSend raise IPMEV_ERROR

$
0
0

Hi,

I used this function to send initResponse

bool
InitResponseSend ()
{
IPM_INIT_RESPONSE initResp;
IPM_NBUP_INIT_RESPONSE nbupResp;
// Initialize the main structure
INIT_IPM_INIT_RESPONSE (&initResp);
initResp.eProtocol = RTP_PROTOCOL_NBUP;
initResp.data.pNBUP = &nbupResp;
// Initialize the NBUP specific structure with an ACK response
INIT_IPM_NBUP_INIT_RESPONSE (&nbupResp);
nbupResp.eResponse = NBUP_INIT_RESPONSE_ACK;
printf("Calling ipm_InitResonseSend()\n");
if (ipm_InitResponseSend (g_hIPM, &initResp) == -1)
{
printf ("ipm_InitResponseSend failed\n");
return false;
}
return true;
}

Almost I received 

IPMEV_INIT_COMPLETE

But some times I received 

IPMEV_ERROR because 

EIPM_BADPARM
Invalid parameter

I don't know why? Please help me how to fix this


Runtime Error on rvcommon.dll on D/480JCT-2T1 Board

$
0
0

Hi,

 

We have built a IVR system using D/480JCT-2T1 board on Windows server 2008 R2 standard 64-bit machine to host 48 lines. We installed Dialogic (R) System Release 6.0 PCI Redistribute Edition for Windows Vista (6.1.269) on this machine.   The IVR system ran well, but once a while (like 2 or 3 days), IVR system received a runtime error and stopped. Does anyone have the same issues?

 

Thanks in advice!

David

 

Below is the error message. GenericIvr.exe is our IVR application, and the fault module is rvcommon.dll (which looks like Dialogic used it).

 

Log Name:     Application

Source:       Application Error

Date:         9/15/2015 1:26:07 PM

Event ID:     1000

Task Category: (100)

Level:         Error

Keywords:     Classic

User:         N/A

Computer:     IVRMACHINE

Description:

Faulting application name: GenericIvr.exe, version: 1.0.5736.16669, time stamp: 0x55f8280a

Faulting module name: rvcommon.dll, version: 1.0.18.0, time stamp: 0x4e5d3a2b

Exception code: 0xc0000005

Fault offset: 0x0000a634

Faulting process id: 0x20a8

Faulting application start time: 0x01d0efc3b1ccfa7b

Faulting application path: C:\Projects\MST\GenericIVR\GenericIvr.exe

Faulting module path: C:\Program Files (x86)\Dialogic\lib\rvcommon.dll

Report Id: d8bff168-5bce-11e5-8548-0cc47a1ec1aa

 

Event Xml:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

<System>

   <Provider Name="Application Error" />

   <EventID Qualifiers="0">1000</EventID>

   <Level>2</Level>

   <Task>100</Task>

   <Keywords>0x80000000000000</Keywords>

   <TimeCreated SystemTime="2015-09-15T17:26:07.000000000Z" />

   <EventRecordID>2423</EventRecordID>

   <Channel>Application</Channel>

   <Computer>IVRMACHINE</Computer>

   <Security />

</System>

<EventData>

   <Data>GenericIvr.exe</Data>

   <Data>1.0.5736.16669</Data>

   <Data>55f8280a</Data>

   <Data>rvcommon.dll</Data>

   <Data>1.0.18.0</Data>

   <Data>4e5d3a2b</Data>

   <Data>c0000005</Data>

   <Data>0000a634</Data>

   <Data>20a8</Data>

   <Data>01d0efc3b1ccfa7b</Data>

   <Data>C:\Projects\MST\GenericIVR\GenericIvr.exe</Data>

   <Data>C:\Program Files (x86)\Dialogic\lib\rvcommon.dll</Data>

   <Data>d8bff168-5bce-11e5-8548-0cc47a1ec1aa</Data>

</EventData>

</Event>

 

 

RE: Runtime Error on rvcommon.dll on D/480JCT-2T1 Board

$
0
0

Thanks Jeff.  I will try it.

David

RE: SIP Device names

$
0
0

I've actually gone backwards, as I cannot open the GC_H3R_LIB. I copypasted the source code from the MultiMediaDemo, with tweaks for my own system. Apologies for the length of this post but the output is roughly

IP_VIRTBOARD ipVirtBoard

{

version                             276

total_max_calls                     1

h323_max_calls                      0

sip_max_calls                       1

localIP                             type: IPVER4 5600a8c0 ( = 192.168.0.86)

h323_signaling_port                 65535 (0xffff)

sip_signaling_port                  5060

reserved                            0xffffffff (fixed)

size                                191 (fixed)

sip_msginfo_mask                    IP_SIP_MSGINFO_ENABLE | IP_SIP_MIME_ENABLE

sup_serv_mask                       0

h323_msginfo_mask                   0

sip_mime_mem                        version 256, size ffffffff, number ffffffff

terminal_type                       60

outbound_proxy_IP                   0xffffffff

outbound_proxy_port                 65535 (0xffff)

outbound_proxy_hostname             NULL

E_SIP_tcpenabled                    ENUM_Disabled

E_SIP_OutboundProxyTransport        ENUM_UDP

E_SIP_Persistence                   ENUM_PERSISTENCE_TRANSACT_USER

SIP_maxUDPmsgLen                    0

E_SIP_DefaultTransport              ENUM_UDP

E_SIP_RequestRetry                  ENUM_REQUEST_RETRY_ALL

E_SIP_OPTIONS_Access                ENUM_Disabled

SIP_registrar_registrations         -1

sip_tls_engine                      NULL

E_SIP_PrackEnabled                  ENUM_Disabled

E_SIP_SessionTimer_Enabled          ENUM_Disabled

SIP_SessionTimer_SessionExpires     1800

SIP_SessionTimer_MinSE              90

sip_stack_cfg                       NULL

E_SIP_UPDATE_Access                 ENUM_Disabled

E_SIP_dynamic_outbound_proxy_enabled  ENUM_Disabled

E_SIP_IPv6                          ENUM_Disabled

localIPv6                           0xfffff

localIPv6_iface_name                NULL

sip_max_subscription                0

E_SIP_MESSAGE_Access                ENUM_Disabled

E_SIP_OOD_NOTIFY_Access             ENUM_Enabled

E_SIP_Add_rport_to_Via_Header       ENUM_Disabled

}

IPCCLIB_START_DATA  cclibStartData

{

version: 513

delimiter ',' (0x2c)

num_boards: 1

board_list: &ipVirtBoard

max_parm_data_size: 4096

media_operational_mode: MEDIA_OPERATIONAL_MODE_1PCC

}

CCLIB_START_STRUCT ccstart[] =

{

{ "GC_DM3CC_LIB", NULL },

{ "GC_H3R_LIB", cclibStartData },

{ "GC_IPM_LIB", NULL },

};

GC_START_STRUCT gcstart

{

num_cclibs = 3;

cclib_list = ccstart;

}

gc_Start (gcstart) returns -1

gcValue: 140, gcMsg: The start procedure of a call control library failed, ccLibId: 0, ccLibName: GLOBALCALL

ccValue: 140, ccMsg: The start procedure of a call control library failed, additionalInfo:

The GC_DM3CC_LIB and GC_IPM_LIB libraries open OK. I get the same results when trying to run the MultiMedia demo.

Does anything hit anybody in the eye with this?

RE: SIP Device names

$
0
0

Just curious was O/S and HMP SU is this?

Sometimes gc_h3r fails to load due to soimething in the system environment, thus the question.

Jeff

RE: Connecting to another SIP Server

$
0
0

Yes, ok that will work, you just need to make sure the single HMP license you acquire has both IP content needed and is tied to the serial number of the DNI board in use such that it will activate correctly on the system.

Viewing all 1151 articles
Browse latest View live


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