Yealink Forums
DND via XML notify not working in T48S :-( (works on T41x) - Printable Version

+- Yealink Forums (http://forum.yealink.com/forum)
+-- Forum: IP Phone Series (/forumdisplay.php?fid=4)
+--- Forum: General topics (/forumdisplay.php?fid=15)
+--- Thread: DND via XML notify not working in T48S :-( (works on T41x) (/showthread.php?tid=46910)



DND via XML notify not working in T48S :-( (works on T41x) - wecloudit - 09-18-2023 08:01 AM

Hello,

We push a command via SIP Notify to fetch an XML file and execute it... Fetching etc. all works, but the Phone does not change its DND status.

It works on a freshly factory reset phone but when we press DND on the phone 1 time it breaks...

The XML content:

On:
<?xml version="1.0" encoding="ISO-8859-1"?>
<YealinkIPPhoneConfiguration Beep="yes" >
<Item>features.dnd.enable = 1</Item>
</YealinkIPPhoneConfiguration>


Off:
<?xml version="1.0" encoding="ISO-8859-1"?>
<YealinkIPPhoneConfiguration Beep="yes" >
<Item>features.dnd.enable = 0</Item>
</YealinkIPPhoneConfiguration>

The result:
Sep 18 01:52:11 fixed.kpn.net [mac] sua [1093.1098]: DLG <6+info > [000] <ExecuteItem URI="https://mijn.servername.nl/xml/dndon.xml"/>
Sep 18 01:52:11 fixed.kpn.net [mac] GUI [980:1087]: TASK<6+info > 731.236.757:http download url[https://mijn.servername.nl/xml/dndon.xml] http_autp[0] method[0]
Sep 18 01:52:11 fixed.kpn.net [mac] sua [1093.1098]: DLG <6+info > [000] <ExecuteItem URI="https://mijn.servername.nl/xml/dndon.xml"/>
Sep 18 01:52:11 fixed.kpn.net [mac] GUI [980:1087]: WIND<6+info > 731.752.566:[DCMN]GET /xml/dndon.xml HTTP/1.1
Sep 18 01:52:12 fixed.kpn.net [mac] ATP [1159.1188]: ATP <6+info > update: features.dnd.enable [Level].

When it works we see: status changed: update: features.dnd.enable [1]->[0] [Success].

when it is broken we see only: update: features.dnd.enable [Level].

What could be wrong?

DND mode is phone, but custom also does not work...

The same script works perfectly on for exampe a T41U or S etc.