Hello!
I am writing an application, that will communicate with SNOM D785 phones and I have few questions.
1) I am able to send XML documents via CSTA (HTTP POST):
https://service.snom.com/display/wiki/Remote+phone+control#Remotephonecontrol-PushingofXMLMinibrowserDocuments
but it seems to me, that <SoftKeyItem> doesn't work. I can display text, play ringing sound, blink LEDs, but I am not able to define values of function keys under display. Is it a limitation of CSTA or am I missing something?
2) I was trying to invoke ringing on remote phone via HTTP GET:
https://service.snom.com/display/wiki/Remote+phone+control#Remotephonecontrol-Otherkeyevents
Its working fine, but I am not able to remotely tell the phone to stop playing it. The only way to do that was sending OFFHOOK and ONHOOK commands which is not very convenient for me. Is there any other way? I know that the phone stops playing it after a while on its own but I would appreciate a way to stop it remotely when I want.
3) What is a preferred syntax of XML elemements, with or without Snom prefix in tags? SnomIPPhoneText or IPPhoneText?
Best regards
Michal
1 Comment
Michal Sladek
Jan 31, 2025I have made further tests and realized, that the problem with <SoftKeyItem> is not related to CSTA delivery of XML. It is caused by using $(play_phone_ringer:1) parameter. When I remove it, I can see F1 key. Here is an example:
<?xml version="1.0" encoding="UTF-8"?>
<SnomIPPhoneText state="relevant" stop_auto_leave="true">
<Title>ALARM</Title>
<Text>ROOM 1 $(play_phone_ringer:1)</Text>
<SoftKeyItem><Name>F1</Name><Label>ACK</Label><URL>http://something></URL></SoftKeyItem>
</SnomIPPhoneText>
Is there a way how to send a XML document with function key definitions and notify a user with a sound? Why the example above doesn't work? Is it a bug or feature?