ARI - How to originate a call from Asterisk

Hi,

My application will be dialing external phones to inform the users about action they need to perform.
The first challenge is to figure out the right sequence of events to place the call. I have seen examples in which a single channel is used to originate the call and start the status app on Asterisk. The single channel is used to play media or send/receive DTMF tones.

Another strategy I’ve seen is to use two channels, the first starting stasis and the second one, created on StasisStarted event, actually originating the call. In this case a bridge is needed between the channels. The bridge is then use for playing media or sending receiving DTMF.

I’m confused as to which is the right strategy to use. The application will originate hundreds of calls. Do I really need two channels per call?

Any feedback is appreciated

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.