Return to LanScape's home page Go back a page...       Active TopicsActive Topics   Display List of Forum MembersMember List   Knowledge Base SearchSearch   HelpHelp  RegisterRegister  LoginLogin

LanScape VOIP Media Engine™ - Pre-Sales Technical Support
 LanScape Support Forum -> LanScape VOIP Media Engine™ - Pre-Sales Technical Support
Subject Topic: On Event Callback Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
speedvoip
Vetran
Vetran


Joined: August 07 2008
Location: Canada
Posts: 156
Posted: November 04 2008 at 2:10am | IP Logged Quote speedvoip

Hi Support:
I have noticed there is important notes at media engine software developer reference as follows:
Thread Deadlock Information: Internally the VOIP Media Engine™ is fully multi-threaded. The event callback mechanism is non-reentrant. Some media engine API procedures cannot be called from within the main media engine callback procedure. As a general rule: Any API procedure that can generate additional events cannot be called in the "main event handler" when processing the current event. If you call an API procedure that generates additional events while you are executing in the callback procedure, your VOIP application can deadlock. This is by design. Any API procedure that generates events back to your application must be executed by some other thread in your application. Some of the media engine API procedures that will generate events are: MakeCall, MakeCallUri, TerminateCall, GoOffHook, AbortIncomingCall, BusyOutLine, HoldLine, ConferenceLine, TransferLine, TransferLineUri, EnableSipRegisterServer and DisableSipRegisterServer.

Pls give me more detailed info about event callback mechanism. On the other hand, internally how media engine to implement event notification?




__________________
VoIP Anti-Blocking Guru
Back to Top View speedvoip's Profile Search for other posts by speedvoip Visit speedvoip's Homepage
 
support
Administrator
Administrator


Joined: January 26 2005
Location: United States
Posts: 1666
Posted: November 04 2008 at 6:25am | IP Logged Quote support

Hi George,

We don’t mean to be dumb but we are not sure what additional information you want. The Software Developer’s Reference describes the main event callback mechanism and what you should do in your VOIP apps to stay away from deadlock scenarios.

Please post specific questions regarding this topic and we will try our best to give you specific answers.

Thanks,


Support


Back to Top View support's Profile Search for other posts by support Visit support's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum






Contact LanScape Hear what the Lawyers have to say How youm may use this site Read your privacy rights