Here are the steps I used to get the AVAYA PUSH SDK up and running on 10/26/2009.
!!!!!!!!!!!!!!!!!!PLEASE FOLLOW THESE INSTRUCTIONS AT YOUR OWN RISK!!!!!!!!!!!!!!!!!!!!!!!!
My test bed hardware requirements: • DELL INSPIRON 5100 Laptop (Push Initiator) IP Address 192.168.1.158 • DELL Power Edge 2970 (This REDHAT 4-AS box has the AVAYA MV_IPTel fileserver running on it.) • AVAYA S8700 • AVAYA 9600 series IP-Phone running S3.002 (Push Agent) IP Address 192.168.1.152 • AVAYA 4600 series IP-Phone Running application a20d01b2_9_1.bin/boot b20d01b2_9_1.bin (Push Agent) IP Address 192.168.1.166
My test bed software requirements: • Microsoft Windows XP Pro SP2 -(MS-FIREWALL OFF)(Push Initiator) • Symantec Endpoint • Microsoft IE 6.0 • CM 3.1.4 • JAVA SE (Standard Edition)jdk1.6.0_16 JAVA Development Kit • JAVA JFM2.1.1e • JAVA FX • Apache Tomcat/6.0.20 • AVAYA IP-Phone Push SDK_R1 (API) • AVAYA 46xxsettings.txt
A good document to have on hand: • AVAYA IP Phone PushSDK Installation Version 2.0 September 2008
(JVM) Through a lot of trial and error I've learned that the first download needs to be JVM or Java Virtual Machine. Go to http://java.com This is free and simple. Just download it and go through the setup and verify at the Java home page that it installed correctly.
(JDK) JAVA SE (Standard Edition) Development KIT. Go to http://java.sun.com/ Under downloads you'll want to <CLICK> Java SE. <CLICK-DOWNLOAD>JDK 6 Update 16 with JavaFX SDK <CLICK-CONTINUE>. You will be prompted to setup a JAVA account but, it's free as well or <CLICK> skip this step. Run the downloaded package and please make note of your install path. It should be C:\Program Files\Java\jre6\
• When the installation is complete go to your command prompt. <CLICK>Start <CLICK>RUN. In the pop up window <type>cmd<ENTER>. When your command window pops up <type>javac. You should get an error 'javac' is not recognized. This is because Java needs the path set. This is fairly dangerous so proceed at your own risk. <right-click>My Computer <CLICK>Properties <CLICK>Advanced Tab <CLICK> Environment Variables. Under user variables we want to add a new user variable. Under user variables <click new>. The variable name will be Path. The variable value will be C:\Program Files\Java\jdk1.6.0_16\bin This depends on your install path. <CLICK> OK <CLICK> OK <CLICK> OK.
• <CLICK>Start <CLICK>RUN. In the pop up window <type>cmd<ENTER>. When your command window pops up <type>javac. You should get a list of Java Complier commands meaning you complier is ready to go. Exit the command window and you should see another install waiting for you. This is the Java FX. <CLICK>Next, accept the terms and continue with the installation. Close the browser window that pops up unless you want to register it. <CLICK> Finish and move on to the next installation.
(JFM) JAVA Media framework. • Go to httphttp://sun.com Do a search for JAVA Media. Look for JAVA 2.1.1e
• Before you download it, add the 2.1.1e download page to your browser favorites. You will need to go to the setup instructions link later.
• <CLICK> Download, select your OS platform, <CLICK> the agreement <CLICK> continue, <CLICK> the file name jfm-2_1_1e-windows-i586.exe
• Download and install it. During the installation process select everything under setup options EXCEPT "Permit writing local files from an applet." Leave it un-checked.
• Once you finish you'll need to reboot. After the system is back up launch your browser and go back to the download page that you saved in your favorites and <CLICK> the setup instructions link at the bottom of the page. Select JFM 2.1.1 and scroll down slightly and select JFM diagnostics link. The diagnostics output should be: ? JFM Version...2.1.1e ? Win32 Build ? Native Libraries Found This means your JAVA is all set.
APACHE TOMCAT INSTALLATION
(Apache Tomcat) Go to http://tomcat.apache.org/ and under downloads select Tomcat 6.x. Scroll down to 6.0.20 and select Windows Service Installer <CLICK>RUN and <CLICK>RUN and continue with the installation. • Select the 'CUSTOM type of installation and put a check mark in 'Examples.' <CLICK> next and proceed. • Leave the HTTP port set to 8080 • Administrator login = admin • Password = enter a password and write it down. • Accept the JVM path • <CLICK> Install • <CLICK> Finish • Your Tomcat Server should startup and have an icon on the bottom right. • Launch a browser and go to http://localhost:8080 Hopefully you are now looking at your Tomcat Admin page. Select status and see if it will prompt you to login. <LOGIN>. This page will give you all the information for concerning your applications. You should also be able to access it from another computer. http://tomcatsipaddress:8080
AVAYA PUSH SDK
• Download the AVAYA Push SDK zip file to your desktop and open it up. • Your Tomcat installation path should be C:\Program Files\Apache Software Foundation\Tomcat 6.0 • Go to C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps • With the zip file open you should see the AvayaIPPhoneSDK folder. Open this folder and then open the folder sampleapplications. Drag and drop the sampleAvayaPushSDK.war file into to webapps directory and wait a few seconds. The war file will unzip itself and create a new folder called sampleAvayaPushSDK. • Go back to the open AVAYA zip file and open the PushSDKLib folder. Drag and drop the AvayaPushSDK.war file into the webapps directory and give it a few seconds. The war file will unzip itself and create a new folder called AvayaPushSDK. • Go to the bottom right of your screen. <RIGHT-CLICK> on the Apache icon and select configure. When the pop up window appears just stop the server. Then start it. • Go to http://localhost:8080/sampleAvayaPushSDK You should see the AVAYA Push Operations Page. We aren't ready to send push messages just yet. • Go to your command prompt. <CLICK>Start <CLICK>RUN. In the pop up window <type>cmd<ENTER.> Type ipconfig and write down your ip-address. This will be the (TPS) address. • Now go to C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\sampleAvayaPushSDK\WEB-INF\classes • <RIGHT-CLICK> on pushproperties.xml <SELECT> open with notpad. • Insert your ip-address where the sample 'servlet container ip' is but, leave port 8080 alone. Close the file, save the changes. (FOR ME 192.168.1.158) • Again, restart Apache for good measure.
Ok!! my MV_IPTel server is running on Linux so here we go. • cd /opt/ecs/mvuser/MV_IPTel/data/HTTPSdata/ or HTTPdata depends on your setup. • vi 46xxsettings.txt • <esc> <:> </PUSH INTERFACE (Searching for the "PUSH INTERFACE" PORTION OF THE FILE) • Modify the TPSLIST with yourtomcatipaddress:8080 (FOR ME 192.168.1.158:8080) • <ecs> <:> <wq> <ENTER>to save the changes.
Here's the file step and the most simple. Reboot your IP-Phone or phones so they can upload the modified 46xxsettings.txt file. • Get an IP-Phone's ip-address and see if you can ping it from the pc that you have Tomcat on. • If that's successful go back to http://localhost:8080/sampleAvayaPushSDK • You should see once again your AVAYA Push Operations Page. • You should now be able to perform all of the selections to the left. The push log is in C:\PushOutPut
I pounded this application yesterday and some times it states that a push was sent but the phone never got it. Was a rare occurrence but, I'm just glad to get it working. Probably in the next few weeks I will attempt to get this all working on a RHEL box. I will do a how to for it as well and post it. If anyone has any issues please post and I'll be glad to help. GOOD LUCK!!!