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


ADVERTISEMENT

Check If A Modem Is Busy?

Mar 9, 2010

I have created a program using FaxServer and FaxDocument. I want to know if there is a way to determine programically if the modem is busy? Busy in terms of it could be sending/receiving a fax or another program is using it. I just need to know if its in use.

View 5 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

Determine If The Modem That Is Being Used By The FaxServer Is Busy?

Mar 18, 2010

I wrote a fax program that is using Microsoft FaxServer and FaxDocument on a windows 7 machine. I want to be able to check if the modem that the FaxServer is using is busy. I maybe busy for whatever reason (in use by another program, receiving or sending faxes, whatever). What currently happens, is if the modem is busy, the fax is sent to the Windows Queue and waits for the modem to get done. I don't want that to happen. So before sending I want to check if the modem is in use. I have a couple of things I have already done. But I am having issue tying them together.

I can get a list of ports for the computer and I can get the faxserver devices. But I would like to be able to do something like... take the faxserver device it is using(Com1, Com2, Com3...Whatever) and I want to check if it is free.

[Code]...

View 1 Replies

Cannot Check If Excel Component Is Busy Throght VB

Jun 19, 2009

I am writing VB code , in which I am trying to open the excel application through GetObject. But when user trying to enter data into excel sheet simultaneously, then system error generated due to component busy. How can I detect if Excel is busy??

View 1 Replies

Call A Remote Modem Using A Local Modem Connected Via USB?

Oct 12, 2011

I am attempting to call a remote modem using a local modem connected via USB. Programming language is VB.NET and I am using the SerialPort control to talk to the modem.

Communication is as follows:

I send: ATZ0[CR]

Modem responds: ATZ0[CR][CR][LF]OK[CR][LF]

I then try to dial a number:

I send: ATDTnnnnnnnnnn[CR] where nnnnnnnnnn is a valid number

The modem responds with:ATDTnnnnnnnnnn[CR][CR][LF]ERROR[CR][LF]

All other commands seem to work without any issues

For info the modem is a MultiTech MT5634ZBA-USB-V92

If I use hyperterminal and type the same commands in it works as expected and dials the number, so it must be something I am doing in my code, possible some setup in the SerialPort control

View 5 Replies

IDE :: Make The Call (outgoing) From Pc To Phone And Check The Status Of The Phone(phone Availability). Whether Its Switched Off,busy Or Not?

Oct 4, 2011

Details : I have the MultiModem (MT5656ZDX) . I wrote visual basic application for making the call using 'MakeCallAsynch(txtPhoneNumber.Text)' function. Also i have the callback event handler for get the line status and write the log. But my tapi call is not going the status except DAILING,PROCEDING,CONNECTED,DISCONNECTED and IDLE. Its not showing the line busy, phone swithed off status. Please guide me regarding this.

My event handler

Friend Sub LineProcHandler(ByVal hDevice As Long, _
ByVal dwMsg As Long, _
ByVal dwParam1 As Long, _

[code]....

View 10 Replies

Streaming Video Through Modem To Modem?

Oct 27, 2009

(from scratch as I've not done this before) how I can stream live through modem-to-modem connection. The modem here refers to dial-up modem (PSTN modem), there is no internet/lan involved.It will be 2 programs, the first is to transmit real-time video from webcam, and the second is to remote video from the first.

View 5 Replies

Check On Serial Ports Is "breaking" USB Modem?

May 31, 2011

I am using the following code to enumerate through com ports to determine if the attached modems are in use.When I get to my usb modem, it returns the correct "PostIsAvailable" status, but then it kind of locks up the modem and I get the following error when I try to manually query the modem I get: "The modem failed to respond. Make sure it is properly connected and turned on. If it is an internal modem, or is connected, verify that the interupt for the port is properly set."I either have to manually requery the modem or unplug/plug it again.This code works fine on my external serial modem, but not the USB modem.

Public Function PortIsAvailable(ByVal port As String) As Boolean
Dim TempPort As New SerialPort
TempPort.PortName = port [code]......

View 5 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

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

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

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

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

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

VS 2005 How To End A Thread That's Busy

Jul 6, 2011

I have a client program I wrote that waits for TCP communications. I found that when it was waiting, the form became unusable. I did some reading and learned about threading. Now it works great. Now I came to the point where I need to stop the program.. this is basically what I have:

[code]...

I figured I'd use the quit option to set the bool to false that the thread will see then do the proper closeout. However, it doesn't seem to work. After banging my head against the code, hehe, I realized that the thread is hung waiting for a client on the "AcceptTcpClient()" line.. so it's never getting a chance to evaluate SystemRunning.Is that an accurate assumption of the problem? If so, how does one deal with it?Also, I surmised that I probably should put my "end" statement at the end of the thread to be closed rather than my quit sub. I was afraid the marker boolean for the thread would get set and then the quit sub would immediately trigger "end" before the thread had a chance to close out. Is that also correct, or doesn't it matter?

View 4 Replies

Access WebBrowser Control When It Is Busy?

Aug 17, 2009

How can I access data that WebBroswer1.navigate function is downloading from a website, while it is downloading it? If I access it once it has finished downloading it through the WebBrowser1_DocumentCompleted function, it only slows down my program, since it has to wait for the website to finish downloading to the control before I can access it.

View 2 Replies

IDE :: Microsoft Visual Studio Is Busy?

Jun 29, 2011

Windows 7; Visual Studio 2010; Visual Basic; Home UserQuite frequently during Visual Basic debugging Visual Studio hangs and requests that a notification be sent to Microsoft regarding the issue.I tried the links in response to

View 1 Replies

Suppressing Event Handling When Busy In .net?

Feb 24, 2012

I have a form with several buttons on it and when the user presses one of the buttons it begins a lengthy process (takes up to several seconds). What I want to happen is that any subsequent button presses that occur on any other button on the form are ignored until the process is complete from the initial button press. What actually happens is that subsequent button presses go into a queue and are executed in sequence as the processes for each complete. What I mean is, if each button executes a function that takes 2 seconds and I hit 5 buttons very quickly (in less than 2 seconds say) it leads to a sequence of events that takes 10 seconds.... what I want to happen is for it to lead to only the FIRST button press occurring and taking the 2 seconds that it's activated function takes.

I am writing software that interfaces with hardware through a USB to UART converter and am using virtual COM ports and timing is critical. I want something to occur ONLY when I press a button, not seconds later after being queued up and waiting for a previous operation to finish.

View 4 Replies

Busy Box / Form - Statement Takes Between 10 An 20 Seconds?

Dec 11, 2009

In my new application i have to process a SQL statement.Depending on the settings , the statement takes between 10 an 20 seconds.is there a possibility to display a second from / dialog / popup for this time?

View 5 Replies

Show Animated Gif During Busy Process Or Loading?

Feb 10, 2009

Im trying to show animated gif during busy process or loading. but it isn;t working rite. the gif stops to animate when loading instead and animates only when no loading is n progress. what i have done is to show formB from the formA. i load the gif into the picbox in formA and crete a new thread which will be opening another formB.

dim loadThread As Threading.Thread
LoadingGif()
loadThread = New Threading.Thread(AddressOf loadingForm)
loadThread.Start(formB)

but the gif doesn;t move at all unless another form is displayed.

View 3 Replies

How To Add Progress Bar In .net (2005/2008) To Show The Application Is Busy

Nov 9, 2009

I working on a project wherein i need to merge 2 or more files. but while the program is running or doing the specified descripted job. it seems to be standing still, which may confuse the user that application is not working or not responding. so i want to add a progress bar or anything related to show that the application is still running. can someone explain or tell me how to add this in my program. can you explain me with a simple program or something.

View 1 Replies

IDE :: VB Express 2010 Compiler Hangs (Showing Busy)

Dec 6, 2011

When I try to build a project, vb hangs and displays this message in the notification area
Microsoft Visual Basic Express 2010 is Busy. I have to end up using Task Manager to end the process. I have been using VB Express for about a year and have never had this problem. i have tried to re-install VB 2010 express, no joy. I even built a Hello World app, still no joy. This is really stopping all my VB work.

View 1 Replies

Implementing Timer States(Available,Busy,Away Etc) In A Chat Application ?

Nov 30, 2010

I am currently developing a chat application and am trying to include:

Various states, like MSN does, available, busy and away.If the user doesn't touch the keyboard for one minute, the state of the user isto be changed into Away.Or something similar to these.I also need the program to be able to play a sound while running.

View 1 Replies

Connection Is Busy With Results For Other Command Source: Microsoft OLE DB Provider For SQL Server

May 21, 2010

I use the following code in a webservice to fill a SQL 2008 database.

[Code]...

View 2 Replies

Call Using GSM Modem?

Mar 28, 2009

I am developing Sms Project in vb.net.I can Send and receive Sms Easily. I can attented Incoming call and dial. but not hearing and talk. I connected with com Port. This is possible or not for talking and hearing

View 2 Replies







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