📄 readme
字号:
This is an _alpha_ version of a GJTAPI TPI which supports
Dialogic (an Intel company)'s GlobalCall API.
What you need to have to use it:
1) A working Dialogic configuration. There is no point in
trying to use it if the Dialogic GlobalCall demos don't work.
2) JTAPI(/JAIN/)GJTAPI
3) This code
4) Java 1.41
6) gcc(linux) or VC 6.0(Windows) if you want to build the shared library
I've updated the net.sourceforge.gjtapi.test.TestCallListener so
that it takes a provider as an argument. It also waits 'till
the user hits return so as to allow the call to go through all
its phases.
I've only used it on RedHat 7.2 and WindowsNT with DNA 5.1
If you take the binary release, here's how to use it:
1) download the gjtapi-1.6.jar from sourceforge
2) use jar or unzip to extract the shared library for your platform
(unix)$ jar -xvf gjtapi-1.6.jar DialogicGC.props lib/libgcprovider.so
or
(windows) jar -xvf gjtapi-1.6.jar DialogicGC.props lib/gcprovider.dll
3) edit the DialogicGC.props to reflect your setup.
You need to edit the Addresse lines to the 'local' phone
numbers you have, and the Device lines to the appropriate dialogic devices
present in your system. On windows you _must_ set SigMode to f
on Linux you can set it to either t or f
(I'm still working out which is better)
4) run the test program.
On Linux this looks like:
. /usr/dialogic/bin/setenv.sh
LD_PRELOAD=`pwd`/lib/libgcprovider.so export LD_PRELOAD
LD_LIBRARY_PATH=`pwd`/lib export LD_LIBRARY_PATH
java -classpath .:lib/jtapi131.jar:lib/gjtapi-1.6.jar net.sourceforge.gjtapi.test.TestCallListener DialogicGC 1 2
on Windows it looks like :
set PATH=C:gjtapi\lib;%PATH%
java -classpath .:lib\jtapi131.jar:lib\gjtapi-1.6.jar net.sourceforge.gjtapi.test.TestCallListener DialogicGC 1 2
(Substitute 1 with one of the Addresses from the .props file and 2 with
the number you want the test prog to dial).
Caveats:
1) it doesn't do media -yet- I need a week or two to get that
implemented - when I'll find it I have no clue.
2) it is untested I've played with it, but nothing more - we
felt it was better to let it out early and let people play with it.
3) I have only used it on a D/300, so I may have made some ISDN
assumption.
4) Allmost all the failure modes are un-caught, and just result in
text to stdout - we need to make that smarter.
5) My ISDN supplier doesn't bind telephone numbers to channels,
so the provider reports all numbers on all terminals (and vica versa)
How to rebuild it from source:
Compile the lot.
edit the DialogicGC.props file to describe the Dialogic
devices you have, and the telephone numbers you have.
In net/sourceforge/gjtapi/raw/dialogic/native:
Edit the makefile to reflect your paths
(Vc++ users you'll have to make your own project)
Make the .so
edit the testjtcall script to reflect your numbers
run it.
tpanton@users.sourceforge.net
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -