Aastra 5xi XML Scripts

Discussion in '3CX Phone System - General' started by worksighted, Sep 23, 2008.

Thread Status:
Not open for further replies.
  1. worksighted

    worksighted New Member

    Joined:
    Aug 19, 2008
    Messages:
    204
    Likes Received:
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. h2009

    h2009 Member

    Joined:
    Mar 15, 2008
    Messages:
    447
    Likes Received:
    0
    Thats cool -
    Do you know if this works for us UK users?

    Are you planning to create any other apps for aastra phones?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. worksighted

    worksighted New Member

    Joined:
    Aug 19, 2008
    Messages:
    204
    Likes Received:
    0
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. h2009

    h2009 Member

    Joined:
    Mar 15, 2008
    Messages:
    447
    Likes Received:
    0
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. worksighted

    worksighted New Member

    Joined:
    Aug 19, 2008
    Messages:
    204
    Likes Received:
    0
    I think the news feed display on phone idle is a good idea. Let me see what I can do there.

    Mike
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. h2009

    h2009 Member

    Joined:
    Mar 15, 2008
    Messages:
    447
    Likes Received:
    0
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. worksighted

    worksighted New Member

    Joined:
    Aug 19, 2008
    Messages:
    204
    Likes Received:
    0
    I would serve up the XML backend off the php server thats part of 3cx.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. h2009

    h2009 Member

    Joined:
    Mar 15, 2008
    Messages:
    447
    Likes Received:
    0
    Any news on the scripts?

    Oh i also thought of something else - a tool to test the voip quality
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. worksighted

    worksighted New Member

    Joined:
    Aug 19, 2008
    Messages:
    204
    Likes Received:
    0
    Sorry I have been working heavily on a roamming profile software for aastra and 3cx. Your scripts are on my list though.

    Mike
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Thread Status:
Not open for further replies.