Hi Thore,
I am using on Solaris 10 08/07 OS with SRSS 4.0 and has patched.
Yes, i had configured JDS kiosk mode for my demo SR clients.
Later, i will try by executing sh -x argument.
What about your settings there ? Have you successfully tested and deploy
the SRSS with CM at your site?
Thanks in advance.
# Yours Sincerely,
# Mohamed Ali Bin Abdullah.
------------------------------
Message: 7
Date: Tue, 20 May 2008 09:04:22 +0200
From: Thore Bahr <[EMAIL PROTECTED]>
Subject: Re: [SunRay-Users] Integrate SRSS 4.0 & Call Manager6
To: SunRay-Users mailing list <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi,
which OS are you using ? I used this script only on solaris.
Can you run the script with "sh -x phone_login" ? Than you will see all
lines and the output. Do you have configured the kiosk mode (not
necessary for the phone_login scripts) ? The warning should be no
problem, but it maybe it break the output of the utwho / utdesktop
scripts.
regards
Thore
Mohamed Ali wrote:
Dear forum users,
We are trying to setup a demo on SRSS 4.0 & Call Manager 6.
The setup look simple as the following:
- Each sunray client will have a cisco voip phone next to it.
- Register the sun ray mac address and voip mac in sun ray
administration database.
- Edit the phone_login & logout scripts (see below for script content)
#!/bin/bash
CURL="/usr/local/bin/curl"
CALLMG="http://172.16.1.16:8443/emservice/EMServiceServlet"
#CALLMG="http://172.16.1.16/emservice/EMServiceServlet"
appID="sunadmin" # username (in callmanager) with proxy admin rights
appCert="sunadmin" # password
LOGIN="xml=<request><appInfo><appID>$appID</appID><appCertificate>$appCert</appCertificate></appInfo><login><deviceName>DEVICE</deviceName><userID>USER</userID></login></request>&submit=Submit"
SR_MAC=`/opt/SUNWut/bin/utwho -c | grep $USER | awk '{ print $5 }'
|sed s/P..//g`
PHONE_DEV=`/opt/SUNWut/sbin/utdesktop -p $SR_MAC | grep Location |awk
' { print $3 }'`
POSTDATA=`echo $LOGIN | sed s/DEVICE/$PHONE_DEV/g | sed s/USER/$USER/g`
if [ $PHONE_DEV ]
then
$CURL -d "$POSTDATA" $CALLMG > ~/.cisco.log
echo $PHONE_DEV > ~/.cisco_phone
fi
Now, from the sunray client, i had inserted a smart card and logs in
to CDE. Open a command terminal and executed the phone_login.sh script
and i saw the below messages:
bash-3.00$ /opt/cisco/phone_login.sh
WARNING: Insufficient Kiosk Configuration. No Kiosk
Session is configured. Please use utkiosk -i session to
configure a Kiosk Session.
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 203 0 7 0 196 1617 45286 --:--:-- --:--:--
--:--:-- 0
bash-3.00$
The only thing i noticed above is the utkiosk -i session message. Is
the utkiosk the culprit? How can i troubleshoot further ?
Thanks for any help.
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users