[asterisk-users] Asterisk Java w/ Threads
Doug Garstang
dgarstan at talkplus.com
Mon Mar 5 10:58:26 MST 2007
Jesus Mogollon wrote:
> The best option would be to use AstManProxy and connect your event
> manager to it.
I tried this. Two problems...
The Asterisk Manager Proxy sends out a banner of 'Asterisk Manager
Proxy/1.2' whereas the Asterisk-Java interface expects to see 'Asterisk
Call Manager 1.0' (or something similar, the point is that the banner is
different).
So, I changed what asterisk proxy manager sends in the source. This
allowed Asterisk-Java to connect... and then the Proxy manager went and
core dumped .
It won't work anyway. The proxy manager prefixes the name of the system
to each line of output. The Asterisk-Java interface is not expecting
this and will barf.
Doug.
More information about the asterisk-users
mailing list