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
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
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/14-1
please let me know.
On Wed, Jul 28, 2010 at 2:02 PM, Zarko Zivanovic outlaw...@gmail.comwrote:
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 about the channel that picked up
the call
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
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
. ${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, at 7:21 AM, Zarko Zivanovic wrote:
Here's something that should be easy for RUBY pro's.
Here is a script
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.
As a matter of fact I cant wait to test
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
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
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',
...@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 'answered'
On Mon, 26 Jul 2010, Zarko Zivanovic wrote:
I did try what you said, but it didnt create any
] 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:40 PM, Zarko Zivanovic wrote:
Hi Andres,
I did try what you said, but it didnt create any files:
$message
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/
On Jul 26, 2010, at 10:40 AM, Zarko Zivanovic wrote:
Hi Andres,
I did try what you said
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 - that is my question
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')
-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
[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 (perhaps irrelevant); Out of the thousands/millions of Asterisk
...@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 (perhaps irrelevant); Out
://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 script:
1.times do
r = $agi.exec('DIAL',
SIP/voipuserZap/32Zap/33Zap/34Zap/35
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
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
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 quick help on how
-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
-- Zap/33-1 is ringing
-- Zap/34-1 is ringing
-- Zap/35-1
: [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()
WHERE id = #{call_log_id})
And it does write nothing to the database
] 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 tried:
$my.query(UPDATE call_log SET
Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] URgent - capturing 'answered'
On 26 July 2010 17:27, Zarko Zivanovic outlaw...@gmail.com wrote:
I tried this:
loc = $agi.get_variable('EXTEN')
$my.query(UPDATE call_log SET local = #{loc}, endtime = NOW() WHERE id
-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}, endtime = NOW() WHERE id =
#{call_log_id})
When I troubleshoot AGI scripts, I output stuff to text files
29 matches
Mail list logo