I am a new user of sipx/sipxtapi.My initial experimentation has been with the 
source code found here: http://scm.sipfoundry.org/rep/sipX/branches.I've been 
able to download and build this source code, and as well I have built an 
application module that leverages sipxtapi to make/receive calls. This code is 
modeled after the two test apps ("ReceiveCall", and "Placecall") found within 
the sipxtapi baseline. Within a day or two I was able to get my first 
application module working. I can now place a call and receive a call from 
within my application. I have tested this with a cots sip client (xlite) on the 
other end of the network. My application is multi-threaded and I build on 
windows xp with visual studio 2005.
Though largely successful I do have a shutdown problem with my first 
application. This application deals with voice in two threads of execution. The 
primary thread is the thread that will make all calls into the SIP api (for 
example this is where sipxinitialize is invoked). The other thread is the GUI 
front-end. This thread does not make any calls into the sipx api. I do a lot of 
thread programming and do not in general have any problem with thread 
management. Interstingly all i need to do in order to get my application to 
crash is to call sipxinitialize in a thread of execution and then to shutdown 
this thread. A crash seems to occur when the sipx code that references the 
microphone/speaker references into garbage memory.
1] what is the best starting point project for a sipx/sipxtapi user? should i 
use sipXecs or should i rely on an older (perhaps more mature) project such as 
the one that can be found at this url: 
http://scm.sipfoundry.org/rep/sipX/branches?
2] are there examples of proper startup/shutdown in a multi-threaded 
environment? i am sure i'm not the only person using sipxtapi in a 
multi-threaded app, so i'm looking to others for lessons learned in this regard.
Thanks in advance
_________________________________________________________________
PC Magazine’s 2007 editors’ choice for best web mail—award-winning Windows Live 
Hotmail.
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HMWL_mini_pcmag_0707
_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to