Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

shabby Computer Telephony Integration on Win32

by esskar (Deacon)
on Mar 05, 2004 at 20:28 UTC ( [id://334355]=CUFP: print w/replies, xml ) Need Help??

Download from dtmf.zip and extract it and run the snippet. (the script has to be in the same folder as the extracted files.)
have fun

PS: just put your receiver on your speaker and call dtmf.pl 0123456789 (or any number that makes more sence to you! :] )
#!/usr/bin/perl use strict; use warnings; use Win32::Sound; $|++; my $number = $ARGV[0]; unless(defined $number) { printf("Call $0 <number to dial>\n"); exit 255; } print "Dialing: "; foreach my $ton (split //, $number) { next unless $ton >= 0 or $ton <= 9; print $ton; Win32::Sound::Play("$ton.wav", SND_NODEFAULT); } print "\n";

Replies are listed 'Best First'.
Re: shabby Computer Telephony Integration on Win32
by Mr. Muskrat (Canon) on Mar 06, 2004 at 01:46 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: CUFP [id://334355]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2024-04-24 14:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found