<div dir="ltr">Thanks Stephen!  I'll see if I can reach out to some Cisco BU folks to push for full support/maintenance of these features.  Would really love Cisco to bring back Phone Designer as well.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 25, 2019 at 6:07 PM Stephen Welsh <<a href="mailto:stephen.welsh@unifiedfx.com">stephen.welsh@unifiedfx.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div dir="auto">
<div>Thanks Brian, was going to jump in but hesitated ;)</div>
<div><br>
</div>
Don’t think I’m breaking any NDA’s here as this is just a general impression based on dialog on this topic, there is absolutely nothing official here and I can’t go into detail unfortunately.
<div><br>
</div>
<div>I get the impression that background support may get dropped or more limited in the future. The recent addition of backgrounds to the KEM has caused more challenges than benefit in it’s current implementation. This would imply that Cisco will have to do
 something to update/resolve this, backtrack, or something new/different.</div>
<div><br>
</div>
<div>Personally I would love Cisco to fully embrace background/ringtones (i.e. the SetBackground XML object etc.). We see hundreds of clients that use custom backgrounds, it’s a great capability that is mostly an afterthought at times.</div>
<div><br>
</div>
<div>I would encourage anyone with customers leveraging the custom backgrounds on Cisco phones to provide feedback to Cisco asking for official API support for SetBackground/SetRingtone</div>
<div><br>
</div>
<div>One thing I was really pleased about was Cisco fixing the SetBackground bug on the latest 88xx firmware, but would be ideal if this was an official API.<br>
<br>
Kind Regards</div>
<div><br>
</div>
<div>Stephen Welsh</div>
<div>Founder & CTO</div>
<div>UnifiedFX<br>
<br>
<div id="gmail-m_8667170642322455471AppleMailSignature" dir="ltr">Sent from my iPad</div>
<div dir="ltr"><br>
On 25 Apr 2019, at 14:02, Brian Meade <<a href="mailto:bmeade90@vt.edu" target="_blank">bmeade90@vt.edu</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">Yea, was hoping someone from Cisco would jump in to confirm if there's something like a SetRingToneWB command or something similar or plans to update this API at some point.
<div><br>
</div>
<div>Adding Stephen Welsh as well since he's pretty familiar with these phone APIs.</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Apr 25, 2019 at 4:47 PM Anthony Holloway <<a href="mailto:avholloway%2Bcisco-voip@gmail.com" target="_blank">avholloway+cisco-voip@gmail.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Alright, well, I guess that's the end of the road then, huh?</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Apr 25, 2019 at 3:31 PM Brian Meade <<a href="mailto:bmeade90@vt.edu" target="_blank">bmeade90@vt.edu</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Thanks for testing Anthony!  You're seeing the same thing I saw in that it's only supporting the non-wideband ringtones.
<div><br>
</div>
<div>Wideband ringtones don't have any size limitations I've found and also don't need to be divisible by 240.  I downloaded the wideband ringtones from CUCM and confirmed their sizes/samples and such to confirm that.</div>
<div><br>
</div>
<div>I can make a very long/sizable wideband ringtone, put it in the RingList-wb.xml file and upload it to TFTP and it works fine.  Seems like the limitation is just around the SetRingTone command only working with legacy ringtone parameters.</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Apr 25, 2019 at 3:14 PM Anthony Holloway <<a href="mailto:avholloway%2Bcisco-voip@gmail.com" target="_blank">avholloway+cisco-voip@gmail.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">I made a little progress.
<div><br>
</div>
<div><u>Python</u></div>
<div>
<div><font face="monospace, monospace">>>> import requests</font></div>
<div><font face="monospace, monospace">>>> phone = 'my phone IP here'</font></div>
<div><font face="monospace, monospace">>>> creds = ('my username', 'my password')</font></div>
<div><font face="monospace, monospace">>>> xml = {'XML': '<setRingTone><ringTone><a href="https://tftpserver.company.com:6972/NewRingtone.rwb" target="_blank">https://tftpserver.company.com:6972/NewRingtone.rwb</a></ringTone></setRingTone>'}</font></div>
<div><font face="monospace, monospace">>>> resp = requests.post('http://{}/CGI/Execute'.format(phone), auth=creds, data=xml)</font></div>
<div><font face="monospace, monospace">>>> resp</font></div>
<div><font face="monospace, monospace"><Response [200]></font></div>
<div><font face="monospace, monospace">>>> resp.text</font></div>
<div><font face="monospace, monospace">u'<?xml version="1.0" encoding="utf-8"?>\r\n<CiscoIPPhoneResponse>\r\n<ResponseItem URL="" Data="Success" Status="0" />\r\n</CiscoIPPhoneResponse>\r\n'</font></div>
</div>
<div><br>
</div>
<div>At first I got:</div>
<div><br>
</div>
<div>
<div><span style="font-family:monospace,monospace">>>> resp</span><br>
</div>
<div>
<div><font face="monospace, monospace"><Response [400]></font></div>
</div>
<div><span style="font-family:monospace,monospace">>>> resp.text</span></div>
<div><font face="monospace, monospace">u'<?xml version="1.0" encoding="utf-8"?>\r\n<errorResponse>\r\n<type> Unsupported Operation</type> \r\n<data> Personalization is disabled</data> \r\n</errorResponse>\r\n'</font></div>
</div>
<div><br>
</div>
<div>After I enabled that, I then got:</div>
<div><span style="font-family:monospace,monospace"><br>
</span></div>
<div><span style="font-family:monospace,monospace">>>> resp</span><br>
</div>
<div>
<div>
<div><font face="monospace, monospace"><Response [400]></font></div>
</div>
<div><span style="font-family:monospace,monospace">>>> resp.text</span></div>
<div><font face="monospace, monospace">u'<?xml version="1.0" encoding="utf-8"?>\r\n<errorResponse>\r\n<type> InvalidResource</type> \r\n<data>  Ring Tone Too Large:
<a href="https://tftpserver.company.com:6972/" target="_blank">https://tftpserver.company.com:6972/</a></font>
<span style="font-family:monospace,monospace">NewRingtone</span><font face="monospace, monospace">.rwb  Size is 264828</data> \r\n</errorResponse>\r\n'</font></div>
</div>
<div><br>
</div>
<div>Then after I cut the ringtone in half, I got this:</div>
<div><br>
</div>
<div>
<div><br>
</div>
<div>
<div>
<div><font face="monospace, monospace">>>> resp</font></div>
<div><font face="monospace, monospace"><Response [400]></font></div>
</div>
</div>
<div><span style="font-family:monospace,monospace">>>> resp.text</span></div>
<div><font face="monospace, monospace">u'<?xml version="1.0" encoding="utf-8"?>\r\n<errorResponse>\r\n<type> InvalidResource</type> \r\n<data>  Invalid Ring Tone: Number of Ring samples in the ring not evenly divisible by 240:
<a href="https://tftpserver.company.com:6972/" target="_blank">https://tftpserver.company.com:6972/</a></font>
<span style="font-family:monospace,monospace">NewRingtone</span><font face="monospace, monospace">.rwb</data> \r\n</errorResponse>\r\n'</font></div>
</div>
<div><br>
</div>
<div>So, I used the following as a supplement to the previously linked site, so that I could figure out this 240 sample thing:</div>
<div><a href="https://www.netcraftsmen.com/uc-toolkit-using-audacity-for-cucm-ring-tones/" target="_blank">https://www.netcraftsmen.com/uc-toolkit-using-audacity-for-cucm-ring-tones/</a> </div>
<div><br>
</div>
<div>My phone (8851 on 12.5(1)SR2) still plays the default Sunrise ringtone, and I don't see where the new ringtone comes into play.  Perhaps my successes will help you move the needle a little further?<br>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Apr 25, 2019 at 12:35 PM Brian Meade <<a href="mailto:bmeade90@vt.edu" target="_blank">bmeade90@vt.edu</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">I've got it working using the RingList-wb.xml globally, but still can't get it to work via API.  It seems like SetRingTone was just never updated to allow for wideband ringtones.</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Apr 25, 2019 at 10:37 AM Anthony Holloway <<a href="mailto:avholloway%2Bcisco-voip@gmail.com" target="_blank">avholloway+cisco-voip@gmail.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Do you have it working now then?</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Apr 24, 2019 at 12:42 PM Brian Meade <<a href="mailto:bmeade90@vt.edu" target="_blank">bmeade90@vt.edu</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">So I confirmed the sample rate should be 16000 Hz as well.
<div><br>
</div>
<div>Then exported as Raw (headerless) Signed 16-bit PCM</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Apr 24, 2019 at 1:25 PM Brian Meade <<a href="mailto:bmeade90@vt.edu" target="_blank">bmeade90@vt.edu</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr"> SetRingTone is a bit undocumented in any of the API guides similar to setBackground.  They both work but RingTone may not have been updated to support wideband files.<br>
<div><br>
</div>
<div>I've got the ringtone on CUCM now as well using the file settings in that blog but it's playing too fast.</div>
<div><br>
</div>
<div>Anyone know if the sample rate needs to be changed from 8000 Hz or any other changes for wideband?</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Apr 24, 2019 at 1:12 PM Anthony Holloway <<a href="mailto:avholloway%2Bcisco-voip@gmail.com" target="_blank">avholloway+cisco-voip@gmail.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">I've never heard of this before, but a quick google search turns up the following page with some detailed info.  Have you already seen this info?
<div><br>
</div>
<div><a href="http://usecallmanager.nz/ring-list-xml.html" target="_blank">http://usecallmanager.nz/ring-list-xml.html</a> </div>
<div><br>
</div>
<div>Interestingly, this information doesn't seem to be present in the normal Phone API guide.  Is this hidden information, or just documented elsewhere?</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Apr 24, 2019 at 11:38 AM Brian Meade <<a href="mailto:bmeade90@vt.edu" target="_blank">bmeade90@vt.edu</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="auto">Anyone had any luck using the IP Phone Services API to set a wideband ringtone? It doesn't seem to like the file size for me even though my files are smaller than the default wideband ringtones.
<div dir="auto"><br>
</div>
<div dir="auto">Thanks,</div>
<div dir="auto">Brian Meade</div>
</div>
_______________________________________________<br>
cisco-voip mailing list<br>
<a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br>
<a href="https://puck.nether.net/mailman/listinfo/cisco-voip" rel="noreferrer" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a><br>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</div>

</blockquote></div>