Jump to content

Telephone Call


The Little Guy

Recommended Posts

I was at Ebay, and if you don't log into your account for a period of time, they lock your account.

 

To unlock your account you need to have them call you with an automated person, that gives you a 4 digit number.

 

What happens is, you press "call now" or "call in one minute" then which ever one you select it calls your phone, which is saved.

 

How do they do that, and how can I get php to use a phone?

Link to comment
https://forums.phpfreaks.com/topic/120141-telephone-call/
Share on other sites

Interesting.  I don't know, but I think the first thing I would do is first have 10 sound files one for each single digit 0-9, have php generate a random 4 digit number, then dynamically make a new sound file with the 4 sound files.  As far as getting php to actually dial a phone number and play the number: I really don't know, but I don't think php can go that far.  My friend was messing around with automated messages etc.. for some kind of call center, through skype.  If I remember correctly, he was using COM to interface with skype's program.  I think.  I'll tell him to look at the thread maybe he could give you further input.

Link to comment
https://forums.phpfreaks.com/topic/120141-telephone-call/#findComment-618961
Share on other sites

You can use asterisk and the agi interface. I have never done this with php but have done a lot of work with ruby/RoR and agi. There is a gem for ruby/RoR called ragi.  Not sure how strong your ruby skills are but Ragi is extremely simple to work with and ties directly into a RoR application.

 

Voip-info.org has some useful information regarding php and agi http://www.voip-info.org/tiki-index.php?page=Asterisk+AGI+php . There is a php agi class but the site seems to be down at the moment. Not sure what is up with that but the link is - http://phpagi.sourceforge.net/

 

 

Link to comment
https://forums.phpfreaks.com/topic/120141-telephone-call/#findComment-619117
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.