A5000 and message displaying

pacman
Posts: 4
Member Since:
2011-09-06

Hi Everybody !
I work with an A5000 server and some SIP/IP Aastra phones, and I'm actually trying to make the phones display a message sent by the A5000.
I already know how to make a phone display a message with the AastraIPPhoneStatus() PHP function, but I can't find where to put this piece of code (I mean in what php file in the A5000). This piece of code will be something like that :


require_once('AastraIPPhoneStatus.class.php');
$status = new AastraIPPhoneStatus();
$status->addEntry('1','Meeting at 3PM');
$status->output();

I've looked for something like "$status->addEntry('1','No service')" everywhere in the server files in order to see how this common message is displayed, but it seems there's nothing similar.

I hope someone has answers to my problem, and I thank you in advance.

pacman.

|

EDIT : I've seen some PDF, and it seems that it may be more probable that the A5000 communicates with phones with XML, but my researches on this way aren't more successful...

XML Code seems like :

<AastraIPPhoneStatus>
<Message index=”1”>Meeting at 3PM</Message>
</AastraIPPhoneStatus>

|

EDIT2 : It seems that the A5000 server doesn't "talk" to phone first : phone do a request, and the A5000 answer it with a XML script that the phone can now execute. The 2 last parts aren't hard to do. The problem comes from the part where the phone do a request. It can be easily done by programming a softkey or something like that, but if I want the phone to check if the server has something to display every 2 minutes, I think I've to change the firmware. And HERE is the problem : firmware is encoded in Hexadecimal : when I open it with MS Visual Studio, it displays a memory map in hexadecimal and binary.
Anybody have any idea about that or any issue to provide me ? Thanks



SkykingOH
Posts: 9682
Member Since:
2007-12-17
Have you read the XML

Have you read the XML developers guide? http://www.aastra.com/cps/rde/aacreddownload?id=2048&dsproject=aa......

--

Scott

aka "Skyking"



pacman
Posts: 4
Member Since:
2011-09-06
No, I haven't found this one

No, I haven't found this one yet, but I've read the following : http://www.sipcommunication.nl/dynamicdata/data/Docs/PA-001008-04...

I actually found how to make an 6753i poll the server every X seconds : in Web UI, under "Action URI" tab, the "Poll" field permit you to execute a URI every X seconds. So my problem with 6753i is resolved.
But I also have 5380ip phone (in majority), and it seems they can't use XML (cf. page 1 of the pdf, link above). Annoying...



SkykingOH
Posts: 9682
Member Since:
2007-12-17
The 5380's are not "open"

The 5380's are not "open" SIP terminals. The are for the Aastra switches. The 67 series series support the open protocols.

--

Scott

aka "Skyking"



pacman
Posts: 4
Member Since:
2011-09-06
So is there any chance for

So is there any chance for me to make a such application for 5380's ? I know there is an emergency mode on every Aastra phone, but I can't find how to install it or activate it, in order to modify the source code (if it's open source, obviously).

EDIT : Nvm, only SIP phones can run into emergency mode.



pacman
Posts: 4
Member Since:
2011-09-06
Up ! I've finished my

Up !
I've finished my application for 6753i phones in PHP, but i still have the problem with my 5380ip... Are they totally "closed" ? :/



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.