How can we help you today?
Start a new topic

sel attribut in DirectoryEntry Tag not working

I'm writing a small phone book app in PHP and want it mimic the behavior of the internal telephone book .
 
i.e. If I press 8 the first entry to be displayed with the letter "T" should be selected by the phone. For this I use the attribute sel in the sub- tag <DirectoryEntry> in <SnomIPPhoneDirectory> tag .
The xml output of the script is fine. But the phone ( a snom 720 with the latest firmware 8.7.5.35) always selects the second entry in the list.
Does somebody else have experience with this ?

regards,
Paolo

forgot to say the phone is using the minibrowser

Hello Paolo,


could you please provide us the XML generated from the PHP script ?


Thanks,

Hello Pietro


this is what the output of my script looks like.

"AB name" is been selected instead of "ZA name".


 

<?xml version="1.0" encoding="UTF-8"?>
<snomipphonedirectory speedselect="off">
<title>Telefonbuch</title>
<directoryentry>
<name>AA Name</name>
<telephone>58</telephone>
</directoryentry>
<directoryentry>
<name>AB Name</name>
<telephone>42</telephone>
</directoryentry>
<directoryentry>
<name>BA Name</name>
<telephone>32</telephone>
</directoryentry>
<directoryentry>
<name>BB Name</name>
<telephone>54</telephone>
</directoryentry>
<directoryentry>
<name>CA Name</name>
<telephone>41</telephone>
</directoryentry>
<directoryentry>
<name>CB Name</name>
<telephone>47</telephone>
</directoryentry>
<directoryentry>
<name>CC Name</name>
<telephone>49</telephone>
</directoryentry>
<directoryentry>
<name>CD Name</name>
<telephone>38</telephone>
</directoryentry>
<directoryentry>
<name>TA Name</name>
<telephone>34</telephone>
</directoryentry>
<directoryentry>
<name>TB Name</name>
<telephone>45</telephone>
</directoryentry>
<directoryentry>
<name>TC Name</name>
<telephone>56</telephone>
</directoryentry>
<directoryentry sel="true">
<name>ZA Name</name>
<telephone>39</telephone>
</directoryentry>
<directoryentry>
<name>ZB Name</name>
<telephone>36</telephone>
</directoryentry>
<directoryentry>
<name>ZC Name</name>
<telephone>53</telephone>
</directoryentry>
<directoryentry>
<name>ZD Name</name>
<telephone>44</telephone>
</directoryentry>
<directoryentry>
<softkeyitem>
<name>0</name>
<url>http://192.168.2.100/snom/telbook.php?key=0</url>
<position>0</position>
</softkeyitem>
<softkeyitem>
<name>1</name>
<url>http://192.168.2.100/snom/telbook.php?key=1</url>
<position>1</position>
</softkeyitem>
<softkeyitem>
<name>2</name>
<url>http://192.168.2.100/snom/telbook.php?key=2</url>
<position>2</position>
</softkeyitem>
<softkeyitem>
<name>3</name>
<url>http://192.168.2.100/snom/telbook.php?key=3</url>
<position>3</position>
</softkeyitem>
<softkeyitem>
<name>4</name>
<url>http://192.168.2.100/snom/telbook.php?key=4</url>
<position>4</position>
</softkeyitem>
<softkeyitem>
<name>5</name>
<url>http://192.168.2.100/snom/telbook.php?key=5</url>
<position>5</position>
</softkeyitem>
<softkeyitem>
<name>6</name>
<url>http://192.168.2.100/snom/telbook.php?key=6</url>
<position>6</position>
</softkeyitem>
<softkeyitem>
<name>7</name>
<url>http://192.168.2.100/snom/telbook.php?key=7</url>
<position>7</position>
</softkeyitem>
<softkeyitem>
<name>8</name>
<url>http://192.168.2.100/snom/telbook.php?key=8</url>
<position>8</position>
</softkeyitem>
<softkeyitem>
<name>9</name>
<url>http://192.168.2.100/snom/telbook.php?key=9</url>
<position>9</position>
</softkeyitem>
<softkeyitem>
<name>CANCEL</name>
<softkey>F_ABORT</softkey>
</softkeyitem>
</snomipphonedirectory>

 

i just posted my code. twice but it dows not appear in the thread. so i trying to upload the xml-file

html

Hi Paolo,


thanks for the informations.


This is a known bug unfortunately, internal tracking id: #SCPP-5398


I'll let you know something as soon we have a fix,


Best regards,

Login or Signup to post a comment