[YMCS/YDMP Free Trial Program]Yealink would like to offer Free Trial Program of Yealink device management service for our current eligible customers. You can see the details below.
https://www.yealink.com/ydmp-freetrial-2020


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
T38 and 3cx user presence
Author Message
vondie Offline
Junior Member
**

Posts: 38
Joined: Oct 2013
Reputation: 0
Post: #1
T38 and 3cx user presence
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
10-18-2013 01:17 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
jasit Offline
Member
***

Posts: 85
Joined: Mar 2013
Reputation: 0
Post: #2
RE: T38 and 3cx user presence
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.
10-18-2013 10:08 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
vondie Offline
Junior Member
**

Posts: 38
Joined: Oct 2013
Reputation: 0
Post: #3
RE: T38 and 3cx user presence
(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?
10-18-2013 10:54 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
CWR Offline
Moderator
*****

Posts: 717
Joined: May 2013
Reputation: 7
Post: #4
RE: T38 and 3cx user presence
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.
(This post was last modified: 10-18-2013 11:03 PM by CWR.)
10-18-2013 11:03 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
vondie Offline
Junior Member
**

Posts: 38
Joined: Oct 2013
Reputation: 0
Post: #5
RE: T38 and 3cx user presence
(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!
10-19-2013 04:27 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
jasit Offline
Member
***

Posts: 85
Joined: Mar 2013
Reputation: 0
Post: #6
RE: T38 and 3cx user presence
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


Attached File(s)
.zip  xml.zip (Size: 2.29 KB / Downloads: 42)
10-21-2013 09:37 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
vondie Offline
Junior Member
**

Posts: 38
Joined: Oct 2013
Reputation: 0
Post: #7
RE: T38 and 3cx user presence
(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>
10-21-2013 09:58 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
jasit Offline
Member
***

Posts: 85
Joined: Mar 2013
Reputation: 0
Post: #8
RE: T38 and 3cx user presence
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
10-21-2013 10:37 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
vondie Offline
Junior Member
**

Posts: 38
Joined: Oct 2013
Reputation: 0
Post: #9
RE: T38 and 3cx user presence
(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.
10-21-2013 10:51 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
jasit Offline
Member
***

Posts: 85
Joined: Mar 2013
Reputation: 0
Post: #10
RE: T38 and 3cx user presence
I think your away status might be wiped when the phone does an autoprovision, disable it on one of your phones to test.
10-22-2013 02:33 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Customizing phone user interface mdu113 2 11,415 07-24-2015 05:48 AM
Last Post: mdu113

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication