Hello all, Currently, i have built sipXtapi library modules on ubuntu (Fiesty). I' m using its .so (shared object) files to call its functions.
My application is properly using methods of this shared object files for user registration and unregistration on our local asterisk server. But, when i try to make call, i got my application crashes on "sipXcallconnect" method usage and i'm using "sipXcallcreate" and "sipXcallconnect" method to make call. "sipXcallcreate" works fine, but "sipXcallconnect" method is causing problems and our application gets crashed. In addition, i would like to specify that while compiling "sipXmediaLib" I disabled libspeex,libamrnb and libamrwb as they were causing problems in compilation. But, i have enabled libgsm. Other codec libraries like ilbc, pcmapcmu have compiled properly. Whenever I make call through my application, it shows "Ringing" state on asterisk server but my application crashes after calling "sipXcallconnect". >From last days in handling this issue, i m thinking there is certain problem with codecs linking, dialing issue causes problem when there is not proper linking of codecs because dialing takes place when there's codecs files kept at right place. I'm trying to link codec's .so files in this way--- While compiling my application, i give path of codec_gsm.so (through -L option) where it is placed. I have also used "-L/usr/lib -lgsm" option by creating link of codec_gsm.so at specified location. sudo g++ -fPIC -shared,-soname myApp.so myAppFile1.o myAppFile2.o libsipXport.so libsipXsdp.so libsipXtack.so libsipXmedia.so libsipXmediaProcessing.so libsipXcall.so -L/path-to-subDir/codec_gsm.so -o myApp.so All libraries of sipXtapi are in same directory from where i try to execute my application that's why i didn't use -L option for them. Here, my applcation properly uses method of sipXtapi shared libraries but it might not be using code_gsm.so properly that is why dialing may not be taking place. Please help me to link codec's .so properly with my application. I'm stuck. Thanku very much, Tarun.
_______________________________________________ sipxtapi-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
