The 2N® IP Verso SIP Door Station is an SIP Door Station solution with an integrated video camera for monitoring door activity. Here follows settings to apply to the 2N IP intercom door station to work properly with Thinknx PBX. It applies to 2N firmware version 2.10.0 (2015). The following features are supported:

  

  •      Paging: When the call button is pressed on the door station, it will call all appropriate clients based on the settings of the ring group called.        

  •      2Way audio call: the user at the client station can converse with the person outside the door        

  •      Video monitoring: the camera in the door station can be accessed by the client to view the caller and the outside area        

  •      Relay/Door strike actuation from the server: the internal relays can be actuated from Thinknx client/server provided that the needed license inside the      2N (http API) is enabled     

   

Preliminary Requirements 

    

The 2N IP intercom has to be connected to the ethernet using a CAT5 cable and it has to be in the same network to which Thinknx server is attached. Also the clients have to be connected to the same network. Special network configuration is possible using the needed routing/firewalling devices.

   

Voip PBX setup 

    

Add the Voip PBX object and configure as follow:

  

  •      Add several users into the “Accounts PBX” tab        

  •      Add an intercom into the “Intercom devices” and set it as generic intercom. A number will be shown. That is the ID of the intercom (extension number). The password for the registration to the PBX is identical to that number (user 901/pass 901)        

  •      Add a ring group and select the users you want to call with that ring group. A number will be shown. That number is the extension associated to that ring group (9001). Calling that number will canuse all the associated users to ring.     

   

2N IP Intercom setup 

    

Enter the IP Address of the door station into a Web Browser. You will be taken to the login page for the Door Station. Log in to the Door Station. By default, the user name is Admin and the password is 2n. You will be taken to the Configuration Utility: 

  

Select the “Services” Icon on the left to access the Services screen. Then select the Phone option:   

 

  

  

  

On the SIP 1 Tab→ Intercom Identity   

 

  

  1.      Set the Phone Number. This is actually the “ID” with which the device will populate in the Thinknx SIP server (901)        

  2.      Set the Domain to the IP Address of Thinknx server     

  

On the SIP 1 Tab→ Authentication

  

  1.      Check the Use Authentication ID box  

  2.      Set the Authentication ID to the ID of the device inside the Thinknx SIP server (901)        

  3.      Set the Password with the same number of the ID (901)     

  

On the SIP 1 Tab→ SIP Proxy

  

  1.      Set the Proxy Address to the IP Address of Thinknx server      

  2.      Ensure the Proxy Port is set to 5060     

  

On the SIP 1 Tab→ SIP Registrar

  

  1.      Check the Registration Enabled box        

  2.      Set the Registrar Address to the IP Address of Thinknx server     

  3.      Ensure the Registrar Port is set to 5060  

  4.      Leave the Registration Expires time set to default     

  

On the Audio Tab

  

  1.      Uncheck G.722   

  2.      Make G.711 (PCMU) the first choice     

  

On the HTTP API option:

  

  1.      Select “No authentication” for the camera image service     

  

Select the “Directory” Icon on the left to access the Users screen 

  

On the User 1 (button 1) tab:   

 

  

  1.      Check the “Position Enabled” box       

  2.      Under User Basic Information→ Name, type any name you like. The E-Mail field may be left blank        

  3.      Under User Phone Numbers→ Number 1→ Phone Number type sip:9001@x.x.x.x, where “x.x.x.x” is the IP Address of the Thinknx Server and 9001 is the extension number to call (ring group in this case).        

  4.      All other fields on this screen may be left blank     

  

To be able to see the images coming from the device you need to add a Camera inside Thinknx UI and configure to grab images using the following parameters:

  

  1.      Type: Generic Camera        

  2.      Use RTSP : Disabled        

  3.      Image Path : api/camera/snapshot?width=640&height=480        

  4.      Fill the other fields like IP addresses and credentials as for any other normal camera.     

  

To be able to open the Lock connected to the 2N device you have two options: to send DTMF tones during conversation or to send html GET messages to the device. If you want to use DTMF tones, it will be enough to create a Generic Buttom into the UI and select as action the generation of DTMF tone as in the following picture. DTMF code must be the same inserted into the 2N configuration page followed by *(in the example 1234*). Indien * niet niet werkt probeer dit dan met #.

  

If you prefer to use html GET solution, you need to use the Thinknx Ethernet Gateway plugin and configure a Generic Button to perform an action with the following parameters:

  

  1.      Command: Make http GET call to a specified url with username and password        

  2.      URL :      http://IP_of_2N_DEVICE/api/switch/ctrl?switch=1&action=on        

  3.      Username : username used to authenticate with      2N station        

  4.      Password : password used to authenticate with      2N station     

  

This method require additional licenses from 2N to enable the Switch API. The API should be available on HTTP also (Not HTTPS only).