Hello Yealink,
Thanks for your information and looking into it, just received another T46G for being able to test if it is functioning properly between two of the same phones.
When i set 9999001 extention to DND, i will get the Subscription-State:Terminated, and the LED will become RED.
But when disabling the account on the phone it self, or pulling out the network connection i will get no change on the LED (stays green), and i get the following output:
Code:
[undefined=undefined][2013-10-23 12:22:21] NOTICE[18924]: chan_sip.c:29376 sip_poke_noanswer: Peer '9999001' is now UNREACHABLE! Last qualify: 50
Really destroying SIP dialog '3c90230240e09a2729ba42ee401c1384@xxxxxxxx:5060' Method: OPTIONS
set_destination: Parsing <sip:12345@192.168.178.64:5063> for address/port to send to
set_destination: set destination to 192.168.178.64:5063
Reliably Transmitting (NAT) to xxxxxxxx:5063:
NOTIFY sip:12345@192.168.178.64:5063 SIP/2.0
Via: SIP/2.0/UDP xxxxxxxx:5060;branch=z9hG4bK10856aa9;rport
Max-Forwards: 70
From: <sip:9999001@xxxxxxxx>;tag=as350e2ecc
To: "Test" <sip:12345@xxxxxxxx>;tag=1217145946
Contact: <sip:9999001@xxxxxxxx:5060>
Call-ID: 696061064@192.168.178.64
CSeq: 119 NOTIFY
User-Agent: -2.11.0beta2(11.6.0)
Subscription-State: active
Event: dialog
Content-Type: application/dialog-info+xml
Content-Length: 212
<?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>
---
== Extension Changed 9999001[ext-local] new state Unavailable for Notify User 12345
<--- SIP read from UDP:xxxxxxxx:5063 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP xxxxxxxx:5060;branch=z9hG4bK792f3c24;rport
From: <sip:9999001@xxxxxxxx>;tag=as531756ea
To: "Test" <sip:12345@xxxxxxxx>;tag=499743169
Call-ID: 786499161@192.168.178.64
CSeq: 108 NOTIFY
Contact: <sip:12345@192.168.178.64:5063>
User-Agent: Yealink SIP-T46G 28.71.0.170
Content-Length: 0
Is this Asterisk thats not sending this NOTIFY properly? But of what i can find this should be the normal way of doing this?
Thanks in advance,
Martijn