Skip to content
/ .. /
Subscribers










Subscribers

Each configuration block defines one mobile subscriber. VoIP phones belong to the Snom configuration. This allows for assigning properties to them, which can be used as selection criteria in test cases.

Syntax

1
2
3
4
5
6
7
Subscribers {
    <msisdn String> {
        <propertyName Identifier> = <propertyValue String>
         ...
    }
    ...
}

Parameters

  • msisdn - The MSISDN of the phone

  • propertyName - The name assigned to the property, such as ringtone

  • propertyValue - The value of the property, for example the name of the ringtone

Example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
Subscribers {
    "+436601234567" {
        ringtone    = "happy tunes"
        mnpStatus   = "nonported"
    }
    "+436601234569" {
        ringtone    = "happy tunes"
        mnpStatus   = "imported"
    }
}

Using Arrays and Maps is also possible:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
Subscribers {
    "+436601234567" {
        ringtone = "happy tunes"
        mnpStatus = "nonported"
        tariff = ["a", "b"]
    }
    "+436601234569" {
        ringtone = "happy tunes"
        mnpStatus = "imported"
        testList = ["a", { b = [3, 8] }]
        testMap = {abc = [1, 3, true, "bunny"]}
    }
}