I have several snom VoIP phones in the office where there is a virtual phone system running in London.
I have written a small PPH app that lets me control the phone from a distance - in the background all this is rotating in my handset's web interface and controls it in this way.
However, now I know my PHP application that other phones are available / busy on the system, I think the phone handsets do this with a virtual phone system through a SIP membership, through which my handset system All the other handsets subscribe to feeds and then the busy lamp can light / extinguish.
Am I going to go about this right? Is there a way that PHP scripts can subscribe to those notifications?
Many thanks in advance
This is probably not, but in reality "PHP App "depends on what you mean by If this is a standard web-based application, then you can not do anything about it. SIP communication is done on UDP sockets and you need to listen for reactions all the time.
If you are running any real application all the time, then you subscribe to SIP space and it is definitely possible.
If you want to pull the status of other phones in your web application, then I recommend setting up a server which handles standard SIP communication and subscribes to the presence of the phone, then a Update information in local database In the web app, you can easily read the current status from the database and present it to the user.
Comments
Post a Comment