XML definitions can use various modules of the phone in order to access variables, run functions etc.
The functions presented here can be used via the request action.
Please note that the modules were designed to be used in the phone's internal XML implementation. They are subject to internal code changes and are not part of the officially tested Snom software. For this reason, we cannot guarantee full functionality of the modules in all versions and on all phones. Please test the used modules before implementing them in production and use at your own risk. |
Index:
Goal: this function acts as if the contact_number parameter were selected from the Pool. Depending on current phone state, it will call the number or do a transfer using this number.
Parameters:
Example: call or transfer to number 100
<request when="on press" function="handle_selected" module="BusyLampField" result_destination="my_local_var"> <parameter name="contact_number" value="100"/> </request> |
Goal: Make a call
Parameters:
Example: make a call to number 100 using Identity 2 via SPEAKER:
<request when="on press" function="make_call" module="CallInterface"> <parameter name="remote" value="100"/> <parameter name="identity" value="2"/> <parameter name="device" value="SPEAKER"/> </request> |
Goal: Start a conference between given local identity and two remote numbers
Parameters:
Example: start a conference between local identity 2 and remote numbers 100 and 102:
<request when="on press" function="ad_hoc_conference" module="CallInterface" result_destination="my_var"> <parameter name="identity" value="2"/> <parameter name="remote1" value="100"/> <parameter name="remote2" value="102"/> </request> |
Goal: while already in a call with a remote number, this function can be used to conference in a second remote number
Parameters
Example: Extension 100 is in a call with 101. To move this call to a conference and add extension 102 to the conversation:
<request when="on press" function="ad_hoc_conference_escalation" module="CallInterface" result_destination="my_var"> <parameter name="remote2" value="102"/> </request> |
Goal: clear the call lists, either all or the one specifically provided
Parameters:
Example:
<request when="on press" function="clear" module="CallLists" result_destination="my_local_var"> <parameter name="list_type" value="dialed"/> </request> |
fkey index of first and last key of each label page (eg. 0,7,15,23,31)
go to next label page
go to previous label page
trigger smartlabel with source fkey