[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
BLF: unavailable state shown as idle
Author Message
Yealink Support Offline
Administrator
*******

Posts: 2,683
Joined: Dec 2012
Reputation: 25
Post: #11
RE: BLF: unavailable state shown as idle
Hi Martijn,

Yes, it seems that your Asterisk doesn't send this NOTIFY properly. Please contact with your server technicist.

Your code is still "Subscription-State: active" .
<?xml version="1.0"?>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="17" state="full" entity="sip:9999001@xxxxxxxx">
<dialog id="9999001">
<state>terminated</state>
</dialog>
</dialog-info>
10-25-2013 06:16 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Martijn Offline
Junior Member
**

Posts: 7
Joined: Oct 2013
Reputation: 0
Post: #12
RE: BLF: unavailable state shown as idle
Well just tried again, the code i copied in the post before, was the first messages, but when i look further down below the log file i find this :

I disconnected the Yealink via the webinterface.


Code:
set_destination: set destination to 192.168.178.68:5063
Reliably Transmitting (NAT) to xxxxxxx:5063:
NOTIFY sip:9999001@192.168.178.68:5063 SIP/2.0
Via: SIP/2.0/UDP xxxxxxx:5060;branch=z9hG4bK5bc08dea;rport
Max-Forwards: 70
From: <sip:12345@xxxxxxx>;tag=as507b8910
To: "YourPetShops" <sip:9999001@xxxxxxx>;tag=809789676
Contact: <sip:12345@xxxxxxx:5060>
Call-ID: 145290667@192.168.178.68
CSeq: 103 NOTIFY
User-Agent: -2.11.0beta2(11.6.0)
Subscription-State: terminated;reason=timeout
Event: dialog
Content-Type: application/dialog-info+xml
Content-Length: 207

<?xml version="1.0"?>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="1" state="full" entity="sip:12345@xxxxxxx">
<dialog id="12345">
<state>terminated</state>
</dialog>
</dialog-info>

But the 12345 phone still has its green LED on.
(This post was last modified: 10-27-2013 06:58 PM by Martijn.)
10-27-2013 06:57 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: #13
RE: BLF: unavailable state shown as idle
Hi Martijn,

I double check about this issue with our R&D colleague.
He confirms that Asterisk server will continue to subscribe even if the account is unavailable.
So your issue is the right scenario.
10-28-2013 02:49 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
mjb Offline
Junior Member
**

Posts: 1
Joined: Jan 2014
Reputation: 0
Post: #14
RE: BLF: unavailable state shown as idle
Asterisk is correct in its actions - application/dialog-info+xml does not support a concept of an 'unavailable' extension. For that, another content-type that supports presence is needed. application/pidf+xml (RFC4662) comes to mind, but Yealink phones appear not to support that.

To try it out, and see the behaviour you're expecting, download the SIP client 'Dialplate', and configure some BLF entries with both application/dialog-info+xml and application/pidf+xml to see the difference.

A Subscription should not be terminated just because an extension has become unavailable. The state of a subscription is not the same as the state of an extension. Even if the subscription was to be terminated when an extension becomes unavailable, there is no clear method defined in RFC3265 for re-establishing the subscription without polling the SIP proxy - and this is a bad idea, especially when you might want to monitor the state of a large number of extensions which are often unavailable. The timely refreshing of the BLF indicator would suggest that re-polling every few seconds would be desirable, yet the associated network traffic would be very undesirable.
01-10-2014 03:52 AM
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: #15
RE: BLF: unavailable state shown as idle
Hi mjb,

I am agree with your idea, but we support presence/dialog now. Big Grin
01-10-2014 09:12 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
nicknomo Offline
Member
***

Posts: 63
Joined: Oct 2013
Reputation: 1
Post: #16
RE: BLF: unavailable state shown as idle
(01-10-2014 09:12 AM)Yealink Support Wrote:  Hi mjb,

I am agree with your idea, but we support presence/dialog now. Big Grin

I was toying around with presence states in asterisk today, with the EXT40... and I am setting the presence states, but the BLF indications don't seem to reflect any of the changes.

Is there something I have to do to get the BLF's on yealink phones to listen to the presence states as well?

If I set the presence state to unavailable, the light should go out. If I set the presence state to DND or BUSY, that should be reflected. It seems like my phone (T46G and EXT40) is only reading the device state. Is there a setting for this?
(This post was last modified: 03-21-2014 10:14 AM by nicknomo.)
03-21-2014 05:37 AM
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: #17
RE: BLF: unavailable state shown as idle
Sorry. 3CX and Genband should can support presence status in Yealink phone and Asterisk can't.
03-21-2014 04:11 PM
Find all posts by this user    like0    dislike1 Quote this message in a reply
dominic16y Offline
Junior Member
**

Posts: 1
Joined: Jul 2014
Reputation: 0
Post: #18
RE: BLF: unavailable state shown as idle
(03-21-2014 04:11 PM)Yealink Support Wrote:  Sorry. 3CX and Genband should can support presence status in Yealink phone and Asterisk can't.

Really?
Is that you mean if we want full BLF funtions with Asterisk don't buy Yealink phone. go get 3CX and Genband?

Why don't you just release a special firmware "BLF fully support Asterisk" version.
Let user pick their need version.
07-22-2014 11:44 AM
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: #19
RE: BLF: unavailable state shown as idle
Hi dominic16y,

Sorry, maybe you misunderstand what my meaning.
We support BLF feature in the Asterisk. The issue is BLF status depend on the pbx server whether send NOTIFY message to Yealink phone.
If the server didn't send it our phone won't change the LED status. Kindly hope you can understand it.

thanks
07-30-2014 02:13 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
gregory Offline
Junior Member
**

Posts: 1
Joined: Oct 2014
Reputation: 0
Post: #20
RE: BLF: unavailable state shown as idle
Hi,

So at the moment it's not possible to have full BLF functionality on the Yealink T46G with a Asterisk as it's sip server and with full BLF functionality? and with full BLF functionality I mean when a sip user is not registered/offline or it's presence state is set to UNAVAILABLE that the BLF Led on the Yealink goes off.

Why do other phones like Cisco, Snom and softphones handle this correctly? I don't mean technically ...
10-01-2014 03:08 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
  Caller image (avatar) not shown StefanR 1 4,768 01-01-2021 05:45 PM
Last Post: mariovoip
  T46S Idle Screen - lots of blanks on 3 pages ghires 0 3,963 06-20-2018 12:50 PM
Last Post: ghires
  BLF shows busy but is idle DND off Daniel76 1 7,133 01-04-2018 07:05 AM
Last Post: Lucia_Yealink
  Caller ID not shown from remote phonebook Corretje 1 6,695 08-16-2017 03:15 AM
Last Post: Lucia_Yealink
Bug After update to 66.81.0.90: Settings/Ring shown incorrectly on T46S stefan 5 13,345 05-22-2017 04:09 PM
Last Post: stefan
  Number shown in call history cjtrevor 5 15,622 03-27-2017 12:57 PM
Last Post: cjtrevor
  Caller ID (Name+Number) from local directory not shown in display Nasevorn 2 21,760 11-21-2016 08:20 AM
Last Post: Nasevorn
  BLF LED is not green for idle extension for T42G fas143 1 9,646 10-28-2015 05:36 PM
Last Post: Klaus_Yealink
  Display Account Info on idle screen or on pickup of handset Sean Mathews 1 6,131 05-11-2015 11:50 PM
Last Post: Elaine_Yealink
  Outbound Caller ID Shown instead of Outbound Number donguanella 1 12,306 01-22-2015 10:17 AM
Last Post: James_Yealink

Forum Jump:


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

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