>Is Keith reading this? I think he does read the mailinglist.
> >My understanding is that MprFromFile takes care of both tasks, and that >doProcessFrame is the function which actually copies the >data and would >therefore know when copying is done. Am I correct? This function does send >FLOWGRAPH_STOP_PLAY message (to >itself) when playback is complete, which is >then handled inside the handleStopToneOrPlay( ) function. But I'm not sure >where to go >from there (who would receive the notification), and I cannot see >any easy way to distinguish from these two types of messages. > >Regards, >Daníel MpFlowGraphMsg::FLOWGRAPH_STOP_PLAY message in doProcessFrame is sent to MpCallFlowGraph, where it goes into handleStopToneOrPlay. From there you need to fire an event into sipxCallLib. In CpPhoneMediaInterface::createConnection, we pass pMediaEventListener, but it is not stored anywhere. I guess it has to be passed into mpFlowGraph somehow, and then you can use the interface to fire event into sipxCallLib. Jaro _______________________________________________ sipxtapi-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
