How can we help you today?
Start a new topic

Static and runtime variables not available?..

Hello,


We are developing an interface to Log In and Log Out of a Genesys environment and make agents Ready and Not Ready. All the phones are 821's on snom821-8.7.5.28.

We need to pass the DN of the phone ($active_user / $user_name1) with our http requests to our middleware.


This only seems to work under a few select conditions, like within SnomIPPhoneInput, but definitely not under SnomIPPhoneText, or SnomIPPhoneMenu.


For example, this will not work - $active_user is null:


<?xml version="1.0" encoding="UTF-8"?>

    <SnomIPPhoneText>

    <Title>Status</Title>

    <Text>Logging Off</Text> 

    <fetch mil="2000">http://${url}/core/mb_logout?user=$active_user</fetch>

</SnomIPPhoneText>


I am having to use another input page with a "Are you sure?" prompt to work around this - a very clunky solution.


Am I doing something wrong?


thanks

jackyjoy

Login or Signup to post a comment