<p>Does anyone know how to get/set the call divert settings in codes running on Windows mobile 5/6? I am new to windows mobile development and wonder if there is anyway to do it using C# and .NET CF?</p>

[{'answer_id': 82951, 'author': 'ctacke', 'author_id': 13154, 'author_profile': 'https://Stackoverflow.com/users/13154', 'pm_score': 3, 'selected': True, 'text': '<p>I assume you mean call forwarding?  In general terms, the <a href="http://msdn.microsoft.com/en-us/library/ms899558.aspx" rel="nofollow noreferrer">Telephony API (TAPI)</a> is used for programmatically controlling the phone interface.  Call forwarding is specifically handled by <a href="http://msdn.microsoft.com/en-us/library/aa451032.aspx" rel="nofollow noreferrer">TSPI_lineForward</a>.</p>\n\n<p>Microsoft does not offer any built-in or SDK tools for managed developers to use TAPI, and the structures TAPI uses are cumbersome and difficult to P/Invoke.  There are a some <a href="http://tapi.codeplex.com/" rel="nofollow noreferrer">3rd-party libraries</a> that do provide some level of TAPI interaction that you might also investigate.</p>\n'}, {'answer_id': 89027, 'author': 'William', 'author_id': 14829, 'author_profile': 'https://Stackoverflow.com/users/14829', 'pm_score': 0, 'selected': False, 'text': "<p>Thank you very much for your help. I do mean call forwarding and what I would like to do is to have a simple application, perhaps with only 2 big buttons. When pressed, one should forward the incoming calls to my work phone and the other should forward them to my home phone. Being a (desktop application) developer myself of course I would like to have created my own solution for it. I once tried the TAPI wrapper provided by Microsoft to try to dial the GSM codes and it just won't work in codes when I tried to 'dial' the GSM codes... Perhaps I should spend more time studying the TAPI on mobile devices.</p>\n"}]
['https://Stackoverflow.com/questions/80654', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/14829/']