...@lists.digium.com] *On Behalf Of *Danny Nicholas
*Sent:* Tuesday, July 27, 2010 6:32 PM
*To:* 'Asterisk Users Mailing List - Non-Commercial Discussion'
*Subject:* Re: [asterisk-users] Urgent help = RUBY AGI
*From:* asterisk-users-boun...@lists.digium.com [mailto:
asterisk-users-boun...@lists.digium.com
Strictly a shot in the dark, but have you tried
$loc=$agi.get_variable('CHANNEL') ?
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every
- Non-Commercial Discussion'
Subject: Re: [asterisk-users] Urgent help = RUBY AGI
Strictly a shot in the dark, but have you tried
$loc=$agi.get_variable('CHANNEL') ?
__ Information from ESET NOD32 Antivirus, version of virus signature
database 5323 (20100729) __
The message
I can't even spell RUBY, so I don't have a clue as to how the AGI works. I
do know a little bit about AGI in general. The way I typically run my AGI's
is something like this:
exten = 933,1,Answer
exten = 933,n,Set(ABA=02107)
exten = 933,n,Set(city=Birmingham)
exten = 933,n,Set(state=AL)
That looks easy. I must say that I am very frustrated as this has took my
all week, and beside dumpling that data via macro I wasnt able to
use that data in the ruby script that we have. I didnt write the script is
something old that we use but i was sure we could add few things in that
very
On Thu, 29 Jul 2010, Danny Nicholas wrote:
I’m a PERL weenie, so I can “shell check” my agi’s by going to
/var/lib/asterisk/agi-bin and doing
./cityweather.agi 02107 Birmingham AL 35244 en
And getting back a STDOUT output that simulates what I should get from
the CLI output.
You can
Do you just have one agi you are running? If so that will not work. Your one
agi is hung on the dial step until it finishes at which time the agi will go
away, I think. You need the one agi to cause the dial to occur and another one
to capture the information when the macro runs. You can try
!
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jim Dickenson
Sent: Tuesday, July 27, 2010 5:31 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Urgent help = RUBY AGI
I have never used 1.2.9.1
: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jim Dickenson
Sent: Tuesday, July 27, 2010 6:35 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Urgent help = RUBY AGI
You can put multiple options
Sent: Tuesday, July 27, 2010 6:32 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Urgent help = RUBY AGI
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Zarko
Zivanovic
Subject: Re
Here's something that should be easy for RUBY pro's.
Here is a script:
1.times do
r = $agi.exec('DIAL',
SIP/voipuserZap/32Zap/33Zap/34Zap/35)
r = $agi.get_variable('DIALSTATUS')
- Zarko Zivanovic outlaw...@gmail.com wrote:
Here’s something that should be easy for RUBY pro’s.
Here's something that would be infinitely easier:
You could understand that this list isn't your personal technical support
resource where you can delegate how urgent or not your
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Tim Nelson
Subject: Re: [asterisk-users] Urgent help = RUBY AGI
- Zarko Zivanovic outlaw...@gmail.com wrote:
Here's something that should be easy for RUBY pro's.
My .02
On 07/27/2010 09:38 AM, Danny Nicholas wrote:
*From:* asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] *On Behalf Of *Tim Nelson
*Subject:* Re: [asterisk-users] Urgent help = RUBY AGI
- Zarko Zivanovic outlaw...@gmail.com wrote:
Here’s
-boun...@lists.digium.com] On Behalf Of Tim Nelson
Sent: Tuesday, July 27, 2010 4:30 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Urgent help = RUBY AGI
- Zarko Zivanovic outlaw...@gmail.com wrote:
Here’s something that should be easy
...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny Nicholas
Sent: Tuesday, July 27, 2010 4:38 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Urgent help = RUBY AGI
From: asterisk-users-boun...@lists.digium.com
...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Kevin P.
Fleming
Sent: Tuesday, July 27, 2010 4:42 PM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] Urgent help = RUBY AGI
On 07/27/2010 09:38 AM, Danny Nicholas wrote:
*From:* asterisk-users-boun
Hi,
I missed the beginning of this thread but you or anyone else looking
for help with Ruby + Asterisk should contact Jason Goecke (@jsgoecke
on Twitter or if you don't do Twitter you can look for contact info
there http://twitter.com/gsgoecke).
Jason probably knows as much about that world as
I have never used 1.2.9.1 or anything in the 1.2.x range so I can not give you
an exact solution but I can tell you that the script that you are using will
not work. In the dial command you need to add the M option which will call a
macro when the call is connected. In that macro you can then
Jim thanks.
I will test this first thing in the morning as I am out of the office now.
As a matter of fact I cant wait to test this, as it has been the first
reasonable thing that looks like it could work.
In the meantime , do you happen to know if there is a way to call both macro
(M) and music
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Zarko
Zivanovic
Subject: Re: [asterisk-users] Urgent help = RUBY AGI
snip
In the meantime , do you happen to know if there is a way to call both macro
(M) and music on hold (m
You can put multiple options in the dial command if that is what you are asking.
And by the way several emails, including a previous one of mine, told you to
use the M option and a macro.
In this email I gave you more detailed information but if you had done core
show application dial on CLI
On Tue, 27 Jul 2010, Jim Dickenson wrote:
In this email I gave you more detailed information but if you had done
core show application dial on CLI you should have been able to ask
more directed questions.
Maybe RTFHT* should have been the first response :)
*) Read The Frick'n Help Text
--
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Steve Edwards
Subject: Re: [asterisk-users] Urgent help = RUBY AGI
Maybe RTFHT* should have been the first response :)
*) Read The Frick'n Help Text
Don't know about the Ruby part
24 matches
Mail list logo