Hi Jeremy,
On Sun, Jun 1, 2008 at 6:56 PM, Jeremy Rotsztain <man...@gm...> wrote:
>
> hello again -
>
> what's the protocol for connecting multiple calls and playing the
> audio on the computer?
Despite iaxclient having the concept of handling multiple calls,
iaxclient offers poor semantics for dealing with multiple calls. The
"protocol" is that you can use iaxc_select_call() to switch which of
the multiple connected calls is active. It is only the active call
that audio is sent to or received from -- there is no way to "mix" two
calls.
> i've set iaxc_initialize to accept multiple calls.
> when the first caller calls in, it automatically connects and plays
> the audio from their phone call.
> when the second caller calls in, it connects and plays the audio from
> their phone call, but blocks the audio from the first call. the first
> call is still connected, but you just can't hear what's coming through.
This is the expected behavior. It is similar to a plain telephone with
call waiting. You can toggle between the two calls, but you cannot
hear or talk to line A once you've made line B active.
> any advice or direction would be greatly appreciated,
I'm not sure what your application is or what your goal is for
iaxclient. Maybe there are other people who have tried similar things.
Pete
|