检测语音邮件/电话答录机的建议 [英] Suggestions for detecting voicemail/answering machine

查看:61
本文介绍了检测语音邮件/电话答录机的建议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个UCMA应用程序通过PSTN呼叫个人并向被叫方播放wma消息。 到目前为止一切正常,除非被叫方没有接听并且呼叫被重定向到语音邮件。 我想做的是,如果电话未被人回答,
会发送不同的消息。 

I have a UCMA application that calls out to individuals over the PSTN and plays wma messages to the called party.  so far everything works except when the callee doesn't answer and the call gets redirected to voicemail.  What I'd like to do is deliver a different message if the call isn't answered by a human. 

我添加了"ms-sensitivity:正常无导流"呼叫建立选项的标题,但呼叫状态始终从振铃到建立而不指示呼叫被偏转。  

I've added "ms-sensitivity: normal-no-diversion" header to the call established options but the call state always goes from ringing to establish without indicating that the call was deflected.  

到目前为止,我要求被叫方按一个数字来确认通话。 如果它是语音邮件,DTMF输入将失败,但交互仍将记录在语音邮件中,因此这并不理想。

What I have so far is to ask the callee to acknowledge the call by pressing a digit.  If it's a voicemail, the DTMF input will fail but the interaction will still get recorded in the voicemail so this isn't ideal.

我想要实现的另一种方法是检测蜂鸣声使用语音引擎结束语音邮件问候,但提出语法识别语音邮件系统发出哔哔声的不同方式证明是困难的。 

Another approach I want to implement is to detect the beep at the end of the voicemail greeting using the speech engine but coming up with a grammar to recognize different ways voicemail systems play a beep is proving difficult. 

任何人都可以就我如何提出建议可以检测到语音邮件应答的呼叫吗?

Can anyone offer suggestions as to how I can detect a call being answered by a voicemail?

谢谢

推荐答案

尝试附加录音机到AudioVideoFlow并监控其VoiceActivityChanged事件。在从语音到噪音的过渡期间应该引发此事件。

Try attaching a Recorder to the AudioVideoFlow and monitor its VoiceActivityChanged event. This event should be raised during transitions from speech to noise.

然后尝试不同的被叫者问候语;例如, ""hello?"与"请在哔哔声后留言"相对应。它应该可以在您按介绍性
问候语的长度遇到语音应答设备时猜测。一个非常短的问候(比如2秒或更短)可能表示一个人已经回答。 

Then experiment with different callee greetings; for example, "hello?" versus "please leave a message after the beep". It should be possible to guess when you have encountered a voice answering device by the length of its introductory greeting. A very short greeting (say 2 seconds or less) would likely indicate a person has answered. 

希望这会有所帮助。

问候,

Stephen Sulzer [MSFT]

Stephen Sulzer [MSFT]

提供"按现状"发布没有保证,也没有授予任何权利。

Posting is provided "AS IS" with no warranties, and confers no rights.

 


这篇关于检测语音邮件/电话答录机的建议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆