Node.js
twilio
TwiML
0

一億総活躍 ほぼ無限ループで 日本の全携帯にワンギリ計画

CallToList = '+81'+'9000000000'

CallToList = '+81'+'9099999999'

080
070
で3億ループ

Twilio番号へ折り返し電話をさせるのが目的

他人の着信でtwimlを起動させる。

あ、ちょっと待てよ
1億回twimlが起動したら
1億円請求されるやんか

CalltoNumheadList={
携帯1:+8190
携帯2:+8180
携帯3:+8170
IP1:+8150
固定1:+813
固定2:+815
}

let NumBody = 1 to 1億
CalltoNum=NumHead+NumBody?

1を1ではなく 00000001 で 
表示させる方法を調べないとな

getdoubleDigestNumer(number) {
return ("0000000" + number).slice(-8)
}

ループ変数に、0を7つ付加して、
最後に8桁分だけ抽出すりゃええか

casv3-3.jpg

casv3.jpg

ちょこちょこ直したら動作した。
頭番号は +8156626 と +8156623
16ループ

casv3-1.jpg

ログも正常
発信している。

casv3-2.jpg

Why do not you register as a user and use Qiita more conveniently?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away