TAPI Application Not Receiving All Events?

Sep 8, 2009

I'm writting what I thought would be a fairly simple TAPI program in VB.Net 2008 SP1 using the TAPI3Lib.dll. It is supposed to dial out a number and once connected play a wav file then wait for digit input. I got through the dialing but it seems I never get the CS_CONNECTED event letting me know the line was picked up. All I get is CS_INPROGRESS then the call is placed and a CS_DISSCONNECTED if I call the call.disconnect method.

I've double checked my registering for events and my event filter and they both check out (otherwise I wouldn't get the two call states I do get). Is there anything else I'm missing or is this normal? I'm calling out with a Conexant HDA D330 MDC V.92 Modem. The call is correctly placed, my phone rings and I answer it. The call state never changes to connected. If I hang up my phone you hear me hang up through the modem and you then hear a dial tone since the modem in the computer hasn't hung up.

View 4 Replies


ADVERTISEMENT

Raising TAPI Events?

Jul 26, 2010

I have a TAPI program that is very similar to [URL] I have a delegate ...

Delegate
Sub TapiEventCallback(ByVal
dwMessage As TapiEvent,
ByVal dwParam1

[code].....

From my program TAPI will call the number. My problem is that its not raising any events. I really need CallStateChange. I raised it from address and moved it up to my TAPI Manager. I put break points everywhere and I can not get anything to raise.

View 1 Replies

Receiving SMS Through .NET Windows Application?

Jul 8, 2009

i am working on a project. Part of the project requires me to receive SMSes through VB.net windows application, the following below are codes i have done up till now. I am using a modem to receive the SMS and i am able to connect to it through using of serial port, and also a textbox to display the received SMS but when a SMS is received through my modem but it is not displayed on the textbox, can anyone help me check what is wrong with my codes?

[Code]...

View 2 Replies

Sending And Receiving Sms For The CRM Application

Sep 2, 2009

I am doing a project on sending and receiving sms. I am doing this using the visual studios 2005 ans SQL Server Database to store the send or received sms. I have search on sms in the internet but the problem is that it is using C# as I am using the vb.net language. Even though some of the research that i came across is in vb.net but the application did not work.

In my research, the sending and receiving of sms application uses sms gateway, AT command. But I am not sure which one to use becoz I am doing this application for my project. Hope for any recommendation on which one to use either the sms gateway or AT command or any other device. My lecturer said that my project is most likely like the M2U Mozat. Not only that I am doing the sms but also the email. The email part is done by my partner but the problem is that he creates the email using the SMTP server. How can using a SMTP server to create sms? It is because the part that I am doing which is the sms and the email to combine together.

View 4 Replies

.net - Passing And Receiving Data Between A Php And .exe Application?

Apr 24, 2012

there is a complex situation wherein, I have to pass a string data to a .exe application and this .exe application would process the string and respond back to my php data. I prefer not to use a TCP/IP connection.

View 1 Replies

How To Stop Application From Receiving A Certain Message

Jan 25, 2012

I believe I have found a solution! I will be continuing testing to make sure it DOES in fact work, but I'm hopeful :) I have detailed how I found the solution in EDIT THREE of the question.

For anyone wishing to know the full background behind my problem and what I have kind of tried as a result of input from this question, see this: [url]

I will be editing this frequently (>3 times a day most weekdays) as I progress my research and situation, so keep checking back if you are interested or have some information or knowledge of my issue :)

Quick Background:

I have this app I have made that can be crashed by changing my screen saver or locking my work station, and in general whenever a WM_WININICHANGE/WM_SETTINGSCHANGE message is sent to it.

If I can consistently crash my app by changing my screensaver, then SOME part of doing that is sending my app SOME kind of message (not necessarily a windows message, I mean message in the most general sense), which in turn is catastrophic to my application. Due to this, I am trying to find a way to block whatever message is causing my problem from being processed by my application. I am aware this isn't the best way to go about a solution, so you don't need to tell me. Look at the backgroung info or ask why if that bothers you (there is a good reason).

View 2 Replies

SMS Application - Recipient Not Receiving Message

Jun 10, 2009

I am currently developing an SMS application to read and receive SMS. I run the application and tried to send an SMS and the application indicates that the message is successfully sent. However the recipient did not receive the SMS. I am using Sony Ericsson T610 btw.

Imports System
Imports System.Threading
Imports System.ComponentModel
Imports System.IO.Ports
Public Class Form1
[Code] .....

View 2 Replies

SMS Sending And Receiving Application Using .net 2008 IDE?

Mar 11, 2010

I Need a simple project which is developed in Microsoft Visual Studio 2005 in VB.net the project features are

1. I have to send multiple SMS from a mobile device connected through a USB.

2. I have to receive SMS from a mobile device and parse it and store it into various text file.

View 7 Replies

SMS Sending And Receiving Application Using 2005 IDE

Nov 10, 2009

I Need a simple project which is developed in Microsoft Visual Studio 2005 in VB.net the project features are

1. I have to send multiple SMS from a mobile device connected through a USB.

2. I have to receive SMS from a mobile device and parse it and store it to SQL Server

I can handle with the rest of requirements of My University Final Project.

View 2 Replies

Write An Application For Receiving Data (ascii Characters) From Microcontroller Through The Serial Port In Three Separate Parts

Jul 18, 2009

I need to write an application for receiving data (ascii characters) from microcontroller through the serial port in three separate parts. I've created three RichTextBoxes, but I do not know which commands I need to type. In first textbox I need to receive one byte... next six bytes need to be placed in second text box, and finally last seven bytes need to be placed in third textbox.

View 11 Replies

Good / Updated Tapi Sdk?

Aug 12, 2010

Does anyone know if Visual Studio 2010 has a good/Updated Tapi sdk? Or Does any one know where I can get a Tapi Sdk that is in .Net format?

View 1 Replies

Playing Sound Using Tapi?

Jan 13, 2008

Im developing a TAPI Applicationi had many problems with Acepting the call and detecting DTMF tones, but now these problems are solved,,, now the problem im facing is to play a wave file to the user who is on the phone...... Is there anyone who can gimme code or tel me how to do this in Vb.net

View 5 Replies

TAPI And Voice Modems?

Jul 27, 2010

I have a modem that CLAIMS to be voice, i still can not get it to do what I want.

1) The modem dials and makes my phone ring, when I pick it up the program does not reconize the event. I have to physically click on button that says Talk. Then my CallStateChanged fires.

2)My other issue is that I can not get any sound to come over the line. I essentially have a wav file that play nicelys on the computer but the modem is not picking it up. Is there some way that I can test the modem to be voice?

View 2 Replies

Getting Multiple TAPI Addresses For Extension?

Mar 22, 2010

We have a VB.NET application that is using the TAPI3Lib.dll. At this one site we can multiple addresses for the same Phone extension. For example for extension 149 we are getting Extension 149 - Address # where # is 0 thru 208. Is there a way to just get "Extension 149"? Have downloaded some free utilities and they only show "Extension 149".Below is the same of code:

Code
Dim AddressCollection As ITCollection = coTAPI.Addresses()
For Each loAddress As ITAddress In AddressCol

[code]....

View 2 Replies

Play A Wav Using TAPI Over The Phone Line?

May 27, 2012

I have problems by paying a wav through the phone line could somebody help me I use getLineID to get the id device for the wav/out but my wav steel plays over the sound card

View 1 Replies

Use Tapi To Check A Modem Is Busy?

Mar 22, 2010

I am trying to determine if a modem is busy. I have tried using serial ports which from what i can see just tells me that something is tied to a port or not. It does not tell me if the modem is busy.

My overall question is How do can I determine if a modem is busy? For an added bonus, also is there a way to tell what device is using a particullar port?

View 1 Replies

Unable To Find Much Info Regarding Coding For TAPI?

May 17, 2011

I'm looking at writing a application that interfaces with TAPI via the samsung open TSP. The problem I'm having is that after a few days research I am unable to find much info regarding coding for TAPI. There also appears to be alot of contradicting information out there too...

Has anyone got any pointers, examples or sources that I can start looking through??

View 1 Replies

What Type Of Voice Modem Should Buy For A TAPI Program

Jul 29, 2010

I have been working on a tapi program that will play a wav file over a tapi phone line. I am look for a GOOD quality voice modem. Any suggestions. The one I am working on is really poor for this project. Things I am looking for.....

[Code]...

View 1 Replies

Why Things Not Refresh Every Time (tapi Interface)

Apr 3, 2009

as I am working on my latest app (tapi interface) I have noticed that things on the form do not always refresh. I am at a loss to explain it. So, in VB.net I have a form with 1 listview, 2 textboxes, 2 labels

[Code]...

View 2 Replies

C# - Using Tapi To Monitor Multiple Phones And Dial Or Hangup

Jan 8, 2010

I have with a good level of success got a C# application to use TAPI to connect to my office PBX and dial and hangup calls but need to go further and be able to monitor activity and provide CTI to client pc's as well as integration back to my companies web based CRM.

I am focusing on the client app for CTI popups and dial/hangup functions as the phone number lookup to the CRM is relatively easy.

I initially started by registering one handset in the tapi that I could then dial and hangup, I even seem to have registered all the handsets on the system and to be able to dial from any of them but I don't seem to be able to get any activity logs as to when any of the handsets are ringing etc.

Does anyone have any example tapi code that can get me started or point me in the right direction? I can work with C++, C# or VB.Net as I am okay with any of them.

View 1 Replies

.NET Application Receiving 503 Service Unavailable Error When Calling Web Service?

Apr 28, 2009

This is a bit of unusual problem that I'm experiencing, but recently one of the users of a production application started reporting errors in the system. These were traced to a 503 Service Unavailable error when making a call to a web service used by the application.

Now here's the odd part, only the one user is affected by this issue. Other users of the application have not reported any errors. When the user logged on to a different machine that worked for another user, they still received the error.

View 1 Replies

Catching Application Crash Events

May 9, 2012

I made a application in VB.Net. But some users face crash upon startup. That is "A problem caused this program from working correctly" with just one button "Close the program". Since there are lot of things happening when the app loads

View 1 Replies

.net - Window Close Events In A Winforms Application?

Jan 31, 2011

I am looking to prompt the user to save data when they close a form window in a winforms application. I can't figure out how to trigger the prompt to the user, should they click the red box at the top right corner of the form.

My application currently has a boolean flag, that is set to True on textchanged event. So I will only need to check for the boolean value in whatever event is trigger by the red box.

View 3 Replies

Create Application-Level Mouse Events?

Aug 16, 2011

I have a program that I would like to create application-level MouseEnter and MouseLeave events for. Basically I have an app that I'd like to leave open that would be very opaque when not in use, and when the user moves the mouse anywhere within the bounds of the application, it becomes solid, and when they move their mouse away from the application, it becomes opaque again.

The obvious problem is that MouseEnter and MouseLeave are control-specific and so they fire every time you move over a button or menu or whatever, so Leave and Enter are constantly firing even though you haven't "left" or "entered" the application.

So, is there any way to create mouse events that only fire at the application level?

View 12 Replies

Get The Excel Application/Workbooks/Sheets Events?

Dec 16, 2010

When working with Excel in this context, is there a way to get the Excel Application/Workbooks/Sheets events?

Imports System.Runtime.InteropServices
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
If Process.GetProcessesByName("Excel").Count <> 0 Then

[code]....

View 9 Replies

.net - Responding To Application-killing Events During Class Initialization?

Apr 6, 2009

When starting my application, I have a couple of classes which are required to read certain files in order to create a set of default data. The logical place (to me) to do this is in a Shared class constructor; the idea would be to throw a class-level event if the reading of the defaults file fails. Unfortunately, this does not work as attempting to access such an event, in order to attach a handler to it, fires the class constructor before the event has been attached. In a failing case, the constructor starts, fires the fail event, the constructor completes, and then the event handler is attached, after the event has fired.

The only other solution I can think of is to give the class a "typeInitialisedSuccessfully" boolean property and put a try/catch block around every call to construct an instance of the class, which seems unnecessarily kludgey to me. Can someone suggest a more elegant solution?

EDIT: Because this is a fundamental Class, used in one form or another across nearly all of our software tools, I would greatly prefer a solution that will notify future programmers that the type initialiser needs to be called, which is why I initially went towards the Shared Constructor as a solution.

View 1 Replies

Raise Keyboard Events To Windows From Form Application

Jun 21, 2012

Ok, so I'm writing a basic windows form application in VB.net as you do and need to be able to raise keyboard events based on data received from the serial port. I'm able to receive the characters that I want (lets say a lower case c) and display them. Its also easy enough for me to find the keycode. What I want to do though is tell windows that key "c" has been pressed. The application is paired to a bluetooth terminal, I wanted to have the experience of writing the code behind this myself rather than using another library although it seems I've failed already. How would I go about doing this?

View 1 Replies

Use Backgroundworker In A Class And Generate Events For Client Application?

Sep 14, 2009

I have designed a class for posting data to server, which is a time consuming task so that i have used background worker in my application. instead of repeatedly using backgroundworker in my application, i decided to add it to my class and generate two events PostWorkerReportProgress, PostWorkerComplted for my application

View 1 Replies

Why Can't Declare Application Events In Visual Studio 2010

Dec 3, 2011

I just can't, im guessing something's not enabled, but what?

View 2 Replies

Handling Multiple Events From An Activex Component In A .NET Console Application?

Apr 26, 2010

come years ago I bought an activex component to read some basic smartcard data. I created a simple form application and it has worked fine ever since. However, instate of a form application I now want to create a console application for the same purpose (the forms are unrequired and it just takes too long with multiple smartcards).

But I have been working on this for days now and somehow can't seem to get my events working. When I use 1 event, everything works fine, but as soon as I add my second event I get this error:

Unhandled Exception: System.Runtime.InteropServices.COMException (0x80040202): E
xception from HRESULT: 0x80040202
at System.Runtime.InteropServices.ComTypes.IConnectionPoint.Advise(Object pUn
kSink, Int32& pdwCookie)

[Code]...

View 8 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved