Hi!
I’m a bit new to Asterisk, and I want to achieve a callback originate action, between two phone numbers, which are came from a web form for eg.
The originate successfully queued, but 1 second after the pickup, the call destroyed.
What am I doing wrong?
originateAction.setChannel(channel);
originateAction.setContext(context);
originateAction.setExten(called);
originateAction.setPriority(new Integer(1));
originateAction.setActionId("123456789"+channel);
originateAction.setAsync(new Boolean(true));
originateResponse = managerConnection.sendAction(originateAction, 30000);
Thanks in advance!