Wiesemann & Theis GmbH

Networking, sensors and interface technology for industry, office and IT

Application page

Phone call opens garage door

Remote control with SIP Ring Switch and Fritz!Box

SIP Ring Switch opening garage door

The Fritz!Box from AVM has become one the most commonly used routers. As a transition point between internet and home network the Fritz!Box provides not only WLAN and wired network access points. As a rule the Fritz!Box also organizes telephone connections and manages up to three call numbers for incoming calls.

Why not use one of the available call numbers for example to open the garage door with a call from your car? With the SIP Ring Switch #57753 it’s easy.

Step 1 - Connect the SIP Ring Switch

Wiring

To operate the SIP Ring Switch a supply voltage of between 12V and 24 VDC or a corresponding power supply is required.

The connected supply voltage is switched to the corresponding output terminal in the ON state.

If a potential-free contact is required to operate the door drive, a coupling relay can be added.

Wiring of the SIP Ring Switch should be performed only by trained persons.

SIP Ring Switch wiring
The supply voltage is connected to Terminal 1 and GND on Terminal 3.
For Output 0 for example to Terminal 4, with the associated ground on Terminal 5.

Network

The SIP Ring Switch must be connected to a free LAN terminal on the Fritzbox.

SIP Ring Switch LAN connection

Step 2 - Configure network

The SIP Ring Switch should always have a static IP address assigned to it. Here the Fritz!Box offers the option to exclude an IP address range from the DHCP address assignment.

Settings in the Fritz!Box

IP addresses are managed in the Fritz!Box under Home network>>Network in Network settings. There you can scroll to the bottom and then select More settings. Here click on the IPv4 settings button. There you can see which IP addresses are assigned by DHCP. The SIP-Ring Switch should be assigned an IP address which does not lie in this range.

SIP Ring Switch IP assignment

In the example shown here IP addresses 192.168.0.201 to 192.168.0.254 can be statically assigned - i.e. 192.168.0.210 for example. Make sure that the selected IP address is not being used by any other terminal device in the network.

Under Home network>>Network in Network connections the Fritz!Box lists the already used IP addresses.

Assign IP address using WuTility

Now on a Windows PC start the WuTility tool

SIP Ring Switch IP assignment

Click on the IP address icon to start the dialog for IP address assignment. Enter here the desired IP address and click on the Next button.

SIP Ring Switch IP assignment

The SIP Ring Switch can now be reached at the assigned address.

Step 3 - Set up an extension in the Fritz!Box

For the SIP Ring Switch to be able to perform a switching function by dialing a call number, first at least one extension must be created and configured in the Fritz!Box. To do this, go to the Fritz!Box user interface Telephony >> Telephony Devices. Here click on the Configure New Device button and in the next dialog enable option Telephone (with or without answering machine)

SIP Ring Switch and Fritzbox

After clicking on Next a new dialog appears in which you can for example select the type of interface. Here select LAN/WLAN (IP telephone) and assign a name under which you can later find the SIP Ring Switch again later in the configuration.

SIP Ring Switch and Fritzbox

After clicking on Next a new dialog appears again. Here you must assign a user name and a password to be used later when the SIP Ring Switch can be registered with the Fritz!Box.

SIP Ring Switch and Fritzbox

Clicking on Next takes you to the next dialog.

SIP Ring Switch and Fritzbox

Since the SIP Ring Switch cannot open outgoing connections, simply click on Next to advance to the next dialog.

Here you specify which external call number is used to call the SIP Ring Switch for initiating switching events.

SIP Ring Switch and Fritzbox

Click on Next and you are shown a final overview of the configured settings.

SIP Ring Switch and Fritzbox

Click on Apply to create the extension. Depending on the Fritz!Box version you may have to complete the apply process by calling an internal number or pressing a button on the Fritz!Box.

Step 4 - Configuring the SIP Ring Switch

SIP basic settings

Now the SIP Ring Switch must be configured for registering on the Fritz!Box. Log in as Administrator on the web interface of the SIP Ring Switch and select Communications paths >> SIP.

SIP Ring Switch and Fritzbox

Under SIP basic settings enable SIP access and then enter the access data for your Fritz!Box. As Password the password for the user name for the extension must be entered. Then confirm by clicking on the Apply button.

Extension inventory

To add a new extension to be represented by the SIP Ring Switch, click on the Add button.

SIP Ring Switch and Fritzbox

For SIP type you must select PJSIP for the Fritz!Box. Confirm your entries with Apply so that they can be entered in the inventory list.

SIP Ring Switch and Fritzbox

Caller inventory

To prevent random or unauthorized calls to trigger switching events, callers can be listed in the caller inventory who have permission to access the SIP Ring Switch.

There are two ways to do this:

Learn new call numbers

Click on the Scan button.

SIP Ring Switch and Fritzbox

Click on Start and call the number that was assigned in the Fritz!box for incoming calls for the extension.

SIP Ring Switch and Fritzbox

The SIP Ring Switch uses Scan mode to collect the SIP addresses for all incoming calls until you click on Stop.

SIP Ring Switch and Fritzbox

Highlight the SIP addresses you with to add to the caller inventory.

Add new call numbers by entering

To manually enter an SIP address, click on the Add button.

SIP Ring Switch and Fritzbox

Enter the desired SIP address.

Using "*" as a wildcard enables any desired number to be allowed. After clicking on Apply the SIP address is added to the inventory list.

SIP Ring Switch and Fritzbox

Clicking on the Edit button allows you to modify the entries, for example to assign a meaningful alias name.

Configure output for pulses

Common door openers require a short control pulse for opening and closing. To have an output automatically revert to the rest state for example 2 seconds after activation, it must be configured in Pulse mode.

In the SIP Ring Switch configuration select Basic settings>>Outputs and for the desired output Advanced Settings. There enable Pulse Mode and for pulse duration enter 2000 ms.

SIP Ring Switch and Fritzbox

Set up switching action

Now you must specify which output should switch when a call comes in on which extension. In the menu tree click on Actions and then on the Add button.

SIP Ring Switch and Fritzbox

As the trigger select SIP. Select the extension to be used for triggering the action when a call is made. In the inventory list determine who should switch via call. Finally, select as initiator Switch Output > Switch output on this Web-IO and then the output to be switched. As switching state ON must be enabled.

After confirming by clicking on the Apply button the SIP Ring Switch is ready for switching.

Application examples

  • Application

    SIP Ring Switch - Switching via SIP
    Additional ring tone on Fritz!Box

    SIP Ring Switch switches "filling station bell"

  • Application

    SIP Ring Switch - Switching via SIP
    Switching via phone call

    SIP Ring Switch on
    Asterisk telephone system

Products

  • #57753

    New Web-IO 12x, 8xRelay
    SIP Ring Switch
    4xOut

    Switch 4 outputs via SIP

  • Support

    Person with headset
    Could you use some assistance?
    We’re here for you!

    You can reach our applications engineers at +49 202-2680-110

^