473,397 Members | 1,969 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

port data

Hi
I was wondering if somebody could help me figure out a problem I was having. I am trying to access a device(telphone) on port 8000 so that when ever a call comes in the phone would send the data of the person calling over to the computer. the ethernet line is connected to the telephone and then the line comes from the telephone into the computer. there are applications out there that do that for example for Mitel phones there is an aplication "Your Assistant" that does something like I want to impliment.
My problem is I don't know how to read the data on a continous basis from the telephone.
Is there any way that somebody could help me figure this out. I need to program this in PHP and i am a newbie in PHP.
Thanks
Dec 20 '06 #1
2 1190
b1randon
171 Expert 100+
Hi
I was wondering if somebody could help me figure out a problem I was having. I am trying to access a device(telphone) on port 8000 so that when ever a call comes in the phone would send the data of the person calling over to the computer. the ethernet line is connected to the telephone and then the line comes from the telephone into the computer. there are applications out there that do that for example for Mitel phones there is an aplication "Your Assistant" that does something like I want to impliment.
My problem is I don't know how to read the data on a continous basis from the telephone.
Is there any way that somebody could help me figure this out. I need to program this in PHP and i am a newbie in PHP.
Thanks
You need to include WAYYYYY more information. You should start by checking out the phone manual. Provide details once you do that.
Dec 20 '06 #2
I have checked out the phone manual and it just tells me how to operate the phone like for example how to make a call or how to conference a call. In our office we are using the Mitel 5200 series and the Server is the Mitel 3300.
I even tried calling Mitel and they are not ready to disclose any information all they say is contact the dealer who provided the phones. When I contacted the dealer they told me they have no idea how to solve my problem.
All our computers have "Your Assistant" installed in them and what this application does is that when ever a call comes if pops up a samll window showing that whose calling and whether "to pick the call", "hang up", "confernece" or "transfer" and depending on the button you press it sends the respective command to teh phone.
So what I want to do is whenthe phone is sending hte command to the computer to recieve the data and then query that information into our database so whenever a customer calls the application that I am trying to create will open up the customers account, thus saving time on both the customers and the call center representatives.
I have an application installed that shows all the ports that are being listened by all the applications and the IP address its listening. so I figured out that "Your Assistant" listens to port 8000 to the IP address 192.168.1.2 .
All I have accomplished till now is the connection to the port. but I have no Idea how to read the data.
this is the code I am using for the connection, feel free to correct me
[PHP]$fp = pfsockopen($host, $port, &$err_no, &$err_msg, 10)or die ("Could not open a connection to host <i>$host</i> on port <i>$port</i>. The error message returned was '<i>$err_msg</i>'.");
echo "A persistent connection to host <i>$host</i> on port <i>$port</i> was successfully opened.";[/PHP]

It will be a great help if anybody could help me. and Once again I want to write this code in PHP.
Thanks
Raiqah
Dec 20 '06 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Mathew | last post by:
I am looking to write a program with Microsoft Visual Basic 6 that writes out to the com port. After the inital Connection. I will be connecting at 9600, 8 data bits, with hardware flow control. ...
4
by: ^CeFoS^ | last post by:
Hello to everybody, I've done an application that draws in a frame the trajectory of a robot. The robot position is readed through the serial port, and several commands are wrote through the...
21
by: Alexander N. Spitzer | last post by:
If I have a machine with 3 virtual IP addresses (192.168.1.), how can I start 3 instances of the same RMI application (each started with different properties/configs), each listening on the port...
5
by: Darrell Wesley | last post by:
Is there a good source of information on how to read a USB port, in particular reading data from a BarCode reader?
4
by: joe bloggs | last post by:
I am writing a mobile application to interface with a legacy system and I am planning to use web services to communicate with this system. The legacy system receives data through a serial port. ...
25
by: bmearns | last post by:
Is it possible to specify which port to use as the outbound port on a connection? I have the IP address and port number for the computer I'm trying to connect to (not listening for), but it's...
2
by: evle | last post by:
haw to read data from an Infrared Infrared Remote Control
1
by: laura salhuana | last post by:
Hi: I am trying to write a serial communication GUI application. My application has the following specifications. When I set my board up in hyperterminal I do the following set up: bits per...
5
by: Maciej Sondej | last post by:
Hi, I have problem. I want to react on event which come from IO.Port(RS232). I have a class that works on console application class Program { static void Main(string args) {
3
by: Jason | last post by:
Hello I've got some test code that I've found on the web that is a TCP server and a TCP client. The server sends data to the client on the port i specify. I know because get the port number...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.