As a server-side programming language, PHP isn't the right way to deal with a device like a modem. You can certainly do it by sending to a third party service or to the phone company server as an email (if they provide that service where you are). If you search this site you will find some previous posts about doing this directly through a modem but you will probably see that it is being done using C or Java.
chrishea
Nearly a Posting Virtuoso
1,428 posts since Sep 2008
Reputation Points: 210
Solved Threads: 230