Change CID
This commit is contained in:
parent
812db9d0fa
commit
50caecd1aa
4
index.js
4
index.js
|
@ -91,7 +91,7 @@ function sendAlert(accountNumber, transaction, placeName, systemName, zoneNumber
|
||||||
runCommand(`rm /tmp/${transaction}.wav`)
|
runCommand(`rm /tmp/${transaction}.wav`)
|
||||||
// strip extension from filename
|
// strip extension from filename
|
||||||
|
|
||||||
runCommand(`/var/lib/asterisk/bin/originate ${row.phone} roblox.s.1 0 0 /tmp/${transaction}-alert "Ik5vb24gQ2hpbWUiIDw+"`).then(() => {
|
runCommand(`/var/lib/asterisk/bin/originate ${row.phone} roblox.s.1 0 0 /tmp/${transaction}-alert "IktDQSBTZWN1cmlOZXQiIDw+"`).then(() => {
|
||||||
console.log(`Alert sent to ${row.phone}`);
|
console.log(`Alert sent to ${row.phone}`);
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
@ -115,7 +115,7 @@ function sendVerificationCode(account) {
|
||||||
runCommand(`rm /tmp/${account}-code.wav`)
|
runCommand(`rm /tmp/${account}-code.wav`)
|
||||||
// strip extension from filename
|
// strip extension from filename
|
||||||
|
|
||||||
runCommand(`/var/lib/asterisk/bin/originate ${row.phone} roblox.s.1 0 0 /tmp/${account}-verification "Ik5vb24gQ2hpbWUiIDw+"`).then(() => {
|
runCommand(`/var/lib/asterisk/bin/originate ${row.phone} roblox.s.1 0 0 /tmp/${account}-verification "IktDQSBTZWN1cmlOZXQiIDw+"`).then(() => {
|
||||||
console.log(`Verification code sent to ${row.phone}`);
|
console.log(`Verification code sent to ${row.phone}`);
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue