<div dir="ltr">Thanks for your answer Martin.<br><br>The problem was the library. I updated the library to v1.0<br><br>Thanks for all<br>With kind regards<br><br>Santiago Panchi<br><br><div class="gmail_quote">2008/9/30 Martin Smith <span dir="ltr"><<a href="mailto:martins@bebr.ufl.edu">martins@bebr.ufl.edu</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div dir="ltr" align="left"><span><font size="2" face="Arial">-1 means Asterisk thinks the command failed. I've seen that if you hangup
on the script, thought it might also happen if the file you specified doesn't
exist. I encourage you to get the latest 1.0 snapshot from <a href="http://asterisk-java.org" target="_blank">http://asterisk-java.org</a> as we had one
parsing bug due to spacing in the response upon a timeout with no digits
pressed. I'd also encourage you to check out the Asterisk-Java mailing list via
<a href="http://asterisk-java.org/development/mail-lists.html" target="_blank">http://asterisk-java.org/development/mail-lists.html</a>.</font></span></div>
<div dir="ltr" align="left"><span><font size="2" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font size="2" face="Arial">Cheers,</font></span></div>
<p align="left"><font size="2">Martin Smith, Systems
Developer<br><a href="mailto:martins@bebr.ufl.edu" target="_blank">martins@bebr.ufl.edu</a><br>Bureau of Economic and Business
Research<br>University of Florida<br>(352) 392-0171 Ext. 221</font> </p>
<div> </div><br>
<blockquote dir="ltr" style="border-left: 2px solid rgb(0, 0, 0); padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div dir="ltr" align="left" lang="en-us">
<hr>
<font size="2" face="Tahoma"><b>From:</b> <a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>
[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] <b>On Behalf Of </b>Santiago
Panchi<br><b>Sent:</b> Tuesday, September 30, 2008 10:14 AM<br><b>To:</b>
<a href="mailto:asterisk-users@lists.digium.com" target="_blank">asterisk-users@lists.digium.com</a><br><b>Subject:</b> [asterisk-users] Question
about Asterisk and Java<br></font><br></div><div><div></div><div class="Wj3C7c">
<div></div>
<div dir="ltr">Hello
there.<br><br> I have a
problem that I can't solve. I am developing an application with Java and
Asterisk. In addition, I am using Windows Vista, AsteriskWin32 PBX,
asterisk-java-0.3.jar and XLite. I startup the DefaultAgiServer without
problems and I have a java application running for the extension
1300(extensions.conf). When I use X-lite and make a call to extension 1300 the
application is ok and I can listen to the messages that I put on the java
code. Next, I tried to use the function getData to print the pressed keys from
the softphone. I can listen to the sound that I set for the function but the
answer for the pressed keys is always -1. I can't figure out the answer to
this problem.<br>Please help me to solve this
issue.<br><br>Greetings<br>Santiago<br></div></div></div></blockquote></div>
<br>_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
AstriCon 2008 - September 22 - 25 Phoenix, Arizona<br>
Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div>