Add a simple generator for DTMF
This commit is contained in:
parent
f784bd8da3
commit
0d6a9af9c1
1 changed files with 12 additions and 0 deletions
|
@ -56,6 +56,18 @@ make.network = {
|
||||||
|
|
||||||
return parts.join(':')
|
return parts.join(':')
|
||||||
},
|
},
|
||||||
|
iceServer() {
|
||||||
|
return random.pick([
|
||||||
|
'stun:stun.services.mozilla.com'
|
||||||
|
])
|
||||||
|
},
|
||||||
|
dtmf() {
|
||||||
|
return random.subset([
|
||||||
|
'*', '#',
|
||||||
|
'A', 'B', 'C', 'D',
|
||||||
|
'0', '1', '2', '3', '4', '5', '6', '7', '8', '9'
|
||||||
|
], make.numbers.range()).join('')
|
||||||
|
},
|
||||||
goodHostnames: function () {
|
goodHostnames: function () {
|
||||||
return [
|
return [
|
||||||
'0.0.0.0',
|
'0.0.0.0',
|
||||||
|
|
Loading…
Reference in a new issue