Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Tue, 6 May 2008 18:43:59 +0800,    group: microsoft.public.win32.programmer.tapi.beta        back       


Hold call is not working   
Hi ,

I am developing a application in c# with TAPI 3.1. My application works for 
Call, Answer and transfer. I wrote the function for Hold and disconnect. But 
it is throwing error for disconnect and its not responding for hold

i am attaching the code for your view.

This is for call holding
 public void TAPICallHold(IEnumCall ec,bool hold)
        {
            uint arg = 0;
            ITCallInfo ici;
            ec.Next(1, out ici, ref arg);
            ITBasicCallControl bc = (TAPI3Lib.ITBasicCallControl)ici;
            bc.Hold(hold);
        }

this is for call disconnecting
 public void TAPICallDisconnect(IEnumCall ec)
        {
            uint arg = 0;
            ITCallInfo ici;
            ec.Next(1, out ici, ref arg);
            ITBasicCallControl bc = (TAPI3Lib.ITBasicCallControl)ici;
            bc.Disconnect(DISCONNECT_CODE.DC_NORMAL);
            ici.ReleaseUserUserInfo();
        }

While debugging the disconnect function, found out that it is throwing error 
at ici.ReleaseUserUserInfo() function.
The error message i receive is as follows
This implementation doesn't take advises (Exception from HRESULT: 0x80040003 
(OLE_E_ADVISENOTSUPPORTED))"

Any ideas please?

url:http://www.ureader.com/gp/1482-1.aspx
date: Tue, 6 May 2008 18:43:59 +0800   author:   Ravi

Re: Hold call is not working   
"Ravi"  schrieb im Newsbeitrag
news:3430db80f1704e778193e27aa7119d7a@newspe.com...
> Any ideas please?

Ravi,
It is recommended to post TAPI questions only to the managed TAPI newsgroup:
microsoft.public.win32.programmer.tapi
See my TAPI and TSPI FAQ:
Q: What newsgroups are covering TAPI ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_What_newsgroups

In addition, if you feel the need to post the same question to multiple
newsgroups then you should do a cross-post rather than a multi-post.

See my answer to you your question in
microsoft.public.win32.programmer.tapi

-- 
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My Toto® Tools (a collection of free, mostly TAPI related tools):
http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
TAPI development around the world (Frappr! map):
http://www.frappr.com/TAPIaroundTheWorld
* Please post all messages and replies to the newsgroup so all may
* benefit from the discussion.  Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no rights.
date: Tue, 6 May 2008 17:21:05 +0200   author:   Andreas Marschall [MVP TAPI]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us