hangup a incoming call RRS feed

  • Question

  • In my c# program, I need to drop the incoming call, but there are no

    any function can do it in .net cf 2.0.

    so I need to invoke the Tapi.

    I have found that LineDrop in tapi can drop the incomingcall,

    I add the code to my programs,

    public class Win32
                public static extern IntPtr LineDrop(int hCall,String sLpsUserUserInfo,uint uiSize);

    but I don't know how to call it.

    how to set the values hCall, sLpsUserUserInfo,uiSize?

    please help me.

    Thank you very much.

    Saturday, June 30, 2007 6:17 AM


All replies

  • Hi


    The following post contains a sample (unfortunatrly C++ only) how to drop an incomming call:



    I'd consider licensing the OpenNETCF Telephony Library. This library provides the required managed API to get this done easily.




    Monday, July 2, 2007 7:01 AM
  •    hi  Michael

                     Thank you very much.

                      But I want to know, if I use opennetcf library to developer the program, whether install

                      the opennetcf library to the target ppc.

                      Does the opennetcf library can be packaged with my program .cab file?


                     And because my software is developed with .net cf 2.0, and many wm5 ppc is not

                     pre_install .net cf 2.0 in them.

                     I should send my software to my users, and I know how to package my program to a .cab file.

                     But my users are not good at installing the .net cf 2.0 in their ppc.

                     I want to package my application's .cab file with .net cf 2.0 relation files together.

                     I don't want my users must install the .netcf 2.0 in their ppc by them.


                     Do you understand me?

                     Please help me.


    Wednesday, July 4, 2007 6:41 AM