Skip to content
/ .. /
Snom Phones










Snom Phones

Snom phones can be used locally or with the intaQt Phone Service. Each phone must be configured in a separate block. For configuring the Snom phones themselves and other technical details, visit the Snom Wiki.

The following Snom models are currently supported: 715, 720, 765, 820 and 821. Other Snom models may have limited intaQt support.

Note:

  • If the audioServiceURL field is configured but the property is not defined or is a malformed URL, the corresponding device will not support the audio capabilities.

  • If the connection to the remote host is refused for any reason, the device will not be useable.

Syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Snom {
  isActive = <boolean>

  devices [
      {
      username                                 = <String>
      password                                 = <String>
      type                                     = "snom"
      number                                   = <Number>
      adminPassword                            = <String>
      ip                                       = <String>
      networkInterface                         = <String>
      callbackUrl                              = <String>
      configurationProfile                     = <String>
      exchangeLinePrefix                       = <String>
      keyPressDelayMilliseconds                = <Number>
      dialKeyPressDelayMilliseconds            = <Number>
      connectionStateChangeTimeoutMilliseconds = <Number>
      stateTransitionTimeoutMilliseconds       = <Number>
      speechChannel                            = <String>
      audioServiceURL                          = "http://<url String>:10001"
      settings                                 = {}
      }
  ]

    settingsDirectory              = <String>
    subscriberNotifySettingsFile   = <String>
    connectionTimeoutMilliseconds  = <Number>
}

Parameter

  • isActive - Activates the Snom phones
    • true for active
    • false for inactive

The devices block defines the Snom phone's characteristics:

  • username and password - The credentials being used to access the HTTP interface

  • number - The Snom's phone number in international format

  • adminPassword - The Snom phone's admin password

  • url - The Snom phone's IP address in any URL format

    • For example, if the IP address is 192.168.1.3:
      • URL with protocol: "http://192.168.1.3"
      • URL with protocol (for example, https): "https://192.168.1.3"
      • URL with domain and port: "http://some.domain.com:8080"
  • networkInterface - Network interface of the server where the Snom is connected,`"en0"

    • This option is not used if callbackUrl is set
  • callbackUrl - Callback URL for the Snom Event Server, "http://192.168.1.1:8080/telephonyeventserver"

    • If this option is set, then the networkInterface option is not used
  • configurationProfile - The name assigned to the configuration profile

  • exchangeLinePrefix - Defined if located in a network where for example, to a prefix must be dialed (for example, a digit) to dial out

  • keyPressDelayMilliseconds - The number of milliseconds a key press will be delayed when navigating through a menu

  • dialKeyPressDelayMilliseconds - Tests a delayed key pressing when dialing

  • StateChangeTimeout - The number of milliseconds in which a change of state must happen

  • stateTransitionTimeoutMilliseconds - The timeout for a state transition

  • speechChannel (Optional) - speech channel module's 2-digit unique identifier

  • audioServiceURL (Optional) - The URL of the Audio Service running on the Raspberry Pi

The following additional settings can also be configured:

  • settingsDirectory - Points to the directory where the Snom phone's settings are stored

  • subscriberNotifySettingsFile - Points to the subscriber notification file

  • connectionTimeoutMilliseconds - Number of milliseconds intaQt will wait to try to establish a connection with the Snom phone

Example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Snom {
    isActive = false

    devices = [
        {
            username                                    = "abcd"
            password                                    = "dex123"
            type                                        = "snom"
            number                                      = "+49123456789"
            adminPassword                               = "9999"
            ip                                          = "https://192.168.1.3"
            networkInterface                            = "en0"
            configurationProfile                        = "simple"
            exchangeLinePrefix                          = ""
            keyPressDelayMilliseconds                   = 10
            dialKeyPressDelayMilliseconds               = 10
            connectionStateChangeTimeoutMilliseconds    = 9000
            stateTransitionTimeoutMilliseconds          = 9000
            settings                                    = {}
        }
  ]
    settingsDirectory               = "../.autotest/settings"
    subscriberNotifySettingsFile    = "../.autotest/sip-notify-settings.txt"
    connectionTimeoutMilliseconds   = 9000
}

Error registering SNOM

When registering the SNOM phone to be used with the intaQt Phone Service, it may be that the default settings may lead to the following message:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
!cannot_read_active_connection_count_from_snom!


2019-10-28 17:26:27,723 DEBUG | pool-9-thread-1 | com.tryge.autotest.telephony.snom.configuration.c       | Snom Devi                                ce configured successfully.
2019-10-28 17:26:27,724 DEBUG | pool-9-thread-1 | intaqt.ckp                                              | initializ                                e SnomPhone(000413A5957F: +34918250809 (hash 10711201))
2019-10-28 17:26:27,729 DEBUG | pool-9-thread-1 | intaqt.cmr                                              | MEMORY: U                                nauthorized request

2019-10-28 17:26:27,732 ERROR | pool-9-thread-1 | intaqt.cna                                              | register                                 snom failed
java.lang.IllegalStateException: !cannot_read_active_connection_count_from_snom!
        at intaqt.cmq.a(Unknown Source) ~[intaqt-phone-service-R2019.10.1.jar:R2019.10.1]
        at intaqt.cmv.A(Unknown Source) ~[intaqt-phone-service-R2019.10.1.jar:R2019.10.1]
        at intaqt.cmv.h(Unknown Source) ~[intaqt-phone-service-R2019.10.1.jar:R2019.10.1]
        at intaqt.ckp.o(Unknown Source) ~[intaqt-phone-service-R2019.10.1.jar:R2019.10.1]
        at intaqt.ckp.a(Unknown Source) ~[intaqt-phone-service-R2019.10.1.jar:R2019.10.1]
        at intaqt.ckn.a(Unknown Source) ~[intaqt-phone-service-R2019.10.1.jar:R2019.10.1]
        at intaqt.cng.a(Unknown Source) ~[intaqt-phone-service-R2019.10.1.jar:R2019.10.1]
        at intaqt.cna.b(Unknown Source) [intaqt-phone-service-R2019.10.1.jar:R2019.10.1]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_144]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_144]

In this case, make sure that the settings are set as shown in the image below:

alt text