• V20: 3CX Re-engineered. Get V20 for increased security, better call management, a new admin console and Windows softphone. Learn More.

Aastra 5xi XML Scripts

Status
Not open for further replies.

worksighted

Joined
Aug 19, 2008
Messages
204
Reaction score
0
I am working on a set of Aastra XML Applications and thought it best to start with porting to 3CX the existing Aastra/Asterisk XML/PHP scripts Aastra publishes for use with Asterisk.

Here is the first. Its the weather script. You need to unzip the attached zip file inside of C:\Program Files\3CX PhoneSystem\Data\Http. You will get a new subdirectory /aastra.

The weather script is an rss feed and it will cache to the 'cache' directory you will see inside of the aastra subdirectory (/aastra/cache). So its important to keep that structure.

I am assuming you have your app installed to the default location with all of this. If you don't, let me know and I will assist you in editing appropriately.

Also, you will need to edit your httpd.conf file to allow requests to the /aastra directory. You need to edit C:\Program Files\3CX PhoneSystem\Bin\Apache\conf\httpd.conf and add the following ...

<Location /aastra>
Allow from all
</Location>

and save the file. You will need to restart the 3CX Apache service for that change to take effect.

To use this on your Aastra 5xi, just assign one of your buttons an XML value of http://xx.xx.xx.xx:5481/weather.php (obviously editing IP and server port as appropriate). If you dont want to prompt for zip and use a default use this format....http://xx.xx.xx.xx:5481/weather.php?zip=xxxxx and it wont prompt for zip code.

I'll post the additional scripts to this thread as I go through them. I'm also working on a hot-desking script which should be cool.

Enjoy,

Mike
 
Thats cool -
Do you know if this works for us UK users?

Are you planning to create any other apps for aastra phones?
 
You know...I havent tried it for a UK user. Let me check that out and see what happens. I am working on porting some other scripts. I'll post them as I have them going.

Anythign special you are looking for?

Mike
 
Thank you - it would be interesting to know if it will work - although we use something call postcodes here not zip.

Im not sure if this can be done or not, but how about:
Maybe something like a custom news feed which take updates from a webpage when the phone is idle and display it?
A line quality tester - i.e. runs a test from a good voip test webpage and reports on the quality
Mini web browser
 
I think the news feed display on phone idle is a good idea. Let me see what I can do there.

Mike
 
I take it that the news feed would actually not be a part of 3CX, rather just an link?
Let me know how you get along
 
I would serve up the XML backend off the php server thats part of 3cx.
 
Any news on the scripts?

Oh i also thought of something else - a tool to test the voip quality
 
Sorry I have been working heavily on a roamming profile software for aastra and 3cx. Your scripts are on my list though.

Mike
 
Status
Not open for further replies.

Getting Started - Admin

Latest Posts

Forum statistics

Threads
141,914
Messages
751,119
Members
145,335
Latest member
Ramishvohrw
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.