From: Richard P. <ric...@co...> - 2004-10-06 09:37:09
|
I have two questions regarding buffer variables used in iaxclient_lib The first question has to do with the variable declarations for procedure iax_send in iax.c: The variable buffer[4096] is declared, but not used. However removing this variable causes the client to crash. How is this variable used and is it possible to reduce its size without causing the client to crash? The second question has to do with the variable buf[65536] declared in procedure iax_net_read(void) also in iax.c Can I reduce the size of this variable without any adverse effects. I have reduced it to 512 and everything seems fine so far? Thanks Richard -----Original Message----- From: iax...@li... [mailto:iax...@li...]On Behalf Of Richard Pettitt Sent: 05 October 2004 15:11 To: Steve Kann Cc: iax...@li... Subject: RE: [Iaxclient-devel] Iax client for windows CE Thanks, Ill disable the audio filters to reduce the load on the cpu. I found the source code for the library while browsing the forum trying to fide a way to compile the iaxclient_lib under visual studio I eventually came across this post: http://sourceforge.net/mailarchive/forum.php?thread_id=5190589&forum_id=2938 0 <http://sourceforge.net/mailarchive/forum.php?thread_id=5190589&forum_id=293 80> Where I downloaded the code posted by Faizan Naqvi and managed to get everything to compile properly. Once it compiled under visual studio I started porting it to Embedded visual C Im unsure what version of the library this is, but it uses IAX2 and I haven t had any problems with the clients I have written for my desktop. -----Original Message----- From: Steve Kann [mailto:st...@st...] Sent: 05 October 2004 14:58 To: ric...@co... Cc: pa...@in...; iax...@li... Subject: Re: [Iaxclient-devel] Iax client for windows CE I don't know what you started with, but if it's old, it might be using IAX1, which is really not working properly anymore. Also, if you work from the current code, you might want to disable the audio filters until you get things working, because they may be too CPU intensive on your platform. -SteveK Richard Pettitt wrote: I have managed to get the iaxclient_lib to compile under embedded visual studio 4. I found a working visual studio 6 version and then made some Windows CE specific modifications to it. So far the program successfully registers with asterisk, but as soon as I try to make a call it crashes. The call request does go through as the phone rings on the other end. I disabled the service_audio(); procedure as I wanted to make sure that the problem was network related. The pocket pc Im using to test on is a Xda II using a SanDisk Wifi card to connect to my local network. I appreciate any help you can give me. Thank you, Richard -----Original Message----- From: Paulo Mannheimer [ mailto:pa...@in...] Sent: 05 October 2004 14:33 To: ric...@co... <mailto:ric...@co...> ; iax...@li... <mailto:iax...@li...> Subject: RE: [Iaxclient-devel] Iax client for windows CE We aren't working, but would be glad to help. -----Original Message----- From: iax...@li... <mailto:iax...@li...> [ mailto:iax...@li...] On Behalf Of Richard Pettitt Sent: terça-feira, 5 de outubro de 2004 08:41 To: iax...@li... <mailto:iax...@li...> Subject: [Iaxclient-devel] Iax client for windows CE Hi Im currently working on an iaxclient for windows ce and I was wondering if there were any other developers currently working on a client for this platform? Thank you, Richard |