mod_snom is an application for controlling the functionality and appearance of the programmable softkeys on a Snom phone. It also adds the possibility to send KEY events to snoms embedded webserver.
It was tested with firmware series 7.3.x, 8.2.x and 8.4.x on Snom models 370, 820 and 870.
If you plan to trigger this from other sip servers than FreeSWITCH you have to set some values in the phone configuration like this description in the snom wiki.
Otherwise you just have to configure one of your fkeys as "Button" and add an numeric index e.g "2" for fkey 2.
key: number or name of the key to control
light: state of the led/light for the key, possible values are:
- offline (indicates that phone is not available or DND is active)
label: a UTF8 text label describing what the key does
user: the SIP user (phone) to send the key configuration to
host: the host the SIP user is on (usually FS itself)
profile: the [[mod_sofia|sofia]] profile the user is located under
action_name: the type of action to take when the key is pressed (optional)
- invite - dials the number given in the action field
- message - send a SIP message with data in the action field
action: data for the action_name field, value depends on the type of action_name, see example below.
From the conf/dialplan/default.xml file: Snom button demo, call 9000 to make button 2 mapped to transfer the current call to a conference
Snom firmware 8.x: If you want to actually have the phone flash the second line you must set the line type to 'button' and the Number to the number of the line eg. '2' in the Function Keys section of the phone's web interface or things won't work.
Snom firmware 7.x: If you want to actually have the phone flash the second line you must set the line type to 'button'.
Control Keys using HTTP
Sends Keyevents to the SNOM phone using the embedded webserver (if enabled) to simulate a keypress. See [http://wiki.snom.com/FAQ/Can_I_control_my_snom_phone_remotely SNOM wiki] for more infos.
This command sends the ENTER key command to the snom from which user is registered to FreeSWITCH. If a call is ringing, you can pick up the call using this technique.
Its even possible to give key sequences