<div dir="ltr">I'm using the NodeJS ARI library with Asterisk 12.  In the examples I see the use of "StasisStart" event for when a call is originated, but none for "ChannelCreated"<div><br></div><div>I have tried to create listeners for the "ChannelCreated" event everywhere possible, but it seems this event is never fired.</div><div><br></div><div>Here is my code:</div><div><br></div><div><div>ari.start('hello');</div><div><br></div><div>ari.on( "ChannelCreated", function ( event, channel ) {</div><div>  console.log("channel created");</div><div>});</div><div><br></div><div>var channel = ari.Channel(  );</div><div><br></div><div>channel.on( "StasisStart", function ( event, channel ) {</div><div>  console.log("stasis entered");</div><div>});</div><div><br></div><div>channel.on( "ChannelCreated", function ( event, channel ) {</div><div>  console.log("channel created");</div><div>});</div><div><br></div><div>channel.originate( { endpoint: "PJSIP/6001", app : "hello" }, function (err, ch) {</div><div><br></div><div><span class="" style="white-space:pre">       </span>if( err ){ console.log( err );  process.exit(0); }</div><div><br></div><div><span class="" style="white-space:pre">       </span>ch.on( "ChannelCreated", function ( event, channel ) {</div><div><span class="" style="white-space:pre">   </span>  console.log("channel created");</div><div><span class="" style="white-space:pre">       </span>});</div><div><br></div><div>});</div></div><div><br></div><div><br></div><div>Only the stasis entered gets logged and only on endpoint answer.</div><div><br></div><div>Am I missing something? </div><div><br></div><div>Thanks,</div><div>Chris</div><div><br></div></div>