From: bugra H. <bug...@gm...> - 2009-05-11 15:45:38
|
Hi My application auto-answers incoming calls and records incoming audio data to wav files. The problem is when i select & answer a call, i cant receive audio data from previous call.My main event callback is similar to this: http://pastebin.com/f51d6e84c it seems like iaxc_select_call function (which is in iaxclient_lib.c) deselect old call. i tried commenting out deselection part but i couldnt get audio data from 2 different sources at the same time. here is related part of iaxc_select_call function: http://pastebin.com/f2db54785 Is it possible to receive audio data from different calls at the same time? Am i doing something wrong while accepting calls? maybe missing an essential function call? perhaps i am approaching the problem from a wrong point. Am i supposed to select a call and after a few miliseconds select another active call and so on? I am out of ideas so any help is appreciated |