0

I want to develop a program for ubuntu platform, That listens to DialUp modem and get Calls and send them to my php program that's running on my localhost.

for example when somebody calls my phone line, my listener program give the number and run this query:

http://127.0.0.1:80/listen.php?caller=ThePhoneNumber

How can I do that? is there any classes in java for that?

mohammad falahat
  • 757
  • 1
  • 4
  • 11

1 Answers1

1

I think you'd need native tools for that. You can make pppd answer the call and run a custom script or program. But I have not fiddled with that for a long time. See linux modem howto. There should be plenty of information.

akostadinov
  • 17,364
  • 6
  • 77
  • 85