|
Duties of the Media Application
The media mode application that receives a call as a handoff target first
checks the bit flags of dwMediaMode in LINECALLINFO. If only a single media mode flag is set, the call is officially of that
media mode, and the application can act accordingly.
If the UNKNOWN and other media mode flags are set, the media mode of the call
is officially UNKNOWN, but is assumed to be one of the media modes for which a
flag is set in LINECALLINFO. The application should now probe for the highest priority media mode.
If more than one bit is set in LINECALLINFO and the call has not been answered, the application must perform a lineAnswer to continue probing. If the call has already been answered, the application
can continue probing without having to first answer the call.
If the probe succeeds (either for the highest-priority media mode or for
another one), the application should set dwMediaMode in LINECALLINFO to the single media mode that was recognized. If the actual media mode is
this expected media mode, the application can act accordingly. Otherwise if it makes a determination of another media mode it must first attempt to hand off the call in case it is not the highest
priority application for the detected media mode.
If the probe fails, the application should clear the flag for that media mode
in dwMediaMode in LINECALLINFO, and hand the call off to the Unknown application. It should also deallocate
its call handle or revert back to monitoring the call. At this point, the fate
of the call is determined by the steps described under the preceding topics of
this section depending on whether or not an Unknown application is active.
If the attempt to hand off the call to the UNKNOWN application fails, this
means that no unknown application is running. It is then the responsibility of the
application that currently owns the call to attempt to hand it off to the
next-highest-priority media mode (while leaving the UNKNOWN bit turned on in dwMediaMode in LINECALLINFO). If that handoff fails, the application should turn off that media bit, and
attempt the next higher-priority bit, until the handoff succeeds or all of the
bits are off except for the UNKNOWN bit.
If none of the media modes were determined to be the actual one, only the
UNKNOWN flag will remain set in dwMediaMode in LINECALLINFO at the time the media application attempts to hand the call off to UNKNOWN.
The final lineHandoff invocation will fail if the application is the only remaining owner of the
call. This failure informs the application that it should drop the call and then
deallocate the call's handle. At this point, the call is abandoned.
| Last news from Greatis Software |
 |
|
Nostalgia .Net |
|
.Net is powerful, but not all-powerful, so sometimes we need to use Win32 API for our .Net applications. It's simple enough with Platform Invoke if you have Win32 skill, but we do not always have time to dig the ancient documentation, declare the special types that are compatible with Win32, find the values of the Win32's constants and so on. Nostalgia .Net offers several simple-to-use classes, and components that will allow you to forget about the headache of Win32 and just use the power of Win32 in your application the same way as you use the native. Net classes. More » |
| Recommended software for developers |
 |
|
Ultimate Pack |
|
Component pack for Delphi and C++ Builder that contains runtime form designer, runtime object inspector, print suite and much more for the very special price. More » |
 |
|
Form Designer .Net |
|
Unique runtime form design solution that allows to edit any form in .Net WinForms application at runtime with full source codes for only 300 euro! More » |
 |
|
Print Suite .Net |
|
Print Suite .Net is a set of components for easy printing texts, images and grids from your WinForms applications. Full C# source codes are available More » |
 |
|
Gradient Controls .Net |
|
Gradient Controls .Net offers controls with gradient background feature. Labels, panels and so on... Full C# source codes are available More » |
 |
|
Greatis iGrid |
|
iGrid plots drawing grid right over your desktop, so you can use it everywhere, with any drawing application without any special plugins for different graphic editors. More » |
All the contacts and projectsDmitry Vasiliev (just.dmitry)
Related LinksSoftware for Visual Studio .NET developers Software for Delphi and C++ Builder developers Software for Visual Basic 6 developers Delphi Tips&Tricks MegaDetailed.NET More Online Helps Win32 Programmer's Reference Win32 Multimedia Programmer's Reference OLE Programmer's Reference Microsoft Windows Pen API Programmer's Reference Microsoft Windows Sockets 2 Reference Microsoft Windows Telephony API (TAPI) Programmer's Reference Unix Manual Pages
|