Hi all,

       I want to get the phone number from the caller id while incoming call.

       I have a list of users with phone number in my mysql DB, so i need to match the caller phone number with my database using php automatically at the time of call landed. 

       Can any one help me to get it easy.

Jayarajmohan.J

    Whoa! Are you using asterisk? Is this a modem attached to your computer? I think the first step is to interface with your hardware to even read the caller id. PHP is almost certainly not the language to use for this scenario. Do you have the caller id information already stored in text files, etc? If you haven't come up with a way to get the caller id information from your hardware, I think you may need to come back to this forum after visiting other hardware specific forums.

      i've generated you one,
      you have to change some things to get is to work, (table names for database, database connections, field names to the landing page. )

      but you could learn from that.

      http://phpcode.hu/teszt/caller/search.rar

      Hy,
      jjozsi

        download the file i sent with the link,

        change the database connection in search.php, and change the field names in the result page.

        (or hire a person who can setup that 🙂 )

        hello,jjozsi

          jayanagi;10898783 wrote:

          now what i have to do?

          Frankly, no one knows. djjjozsi's sample code is for manually inserting the caller's number. Is this what you are asking about? You mentioned automatically looking up the caller's number "at the time of call landed." If you need hints for getting the caller's number from some type of device, the question remains: Do you currently have a method for getting the caller id from a device (let's say your modem, for example?)

            I want to get the phone number from the caller id while incoming call.

            next time tell us that detail that how you get this caller ID.

                       Can any one help me to get it easy.

            That solution i mentioned assumed that you manually type the callerID into a search form.

            If you wanted to make it automatically, then you have to get a hardware as bretticus suggested to get the CALLER ID.

            BUT, where i live, i can read the telephone number from the telephone display. And i can imagine that there are softwares to work with a modem, and get user's details from phone number. But i'm not sure this is a php program. And this is a php forum.

            if i misunderstood this issue then sorry about it.

            hello,
            jjozsi.

              yes u are right i want it automatic.

                Write a Reply...