Add a simple generator for DTMF

This commit is contained in:
Christoph Diehl 2017-11-22 01:59:09 +03:00
parent f784bd8da3
commit 0d6a9af9c1
1 changed files with 12 additions and 0 deletions

View File

@ -56,6 +56,18 @@ make.network = {
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 () {
return [
'0.0.0.0',