Hi friends,
I am a noob for astrisk environment to start with i thought of analyzing a c++ code from a opensource URL “https://code.google.com/p/astcti2/”. i checkout the code and started analyzing that, while i am trying to compile the code i am getting a numerous errors and warnings. so i installed an IDE called ‘QtCreator’ most specific to this code i hope. I imported the code and while trying to compile the code i get the similar errors and warnings
I tried a lot and tried of debuging .
could someone please help me to get out of these
Some of the errors and warnings are like as follows
[color=#FF0000]In file included from …\AstCTIClient\main.cpp:42:
…\AstCTIClient/cticlientapplication.h:56:31: error: QtSingleApplication: No such file or directory
In file included from …\AstCTIClient\main.cpp:42:
…\AstCTIClient/cticlientapplication.h:109: error: expected class-name before ‘{’ token
…\AstCTIClient\main.cpp: In function ‘int qMain(int, char**)’:
…\AstCTIClient\main.cpp:49: error: ‘class CtiClientApplication’ has no member named ‘isRunning’
…\AstCTIClient\main.cpp:51: error: ‘class CtiClientApplication’ has no member named ‘sendMessage’
…\AstCTIClient\main.cpp:60: error: ‘class CtiClientApplication’ has no member named 'exec[/color]
and its telling like some .dll files are missing i checked the path, all the required files are present some errors related to this are as follows
[color=#FF0000]mingw32-make[1]: *** [debug/main.o] Error 1
mingw32-make: *** [debug] Error 2
09:03:53: The process “C:\QtCommercialSDK\Tools\mingw44\bin\mingw32-make.exe” exited with code 2.
Error while building/deploying project AstCTIServer (target: Desktop)
When executing step ‘Make’[/color]
Hi Friends
I too facing a similar problem …
I got the source code from the above mentioned URL(posted by spartan) and tried
Import the source code in ‘QT Creator’ while trying to build the project i too got a similar kind of errors.
i tried a hell lot , but couldn’t able to get out of this.
Could someone help
If you are new to Asterisk, use PHP based AMI clients. The only place from which you are likely to get support for AsteriskCTI code is the AsteriskCTI project itself, and there appears to be no Support link on their project page.
Thanks for the reply. David,
Yes, i am not able to get any support links
So, it seems that i can get the support only from AsteriskCTI project.
I am new the PHP too, so i cant try that too.
Is there any other way so that i can get a basic knowledge on AsteriskCTI.
I have studied all the events, some more functions and controls of AsteriskCTI from example programs.
but i face difficulties while compiling that .
Please suggest me some sample codes are links that gives me an live feeling of working with
AsteriskCTI .
Thanks David,
From your reply it seems that i can get support only from AsteriskCTI project.
I am new to PHP, so i feel that its not a good idea to use PHP based AMI clients.
Could you please suggest a way or some key so that i can get a basic knowledge of implementing AsteriskCTI.
i too have knowledge on AsteriskCTI which are mere theoretical and i feel
comfortable if i implemented and see a sample and get an practical knowledge on that.
Expecting a reply.