connectPstn is for connecting calls 1-to-1. For ringing multiple cellphones, you could try a different solution such as making use of connectConf instead.
1. When ICE webhook occurs, add the caller to a conference
{
"action": {
"name": "connectConf",
"conferenceId": "27386721-d40d-4b52-8196-0f2dc2c6d4bb",
"moh": "ring",
"conferenceType": "twopartwait"
}
}
2. Iterate over all numbers that you want to ring and do a custom callout for each number using inline SVAML
3. On the first ACE webhook from step 2, respond using connectConf SVAML again and connect the first phone that answered to the same conference where the caller is currently waiting, hangup all the other calls
{
"action": {
"name": "connectConf",
"conferenceId": "27386721-d40d-4b52-8196-0f2dc2c6d4bb",
"conferenceType": "twopartbridge"
}
}
Catalin Vasile, Product Manager
... View more