From ajay at fonefu.com Wed May 23 20:24:05 2007 From: ajay at fonefu.com (Ajay Kapal) Date: Wed, 23 May 2007 17:24:05 -0700 Subject: [Telegraph-users] (no subject) Message-ID: <05C1B79C-9194-4D55-9B33-A48674382AFE@fonefu.com> Hi, Telegraph looks really cool. Problem is, I just can get it to work :) Perhaps someone on this list can help me out? Here's what I've done: 1) Added the following code to user_controller.rb: def voice_entry respond_to do |format| format.voice { render_voice do |voice| voice.say_number "123" end } end end 2) Added the following line to my asterisk extensions.conf file: exten => 222,1,AGI(agi://127.0.0.1/user/voice_entry) exten => 222,2,Hangup() 3) Run asterisk asterisk -vvvvvg 4) Run script/agi_server -e development I see: ** Signals ready. TERM => stop. USR2 => restart. INT => stop (no restart). [2007-05-23 17:04:44] INFO Telegraph::CallServer: default-handler= port=4573 [2007-05-23 17:04:44] INFO WEBrick 1.3.1 [2007-05-23 17:04:44] INFO ruby 1.8.5 (2006-08-25) [i686-darwin8.8.2] [2007-05-23 17:04:44] INFO WEBrick::GenericServer#start: pid=5241 port=4573 nil [2007-05-23 17:04:49] INFO Okay, so far so good. 5) Dial the number When I dial 222, I see the following on the terminal running agi_server: Processing UserController#voice_entry (for 0.0.0.0 at 2007-05-23 17:04:49) [POST] [2007-05-23 17:04:49] INFO Session ID: fc04376fb563ff64e68b711c7d077609 [2007-05-23 17:04:49] INFO Parameters: {"action"=>"voice_entry", "controller"=>"UserController"} [2007-05-23 17:04:49] INFO Redirected to http://agi:84837/ [2007-05-23 17:04:49] INFO Completed in 0.00022 (4524 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://agi/] I don't hear the digits - instead I immediately hear a busy signal. On the bright side, it does seem that the proper action is at least getting executed. I also enabled agi debugging on the asterisk console, and see the following whenever I dial 222: -- Executing AGI("SIP/fonefu01-0181d600", "agi://127.0.0.1/user/ voice_entry") in new stack -- AGI Script agi://127.0.0.1/user/voice_entry completed, returning 0 == Auto fallthrough, channel 'SIP/fonefu01-0181d600' status is 'UNKNOWN' Any ideas on what I'm doing wrong? By the way, two things I noticed about the site: 1) Section 2 of http://telegraph.rubyforge.org/wiki/wiki.pl?UsingAGI mentions a banking demo application, but I couldn't find it on the site. 2) http://telegraph.rubyforge.org/Getting%20Started.html - click the "AMI Events" link - it goes to livepage.apple.com. Thanks again for creating an alternative to RAGI. -Ajay From jpalley at gmail.com Thu May 24 13:28:22 2007 From: jpalley at gmail.com (Jonathan Palley) Date: Thu, 24 May 2007 10:28:22 -0700 Subject: [Telegraph-users] (no subject) In-Reply-To: <05C1B79C-9194-4D55-9B33-A48674382AFE@fonefu.com> References: <05C1B79C-9194-4D55-9B33-A48674382AFE@fonefu.com> Message-ID: <2d8777c00705241028i64529d8bu396311aaecf6b53a@mail.gmail.com> Ajay - Thanks for the email. Telegraph is a very fresh (1 week old) extraction from a real project so there may be some extraction bugs lurking. I will look into it. I'll be posting the banking demo in the next few days and thanks for pointing out the bad link. Did you try any functions besides the say_number? Try: play "hello-world" Best, Jonathan On 5/23/07, Ajay Kapal wrote: > > Hi, > > Telegraph looks really cool. Problem is, I just can get it to > work :) Perhaps someone on this list can help me out? > > > Here's what I've done: > > 1) Added the following code to user_controller.rb: > > def voice_entry > respond_to do |format| > > format.voice { > render_voice do |voice| > voice.say_number "123" > end > } > end > end > > 2) Added the following line to my asterisk extensions.conf file: > > exten => 222,1,AGI(agi://127.0.0.1/user/voice_entry) > exten => 222,2,Hangup() > > 3) Run asterisk > asterisk -vvvvvg > > 4) Run > > script/agi_server -e development > > > I see: > > ** Signals ready. TERM => stop. USR2 => restart. INT => stop (no > restart). > [2007-05-23 17:04:44] INFO Telegraph::CallServer: default-handler= > port=4573 > [2007-05-23 17:04:44] INFO WEBrick 1.3.1 > [2007-05-23 17:04:44] INFO ruby 1.8.5 (2006-08-25) [i686-darwin8.8.2] > [2007-05-23 17:04:44] INFO WEBrick::GenericServer#start: pid=5241 > port=4573 > nil > [2007-05-23 17:04:49] INFO > > > > Okay, so far so good. > > 5) Dial the number > > > When I dial 222, I see the following on the terminal running agi_server: > > Processing UserController#voice_entry (for 0.0.0.0 at 2007-05-23 > 17:04:49) [POST] > [2007-05-23 17:04:49] INFO Session ID: > fc04376fb563ff64e68b711c7d077609 > [2007-05-23 17:04:49] INFO Parameters: {"action"=>"voice_entry", > "controller"=>"UserController"} > [2007-05-23 17:04:49] INFO Redirected to http://agi:84837/ > [2007-05-23 17:04:49] INFO Completed in 0.00022 (4524 reqs/sec) | > DB: 0.00000 (0%) | 302 Found [http://agi/] > > I don't hear the digits - instead I immediately hear a busy signal. > On the bright side, it does seem that the proper action is at least > getting executed. > > I also enabled agi debugging on the asterisk console, and see the > following whenever I dial 222: > > -- Executing AGI("SIP/fonefu01-0181d600", "agi://127.0.0.1/user/ > voice_entry") in new stack > -- AGI Script agi://127.0.0.1/user/voice_entry completed, > returning 0 > == Auto fallthrough, channel 'SIP/fonefu01-0181d600' status is > 'UNKNOWN' > > > Any ideas on what I'm doing wrong? By the way, two things I noticed > about the site: > > 1) Section 2 of http://telegraph.rubyforge.org/wiki/wiki.pl?UsingAGI > mentions a banking demo application, but I couldn't find it on the site. > > 2) http://telegraph.rubyforge.org/Getting%20Started.html - click the > "AMI Events" link - it goes to livepage.apple.com. > > > > Thanks again for creating an alternative to RAGI. > > -Ajay > _______________________________________________ > Telegraph-users mailing list > Telegraph-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/telegraph-users > -- Jonathan Palley | Idapted Inc. jpalley at idapted.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/telegraph-users/attachments/20070524/355653c2/attachment.html From ajay at fonefu.com Thu May 24 16:47:04 2007 From: ajay at fonefu.com (Ajay Kapal) Date: Thu, 24 May 2007 13:47:04 -0700 Subject: [Telegraph-users] (no subject) In-Reply-To: <2d8777c00705241028i64529d8bu396311aaecf6b53a@mail.gmail.com> References: <05C1B79C-9194-4D55-9B33-A48674382AFE@fonefu.com> <2d8777c00705241028i64529d8bu396311aaecf6b53a@mail.gmail.com> Message-ID: <5B782C1B-64C8-49B9-AE58-BD3331BBDC2E@fonefu.com> Hi Jonathan, Yeah, I figured the newness of the project had something to do with what I was seeing. It may well be something specific to my setup. If you can't reproduce it, please let me know. Btw, I tried play "hello-world" and had the same response. I'm not really even sure if my method is being executed. Thanks, Ajay On May 24, 2007, at 10:28 AM, Jonathan Palley wrote: > Ajay - > Thanks for the email. Telegraph is a very fresh (1 week old) > extraction from a real project so there may be some extraction bugs > lurking. I will look into it. > I'll be posting the banking demo in the next few days and thanks > for pointing out the bad link. > > Did you try any functions besides the say_number? > > Try: play "hello-world" > > Best, > Jonathan > > On 5/23/07, Ajay Kapal < ajay at fonefu.com> wrote: > Hi, > > Telegraph looks really cool. Problem is, I just can get it to > work :) Perhaps someone on this list can help me out? > > > Here's what I've done: > > 1) Added the following code to user_controller.rb: > > def voice_entry > respond_to do |format| > > format.voice { > render_voice do |voice| > voice.say_number "123" > end > } > end > end > > 2) Added the following line to my asterisk extensions.conf file: > > exten => 222,1,AGI(agi://127.0.0.1/user/voice_entry) > exten => 222,2,Hangup() > > 3) Run asterisk > asterisk -vvvvvg > > 4) Run > > script/agi_server -e development > > > I see: > > ** Signals ready. TERM => stop. USR2 => restart. INT => stop (no > restart). > [2007-05-23 17:04:44] INFO Telegraph::CallServer: default-handler= > port=4573 > [2007-05-23 17:04:44] INFO WEBrick 1.3.1 > [2007-05-23 17:04:44] INFO ruby 1.8.5 (2006-08-25) [i686-darwin8.8.2] > [2007-05-23 17:04:44] INFO WEBrick::GenericServer#start: pid=5241 > port=4573 > nil > [2007-05-23 17:04:49] INFO > > > > Okay, so far so good. > > 5) Dial the number > > > When I dial 222, I see the following on the terminal running > agi_server: > > Processing UserController#voice_entry (for 0.0.0.0 at 2007-05-23 > 17:04:49) [POST] > [2007-05-23 17:04:49] INFO Session ID: > fc04376fb563ff64e68b711c7d077609 > [2007-05-23 17:04:49] INFO Parameters: {"action"=>"voice_entry", > "controller"=>"UserController"} > [2007-05-23 17:04:49] INFO Redirected to http://agi:84837/ > [2007-05-23 17:04:49] INFO Completed in 0.00022 (4524 reqs/sec) | > DB: 0.00000 (0%) | 302 Found [ http://agi/] > > I don't hear the digits - instead I immediately hear a busy signal. > On the bright side, it does seem that the proper action is at least > getting executed. > > I also enabled agi debugging on the asterisk console, and see the > following whenever I dial 222: > > -- Executing AGI("SIP/fonefu01-0181d600", "agi://127.0.0.1/user/ > voice_entry") in new stack > -- AGI Script agi://127.0.0.1/user/voice_entry completed, > returning 0 > == Auto fallthrough, channel 'SIP/fonefu01-0181d600' status is > 'UNKNOWN' > > > Any ideas on what I'm doing wrong? By the way, two things I noticed > about the site: > > 1) Section 2 of http://telegraph.rubyforge.org/wiki/wiki.pl?UsingAGI > mentions a banking demo application, but I couldn't find it on the > site. > > 2) http://telegraph.rubyforge.org/Getting%20Started.html - click the > "AMI Events" link - it goes to livepage.apple.com . > > > > Thanks again for creating an alternative to RAGI. > > -Ajay > _______________________________________________ > Telegraph-users mailing list > Telegraph-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/telegraph-users > > > > -- > Jonathan Palley | Idapted Inc. > jpalley at idapted.com Ajay Kapal ---------------------------------- email: ajay at fonefu.com mobile: 408-455-4568 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/telegraph-users/attachments/20070524/7aac4d75/attachment.html From jpalley at gmail.com Fri May 25 02:47:00 2007 From: jpalley at gmail.com (Jonathan Palley) Date: Thu, 24 May 2007 23:47:00 -0700 Subject: [Telegraph-users] (no subject) In-Reply-To: <5B782C1B-64C8-49B9-AE58-BD3331BBDC2E@fonefu.com> References: <05C1B79C-9194-4D55-9B33-A48674382AFE@fonefu.com> <2d8777c00705241028i64529d8bu396311aaecf6b53a@mail.gmail.com> <5B782C1B-64C8-49B9-AE58-BD3331BBDC2E@fonefu.com> Message-ID: <2d8777c00705242347u2af7e35dg8e5c2f8bf817c9f4@mail.gmail.com> Ajay - Can you place a "puts" in the action and see if it gets printed out? That should give us a clue as to what's being played. I've also committed the example app I used in my railsconf presentation so hopefully that helps. Thanks Jonathan On 5/24/07, Ajay Kapal wrote: > > Hi Jonathan, > Yeah, I figured the newness of the project had something to do with what I > was seeing. It may well be something specific to my setup. If you can't > reproduce it, please let me know. > > > Btw, I tried play "hello-world" and had the same response. I'm not really > even sure if my method is being executed. > > Thanks, > Ajay > > On May 24, 2007, at 10:28 AM, Jonathan Palley wrote: > > Ajay - > Thanks for the email. Telegraph is a very fresh (1 week old) extraction > from a real project so there may be some extraction bugs lurking. I will > look into it. > I'll be posting the banking demo in the next few days and thanks for > pointing out the bad link. > > Did you try any functions besides the say_number? > > Try: play "hello-world" > > Best, > Jonathan > > On 5/23/07, Ajay Kapal < ajay at fonefu.com> wrote: > > > > Hi, > > > > Telegraph looks really cool. Problem is, I just can get it to > > work :) Perhaps someone on this list can help me out? > > > > > > Here's what I've done: > > > > 1) Added the following code to user_controller.rb: > > > > def voice_entry > > respond_to do |format| > > > > format.voice { > > render_voice do |voice| > > voice.say_number "123" > > end > > } > > end > > end > > > > 2) Added the following line to my asterisk extensions.conf file: > > > > exten => 222,1,AGI(agi://127.0.0.1/user/voice_entry) > > exten => 222,2,Hangup() > > > > 3) Run asterisk > > asterisk -vvvvvg > > > > 4) Run > > > > script/agi_server -e development > > > > > > I see: > > > > ** Signals ready. TERM => stop. USR2 => restart. INT => stop (no > > restart). > > [2007-05-23 17:04:44] INFO Telegraph::CallServer: default-handler= > > port=4573 > > [2007-05-23 17:04:44] INFO WEBrick 1.3.1 > > [2007-05-23 17:04:44] INFO ruby 1.8.5 (2006-08-25) [i686-darwin8.8.2] > > [2007-05-23 17:04:44] INFO WEBrick::GenericServer#start: pid=5241 > > port=4573 > > nil > > [2007-05-23 17:04:49] INFO > > > > > > > > Okay, so far so good. > > > > 5) Dial the number > > > > > > When I dial 222, I see the following on the terminal running agi_server: > > > > Processing UserController#voice_entry (for 0.0.0.0 at 2007-05-23 > > 17:04:49) [POST] > > [2007-05-23 17:04:49] INFO Session ID: > > fc04376fb563ff64e68b711c7d077609 > > [2007-05-23 17:04:49] INFO Parameters: {"action"=>"voice_entry", > > "controller"=>"UserController"} > > [2007-05-23 17:04:49] INFO Redirected to http://agi:84837/ > > [2007-05-23 17:04:49] INFO Completed in 0.00022 (4524 reqs/sec) | > > DB: 0.00000 (0%) | 302 Found [ http://agi/] > > > > I don't hear the digits - instead I immediately hear a busy signal. > > On the bright side, it does seem that the proper action is at least > > getting executed. > > > > I also enabled agi debugging on the asterisk console, and see the > > following whenever I dial 222: > > > > -- Executing AGI("SIP/fonefu01-0181d600", "agi://127.0.0.1/user/ > > voice_entry") in new stack > > -- AGI Script agi://127.0.0.1/user/voice_entry completed, > > returning 0 > > == Auto fallthrough, channel 'SIP/fonefu01-0181d600' status is > > 'UNKNOWN' > > > > > > Any ideas on what I'm doing wrong? By the way, two things I noticed > > about the site: > > > > 1) Section 2 of http://telegraph.rubyforge.org/wiki/wiki.pl?UsingAGI > > mentions a banking demo application, but I couldn't find it on the site. > > > > 2) http://telegraph.rubyforge.org/Getting%20Started.html - click the > > "AMI Events" link - it goes to livepage.apple.com . > > > > > > > > Thanks again for creating an alternative to RAGI. > > > > -Ajay > > _______________________________________________ > > Telegraph-users mailing list > > Telegraph-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/telegraph-users > > > > > > -- > Jonathan Palley | Idapted Inc. > jpalley at idapted.com > > > Ajay Kapal > ---------------------------------- > email: ajay at fonefu.com > mobile: 408-455-4568 > > > -- Jonathan Palley | Idapted Inc. jpalley at idapted.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/telegraph-users/attachments/20070524/cd24fcbf/attachment-0001.html From ajay at fonefu.com Fri May 25 03:14:58 2007 From: ajay at fonefu.com (Ajay Kapal) Date: Fri, 25 May 2007 00:14:58 -0700 Subject: [Telegraph-users] (no subject) In-Reply-To: <2d8777c00705242347u2af7e35dg8e5c2f8bf817c9f4@mail.gmail.com> References: <05C1B79C-9194-4D55-9B33-A48674382AFE@fonefu.com> <2d8777c00705241028i64529d8bu396311aaecf6b53a@mail.gmail.com> <5B782C1B-64C8-49B9-AE58-BD3331BBDC2E@fonefu.com> <2d8777c00705242347u2af7e35dg8e5c2f8bf817c9f4@mail.gmail.com> Message-ID: <9DE71BFC-36C5-40DC-8BCA-559E98978BAC@fonefu.com> Hi Jonathan, I forgot to mention that I tried this as well as sticking a ruby- debug debugger breakpoint statement right at the beginning of the function - nothing was printed out to the console. Thanks for uploading the example app - I'll take a look at it and see if it helps. -Ajay On May 24, 2007, at 11:47 PM, Jonathan Palley wrote: > Ajay - > Can you place a "puts" in the action and see if it gets printed > out? That should give us a clue as to what's being played. > > I've also committed the example app I used in my railsconf > presentation so hopefully that helps. > > Thanks > Jonathan > > On 5/24/07, Ajay Kapal wrote: > Hi Jonathan, > > Yeah, I figured the newness of the project had something to do with > what I was seeing. It may well be something specific to my setup. > If you can't reproduce it, please let me know. > > > Btw, I tried play "hello-world" and had the same response. I'm not > really even sure if my method is being executed. > > Thanks, > Ajay > > On May 24, 2007, at 10:28 AM, Jonathan Palley wrote: > >> Ajay - >> Thanks for the email. Telegraph is a very fresh (1 week old) >> extraction from a real project so there may be some extraction >> bugs lurking. I will look into it. >> I'll be posting the banking demo in the next few days and thanks >> for pointing out the bad link. >> >> Did you try any functions besides the say_number? >> >> Try: play "hello-world" >> >> Best, >> Jonathan >> >> On 5/23/07, Ajay Kapal < ajay at fonefu.com > wrote: >> Hi, >> >> Telegraph looks really cool. Problem is, I just can get it to >> work :) Perhaps someone on this list can help me out? >> >> >> Here's what I've done: >> >> 1) Added the following code to user_controller.rb: >> >> def voice_entry >> respond_to do |format| >> >> format.voice { >> render_voice do |voice| >> voice.say_number "123" >> end >> } >> end >> end >> >> 2) Added the following line to my asterisk extensions.conf file: >> >> exten => 222,1,AGI(agi://127.0.0.1/user/voice_entry) >> exten => 222,2,Hangup() >> >> 3) Run asterisk >> asterisk -vvvvvg >> >> 4) Run >> >> script/agi_server -e development >> >> >> I see: >> >> ** Signals ready. TERM => stop. USR2 => restart. INT => stop (no >> restart). >> [2007-05-23 17:04:44] INFO Telegraph::CallServer: default-handler= >> port=4573 >> [2007-05-23 17:04:44] INFO WEBrick 1.3.1 >> [2007-05-23 17:04:44] INFO ruby 1.8.5 (2006-08-25) [i686- >> darwin8.8.2] >> [2007-05-23 17:04:44] INFO WEBrick::GenericServer#start: pid=5241 >> port=4573 >> nil >> [2007-05-23 17:04:49] INFO >> >> >> >> Okay, so far so good. >> >> 5) Dial the number >> >> >> When I dial 222, I see the following on the terminal running >> agi_server: >> >> Processing UserController#voice_entry (for 0.0.0.0 at 2007-05-23 >> 17:04:49) [POST] >> [2007-05-23 17:04:49] INFO Session ID: >> fc04376fb563ff64e68b711c7d077609 >> [2007-05-23 17:04:49] INFO Parameters: {"action"=>"voice_entry", >> "controller"=>"UserController"} >> [2007-05-23 17:04:49] INFO Redirected to http://agi:84837/ >> [2007-05-23 17:04:49] INFO Completed in 0.00022 (4524 reqs/sec) | >> DB: 0.00000 (0%) | 302 Found [ http://agi/] >> >> I don't hear the digits - instead I immediately hear a busy signal. >> On the bright side, it does seem that the proper action is at least >> getting executed. >> >> I also enabled agi debugging on the asterisk console, and see the >> following whenever I dial 222: >> >> -- Executing AGI("SIP/fonefu01-0181d600", "agi://127.0.0.1/user/ >> voice_entry") in new stack >> -- AGI Script agi://127.0.0.1/user/voice_entry completed, >> returning 0 >> == Auto fallthrough, channel 'SIP/fonefu01-0181d600' status is >> 'UNKNOWN' >> >> >> Any ideas on what I'm doing wrong? By the way, two things I noticed >> about the site: >> >> 1) Section 2 of http://telegraph.rubyforge.org/wiki/wiki.pl?UsingAGI >> mentions a banking demo application, but I couldn't find it on the >> site. >> >> 2) http://telegraph.rubyforge.org/Getting%20Started.html - click the >> "AMI Events" link - it goes to livepage.apple.com . >> >> >> >> Thanks again for creating an alternative to RAGI. >> >> -Ajay >> _______________________________________________ >> Telegraph-users mailing list >> Telegraph-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/telegraph-users >> >> >> >> -- >> Jonathan Palley | Idapted Inc. >> jpalley at idapted.com > > Ajay Kapal > ---------------------------------- > email: ajay at fonefu.com > mobile: 408-455-4568 > > > > > > -- > Jonathan Palley | Idapted Inc. > jpalley at idapted.com Ajay Kapal ---------------------------------- email: ajay at fonefu.com mobile: 408-455-4568 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/telegraph-users/attachments/20070525/03bd8679/attachment.html From chichgu at gmail.com Fri May 25 08:15:40 2007 From: chichgu at gmail.com (Hoang-Anh Phan) Date: Fri, 25 May 2007 13:15:40 +0100 Subject: [Telegraph-users] banking_demo on a distant server Message-ID: Hi Telegraph is really an excellent idea. I think it's a good alternative to voicexml development, which was supposed to help web and telephony convergence, but is still way too expensive. I also had a look at RAGI some time ago but there's not much going on lately. There are of course some features to work on to make this as friendly as voicexml, such as playing audio files from another server or supporting more specific grammars or bargein behaviours. I'm not sure to which extend it would be possible with asterisk. I've installed the banking demo and it's working fine on the same box. I've also tried to install the rails app on a different server from asterisk, and when dialing in, asterisk can't connect to it. In the CLI, I get the following warning: WARNING[8885]: res_agi.c:205 launch_netscript: Connect to 'agi://192.168.0.5:4573/account/index' failed: Connection refused Do you have any idea why? Thanks for the hard work and I hope I can be of some help making this project move forward. Hoang-Anh -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/telegraph-users/attachments/20070525/4da9aa00/attachment.html From jpalley at gmail.com Fri May 25 13:11:31 2007 From: jpalley at gmail.com (Jonathan Palley) Date: Fri, 25 May 2007 10:11:31 -0700 Subject: [Telegraph-users] banking_demo on a distant server In-Reply-To: References: Message-ID: <2d8777c00705251011q2804e314sa8e2a2a1459a9337@mail.gmail.com> Hoang-Anh - Thanks for the email. I agree with your comments on voicexml and this is much of what Telegraph is trying to address. 1) There is no reason the Telegraph/Rails app and Asterisk can't be on separate boxes. My guess is maybe your firewall or iptables is blocking the connection? can you telnet from the asterisk box into the telegraph box using port 4573? b) Telegraph is a fresh extraction. Its got features we needed for our app, and hopefully a framework for more features, but as you use it to develop, I highly encourage you to develop and contribute back grammars or so on that you find useful. Or, bring up what you are trying to do on this list and we can hopefully engage the community in solving it. Best Jonathan On 5/25/07, Hoang-Anh Phan wrote: > > Hi > > Telegraph is really an excellent idea. I think it's a good alternative to > voicexml development, which was supposed to help web and telephony > convergence, but is still way too expensive. I also had a look at RAGI some > time ago but there's not much going on lately. There are of course some > features to work on to make this as friendly as voicexml, such as playing > audio files from another server or supporting more specific grammars or > bargein behaviours. I'm not sure to which extend it would be possible with > asterisk. > > I've installed the banking demo and it's working fine on the same box. > > I've also tried to install the rails app on a different server from > asterisk, and when dialing in, asterisk can't connect to it. > In the CLI, I get the following warning: > WARNING[8885]: res_agi.c:205 launch_netscript: Connect to > 'agi://192.168.0.5:4573/account/index' failed: Connection refused > > Do you have any idea why? > > Thanks for the hard work and I hope I can be of some help making this > project move forward. > > Hoang-Anh > > > > _______________________________________________ > Telegraph-users mailing list > Telegraph-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/telegraph-users > > -- Jonathan Palley | Idapted Inc. jpalley at idapted.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/telegraph-users/attachments/20070525/52faea1e/attachment.html From chichgu at gmail.com Wed May 30 10:28:38 2007 From: chichgu at gmail.com (Hoang-Anh Phan) Date: Wed, 30 May 2007 15:28:38 +0100 Subject: [Telegraph-users] banking_demo on a distant server In-Reply-To: <2d8777c00705251011q2804e314sa8e2a2a1459a9337@mail.gmail.com> References: <2d8777c00705251011q2804e314sa8e2a2a1459a9337@mail.gmail.com> Message-ID: Hi Jonathan 1) There is no reason the Telegraph/Rails app and Asterisk can't be on > separate boxes. My guess is maybe your firewall or iptables is blocking the > connection? can you telnet from the asterisk box into the telegraph box > using port 4573? I can't telnet on this port. However it doesn't seem like a port issue. I did the following test: - the rails app is on port 3010. I can telnet on port 3010. - I change the rails app to be on port 3011 and configure ragi to be on port 3010. I can't telnet on port 3010 anymore. Am I missing something trivial here? Any requirement on the non asterisk box? Has anyone tried this configuration? Hoang-Anh -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/telegraph-users/attachments/20070530/6d14222e/attachment-0001.html