Displaying 20 results from an estimated 400 matches similar to: "Answered time on channel"
2017 Dec 27
3
Answered time on channel
It seems that what ever I set in my answer handler does not show up in the
hangup handler. In order to do billing I can't rely on the g option where
the caller hangs up the call. Looks like I can either use h or a hangup
handler along with the shared function.
On Tue, Dec 26, 2017 at 4:40 PM, Eric Wieling <ewieling at nyigc.com> wrote:
> Don't use an 'h' extension, use
2008 Aug 21
3
After Dial execution, using DIALEDTIME, ANSWEREDTIME
Hi,
I noticed that when dial terminates it does not return to the dialplan,
and therefore can not execute any entry after Dial().
Is there any trick to overcome this limitation ?
How I am supposed to handle the returned vales DIALEDTIME, ANSWEREDTIME if
I can not execute anything after Dial()?
I made a workaround with DeadAGI (below) but it is unreliable: if 2 calls
end
2006 Jun 20
1
AGI: Dial and Recording my own CDR
Hi folks --
I have a FastAGI Perl script running, handling calls. It works great.
At one point I have a Dial() command. If the called party hangs up, Dial()
returns 0, and when I call my own recordCdr() function using the channel
variables ANSWEREDTIME, DIALEDTIME and DIALSTATUS, everything is fine.
However, if the called party picks up, and then the dialing party hangs up
Dial() returns -1,
2009 Feb 18
1
Accumulated call time
Hi All,
Asterisk 1.4.12 CentOS 5
My ISP account includes nearly 500 minutes of VOIP calls per month but
the service is expensive for unbundled minutes. So I'm trying to find
a way to keep an accumulated total of calls made through that trunk so
that I can automatically switch to a lower-cost provider when my
bundled minutes are used. The plan is to store the accumulated time in
AstDB and
2010 Jun 08
3
Limit total length of calls to a specifig SIP peer
Hi,
I'm currently using a cheap SIP provider for outbound calls.
I do have 6 channels to them.
In their terms of service there is the following limit:
The total duration of calls during one single day should not exceed 24
hours or we do have the right to terminate the contract...blah blah
What is the best way to use this provider as long as we are below let's
say 22h in a single day
2015 Feb 22
2
dialplan contexts syntax and terminology
I'm looking into the dialplan specifics:
tleilax:~ #
tleilax:~ # cat /etc/asterisk/extensions.conf
[general]
static=yes
writeprotect=no
[globals]
CONSOLE=Console/dsp ; Console interface for
demo
TRUNK=DAHDI/r1 ; Trunk interface
TRUNKX=DAHDI/r2 ; 2nd trunk interface
TRUNKIAX=IAX2/ASTtest1:test at 10.10.10.16:4569 ; IAX trunk
2006 May 30
1
Asterisk::AGI and DIALEDTIME
Hi List,
In one of my AGIs (using DeadAGI) I grab the answered time using:
my $res = $agi->exec ("DIAL $dialstring");
my $answeredtime = $agi->get_variable ("ANSWEREDTIME");
However this information differs from what's written in the Master.csv
file (which happens to be the correct value!)
Any ideas why?
I'm using asterisk 1.2.7.1 and the
2012 Aug 22
1
recording calls
I am trying to record calls on demand both inbound and outbound calls. I can record outbound calls just fine but not inbound calls or calls from an internally between extensions. I am using the latest asterisk 1.8.x certified version.
On an outbound call I see:
== Using SIP RTP CoS mark 5
-- Called SIP/ BVTrunk /7190000000
-- SIP/BVTrunk-00000163 is making progress passing it to
2004 Aug 25
2
spandsp and certain (e.g. Canon) fax machines
Hi,
Several people have reported problems sending faxes from spandsp-0.0.1k
to Canon FAX machines. A spandsp user had the same problem with another
make of FAX machine, and traced the problem to a bug in the file t30.c
of spandsp. Line 542 says s->t4.rx_file[0] where it should say
s->t4.tx_file[0]. This fixes his problem, and I suspect it will also fix
the Canon fax machine problem.
2009 Dec 15
2
member (In use)
Hello list.
We just upgraded to 1.6.1.11.
We are using real time information stored on mysql databases. That is all
running fine.
Now, since we upgraded, some member don't get calls from queues.
In CLI: "queue show" shows something like:
611 (Local/611 at agents) with penalty 20 (realtime) (*In use*) has taken no
calls yet
We use the extension 611 in different computers, in the
2012 Aug 01
2
Problem with callfile and CDR
Good afternoon list.
I am experiencing a problem with the CDR and callfiles. What is happening
is this: When generating a call with a callfile, everything works
perfectly, but the CDR is recorded in the table when they answer the call
destination. The field disposition is being recorded correctly, but the
duration field is marked with the ring time and billsec is marked with 0.
This just happens
2018 Jun 09
2
getting real sip status after dial
I think HANGUPCAUSE is channel agnostic.
See: core show function HANGUPCAUSE
Some thing like this IIRC:
Set(my_cause=${HANGUPCAUSE(${CHANNEL(name)},tech)})
Remember the incoming leg of the call and the outgoing leg of the call
are different channels. Make sure you are giving HANGUPCAUSE the
correct channel.
On 06/09/2018 02:01 PM, Khalil Khamlichi wrote:
> It seems very weird to me
2009 Feb 21
2
DIAL() application 'g' option
Hi All,
Asterisk 1.4.12 on CentOS 5
I'm trying to increment an AstDB key with the length of the last
outgoing call. Here's what I've got for "01" UK geographical numbers:
exten => _01.,1,Dial(${UKGeographical}/${EXTEN},,g)
exten => _01.,n,Log(NOTICE,Call to ${EXTEN} lasted ${DIALEDTIME})
exten => _01.,n,Set(CALLTIME=${DIALEDTIME})
exten =>
2011 Aug 18
2
Asterisk 1.8 SIP_CAUSE performance regression
Greetings,
Recently a performance regression in chan_sip was discovered in Asterisk
1.8. The regression is caused by chan_sip setting
MASTER_CHANNEL(HASH(SIP_CAUSE,<chan name>)) after each response received
on a channel. That feature has been made optional in the latest 1.8 SVN
code, but is currently still enabled by default. After some internal
discussion, we decided to consider disabling
2006 Nov 22
1
DTMF detection during Call
Hi
I have calls comming from a SIP-ATA-Box via Asterisk to PSTN Phones by
outbound SIP.
Now i want to detect DTMF-Tone Code coming from the called party to
trigger a signal.
Can this be done with asterisk? I read that the codec with DTMF
detection are ulaw and alaw. But i couldn't find a command to detect
dtmf's within a normal call.
thanks and mani greetings
Christian
2011 Sep 07
4
(no subject)
Hi team,
I am trying to find solution to hangup b-party call after 1 min with out disconnecting the call of a-party but following dial plan which is disconnect both the calls.
Please suggest me the solution.
[TB]
exten => _X.,1,Wait(${INCOMING_WAIT})
exten =>_X.,2,Verbose(TB)
exten =>_X.,3,Answer()
exten => _X.,4,Set(mainLoop=0)
exten =>
2010 Apr 06
2
polarity reverse
Hi,
I have a problem with polarity reverse
this my dahdi config
[channels]
context=default
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
2006 Dec 15
2
Trying to forward calls by using the Callee's context as the forward dial context
I'm simply trying to forward calls to users who have the call forwarding
feature enabled (FWD Status and FWD Ph Number kept in the astDB). The
problem is that I want users to be able to forward calls to numbers that
they would normally be allowed to dial within their own context. (I
don't want a local call only person forwarding to a long dist number,
for example.) I'm able to
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
2005 Jul 11
1
ASterisk@home + Broadvoice = Almost working installation...
Hello Guys,
I'm somewhat of a newbie and am desperately seeking for some help...
I've managed to get asterisk up and running on my server, and signed up with a
broadvoice account...
I'm having no problem dialing and communicating between extensions, but whenever
anyone tries to call my broadvoice account, they are greeted by no ring or
anything, but rather simply a direct to