php - Handling inbound Calls with Asterisk ARI -


i'm struggling find suitable solution handling incoming calls asterisk 13 server websocket connection.

i'm writing callcenter webapplication in call agents should able answer calls using webbrowser , soft phone installed on computers.

i able receive events incoming calls subscribing sip trunk endpoint 'stasis' application event source.

what i'm trying if call center agent clicks on 'answer' button incoming call: 1. create new websocket connection new stasis application call 2. asterisk calls agents sip phone 3. agent answers call form asterisk 4. creating bridge using post ari 5. add these 2 channels bridge.

if try add channel incoming call bridge, i'm getting error message: "channel not in stasis application".

is there other way how can put channel bridge, without using dialplan command stasis(appname).

thanks in advance


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -