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

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -