[Asterisk-java-users] Problems with manager action SetVarAction
Brought to you by:
srt
From: <mar...@gm...> - 2006-02-03 15:39:08
|
Hello, I am working with Version 1.2.1of Asterisk in a virtual machine, and the action SetVarAction does not work sometimes, however the responseManager says"Success" to the action ,although it didn't work. This is the code so that you can understand me better: setVarAction.setChannel(sChannel); setVarAction.setVariable("STRING"); setVarAction.setValue("Whatever"); originateResponse =3D managerConnection.sendAction(setVarAction, 30000); if(originateResponse.getResponse().equals("Success")) { System.out.println(" SETVARACTION correcto "+ originateResponse.getMessage()); } else System.out.println(" setvaraction mal "+originateResponse.getResponse()); I executing the same code in another machine with asterik 0.7 and it works prefectly well. Can anybody please help me????? Thanks in advance, Mar=EDa |