Phone number dialer. VOIP. Skype. Dial. Dialling etc.  
Author Message
Dr Crs





PostPosted: .NET Framework Networking and Communication, Phone number dialer. VOIP. Skype. Dial. Dialling etc. Top

Hi everybody

I need to make an application that dial a phone number and then register the response status for statistics issue (if it was connected, if the line is busy, etc)

How can I manage those signals May I use SerialPort object

Please, if you have some example code, I will appreciate so much

Thanks in advance

Dr CRs




.NET Development34  
 
 
Spidermans_DarkSide





PostPosted: .NET Framework Networking and Communication, Phone number dialer. VOIP. Skype. Dial. Dialling etc. Top

Hi,

Maybe you could hook into a VOIP program like Skype to do the dialling

and return the results you are after

I wouln't know how to to this though, sorry, i am just passing you the idea.

Regards,

S_DS



 
 
nhaas





PostPosted: .NET Framework Networking and Communication, Phone number dialer. VOIP. Skype. Dial. Dialling etc. Top

How would you get the progam to know if it is a busy,fast busy, and no answer I might be hard to do this. At most I think that you would be able to get something like can I dial this number yes/no. But I would be very interested to see if something like this would actually work. My work has about 7,000 numbers and I know they need to check the work on them all of the time. Stuff like did the techs disco that number or connect that number. This sould like a cool project. Let us know here if what you have found out!

 
 
Dr Crs





PostPosted: .NET Framework Networking and Communication, Phone number dialer. VOIP. Skype. Dial. Dialling etc. Top

Hi, thanks for reply

nhaas: I made a little program in C working with TAPI 3.0 and it was possible to detect busy, disconnect for timeout, etc.

I used lineMakeCall api function and I was defined a callback function that it receives the following "states":

LINECALLSTATE_BUSY:
LINECALLSTATE_DISCONNECTED:
LINEDISCONNECTMODE_NORMAL:
LINEDISCONNECTMODE_UNKNOWN:
LINEDISCONNECTMODE_REJECT:
LINEDISCONNECTMODE_PICKUP:
LINEDISCONNECTMODE_FORWARDED:
LINEDISCONNECTMODE_BUSY:
LINEDISCONNECTMODE_NOANSWER:
LINEDISCONNECTMODE_BADADDRESS:
LINEDISCONNECTMODE_UNREACHABLE:
LINEDISCONNECTMODE_CONGESTION:
LINEDISCONNECTMODE_INCOMPATIBLE:
LINEDISCONNECTMODE_UNAVAIL:
LINEDISCONNECTMODE_NODIALTONE:
LINECALLSTATE_CONNECTED:

Now I need to do the same program but in Visual Basic .NET and I dont know how to do it (using TAPI, Serialport)

Regards

Dr CRS



 
 
nhaas





PostPosted: .NET Framework Networking and Communication, Phone number dialer. VOIP. Skype. Dial. Dialling etc. Top

Here are a few links:

http://www.codeproject.com/useritems/CShart_TAPI_3x.asp

http://www.activexperts.com/activcomport/howto/vbnet/

http://www.activexperts.com/activcomport/howto/vbnet/

and I noticed this link:

FYI: While TAPI 3.x may appear to work from .NET languages, the reality is it will fail. MS Specifically says not to use TAPI 3.x with .NET:

http://support.microsoft.com/default.aspx scid=kb;en-us;841712

and

The .NET wrapper for the COM implementation of TAPI3 is not supported in Managed Code.

Write your DLL in unmanaged code and call it from managed.

-DEK



 
 
RizwanSharp





PostPosted: .NET Framework Networking and Communication, Phone number dialer. VOIP. Skype. Dial. Dialling etc. Top

I have answered this question before on forums but cant find right now. The idea is really simple, You can use SerialPort component for this. See on what COM port your modem is configured then open that port and write AT commands on it and here it'll go.

See google for Modem AT command to get a list of commands' syntax which are sent to modem and what responses it give back to you...

If you are unable to do this please let me know I'll try to write code for you.

Best Regards,

Rizwan aka RizwanSharp



 
 
Dr Crs





PostPosted: .NET Framework Networking and Communication, Phone number dialer. VOIP. Skype. Dial. Dialling etc. Top

Thanks to everybody for the replies

RizwanSharp, if you have some examples of how to, I will appreciatte so much

Thanks again

Dr Crs



 
 
RizwanSharp





PostPosted: .NET Framework Networking and Communication, Phone number dialer. VOIP. Skype. Dial. Dialling etc. Top

Hello,

Sure I'll post the code this weekend because I searched and could not finf it on my computer. I'll write one sample and will post it here again on this weekend. This is simple 4-5 lines but I'm so busy with other work so my apologies to putting you on 2-3 days of wait.

I hope you understand,

Best Regards,

Rizwan aka RizwanSharp



 
 
Dr Crs





PostPosted: .NET Framework Networking and Communication, Phone number dialer. VOIP. Skype. Dial. Dialling etc. Top

Rizwan,

There is no problem,

thanks very much for your help!

Best Regards

Dr Crs



 
 
RizwanSharp





PostPosted: .NET Framework Networking and Communication, Phone number dialer. VOIP. Skype. Dial. Dialling etc. Top

Hello Sorry to put you on wait.

I just saw an old mail alert from Microsoft Forums about what you needed.

Here:

http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=905868&SiteID=1

I hope this will help.

Best Regards,

Rizwan aka RizwanSharp