- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2018 06:26 AM
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!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2018 10:57 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2018 10:57 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2019 12:14 PM