user3518668
user3518668

Reputation: 399

answer incoming call with AMI / AGI

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

Answers (1)

arheops
arheops

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

Related Questions