Hi,
has anyone of you succeded in using PlayDtmfAction(); ?
I have tried this against an Asterisk ver. 1.2.13 server:
playdtmfaction = new PlayDtmfAction();
playdtmfaction.setChannel("SIP/pmh");
playdtmfaction.setDigit(number);
playdtmfresponse = connection.sendAction(playdtmfaction, 30000);
System.out.println(playdtmfresponse.getResponse()+"
"+playdtmfresponse.getMessage());
But I get this returned "Error Invalid/unknown command"
According to the Asterisk dokumentation the command should be available
as of ver. 1.2.8 ??
Thanks,
Poul
|