ahennis@voicespring.net Posted March 16, 2017 Report Posted March 16, 2017 Looking for information on using and modifying the ringtones.xml file. Is this a global file or can it be specific to a domain or a single phone? If I add a new "tone name" section to the file in a domain that "tone name" shows up in all the domains on the system. When I delete it it from the file it still appears in the drop downs for ring melody. How does one remove it? I added the following <tone name="ringer1"> <vendor ua="Polycom.*">Custom 1</vendor> <vendor ua="Cisco-.*"><Bellcore-dr4></vendor> <vendor ua="snomM300"><http://www.notused.com>;info=external</vendor> <vendor><http://127.0.0.1/Ringer1></vendor> </tone> Here are the changes I made to make the ring melodies work on the Snom M25 hand sets. I basically added the line for the snomM300 base station to ringer1,2,3,4,5 and 6. I had to do this to get the different ringtones to work. This is working but I want to make sure I am changing the file correctly. <?xml version="1.0"?><ringtones> <tone name="ringer1"> <vendor ua="Polycom.*">Custom 1</vendor> <vendor ua="Cisco-.*"><Bellcore-dr4></vendor> <vendor ua="snomM300"><http://www.notused.com>;info=external</vendor> <vendor><http://127.0.0.1/Ringer1></vendor> </tone> <tone name="ringer2"> <vendor ua="Polycom.*">Custom 2</vendor> <vendor ua="Cisco-.*"><Bellcore-dr4></vendor> <vendor ua="snomM300"><http://www.notused.com>;info=vip</vendor> <vendor><http://127.0.0.1/Ringer2></vendor> </tone> <tone name="ringer3"> <vendor ua="Polycom.*">Custom 3</vendor> <vendor ua="Cisco-.*"><Bellcore-dr4></vendor> <vendor ua="snomM300"><http://www.notused.com>;info=friends</vendor> <vendor><http://127.0.0.1/Ringer3></vendor> </tone> <tone name="ringer4"> <vendor ua="Polycom.*">Custom 4</vendor> <vendor ua="Cisco-.*"><Bellcore-dr4></vendor> <vendor ua="snomM300"><http://www.notused.com>;info=highpriority</vendor> <vendor><http://127.0.0.1/Ringer4></vendor> </tone> <tone name="ringer5"> <vendor ua="Polycom.*">Default</vendor> <vendor ua="Cisco-.*"><Bellcore-dr4></vendor> <vendor ua="snomM300"><http://www.notused.com>;info=lowpriority</vendor> <vendor><http://127.0.0.1/Ringer5></vendor> </tone> <tone name="ringer6"> <vendor ua="Polycom.*">Default</vendor> <vendor ua="Cisco-.*"><Bellcore-dr4></vendor> <vendor ua="snomM300"><http://www.notused.com>;info=blacklist</vendor> <vendor><http://127.0.0.1/Ringer6></vendor> </tone></ringtones> Quote
Vodia PBX Posted March 17, 2017 Report Posted March 17, 2017 So far this file this only available on global (system) level. So you have a problem saving the file from the web interface? That should actually work, and take immediate effect. Maybe you can use an online XML validation to make sure there is no typo something in the XML spaghetti. What you can also do is just save it in the html directory as "ringtones.xml", that makes it easier to do quick changes. For that you will have to restart the system, though. Quote
ahennis@voicespring.net Posted March 17, 2017 Author Report Posted March 17, 2017 I did not have a problem saving the file. I did not understand that this was a global file. When I changed the file at the domain level and saw the changes in the global file I was worried. It would probably be good to be able to have a different ringtones.xml file at the domain level. Not sure if there is any need to have it at the phone level. I would also be good to have a little more documentation on modifying the file. If I delete a ringtone it is still in the drop down list of ring melodies. How do you remove it from the drop down after it is deleted? For example I added the following which created "NewCustomRingtone1" in the Ring Melody drop down list. I then deleted the change. The "NewCustomRingtone1" is still in the Ring Melody drop down list. <tone name="NewCustomRingtone1"> <vendor ua="Polycom.*">Custom 1</vendor> <vendor ua="Cisco-.*"><Bellcore-dr4></vendor> <vendor ua="snomM300"><http://www.notused.c...ternal</vendor> <vendor><http://127.0.0.1/Rin...1></vendor> </tone> Quote
ahennis@voicespring.net Posted March 17, 2017 Author Report Posted March 17, 2017 Also, am I makes the correct changes. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.