Hello,
I've a Mitel 6930 IP phone with a SIP load, and am trying to push XML to it to set icons on the display. The Mitel XML development guide has lots of details on the different types of request that can be made, but is short on examples of how to actually make the request.
What I've tried is:
curl -X POST -d '<AastraIPPhoneStatus><Session/><Message index="0" type="icon" icon="1"/><IconList><Icon index="1">Icon:DND</Icon></IconList></AastraIPPhoneStatus>'
http://192.168.1.115 --header "Content-Type:text/xml"
However what I get back is the front page of the phone's web interface. The last 3 lines are:
<div id='content'>
<p><p style='{color:red}'>No changes made<br><br>Settings could not be saved.</p></p>
</div></div><div id='footer'><span class='copyright'>Copyright © 2018 Mitel Networks Corporation</span><span class='support'><a href='
http://www.mitel.com/content/technical-support-ticket-request-form'>Customer Support</a></span></div></div></body></html>
Does anyone have any advice? Perhaps I need to send the request to a certain path on the phone's web server?
Thanks in advance.