Reputation: 399
I am working in a cti student project with asterisk , thanks to the AMI I could initiate a call , hold call and unhold call but I need to answer incoming call :
for example an external call is coming to SIP/test thanks to the event NewStateEvent i know
the name of the channel calling and the channel requested but I want to answer the call via
IHM WITH click to the button for example , I searched in internet it's not possible via AMI
Upvotes: 1
Views: 2115
Reputation: 15259
If you use agi you just need use some lib and do answer or just sent one line "ANSWER"
If you use AMI, you have transfer call to some dialplan which will answer call.
Anyway it is highly recomended read FULL book and understand how dialplan work.
Upvotes: 0