Hello everyone,
I am sure that someone can help with this. We decided to do a fresh install
of asterisk 1.6.2.19
And after we did that, the problem that we have is this - We cant run a
single Php file!
Here's the output:
-- Executing [8212@from-pstn:1] Answer("DAHDI/23-1", "") in new
Hello,
We have 2 grandstream GX 2000 phones behind NAT and Asterisk outside this
natted network.
We have the issue with calls to these SIP phones - no audio.
It is probably the problem with port forwarding on router - but I am not
sure how can I forward same sip ports (5004 to 5100) to two
Hello,
I would need a little help about using 16 bit wav or mp3 files for moh on
asterisk 1.2.x
When i try to use these files as moh, the caller gets disconnected.
Please advise.
Regards,
Z. Zivanovic
--
_
-- Bandwidth an
I am trying this approach to see who picked the line:
Here is what i am doing:
EXEC DIAL SIP/ vaso &Zap/35||M(testing^30086)
Macro:
[macro-testing]
exten => s,1,DumpChan()
exten => s,2,AGI(whopicked.rb)
exten => s,3,Hangup()
>From console:
-- SIP/ vaso -e26c answered Zap/
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 script
Danny hi, I just did:
$loc=$agi.get_variable('CHANNEL')
$my.query("UPDATE call_log SET local = #{$loc},
endtime = NOW() WHERE id = #{call_log_id}")
No success - what happens is that it breaks somewhere and neither local nor
endtime gets updated.
If i
please let me know.
On Wed, Jul 28, 2010 at 2:02 PM, Zarko Zivanovic wrote:
> Works like charm Danny,
>
>
>
> Tested and works fine.
>
>
>
> I sent this to Jim, but this is something you could know:
>
>
>
> I managed to start a macro and get info abou
ts.digium.com
[mailto:asterisk-users-boun...@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.digiu
Thanks to help from Jim Dickenson I managed to start a macro and get info
about the channel that picked up the call from my ruby script.
The only thing that I cant do so far, is capturing the ${CHANNEL} variable
in the ruby script that started the macro.
Is that variable accessible from the
n CLI you should have been able to ask more directed
questions.
--
Jim Dickenson
mailto:dicken...@cfmc.com
CfMC
http://www.cfmc.com/
On Jul 27, 2010, at 9:28 AM, Zarko Zivanovic wrote:
Jim thanks.
I will test this first thing in the morning as I am out of the office now.
You will see that this macro runs when the call is answered and you will see
on the CLI all the variables that are available to you. ${CHANNEL} will have
SIP/ voipuser-e989 in your example below.
--
Jim Dickenson
mailto:dicken...@cfmc.com
CfMC
http://www.cfmc.com/
On Jul 27, 2010,
oipuser-e989 in your example below.
> --
> Jim Dickenson
> mailto:dicken...@cfmc.com
>
> CfMC
> http://www.cfmc.com/
>
>
>
> On Jul 27, 2010, at 7:21 AM, Zarko Zivanovic wrote:
>
> Here’s something that should be easy for RUBY pro’s.
>
> Here is a sc
rs-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" wrote:
>>
>
>>Here's something that should be easy for
sts.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Tim Nelson
Subject: Re: [asterisk-users] Urgent help = RUBY & AGI
- "Zarko Zivanovic" wrote:
>
>Here's something that should be easy for RUBY pro's.
My .02 (perhaps irrelevant); Out of the t
-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" wrote:
>
>Here’s something that should be
Here's something that should be easy for RUBY pro's.
Here is a script:
1.times do
r = $agi.exec('DIAL',
SIP/voipuser&Zap/32&Zap/33&Zap/34&Zap/35)
r = $agi.get_variable('DIALSTATUS')
ssion
Subject: Re: [asterisk-users] URgent - capturing 'answered'
Which version of Asterisk are you running?
--
Jim Dickenson
mailto:dicken...@cfmc.com
CfMC
http://www.cfmc.com/
On Jul 27, 2010, at 2:19 AM, Zarko Zivanovic wrote:
> Great, but how exactly do i find that channel - t
s for an agi to
be called when the dial command is answered. Version 1.6+ allows an agi as
well as a macro to be called. You can find the channel that answered a multi
channel dial command. Is this not what you wanted to know?
--
Jim Dickenson
mailto:dicken...@cfmc.com
CfMC
http://www.cfmc.com
nal Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Andres
Sent: Monday, July 26, 2010 8:09 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] URgent - capturing 'answered'
On 7/26/2010 1:4
Thats great,
However I need to find a solution to this very problem, not able to code
something from scratch.
Even this:
# Create a new file and write to it
File.open('log.txt', 'w') do |f2|
# use "\n" for two lines of text
f2.puts "Created by Satish\nThank God!\n my variables are '$loc',
'$a
-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Steve Edwards
Sent: Monday, July 26, 2010 8:16 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] URgent - capturing '
ers Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] URgent - capturing 'answered'
On 7/26/2010 12:27 PM, Zarko Zivanovic wrote:
> I tried this:
>
>
>
> loc = $agi.get_variable('EXTEN')
>
> $my.query("UPDATE call_log SET local = #{loc},
$my.query("UPDATE call_log SET local = #{loc},
endtime = NOW() WHERE id = #{call_log_id}")
raise 'Ne mogu da se ispisem iz call_log-a:
call_log_id = #{call_log_id}' if $my.affected_rows() != 1
end
nil
:asterisk-users-boun...@lists.digium.com] On Behalf Of Leif Madsen
Sent: Monday, July 26, 2010 3:44 PM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] URgent - capturing 'answered'
On 10-07-26 08:10 AM, Zarko Zivanovic wrote:
> Hello Steve and thanks for your answer,
> However I t
ts.digium.com
Subject: Re: [asterisk-users] URgent - capturing 'answered'
On 10-07-26 08:10 AM, Zarko Zivanovic wrote:
> Hello Steve and thanks for your answer,
> However I tried:
>
> $my.query("UPDATE call_log SET local='#{CDR(dstchannel)}', endtime = NOW()
>
scussion
Subject: Re: [asterisk-users] URgent - capturing 'answered'
> On 7/26/2010 3:41 PM, Zarko Zivanovic wrote:
>
> Hello everyone.
>
> I need a quick help on how to capture who answered the call with agi.
>
> Here is an example:
>
> -- Zap/32-1 is ringing
isal Hanif
Sent: Monday, July 26, 2010 12:57 PM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] URgent - capturing 'answered'
You need to do it by manager interface
Regards,
Faisal Hanif
On 7/26/2010 3:41 PM, Zarko Zivanovic wrote:
Hello everyone.
I need a
Hello everyone.
I need a quick help on how to capture who answered the call with agi.
Here is an example:
-- Zap/32-1 is ringing
-- Zap/33-1 is ringing
-- Zap/34-1 is ringing
-- Zap/35-1 is ringing
-- SIP/operator1-e77f answered Zap/23-1
So how can I capture t
Hello,
I've been looking for this on voip-info and this list threads, and I am
guessing I am not looking right.
What I need is the way to capture (and write to DB) the information on who
'picked' or 'received' the incoming call.
Here is the example of .rb file that is called from extension
29 matches
Mail list logo