I want to call a Phone-Nr. and send a DTMF after the connection has been astablished. But it doesn't work, ist returns an error.
Why?


script.wmls:
---------------------------------------------------------
extern function test() {
var callReturn = WTAPublic.makeCall("01234678");
if(String.isEmpty(callReturn) == "true") {
WTAPublic.sendDTMF("123456789");
}
}
---------------------------------------------------------

page.wml:
---------------------------------------------------------
...
<a href="script.wmls#test()">Call and send</a>
...
---------------------------------------------------------