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:
Craig Gibson
Hi all
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?
Hi Craig,
can you please try this one?:
<?xml version="1.0" encoding="UTF-8"?>
<SnomIPPhoneText>
<Title>Status</Title>
<Text>Logging Off</Text>
<fetch mil="2000">http://${url}/core/mb_logout?user=$(set:active_user[1])</fetch>
</SnomIPPhoneText>
using the $(set:xxx) callback you can read every phone setting.
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstSync Account
Hi Craig,
can you please try this one?:
<?xml version="1.0" encoding="UTF-8"?>
<SnomIPPhoneText>
<Title>Status</Title>
<Text>Logging Off</Text>
<fetch mil="2000">http://${url}/core/mb_logout?user=$(set:active_user[1])</fetch>
</SnomIPPhoneText>
using the $(set:xxx) callback you can read every phone setting.
Craig Gibson
Hi Pietro
Apologies for the late reply. Your solution works perfectly.
Thanks for the solution!
-
LDAP and country code
-
Settings are changed when user logs on
-
USB Bluetooth compatibility for D725
-
Low volume with Plantronics Headset
-
Change Log for FW 8.8.3.32
-
Subscriptions failing after time since upgrade to 8.7.5.28
-
SNOM 870 - INBAND DTMF
-
SNOM 320 + Headset Plantronics CS540A with Snom EHS
-
Configure Settings - Set all to Read Only
-
Can't enter "+" sign in directory via WUI
See all 715 topics