[Opalvoip-user] AnswerCallPending
Brought to you by:
csoutheren,
rjongbloed
From: Toan V. <TV...@fu...> - 2013-03-27 23:59:36
|
Hello, I have an application that processes a call and forwards it elsewhere. I've been forwarding within OpalManager::OnIncomingConnection(). However, the processing may take a long time and so this isn't the ideal spot to put it in. The description of OnIncomingConnection() states: Note this function should not block for any length of time. If the decision to answer the call may take some time eg waiting for a user to pick up the phone, then AnswerCallPending or AnswerCallDeferred should be returned. I'm unsure how to return an AnswerCallPending. And where is the best place to forward calls? Thanks Toan |