Forum Moderators: coopster

Message Too Old, No Replies

Use a modem to phone my cell phone

How to call my telephone using a Fedora/PHP server

         

scraulb

8:50 pm on May 8, 2007 (gmt 0)

10+ Year Member



Does anybody know how to use Fedora/PHP to send a simple .wav file to a phone?

I have a Fedora server(with a phone modem) that checks for bugs and when it sees a bug I want to be able to call my phone to tell me. (not SMS)

Any help would be appreciated. I have looked thru the forums but cannot seem to find the answer.

mcibor

9:14 pm on May 8, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't think that there is such an option under php. The only solution I can think of is writing such a program in c/c++ and only that running from the main server or php with exec [php.net] function.

hope this helps

Michal

PS. It surely isn't as simple as playing wav - remember, that cell coding is not a wav!

scraulb

9:16 pm on May 8, 2007 (gmt 0)

10+ Year Member



Thanks for the reply.

Is there a command line program in Fedora that can do this?

mcibor

9:46 pm on May 8, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't think so.
You would have to write on your own. As I mentioned calling is a hard job.

Maybe just sending you a ring would be enough, but that's still hard to do, at least I don't know how to operate the modem, however there are diallers, so it's not as hard.

Michal

scraulb

11:09 pm on May 8, 2007 (gmt 0)

10+ Year Member



Maybe something like minicom could be used? Maybe there is something better?

joelgreen

11:50 pm on May 8, 2007 (gmt 0)

10+ Year Member



i think file can be sent via MMS. In order to send file you'll have to use some online service API (which will be sending a file via mobile operator).