asterisk / node-ari-client

Node.js client for ARI. This library is best effort with limited support.
Other
256 stars 100 forks source link

Working with node-ari-client and freepbx questions. #90

Closed piux closed 7 years ago

piux commented 7 years ago

Greetings, im trying to create my own stasis app, but im having trouble understanding how to call the functions when someone calls one of my generated extension from freepbx.

im using this example https://github.com/asterisk/ari-examples/tree/master/channel-dump, is there a way that it calls the stasis app when someone calls one of my extension, so it would first call Stasis('channel-dump') then go to the extension called?

danjenkins commented 7 years ago

I think what you're saying is you want to go into an ARI app and then continue onto calling your extension in the dialplan? If so you can use continueInDialplan - https://github.com/asterisk/node-ari-client#continueindialplan