Yealink Forums
T38 and 3cx user presence - Printable Version

+- Yealink Forums (http://forum.yealink.com/forum)
+-- Forum: IP Phone Series (/forumdisplay.php?fid=4)
+--- Forum: Phone specific topic (/forumdisplay.php?fid=12)
+---- Forum: T3xP Series (/forumdisplay.php?fid=22)
+---- Thread: T38 and 3cx user presence (/showthread.php?tid=930)

Pages: 1 2


T38 and 3cx user presence - vondie - 10-18-2013 01:17 AM

Using this phone with the 3cx PBX, we have programmed a couple keys to set the extension presence to away (*31) and available (*30). I know we can see this presence in the 3cx phone application, but is there a way to be able to program a key or the display on the phone to indicate what the currently selected status is?

Thanks,
Tim


RE: T38 and 3cx user presence - jasit - 10-18-2013 10:08 PM

Hi,

We also use the 3cx system, and there is no way to pull the presense back from 3cx. What we did was create a set of xml files that will prompt you with the 4 status options from 3cx and then change the label of the button to away or dnd based on the status you select.

The difference between this and using the dnd button supplied on the phones. is that if a person uses the myphone app they can change their status but the phone won't ring because of the dnd status. using the xml file, they can use the myphone app and the label on the phone will be wrong but at least they are still getting the phone calls.


RE: T38 and 3cx user presence - vondie - 10-18-2013 10:54 PM

(10-18-2013 10:08 PM)jasit Wrote:  Hi,

We also use the 3cx system, and there is no way to pull the presense back from 3cx. What we did was create a set of xml files that will prompt you with the 4 status options from 3cx and then change the label of the button to away or dnd based on the status you select.

The difference between this and using the dnd button supplied on the phones. is that if a person uses the myphone app they can change their status but the phone won't ring because of the dnd status. using the xml file, they can use the myphone app and the label on the phone will be wrong but at least they are still getting the phone calls.

Interesting solution. Being new to 3cx and Yealink, I am unfamiliar with this technique. Is there any documentation on these XML files and how to use them?


RE: T38 and 3cx user presence - ModCraig - 10-18-2013 11:03 PM

jasit - we thought about doing this too - but then the whole things about the phone still being on DND came up.
I even worked on the XML files... but had soemthing happening where only 1 command would work - the label or the dialer *3x. I could never get both.
I wonder if v12 has fixed this using CTI - as you can send an http command to the phone to set and unset DND.


RE: T38 and 3cx user presence - vondie - 10-19-2013 04:27 AM

(10-18-2013 11:03 PM)craigreilly Wrote:  jasit - we thought about doing this too - but then the whole things about the phone still being on DND came up.
I even worked on the XML files... but had soemthing happening where only 1 command would work - the label or the dialer *3x. I could never get both.
I wonder if v12 has fixed this using CTI - as you can send an http command to the phone to set and unset DND.

I have worked up a solution using two DSS keys and XML browser code that lights the corresponding LED of the key and then sets the status.

Thanks for the tips!


RE: T38 and 3cx user presence - jasit - 10-21-2013 09:37 PM

did everyone want to share their code and we can see what we come up with.

The file attached I have in the Programdata\3cx\data\http\interface directory on the 3cx server.

I have the users point to http://192.168.0.79:5000/xml/dndstatus.xml
using line key 1 with a default label of DND


RE: T38 and 3cx user presence - vondie - 10-21-2013 09:58 PM

(10-21-2013 09:37 PM)jasit Wrote:  did everyone want to share their code and we can see what we come up with.

The file attached I have in the Programdata\3cx\data\http\interface directory on the 3cx server.

I have the users point to http://192.168.0.79:5000/xml/dndstatus.xml
using line key 1 with a default label of DND
My solution uses DSS Memory Keys 9 and 10. I really only care about away and available. I edited the phone template so that the settings stay, even if I replace the phone.

yealinkT3x.ph.xml
# Configure Memory Key9
memorykey.9.line =
memorykey.9.value = http://x.x.x.x:5000/provisioning/away.xml
memorykey.9.pickup_value =
memorykey.9.type = 27
memorykey.9.xml_phonebook =
memorykey.9.sub_type =

# Configure Memory Key10
memorykey.10.line =
memorykey.10.value = http://x.x.x.x:5000/provisioning/available.xml
memorykey.10.pickup_value =
memorykey.10.type = 27
memorykey.10.xml_phonebook =
memorykey.10.sub_type =

away.xml
<?xml version="1.0" encoding="utf-8"?>
<YealinkIPPhoneExecute Beep="yes">
<ExecuteItem URI="Led:MEMO10_GREEN=off"/>
<ExecuteItem URI="Led:MEMO9_GREEN=on"/>
<ExecuteItem URI="Dial:*31" interrupetCall="no"/>
</YealinkIPPhoneExecute>

available.xml
<?xml version="1.0" encoding="utf-8"?>
<YealinkIPPhoneExecute Beep="yes">
<ExecuteItem URI="Led:MEMO9_GREEN=off"/>
<ExecuteItem URI="Led:MEMO10_GREEN=on"/>
<ExecuteItem URI="Dial:*30" interrupetCall="no"/>
</YealinkIPPhoneExecute>


RE: T38 and 3cx user presence - jasit - 10-21-2013 10:37 PM

I like the Led option, I am going to try and add that to my code. the reason I use line 1 is because I can use the same code on the T38s and the T32s


RE: T38 and 3cx user presence - vondie - 10-21-2013 10:51 PM

(10-21-2013 10:37 PM)jasit Wrote:  I like the Led option, I am going to try and add that to my code. the reason I use line 1 is because I can use the same code on the T38s and the T32s
Ah. Our need is for the operator only.

One thing to note, if set to away, then out of office hours kicks in, the system will not return to away once the out of office hours expires. It will go to available so the LED can get out of sync overnight. It isn't an issue for us since the phone doesn't stay in away status for very long. I have thought it would be nice to have a process that could fire, check the status and update the LEDs, but doubt that's even possible.


RE: T38 and 3cx user presence - jasit - 10-22-2013 02:33 AM

I think your away status might be wiped when the phone does an autoprovision, disable it on one of your phones to test.