[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
Status Text on display (only few chars)
Author Message
GeorgSchwarz Offline
Junior Member
**

Posts: 28
Joined: May 2013
Reputation: 0
Post: #1
Status Text on display (only few chars)
Hi everyone!

After carefully reading through the documentation, I am almost sure that this feature is not around, and I'd like to put this topic to discussion:
(If there is however such a function, could anyone please point out how to do it?)

Our asterisk-based enviroment is taking care of all the functions that are in most cases handled by the phone (e.g. DnD, Redirects), as our customer assumes this gives them an extra of flexibility...

Phones in use are mainly T26/T28, with the newer series (T38,...) being introduced with the premium packages

What we'd need is some kind of status string that is displayed on the phone's idle screen and that we could update using some kind of technology that would be easy to implement and handle. Things that come to my mind:

- SIP-Packets
- HTTP request from/to phone
- Asterisk SendText/MessageSend Command (which would be SIP packets again)
- ... (other suggestions here please )

The text should be displayed until the next update

A few characters would be enough: An R for example signifying that there is a redirect enabled D für do not disturb RD for both, or so

Do you gyus at Yealink think that's doable and that there is a General need for that function?
(This post was last modified: 10-22-2013 05:20 PM by GeorgSchwarz.)
10-22-2013 04:26 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
GeorgSchwarz Offline
Junior Member
**

Posts: 28
Joined: May 2013
Reputation: 0
Post: #2
RE: Status Text on display (only few chars)
Hi everyone!

Figured it out myself (sorry for bothering you in the forums).
There's a good document around:

http://www.yealink.com/Upload/document/X...635570.pdf

Didn't think it was part of the XML documentation...

best George
12-12-2013 06:13 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
GeorgSchwarz Offline
Junior Member
**

Posts: 28
Joined: May 2013
Reputation: 0
Post: #3
RE: Status Text on display (only few chars)
Hi!

having progressed, I'd like to share my Results with you...
Here a short perl-demonstration-script that sends a message to a phone...

@Forum-Admins: I hope you regard this as appropriate...
#!/usr/bin/perl
use IO::Socket;
use strict;

my %config = qw(NOTIFY_LOCAL_IP 172.27.255.254 NOTIFY_SOURCE_USER msgdispatch SOURCE_PORT 8888);

sipSendNotify('4711','10.27.0.12',"Redir on (102)",45);


sub sipSendNotify
# 0: Phone-User
# 1: Phone-IP
# 2: Message
# 3: Timeout
{
my $phoneIP = $_[1];
my $phoneUser = $_[0];
my $msg = $_[2];
my $timeout = $_[3];

my $payload="<YealinkIPPhoneStatus Beep=\"yes\" wrapList=\"no\" Timeout=\"$timeout\">
<Session>0</Session>
<Message Size=\"large\" Align=\"center\" Icon=\"Forward\">$msg</Message>
</YealinkIPPhoneStatus>
";

my $MESG="NOTIFY sip:$phoneUser\@$phoneIP:5062 SIP/2.0
Via: SIP/2.0/UDP $config{NOTIFY_LOCAL_IP}
From: <sip:$config{NOTIFY_SOURCE_USER}\@$config{NOTIFY_LOCAL_IP}>
To: <sip:$phoneUser\@$phoneIP>
Date: ".localtime(time())."
Call-ID: ".time()."msgto$phoneUser\@$config{NOTIFY_LOCAL_IP}
CSeq: 1300 NOTIFY
Contact: <sip:$config{NOTIFY_SOURCE_USER}\@$config{NOTIFY_LOCAL_IP}>
Event: yealink-xml
Content-Type: application/xml
Content-Length:".length($payload)."

$payload";



my $sock = new IO::Socket::INET (
LocalPort => $config{SOURCE_PORT},
PeerAddr => $phoneIP,
PeerPort => '5062',
Proto => 'udp',
);
die "Could not create socket: $!\n" unless $sock;

print $sock $MESG;



}
(This post was last modified: 12-12-2013 08:45 PM by GeorgSchwarz.)
12-12-2013 08:00 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Yealink Support Offline
Administrator
*******

Posts: 2,683
Joined: Dec 2012
Reputation: 25
Post: #4
RE: Status Text on display (only few chars)
Hi GeorgSchwarz,

Thanks. I appreciate your share.Smile
12-13-2013 04:18 PM
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
  Option of having DSS or DIalpad display on touchscreen after pressing DSS Prefix brourk 0 1,537 09-06-2022 10:04 PM
Last Post: brourk
  Availability status on phone screen Frank Drews 2 11,820 03-02-2018 02:47 PM
Last Post: syadnom
  Date/Time display in STATUS tab njackson 3 12,194 01-22-2018 08:04 PM
Last Post: KNERD
  Display custom text in-call Luke Escude 1 7,802 11-30-2017 08:44 AM
Last Post: Elaine_Yealink
  "On the Phone" or "User Busy" status display into caller phone LCD ugo.viti 12 52,877 09-29-2016 09:43 PM
Last Post: jolouis
  Call Information Display Method brourk 1 8,121 01-27-2016 03:17 AM
Last Post: Klaus_Yealink
  Agent queue status on DSS key johandezwaan 10 42,159 09-19-2015 12:26 AM
Last Post: topnotch
  Ability to alter call display format TM2-Megatron 0 6,631 08-15-2015 10:10 PM
Last Post: TM2-Megatron
Star T48G - Status Icon on DSS URL Button cotwild 1 10,143 12-12-2014 04:48 PM
Last Post: James_Yealink
  T48 Wallpaper (White Text or Black Text) elementpbx 1 8,284 12-01-2014 04:05 PM
Last Post: tb303

Forum Jump:


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

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