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