ITAPI3问题(转移和dtmf) [英] ITAPI3 Problems (transfer and dtmf)

查看:114
本文介绍了ITAPI3问题(转移和dtmf)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。

首先感谢julmar为托管代码提供此tapi3。

我正在使用julmar itapi3和一个简单的usb拨号调制解调器进行呼叫控制应用程序( lsi usb2软调制解调器)。我的应用程序将接收呼叫,并将为用户播放语音菜单。根据用户按下的数字,应用程序将接收dtmf信号并将进行询问操作。

例如,如果用户按键1,应用程序将转移(转发,重定向)呼叫指定的电话号码。如果按下键2,它将连接到同一行的操作员。

问题:

1-

我可以接收并成功拨号。但问题是当我试图转发,或者盲转移电话时它会引发错误如下:

Hello.
First thank julmar to provide this tapi3 for managed code.
I am making a call control application with julmar itapi3 and a simple usb dial up modem (lsi usb2 soft modem). My application will receive calls and a voice menu will be played for user.According to user pressed digit, application will receive dtmf signals and will do asked operation.
For example if user press key 1, application will transfer(forward, redirect) call to a specified phone number. and if key 2 pressed it will be connected to operator on same line.
problems:
1-
I can receive and dial successfully. but problem is when i try to forward, or blindtransfer the call it raise error as below:

JulMar.Tapi3.TapiException was caught
  HResult=-2147221501
  Message=This method is not supported.

  Source=ITapi3
  ErrorCode=-2147221501
  StackTrace:
       at JulMar.Tapi3.TapiException.ThrowExceptionForHR(Int32 hr) in c:\users\mark\documents\work\julmar entertainment\projects\itapi3\itapi3\tapiexception.h:line 97
       at JulMar.Tapi3.TCall.BlindTransfer(String destAddress) in c:\users\mark\documents\work\julmar entertainment\projects\itapi3\itapi3\tcall.h:line 301
       at ITAPI3SAMPLE.Form1.btnForward_Click(Object sender, EventArgs e) in d:\DSource\DSource\Programming\Projects\TelephonySample\ITAPI3SAMPLE\ITAPI3SAMPLE\Form1.cs:line 270
  InnerException: 



为什么它试图访问路径c:\ usersrs \\中的文件\\ mark\documents\work\julmar entertainment\projects\itapi3\itapi3\tapiexception.h

i dnt在我的电脑中有任何名为mark的用户。



2

它不会引发任何与dtmf相关的事件。没有像gatherdigit,digitevent或toneevent这样的事件。



3-

当我尝试用这行代码获得calleridnumber


why it is trying to access a file in path c:\users\mark\documents\work\julmar entertainment\projects\itapi3\itapi3\tapiexception.h
i dnt have any user named mark in my computer.

2-
It doesn't raise any event related to dtmf .none of events like gatherdigit, digitevent or toneevent.

3-
when i try to get calleridnumber with this line of code

lblCallerID.Text = e.Call.get_CallInfo(JulMar.Tapi3.CALLINFO_STRING.CIS_CALLERIDNUMBER);



它返回空字符串。

到底有什么问题。





谢谢!


it returns empty string.
what problem exactly.


Thank you!

推荐答案

解决了!

我手动更新我的调制解调器驱动程序,您可以在此处查看解决方法。
Solved!
I updated my modem driver manually, You can see workaround Here.


这篇关于ITAPI3问题(转移和dtmf)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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