Thread: [Asterisk-java-users] Asterisk-java and astmanproxy
Brought to you by:
srt
From: liyuqian <liy...@95...> - 2006-09-20 03:55:20
|
Hi, all: I want use asterisk-java connect to astmanproxy(Version 1.21), but i can't connected to astmanproxy, The asterisk-java reports: ------------------------------------- a net.sf.asterisk.manager.TimeoutException: Timeout waiting for protocol identifier ------------------------------------- The astmanproxy report: -------------------------------------- Sep 19 23:34:04: Connection received from 192.168.0.142 Sep 19 23:34:04: Set 192.168.0.142 input format to standard Sep 19 23:34:04: Set 192.168.0.142 output format to standard Sep 19 23:34:04: calling standard_read... Sep 19 23:34:06: standard_read result = -1 Sep 19 23:34:06: Connection closed: 192.168.0.142 Sep 19 23:34:06: --- exiting session_do thread --- ---------------------------------------- I reviewed The astmanproxy README file, it can running at standard asterisk manager Protocol Behavior. Can asterisk-java support astmanproxy? Thanks. Li |
From: Brett S. <bs...@no...> - 2006-09-20 03:59:12
|
No it can't. asterisk-java is designed to connecto the asterisk manager api. Astmanproxy I belive provides an http interface to make asterisk manager api calls. So astmanproxy is kind of redunant. I do have to say that I don't know much about astmanproxy. liyuqian wrote: >Hi, all: > >I want use asterisk-java connect to astmanproxy(Version 1.21), but i >can't connected to astmanproxy, The asterisk-java reports: >------------------------------------- >a net.sf.asterisk.manager.TimeoutException: Timeout waiting for protocol >identifier >------------------------------------- >The astmanproxy report: >-------------------------------------- >Sep 19 23:34:04: Connection received from 192.168.0.142 >Sep 19 23:34:04: Set 192.168.0.142 input format to standard >Sep 19 23:34:04: Set 192.168.0.142 output format to standard >Sep 19 23:34:04: calling standard_read... >Sep 19 23:34:06: standard_read result = -1 >Sep 19 23:34:06: Connection closed: 192.168.0.142 >Sep 19 23:34:06: --- exiting session_do thread --- >---------------------------------------- > >I reviewed The astmanproxy README file, it can running at standard >asterisk manager Protocol Behavior. > >Can asterisk-java support astmanproxy? Thanks. > >Li > > > > >------------------------------------------------------------------------ > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share your >opinions on IT & business topics through brief surveys -- and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > >------------------------------------------------------------------------ > >_______________________________________________ >Asterisk-java-users mailing list >Ast...@li... >https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: liyuqian <liy...@95...> - 2006-09-20 05:36:39
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=GB2312" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> Hi,<br> <br> In Astmanproxy README file it can support standard Asterisk Manager interface, why use asterisk-java can't connect to it?<br> <br> Some different between both?<br> <br> Thanks.<br> <br> Li<br> <br> Brett Sutton : <blockquote cite="mid...@no..." type="cite"> <pre wrap="">No it can't. asterisk-java is designed to connecto the asterisk manager api. Astmanproxy I belive provides an http interface to make asterisk manager api calls. So astmanproxy is kind of redunant. I do have to say that I don't know much about astmanproxy. liyuqian wrote: </pre> <blockquote type="cite"> <pre wrap="">Hi, all: I want use asterisk-java connect to astmanproxy(Version 1.21), but i can't connected to astmanproxy, The asterisk-java reports: ------------------------------------- a net.sf.asterisk.manager.TimeoutException: Timeout waiting for protocol identifier ------------------------------------- The astmanproxy report: -------------------------------------- Sep 19 23:34:04: Connection received from 192.168.0.142 Sep 19 23:34:04: Set 192.168.0.142 input format to standard Sep 19 23:34:04: Set 192.168.0.142 output format to standard Sep 19 23:34:04: calling standard_read... Sep 19 23:34:06: standard_read result = -1 Sep 19 23:34:06: Connection closed: 192.168.0.142 Sep 19 23:34:06: --- exiting session_do thread --- ---------------------------------------- I reviewed The astmanproxy README file, it can running at standard asterisk manager Protocol Behavior. Can asterisk-java support astmanproxy? Thanks. Li ------------------------------------------------------------------------ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash <a class="moz-txt-link-freetext" href="http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV">http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV</a> ------------------------------------------------------------------------ _______________________________________________ Asterisk-java-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Ast...@li...">Ast...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/asterisk-java-users">https://lists.sourceforge.net/lists/listinfo/asterisk-java-users</a> </pre> </blockquote> <pre wrap=""><!----> </pre> </blockquote> <br> </body> </html> |
From: Brett S. <bs...@no...> - 2006-09-20 05:48:36
|
Astmanproxy provides an http interface to asterisk. Astmanproxy uses asterisk manager to communicate with asterisk. So either use asterisk manager api directly (via asterisk-java) if you want to control asterisk from a java program or use Astmanproxy if you want to control asterisk via an http interface. The are just different ways of doing the same thing. liyuqian wrote: > Hi, > > In Astmanproxy README file it can support standard Asterisk Manager > interface, why use asterisk-java can't connect to it? > > Some different between both? > > Thanks. > > Li > > Brett Sutton : > >>No it can't. >> >>asterisk-java is designed to connecto the asterisk manager api. >>Astmanproxy I belive provides an http interface to make asterisk manager >>api calls. >>So astmanproxy is kind of redunant. >> >>I do have to say that I don't know much about astmanproxy. >> >> >> >>liyuqian wrote: >> >> >> >>>Hi, all: >>> >>>I want use asterisk-java connect to astmanproxy(Version 1.21), but i >>>can't connected to astmanproxy, The asterisk-java reports: >>>------------------------------------- >>>a net.sf.asterisk.manager.TimeoutException: Timeout waiting for protocol >>>identifier >>>------------------------------------- >>>The astmanproxy report: >>>-------------------------------------- >>>Sep 19 23:34:04: Connection received from 192.168.0.142 >>>Sep 19 23:34:04: Set 192.168.0.142 input format to standard >>>Sep 19 23:34:04: Set 192.168.0.142 output format to standard >>>Sep 19 23:34:04: calling standard_read... >>>Sep 19 23:34:06: standard_read result = -1 >>>Sep 19 23:34:06: Connection closed: 192.168.0.142 >>>Sep 19 23:34:06: --- exiting session_do thread --- >>>---------------------------------------- >>> >>>I reviewed The astmanproxy README file, it can running at standard >>>asterisk manager Protocol Behavior. >>> >>>Can asterisk-java support astmanproxy? Thanks. >>> >>>Li >>> >>> >>> >>> >>>------------------------------------------------------------------------ >>> >>>------------------------------------------------------------------------- >>>Take Surveys. Earn Cash. Influence the Future of IT >>>Join SourceForge.net's Techsay panel and you'll get the chance to share your >>>opinions on IT & business topics through brief surveys -- and earn cash >>>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>> >>>------------------------------------------------------------------------ >>> >>>_______________________________________________ >>>Asterisk-java-users mailing list >>>Ast...@li... >>>https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >>> >>> >>> >>> >> >> >> >> >> >> > >------------------------------------------------------------------------ > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share your >opinions on IT & business topics through brief surveys -- and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > >------------------------------------------------------------------------ > >_______________________________________________ >Asterisk-java-users mailing list >Ast...@li... >https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: Jesse L. <je...@jg...> - 2006-09-20 06:01:26
|
I believe asterisk-java is not able to support astmanproxy because of the differences in how the authentication works (probably among other differences). asterisk-java would have to be extended to accomodate astmanproxy's unique behaviours. Thanks. J liyuqian wrote: > Hi, > > In Astmanproxy README file it can support standard Asterisk Manager > interface, why use asterisk-java can't connect to it? > > Some different between both? > > Thanks. > > Li > > Brett Sutton : > >>No it can't. >> >>asterisk-java is designed to connecto the asterisk manager api. >>Astmanproxy I belive provides an http interface to make asterisk manager >>api calls. >>So astmanproxy is kind of redunant. >> >>I do have to say that I don't know much about astmanproxy. >> >> >> >>liyuqian wrote: >> >> >> >>>Hi, all: >>> >>>I want use asterisk-java connect to astmanproxy(Version 1.21), but i >>>can't connected to astmanproxy, The asterisk-java reports: >>>------------------------------------- >>>a net.sf.asterisk.manager.TimeoutException: Timeout waiting for protocol >>>identifier >>>------------------------------------- >>>The astmanproxy report: >>>-------------------------------------- >>>Sep 19 23:34:04: Connection received from 192.168.0.142 >>>Sep 19 23:34:04: Set 192.168.0.142 input format to standard >>>Sep 19 23:34:04: Set 192.168.0.142 output format to standard >>>Sep 19 23:34:04: calling standard_read... >>>Sep 19 23:34:06: standard_read result = -1 >>>Sep 19 23:34:06: Connection closed: 192.168.0.142 >>>Sep 19 23:34:06: --- exiting session_do thread --- >>>---------------------------------------- >>> >>>I reviewed The astmanproxy README file, it can running at standard >>>asterisk manager Protocol Behavior. >>> >>>Can asterisk-java support astmanproxy? Thanks. >>> >>>Li >>> >>> >>> >>> >>>------------------------------------------------------------------------ >>> >>>------------------------------------------------------------------------- >>>Take Surveys. Earn Cash. Influence the Future of IT >>>Join SourceForge.net's Techsay panel and you'll get the chance to share your >>>opinions on IT & business topics through brief surveys -- and earn cash >>>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>> >>>------------------------------------------------------------------------ >>> >>>_______________________________________________ >>>Asterisk-java-users mailing list >>>Ast...@li... >>>https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >>> >>> >>> >>> >> >> >> >> >> >> > >------------------------------------------------------------------------ > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share your >opinions on IT & business topics through brief surveys -- and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > >------------------------------------------------------------------------ > >_______________________________________________ >Asterisk-java-users mailing list >Ast...@li... >https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: Stefan R. <ste...@gm...> - 2006-09-23 21:31:40
|
AFAIK astmanproxy didnt support Challenge/Response auth for some time but this has been fixed in later astmanproxy versions. Please supply a trace of whats going on there using ngrep (see http://asterisk-java.org/page/aj?entry=debugging_manager_api) Then we can figure out how to solve it. =Stefan On 9/20/06, Jesse Lang <je...@jg...> wrote: > I believe asterisk-java is not able to support astmanproxy because of > the differences in how the authentication works (probably among other > differences). asterisk-java would have to be extended to accomodate > astmanproxy's unique behaviours. Thanks. > > J > > liyuqian wrote: > > > Hi, > > > > In Astmanproxy README file it can support standard Asterisk Manager > > interface, why use asterisk-java can't connect to it? > > > > Some different between both? > > > > Thanks. > > > > Li > > > > Brett Sutton : > > > >>No it can't. > >> > >>asterisk-java is designed to connecto the asterisk manager api. > >>Astmanproxy I belive provides an http interface to make asterisk manager > >>api calls. > >>So astmanproxy is kind of redunant. > >> > >>I do have to say that I don't know much about astmanproxy. > >> > >> > >> > >>liyuqian wrote: > >> > >> > >> > >>>Hi, all: > >>> > >>>I want use asterisk-java connect to astmanproxy(Version 1.21), but i > >>>can't connected to astmanproxy, The asterisk-java reports: > >>>------------------------------------- > >>>a net.sf.asterisk.manager.TimeoutException: Timeout waiting for protocol > >>>identifier > >>>------------------------------------- > >>>The astmanproxy report: > >>>-------------------------------------- > >>>Sep 19 23:34:04: Connection received from 192.168.0.142 > >>>Sep 19 23:34:04: Set 192.168.0.142 input format to standard > >>>Sep 19 23:34:04: Set 192.168.0.142 output format to standard > >>>Sep 19 23:34:04: calling standard_read... > >>>Sep 19 23:34:06: standard_read result = -1 > >>>Sep 19 23:34:06: Connection closed: 192.168.0.142 > >>>Sep 19 23:34:06: --- exiting session_do thread --- > >>>---------------------------------------- > >>> > >>>I reviewed The astmanproxy README file, it can running at standard > >>>asterisk manager Protocol Behavior. > >>> > >>>Can asterisk-java support astmanproxy? Thanks. > >>> > >>>Li > >>> > >>> > >>> > >>> > >>>------------------------------------------------------------------------ > >>> > >>>------------------------------------------------------------------------- > >>>Take Surveys. Earn Cash. Influence the Future of IT > >>>Join SourceForge.net's Techsay panel and you'll get the chance to share your > >>>opinions on IT & business topics through brief surveys -- and earn cash > >>>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > >>> > >>>------------------------------------------------------------------------ > >>> > >>>_______________________________________________ > >>>Asterisk-java-users mailing list > >>>Ast...@li... > >>>https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > >>> > >>> > >>> > >>> > >> > >> > >> > >> > >> > >> > > > >------------------------------------------------------------------------ > > > >------------------------------------------------------------------------- > >Take Surveys. Earn Cash. Influence the Future of IT > >Join SourceForge.net's Techsay panel and you'll get the chance to share your > >opinions on IT & business topics through brief surveys -- and earn cash > >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > >------------------------------------------------------------------------ > > > >_______________________________________________ > >Asterisk-java-users mailing list > >Ast...@li... > >https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > |