everybody.
I’m creating a iPhone app utilizing react native, that’s for answering machine detection.
I succeeded to establish human or answering machine when the connection is on.
My subsequent step is answering machine detection for response of every IVR after I referred to as answering machine.
Now, for AMD(answering machine detection) I’m utilizing symbl.ai sdk. There’s my code beneath:
await clientSDK.init({
appId: symblAppId,
appSecret: symblAppSecret,
basePath: apiBase
});
console.log("SDK initialized.");
const connection = await clientSDK.startEndpoint({
endpoint: {
sort: 'pstn',
phoneNumber,
// dtmf: "#1" I suppose this half is vital for my purpose
},
intents,
actions: [{
"invokeOn": "stop",
"name": "sendSummaryEmail",
"parameters": {
"emails": summaryEmails // Add array of emails to which the email is to be sent at the end of the call
}
}],
knowledge: {
session: {
identify: `Reside Intent Detection Demo - ${phoneNumber}` // Title of the Assembly, this shall be mirrored in abstract electronic mail if configured.
}
}
}, callback);
Please assist me as rapidly.
Thanks.