Douillez Posted August 17, 2021 Report Posted August 17, 2021 Hello, I try to understand Xml Browser in DSSKEY in T53W. Actually i have this in DDSKEY: When i press the touch, it compose "*2" then add number "2" as dtmf. But i try to implement this to Xml Browser. Like this, i could create a menu with multiple choice. Because i want to have the possibility to use as extension "1" or "2" or "3".... But i can't find the correct command to put extention "2" in the xml. Here is the code i try <?xml version="1.0" encoding="ISO-8859-1"?> <Directory> defaultIndex="1" Beep="yes" Timeout="50" <Title wrap="yes">Select Society</Title> <MenuItem> <Prompt>Choice 1</Prompt> <URI>*2</URI> <Selection>1</Selection> </MenuItem> <MenuItem> <Prompt>Choice 2</Prompt> <URI>*2</URI> <Selection>2</Selection> </MenuItem> </Directory> Hope i'm clear :-( Best regards
Douillez Posted August 25, 2021 Author Report Posted August 25, 2021 (edited) Hello I find it :-) BUT OK with T53W and NOT with T58A :-( First 1 create access of XML Browser in the Phone pointing to Xml File The code of The XML File in the Value: XmlCompanyMenu.xlm <?xml version="1.0" encoding="ISO-8859-1"?> <YealinkDECTTextMenu defaultIndex="1" style="numbered" Beep="yes" Timeout="5" destroyOnExit="yes" > <Title>Select Company CallOut</Title> <MenuItem> <Prompt>Company xx</Prompt> <URI>http://xxx/Company1xx.xml</URI> </MenuItem> <MenuItem> <Prompt>Company yy</Prompt> <URI>http://xxx/Company2yy.xml</URI> </MenuItem> </YealinkDECTTextMenu> The first Company1xx.xml <?xml version="1.0" encoding="ISO-8859-1"?> <YealinkIPPhoneExecute Beep="no"> <ExecuteItem URI="Dial: *2 " /> <!-- The two line after serve to add pause between the system hear the first dtmf. These ones add no effect really--> <ExecuteItem URI="Key: STAR " /> <ExecuteItem URI="Key: STAR " /> <!-- From this one, the system capture the number--> <ExecuteItem URI="Key: KEY_1 " /> </YealinkIPPhoneExecute> Like This, *2 is compose and go to my callflow *2 where there is a "Collect DTMF". If i don't put the 2X STAR in the code, then the catch of dtmf is not done correctly. With this trick the Key 1 is catch and i can complete with the number i want compose. It's OK with T53W But with T58A, it doesn't capture my dtmf :-( I try with Multiple STAR etc. Never it catch the DTMF :-( I test: <ExecuteItem URI="Dial:*2" interrupetCall="no"/> <ExecuteItem URI="Key:keypad1"/> <ExecuteItem URI="SendDigits: 1 "/> Nothing take effect :-( If i make a DSSKEY like this: It's ok, the "1" is catch :-( But i don't want to use a line Key for each choice :-( I Prefer the Menu :-) I have no idea to modify in my xml file :-( for information, here is my parameter in my callflow for collect DTMF An other thing i modify the default Codec in the Phone. I delete these And put G722 in First place. Like this, if i compose manually *2(send) then 1 (For choose the first number selection wich will have effect in my pivot) then the number i want call. The call is ok! All Help are Welcom :-( Edited August 25, 2021 by Douillez (see edit history)
RuhNet Posted September 22, 2021 Report Posted September 22, 2021 Yealink has an XML developer's guide that is freely available (just Google search and find the latest version, or one that matches your firmware version). You can check it for info on how to modify the XML so that it works properly.
Douillez Posted September 23, 2021 Author Report Posted September 23, 2021 Hello RuhNet, first thanks to take time to answer me :-) I already find Xml developer and it's with this i create de xml file but i have issue with T58 :-(
Recommended Posts