When ServiceNow intiate conference call using Notify(Twilio) feature, does it require that each number should be verified in Twilio?

chanch
Kilo Expert

When ServiceNow intiate conference call using Notify(Twilio) feature, does it require that each number should be verified in Twilio?

I have configured twilio number, account SID and Auth Token from Twilio in "Notify > Twilio Configuration". I am trying to execute below script, I am able join conference call on number +9195XXXXXXXX however using another number +9197XXXXXXXX unable to join conference call.

var notify = new SNC.Notify();
var from = '+12019891714'; // Your Twilio number that will perform the outbound phone call
var participants = ['+9195XXXXXXXX', '+9197XXXXXXXX'];
// get a incident record we would like to pass as source record
var incident = new GlideRecord('incident');
incident.query('number', 'INC0010003');

// set up a conference call and pass in the (optional) related record (if any)
var conferenceCall;
if (incident.next()) {
   conferenceCall = notify.conferenceCall(incident);
} else {
   conferenceCall = notify.conferenceCall();
}

// set up the outbound calls for all conference call participants
for (var i in participants) {
   var to = participants[i];
   notify.call(from, to, conferenceCall);
}

gs.log(gs.getMessage('set up a conference call with number {0} and (re)join code: {1}', [ conferenceCall.getValue('number'), conferenceCall.getValue('code') ]));

When I run above script, it gives error for 2nd number : "Notify: communication error while calling +9197XXXXXXXX (The number +9197XXXXXXXX is unverified. Trial accounts may only make calls to verified numbers.): no thrown error"

Did anyone experienced the same. Please guide. Thanks!

1 ACCEPTED SOLUTION

chanch
Kilo Expert

This is what I got to know :

I have to add all the caller ids in my Twilio account with verification : https://support.twilio.com/hc/en-us/articles/223180048. I added 4 contact numbers in my Twilio account and now all users are able to join conference call.find_real_file.png

View solution in original post

2 REPLIES 2

chanch
Kilo Expert

This is what I got to know :

I have to add all the caller ids in my Twilio account with verification : https://support.twilio.com/hc/en-us/articles/223180048. I added 4 contact numbers in my Twilio account and now all users are able to join conference call.find_real_file.png

Nirupam Biswas
ServiceNow Employee
ServiceNow Employee
No for paid Twilio accounts. However, for Twilio Trail account, yes, you can call out to only verified numbers.