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

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?


Viewing all articles
Browse latest Browse all 1151

Trending Articles



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