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:10 PM
To: and...@telesip.net; Asterisk Users Mailing List - Non-Commercial
Discussion
Subject: Re: [asterisk-users] URgent - capturing
...@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
Subject: Re: [asterisk-users] URgent - capturing 'answered'
If all you need to do is the the channel name of the channel that answered
the phone why are you doing so much work? Version 1.4 allows for an agi to
be called when the dial command is answered. Version 1.6+ allows an agi as
well as a macro
Hi!
Great, but how exactly do i find that channel - that is my question -
which command.
For the third time: Use the M option to Dial() and create a Macro. In
that macro use the SIPCHANINFO() or CHANNEL() function to get what you
want to get. No AGI (and AGI is a protocol while Ruby is a
-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jim Dickenson
Sent: Monday, July 26, 2010 7:50 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] URgent - capturing 'answered'
If all you need to do
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
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
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 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
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
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 is ringing
-- SIP/operator1-e77f
-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
It gives me headaches trying to use databases with Asterisk. That being
said, IMO the best answer to your query is to use the FORKCDR command so
that the call will be split into legs. When the operator answers the
call, that will be leg 1. When the call is transferred to the desired
party, that
- Non-Commercial Discussion
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
-- Zap/33-1
there's a variable
capturing who answered.
Zarko
*From:* asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] *On Behalf Of *Faisal
Hanif
*Sent:* Monday, July 26, 2010 12:57 PM
*To:* asterisk-users@lists.digium.com
*Subject:* Re: [asterisk-users] URgent
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.
I guess there is a error in ruby expression
: [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
Zarko Zivanovic wrote:
$my.query(UPDATE call_log SET local = #{loc}, endtime = NOW() WHERE id =
#{call_log_id})
You need to change *ALL* the # to $
Doug
--
Ben Franklin quote:
Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor
Hi!
Depending on the version of Asterisk you are running you can call a macro
or an agi as option to dial. These will be called when the line is
answered and you can find the channel name of who answered.
Do as he says, look at the M option to Dial.
Philipp
--
help!
-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto: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
-boun...@lists.digium.com
[mailto: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
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
-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Andres
Sent: Monday, July 26, 2010 6:47 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] URgent - capturing 'answered'
On 7/26/2010 12:27 PM, Zarko Zivanovic wrote
, 2010 6:47 PM
To: Asterisk Users 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}, endtime
On Mon, 26 Jul 2010, Andres wrote:
When I troubleshoot AGI scripts, I output stuff to text files for
debugging purposes. I suggest you output all your variables to a file
and then you will learn if the variables do have the info you need.
Something like: $message=/bin/echo my variables
On Mon, 26 Jul 2010, Zarko Zivanovic wrote:
I did try what you said, but it didnt create any files:
$message=/bin/echo my variables are '$loc', '$variable1', '$variable2'
/tmp/variables.txt;
system($message);
I'm just a c weenie, but that syntax would execute a command named
$message, not
28 matches
Mail list logo