Upon answer, only the callee hear the called party voice,
the called party can't hear the callee's voice.
If the callee presses the '#' (pound) key, the channel becomes full duplex: both sides can talk and listen to each other as usual.
The call is billed only if the channel became full duplex.
## Deliverables
Upon answer, only the callee hear the called party voice,
the called party can't hear the callee's voice.
If the callee presses the '#' (pound) key, the channel becomes full duplex: both sides can talk and listen to each other as usual.
The call is billed only if the channel became full duplex
specifically, the $agi->get_variable("ANSWEREDTIME"); phpagi array must be populated
and the $agi->get_variable("DIALSTATUS"); phpagi array ['data'] must be == 'ANSWER'
only if the call has became full duplex (the callee pressed the pound key).
Also, if the callee does not press the pound key after 5 seconds from when the call has been answered, the call must be hangup.
So, I think that the code should be a patch for the 'Dial' application
but you are the expert.
This patch must work on Asterisk 1.4
Since Asterisk is under the GPL license, I'm ready to share the resulting code with anyone whom asks.
Thanks for your attention.