When I set bLocal = false, I could still hear the sound from my speaker. 
When tracing down the cause, I have found that this parameter has been 
ignored in CpPhoneMediaInterface::playAudio(), as evidenced in the 
implementation:

OsStatus CpPhoneMediaInterface::playAudio(const char* url,
                                          UtlBoolean repeat,
                                          UtlBoolean local,
                                          UtlBoolean remote,
                                          UtlBoolean mixWithMic,
                                          int downScaling)
{
    //...

    if(mpFlowGraph && !urlString.isNull())
    {

        // Start playing the audio file
        returnCode = mpFlowGraph->playFile(urlString.data(),
            repeat,
            remote ? MpCallFlowGraph::TONE_TO_NET :
                MpCallFlowGraph::TONE_TO_SPKR);
    }

   //...

    return(returnCode);
}

As you can see that the "local" parameter is not used at all. My question: 
is this intended or what? Shall I still hear the sound from my speaker if  I 
set bLocal = false when calling sipxCallAudioPlayFileStart()?

Thank you for your attention.

Paul

_________________________________________________________________
Share your special moments by uploading 500 photos per month to Windows Live 
Spaces  
http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://www.get.live.com/spaces/features

_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to