Recently I sent some and-mails with problem in the event meetme. I
uncovered that in wrong fact be doing. It should use a RedirectAction and
not OriginateAction. However when I do the code it follow appears the
error:
AsteriskResponse: net.sf.asterisk.manager.response.ManagerError:
actionId=3D'null'; message=3D'Secondary redirect failed'; response=3D'Error=
';
uniqueId=3D'null'; systemHashcode=3D21657019
RedirectAction redirectAction;
redirectAction =3D new RedirectAction();
redirectAction.setChannel(Zap/1-1);
redirectAction.setContext("default");
redirectAction.setExten(8200);
redirectAction.setPriority(new Integer(1));
redirectAction.setExtraChannel("MeetMe");
try{
ManagerResponse originateResponse;
originateResponse =3D managerConnection.sendAction(redirectActi=
on,
30000);
System.out.println("AsteriskResponse: " +
originateResponse.toString());
} ..........
Someone knows say me the because of the error? What I am doing of wrong?
--
[]s
Andr=E9 Luiz Martins Rodrigues
mailto:and...@gm...
|