How to recognize which type of an incoming call?
-
Hello all, I plan to develop an unified messaging system and I have a problem. Suppose that my system has been built and if user A wants to use my service, he/she must register. When he/she registers as member, he/she will be given an unique number (xxxxxx for example). From now on, his/her friend should contact him/her by using this number. And now, I have problem. When B (his/her friend) wants to send fax or phone to user A, B only use xxxxxx as a target number. So my server does not know what type of an incoming call for redirecting to appropriate gateway. Is there anyway to solve this problem? Thank you for viewing this post. Long Truong
-
Hello all, I plan to develop an unified messaging system and I have a problem. Suppose that my system has been built and if user A wants to use my service, he/she must register. When he/she registers as member, he/she will be given an unique number (xxxxxx for example). From now on, his/her friend should contact him/her by using this number. And now, I have problem. When B (his/her friend) wants to send fax or phone to user A, B only use xxxxxx as a target number. So my server does not know what type of an incoming call for redirecting to appropriate gateway. Is there anyway to solve this problem? Thank you for viewing this post. Long Truong
The determination of which type of call is being received (fax, modem, or phone) is done in hardware by the modem. Fax and modem calls use different tones to initiate the connection, while phone calls use no tones. The modem card itself detects this, and identifies the type of call in a status register. Check the Platform SDK for TAPI functions to monitor the modem status and the tones received. You may have to resort to writing your own driver if the software that comes with the modem is inadequate. Word of the day: Rotundacrat
Extra Credit will be awarded for: Quasimobo...