It works fine if the dialstring goes to a context which does ChanSpy on the call to be transcribed. This is a bit messy though, and we would like to use ARI to snoopChannel on the call to be transcribed instead.
Presumably the following part of lib/ari-controller.js from that project needs to change, but I’m not sure how it should be changed to use snoopChannel. Can anyone point me in the right direction? Thank you very much in advance.
// Call the phone or confbridge specified in dialstring
try {
await this.localChannel.originate({
endpoint: this.options.dialstring, formats: this.options.format, app: "externalMedia",
});
} catch (error) {
this.close();
}
@jcolp Are you able to confirm that replacing this originate with the snoopChannel is at least conceptually the right thing to do? We can then try to work out the javacript to make it happen. Thank you!