Displaying 20 results from an estimated 100 matches similar to: "RAGI channel_status() never returnes"
2006 Feb 01
1
RAGI Gem - Running an additional server thread
I have RoR running and have configured RAGI (per the new tutorial
provided at ETel http://www.snapvine.com/code/ragi) but I get this:
---
user# script/server
=> Booting WEBrick...
[2006-01-30 14:20:25] INFO RAGI::CallServer: default-handler= port=4573
[2006-01-30 14:20:25] INFO WEBrick 1.3.1
[2006-01-30 14:20:25] INFO ruby 1.8.2 (2004-12-25) [i586-linux]
[2006-01-30 14:20:25] WARN TCPServer
2006 Aug 16
0
RAGI problems with new Rails update
Hi
Did you guys ever upgrade to the latest Rails security version? cause I
did, and now I''m having problems with RAGI. What did you do to remedy
this?
The following is copy and pasted after updating to the new Rails
security patch
and starting the server with Ragi configs inside the environment:
>>
C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:149:in
2008 Mar 11
2
AGI - calling functions, CHANNEL STATUS broken?
Greetings,
I am writing an AGI script that needs to check on the idle/busy status
of a number of SIP peers (mostly SPA9xx phones, with a few Polycoms and
Snoms thrown in for fun).
Is it possible to call Asterisk functions (e.g. SIPPEER) from AGI
scripts? Based on my Googling, I would guess in the negative. I have
tried various permutations of Set() and Eval() without success.
I have also
2006 Nov 12
0
Trixbox dialout problems
Hello All.
I am trying to use RAGI the ruby agi framework with trixbox. I am
having a problem
with the dialout part. The RAGI framework creates a file in the
/var/spool/asterisk/outgoing directory and routes the call to an
extension (I have listed the relevent portion of the file below). The
problem is that the initial dial command does not execute properly in
trixbox. I am hoping somebody who
2003 Oct 13
1
AGI solution to Grandstream BT102 call waiting problem
I'm trying to fix a problem with the GrandStream Budgetone 102. I've been reading the source code, mailing lists and other resources. Here's the scenario and the approach I have been pursuing. I'm having some problems with the AGI calls and I hope someone can give me some clarification.
PSTN <---> T1,PRI * <---> Grandstream BT 102 (12)
2007 Jan 31
1
how to get the status of failed call files
i am creating call files, and catching successfully the ones that don't
connect in a 'failed' extension. can anyone tell me how to find out the
reason for the failure (ie busy, no answer).
${DIALSTATUS} doesn't appear to get set (presumably because Dial() isn't
used) and channel_status doesn't seem to be any good.
thanks in advance.
--
- Rich Doughty
2007 Oct 13
2
AGI with System() ?
Uuugh..for the life of me, i cannot delete sound files using
"EXEC System(rm /var/lib/asterisk/sounds/blah.gsm)"
through AGI
the AGI debug log indicates the command executes successful ( equals 0)
but my files are clearly still there.
If i try System(rm ...) in my extensions.conf diaplan it'll work there.
Is there a bug in the AGI to use "System" ?
because i tried to
2003 Aug 21
7
AGI Channel Status
I'm having some trouble getting the channel status with an AGI script.
#!/usr/bin/perl
use Asterisk::AGI;
$AGI = new Asterisk::AGI;
my %input = $AGI->ReadParse();
$AGI->channel_status('Zap/1-1');
I am now stuck, and don't know how to get the return codes:
-1 There is no channel that matches the given <channelname>
0 Channel is down and available
1 Channel
2009 Aug 17
0
Call back DIALSTATUS is empty
Hi,
Here is my problem. I am trying to get the Status of the call if the user
picked up the phone or not. It is coming as empty. Please help.
Here is my extensions_additional.conf file code:
[multi-dir-callback]
include => multi-dir-callback-custom
exten => _X.,1,Answer
exten => _X.,n,Playback(beep)
exten =>
2010 Jan 11
1
MeetMe Conferencing - Announce your own join/leave to yourself and other conference members
Hi all,
I'm trying to get the MeetMe system to take a caller and announce to them they've joined the conference in addition to the other members of the conference assuming previous members of the conference >= 1.
I can see where the meetme.c app actually processes it using the ast_pthread_create_background(&conf->announcethread, NULL, announce_thread, conf); function. The
2008 Feb 04
8
AGI: Not getting answers from get_data in a call-file call
I have the following situation: I drop a call-file into the Asterisk
spool directory and I get called back. That all works.
And I have this script:
#!/usr/bin/perl -w
use Asterisk::AGI;
my $AGI = new Asterisk::AGI;
my %input = $AGI->ReadParse();
$AGI->answer();
my $i;
$i = $AGI->channel_status();
$AGI->say_digits($i);
$i =
2005 Aug 24
7
AGI + Ruby
I would like to write AGI script in Ruby
Would anybody please show me right direction..
Thanks
2005 Jul 26
0
AGI why oh why?
I have been learning AGI, and have got to grips with most of it, one thing
just confuses me.
I have written a PHP class that does input and outs stuff to the AGI. It all
seems to work. However on a stream file command. It's a bit different.
If I have a php file that just plays a file and hangs up, the dial and hang
up are in the dialplan, so the php proggie looks alittle like this.
2005 Sep 11
1
ruby-agi 0.0.2 released
Hello,
I have released Ruby Asterisk Gateway Interface (ruby-agi) v0.0.2b.
Any feedback, bug report, suggession, feature request is most welcome.
ruby-agi homepage:
http://www.rubyforge.org/projects/ruby-agi/
Download ruby-agi v0.0.2b here:
http://rubyforge.org/frs/download.php/5965/ruby-agi_v0.0.2b.tgz
Thanks,
Mohammad Khan
2006 May 11
1
Audio recording through Rails App > Web Server
Hey all,
There are a couple posts about the possibility of using Red 5 to record
audio through a user''s mic to the server, through RoR apps. I wonder:
besides Odeo (I think they''ve developed an in-house app?) are there any
examples and/or demos of this being done?
Or, are there any reasonable java sources that actually *do* work to
take mic input from a user''s machine,
2008 Feb 10
2
Mongrel in development mode not reloading classes
Hi there,
Even though I am running Mongrel in development mode, I have to
manually restart Mongrel to load any changes that I have made to
controller or model code.
This is the output when I start Mongrel:
$ script/server start
./script/../config/boot.rb:29:Warning: require_gem is obsolete. Use
gem instead.
=> Booting Mongrel (use ''script/server webrick'' to force WEBrick)
2006 Mar 10
2
Action after _caller_ has hungup(cmd Dial 'g'-option)
Hello!
There's the "g"-option for the Dial-cmd that allows to execute the next
extensions in the current context when the callee hangs up.
I would need the same for a call where the caller hangs up, concretely
i have to inform a agi-application of the end of a call. Does someone
know a way to do this from the dialplan?
thanks
Christian
2006 Mar 03
2
voice recording with ruby/ rails
hi all
whats there in store of ruby/rails to support voice recording feature ?
thanks
rohit
---------------------------------
Yahoo! Mail
Use Photomail to share photos without annoying attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060303/44230a4b/attachment.html
2005 May 25
15
PHP/AGI Problem
Hi
I am currently developing a IVR application using
PHP/AGI. I am using the PHPAGI class at
http://phpagi.sourceforge.net/ to handle the
commuication with my *.
The application basically asks a caller to enter in
some information which is then processed and a answer
is read back out to them. I want the application to
loop back to the beginning after giving the answer so
they can try another
2005 Dec 22
5
.Net Developer wants to volunteer at RoR project
Hi,
having read "my job went to india" I decided to quit programming within
the Microsoft environment and start something different...
So, is there any RubyOnRails project that in exchange for "reviving" me
needs a loyal (code) contributor?
Thanks in advance
Michael
--
Posted via http://www.ruby-forum.com/.