Here is how the AGI goes:
- Call from AParty lands on the AGI, say firstAGI.agi
- AGI prompts user for input
- On pressing 1 I need to put this call on hold and dial the BParty using call (callfile) which lands on another AGI say secondAGI.agi
- SecondAGI prompts BParty for user input too.
On pressing 1 need to bridge the on-hold call of AParty and this BParty.
Now I need help on following issues:
- How to make first call on hold? (Can a busy while loop do this job?)
- How to bridge both channels?
- How the first call (aparty) can come to know that other user (bparty) has pressed other than 1?