[Asterisk-java-users] asterisk java and astmanproxy
Brought to you by:
srt
From: Aaron E. <aar...@gm...> - 2007-08-01 19:08:08
|
Hi, I'm trying to use asterisk-java with astmanproxy. I am getting the error: org.asteriskjava.manager.TimeoutException: Timeout waiting for protocol identifier Now I did some digging in the archives and found that connecting to astmanproxy is not currently supported but that it might be in the future. The thread was from last year though. Any plans to support it? I also saw that some named Cristian Talle was able to modify the source so that he could use them together. Perhaps that the problem is that the ProxyKey line has to be sent during the connect/login process. I started looking through the source but have not yet located where I would inject that bit of code. If someone could point me in the right direction, or better yet, describe what has to be done to get these working together, that would be sweet. I also saw some threads questioning the value of using astmanproxy in combination with asterisk-java. I think that there are many advantages to doing so. Firstly, I want to use my proxy for more than just asterisk-java clients but would like to have all my asterisk manager API calls going through one place. Secondly, in my case, I have to connect to many (perhaps a dozen or so) asterisk servers right now. I would prefer to just list them in the proxy's configuration rather than having to manage all of these connections in my application individually. Kind regards, aaron |