[asterisk-users] Question about Asterisk and Java
Santiago Panchi
santiago762000 at gmail.com
Tue Sep 30 14:53:20 CDT 2008
Thanks for your answer Martin.
The problem was the library. I updated the library to v1.0
Thanks for all
With kind regards
Santiago Panchi
2008/9/30 Martin Smith <martins at bebr.ufl.edu>
> -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
> http://asterisk-java.org 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
> http://asterisk-java.org/development/mail-lists.html.
>
> Cheers,
>
> Martin Smith, Systems Developer
> martins at bebr.ufl.edu
> Bureau of Economic and Business Research
> University of Florida
> (352) 392-0171 Ext. 221
>
>
> ------------------------------
> *From:* asterisk-users-bounces at lists.digium.com [mailto:
> asterisk-users-bounces at lists.digium.com] *On Behalf Of *Santiago Panchi
> *Sent:* Tuesday, September 30, 2008 10:14 AM
> *To:* asterisk-users at lists.digium.com
> *Subject:* [asterisk-users] Question about Asterisk and Java
>
> Hello there.
>
> 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.
> Please help me to solve this issue.
>
> Greetings
> Santiago
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080930/363aa2af/attachment.htm
More information about the asterisk-users
mailing list