Hi Mohamed,

Mohamed Ali schrieb:

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 ?


The message about utkiosk comes from utpolicy. You have kiosk policy enabled (for either card or non-card sessions), but no kiosk session configuration is selected, so these kiosk sessions will fail. utpolicy warns about this.

utdesktop uses utpolicy internally without intercepting its standard error output. This shouldn't do any harm in your case, as you (and utdesktop internally) process only standard output, not the standard error stream.

- Jörg

--
Joerg Barfurth
Software Engineer        mailto:[EMAIL PROTECTED]
Desktop Technology
Thin Client Software     http://www.sun.com/software/sunray/
Sun Microsystems GmbH    http://www.sun.com/software/javadesktopsystem/

Sitz der Gesellschaft:
Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering

_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to