Help - Search - Members - Calendar
Full Version: create a confirmation BOT with Skype API
Skype Community > English > Development, Betas and Skype Garage > Skype Public API
blindfolded_
Greetings!

I want to build some kind of confirmation BOT. What it does? It calls a person and if he/she picks up it awaits for input from that person. There are a number of option that the person can chose just by pressing their corresponding number on the dialpad while the conversation is on.

Is it possible to capture the pressed key? if so, how?

It would also be awesome to play a message at the beginning of the call, then allow the called person to press the corresponding number after a beep.
Is it possible to do that?

I'd be grateful if somebody would shed some light over this in my head smile.png
Thanks in advance,
Cristian
BigDAS_
Sounds like you want to write a War Dialer, which is illegal. Just SkpeMe and let THEM call YOU.
blindfolded_
:lol: i found the answer myself. At least the DTMF part.
In order to see what key the other user presses i have to see through the messages from the API and look for something like CALL xx DTMF y
where xx is a call number (random?)
and y is the actual key that was pressed.

I might come across the answer to my other questions as well, but they still stand raised until then. So please help me smile.png

Oh, one of the questions was about the recorded message at the beginning...and the other (just hit me now): do i receive DTMF through the API if i call on a regular phone?

Thanks
blindfolded_
[quote=BigDAS]Sounds like you want to write a War Dialer, which is illegal. Just SkpeMe and let THEM call YOU.[/quote]


smile.png) Nothing illegal in my mind. The purpose is pretty simple and pretty "legal".
All i want is that, when my clients place an order, the bot calls them and asks them (with a recorded voice) to confirm their order by pressing a key. That's all. After that, the call is ended.
They all agree this policy when they place the order and they ALL leave me a contact number/id upon order completion. So, i still fail to see where the illegal stuff comes in.

http://www.answers.com/topic/war-dialer
l.e.:and this has little-to-nothing to do with my idea smile.png
TheUberOverlord
Please see this for how DTMF processing is currently handled:

http://forum.skype.com/viewtopic.php?t=60113
blindfolded_
hello,

thanks very much for your reply. I seem to have managed to solve the DTMF problem.
However, i was curious about your example and it seems it's not working. It fails to load the Skype4COM Lib. I thought maybe the link to the lib in the page source is no longer valid so i tried using the same version lib on my local web server. I get the same problem.

Also i tried running the Call.php example found in the Skype4COM documentation, of course after registering the library first. IT DOES detect the control but it doesn't detect skype client, which is actually up and running.
CODE
Fatal error: Uncaught exception 'com_exception' with message 'Source: Skype4COM.Skype.1

Description: Skype client is not installed.' in c:srvwampwwwskypecall.php:30 Stack trace: #0 c:srvwampwwwskypecall.php(30): variant->start(true, true) #1 {main} thrown in c:srvwampwwwskypecall.php on line 30


:shock: any ideas about these two issues?

thanks,
Cristian
TheUberOverlord
[quote=blindfolded]hello,

thanks very much for your reply. I seem to have managed to solve the DTMF problem.
However, i was curious about your example and it seems it's not working. It fails to load the Skype4COM Lib. I thought maybe the link to the lib in the page source is no longer valid so i tried using the same version lib on my local web server. I get the same problem.

Also i tried running the Call.php example found in the Skype4COM documentation, of course after registering the library first. IT DOES detect the control but it doesn't detect skype client, which is actually up and running.
CODE
Fatal error: Uncaught exception 'com_exception' with message 'Source: Skype4COM.Skype.1

Description: Skype client is not installed.' in c:srvwampwwwskypecall.php:30 Stack trace: #0 c:srvwampwwwskypecall.php(30): variant->start(true, true) #1 {main} thrown in c:srvwampwwwskypecall.php on line 30


:shock: any ideas about these two issues?

thanks,
Cristian[/quote]

Seems like the problems might be on your end, just tested it here, the Skype4CO lib installs fine here.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.