Menashe Posted February 6, 2022 Report Posted February 6, 2022 Hi, I'm wondering how is the best way to control a call from outside process like event socket or Asterisk AGI The Pivot module is greate, still he has limitation that it can control the call only once without getting more info from the channel how is the best way to connect the FS or the ecallmgr and control the call, including getting notifications about the call as well as executing commands like play, answer, bridge, hangup, etc? Thank you
fmateo05 Posted February 6, 2022 Report Posted February 6, 2022 (edited) 6 minutes ago, Menashe said: Hi, I'm wondering how is the best way to control a call from outside process like event socket or Asterisk AGI The Pivot module is greate, still he has limitation that it can control the call only once without getting more info from the channel how is the best way to connect the FS or the ecallmgr and control the call, including getting notifications about the call as well as executing commands like play, answer, bridge, hangup, etc? Thank you You have blackhole available. Also webhooks. If pivot has the mentioned limitations, so is 'not great'. Edited February 6, 2022 by fmateo05 Additional information (see edit history)
RuhNet Posted February 7, 2022 Report Posted February 7, 2022 (edited) For real time events, Blackhole which uses websockets is best. It is the similar to ESL in FS. You also have webhooks as @fmateo05 said, and the channels API is useful also. Here is some info about the channels API: https://docs.2600hz.com/supported/applications/crossbar/doc/channels/ Edited February 7, 2022 by RuhNet (see edit history)
Menashe Posted February 8, 2022 Author Report Posted February 8, 2022 Thank you for the answer @fmateo05 and @RuhNet It answers about listening the events, what about managing the call?
RuhNet Posted February 8, 2022 Report Posted February 8, 2022 Metaflows and Konami allow some control, along with the channels API. Look at the Channels API documentation link I posted as it gives some examples of call control.
Recommended Posts