Click here to Skip to main content
15,894,825 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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:
C#
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: 

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
C#
lblCallerID.Text = e.Call.get_CallInfo(JulMar.Tapi3.CALLINFO_STRING.CIS_CALLERIDNUMBER);

it returns empty string.
what problem exactly.


Thank you!
Posted
Comments
Richard MacCutchan 6-Feb-15 11:57am    
You will most likely get quicker support at http://julmar.com/tapi/.
ali_heidari_ 11-Feb-15 8:01am    
I didnt find any tip to get my solution there, but i think it is because of my Modem, modem driver or tsp on my machine. The goal of my application is avoiding to use expensive PBX or VOIP machines, its going to use a simple cheap external usb modem.

1 solution

Solved!
I updated my modem driver manually, You can see workaround Here.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900