Displaying 20 results from an estimated 20000 matches similar to: "Limit max calls & call duration"
2004 Dec 28
0
Two problems with the Perl AGI
Hi,
I have a * 1.0.3 running on a Gentoo box and I installed Perl AGi from
http://asterisk.gnuinter.net/files/asterisk-perl-0.08.tar.gz.
When I write this :
>#!/usr/bin/perl
>use Asterisk::AGI;
>my $AGI = new Asterisk::AGI;
>$AGI->exec ('Dial SIP/kphone1|30|tTr');
>my $duration = $AGI->get_variable('ANSWEREDTIME');
>print STDERR "\n duration :
2005 Oct 17
1
astcc missing to bill random calls?
Hello list,
I just came into a strange problem wth astcc. the trouble is astcc.agi does
not bill some calls. The calls are logged in the cdr-csv/Master.csv file,
but with a duration of 0, billsec of 0, an empty dstchannel, and with a
lastapp field of "hangup". I suppose that astcc.agi was not able to get the
answeredime variable from the SIP channel...
I have added a few functions to
2004 Dec 10
0
AGI Perl
Hello,
I'm writing a AGI Perl script and use the following lines to initiate a
call :
$res = $AGI->exec("DIAL $dialstr");
And then :
$answeredtime = $AGI->get_variable("ANSWEREDTIME");
The problem is that I need to know immediately when the call has begun.
I can have the call duration & establishment time at the end of the call
but not in real time when it
2003 Aug 13
3
h extension seems to wipe variables?
Hi.
I'm trying to do some custom call logging, and I want to call an AGI
script from a hangup handler to log call durations and things. Although
the script executes, it isn't retrieving variables from the AGI
interface. Looking closer, I realised the variables are actually getting
unset before the h extension is reached.
[foo]
s,1,SetVar,foo=bar
s,2,Play(audio/a-long-prompt)
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
2005 May 30
0
perl agi : get_variable problem
Hi,
I'm developping some AGI in perl (5.8.6) on i386
using Asterisk 1.0.5.
I want to get some variables such as DIALSTATUS and ANSWEREDTIME
after a $AGI->exec("Dial", "dial_string");
but here is what i get actually:
DIALSTATUS=
DIALEDTIME=ANSWER
ANSWEREDTIME=18
I searched the archives and saw that $AGI->verbose could mess
the access to variables, but I don't use
2007 Dec 08
0
Asterisk CDR Variable
Hi all,
I was coding for Callback application in Perl. I have small question to get the variable name of duration.
I seen in CDR table of mysql there is two filed one is duration and second is billsec the billsec value variable is $AGI->get_variable('ANSWEREDTIME') But could you guys tell me the variable name of "duration" field.
In this way i want to capture when the first
2014 Jan 08
2
Call duration limit ? Calls end after 15 minutes...
Hello,
I see the strange behaviour that outgoing calls end after 15 minutes.
I didn't knew there is some kind of call duration limit that can be set ?
Is there ?
Using Asterisk 1.8.12.2
Kind regards,
Jonas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2017 Jan 26
0
Icecast 2.4.0 max-listener-duration
Good afternoon,
On Thu, 2017-01-26 at 12:45 +1300, Ross Levis wrote:
> I?m using the KH edition of Icecast 2.4.0 but it may also related to
> the standard release.
Note that my answer is only valid for the official releases. I can not
make any statement for fork by third parties.
> I added the following to my config xml file but the file cannot be
> parsed is the error...
>
2017 Jan 25
2
Icecast 2.4.0 max-listener-duration
I'm using the KH edition of Icecast 2.4.0 but it may also related to the
standard release.
I added the following to my config xml file but the file cannot be parsed is
the error...
<mount type="default">
<max-listener-duration>28800</max-listener-duration>
</mount>
Any ideas of the problem?
Thanks.
-------------- next part --------------
2011 Jan 29
1
Can a duration limit be specified in spool call file?
Hi Everyone,
I don't see any parameter for limiting duration of a call in the .call file
for Asterisk spool outgoing directory.
I'd rather not use a MeetMe to drop the call in a conference room and to
then limit the call duration as that complicates things unnecessarily.
I am wondering if there is anything else I can do or if the "Channel"
parameter take call duration like the
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
2009 May 29
1
CAll-limit or incominglimit ?????
Good morning
How I use the described commands below to limit the number of simultaneous
calls saw voip providers that they can be effected and be received in the
trunk in the Freepbx?
I verified the commands incominglimit and call-limit as I can use asterisk
is version 1.4!
It would like to restrict for I number it to four of calls that can be used
in one trunk of a voip provider?
thanks.
2023 May 05
0
Calls running forever / CDRs inaccurate
Hi list!
Running Asterisk 20.0.0 on CentOS 7, logging CDRs using
cdr_adaptive_odbc to mariadb-server-5.5.68 (via
mariadb-connector-odbc-3.1.7-ga-rhel7)
Using chan_sip.
I'm facing the problem when there is a sudden spike of calls, some of
the calls that are being made during those spikes hang forever
basically. This looks like this:
[root at voip]# asterisk -rx 'core show channels
2007 Mar 21
2
Limit call duration
Hi everyone,
I'm new to Asterisk, but I like it ;o)
Have a question to you;
How can I limit the incoming call duration?
--
Suich
2006 Jan 08
0
DialPlan for Call Limit, Call Duration, And Group Call
Hello,
I'm interesting with asterisk, my plan is replacing our PBX office with
asterisk, now i've AAH and it's worked. Now i have a question, how can limit
the user to call international calling, linterlocal calling, and mobile
phone calling.
international calling started with = 00 in my country
national calling started with = 0
local calling = 7 digits without 0 first
and gsmphone
2011 Mar 05
2
Help Asterisk / API / Perl
Hi
i want use the API on my asterisk 1.6, but i have a small problems :
In extension, i start it :
exten => _X.,3,AGI(My-Script.agi)
The perl agi file are started without problems
but i want get into this script a lot of variable:
Type (SIP or IAX)
src (from cdr)
but that's don't work:
use Asterisk::AGI;
use lib "/var/lib/asterisk/agi-bin";
$AGI = new
2008 Mar 11
2
AGI - calling functions, CHANNEL STATUS broken?
Greetings,
I am writing an AGI script that needs to check on the idle/busy status
of a number of SIP peers (mostly SPA9xx phones, with a few Polycoms and
Snoms thrown in for fun).
Is it possible to call Asterisk functions (e.g. SIPPEER) from AGI
scripts? Based on my Googling, I would guess in the negative. I have
tried various permutations of Set() and Eval() without success.
I have also
2009 Apr 08
1
Perl AGI
Hi all,
I have the below peace of my AGI script...the problem here is that I cannot
fetch the extension value to inside the script and assign it to another
variable...I highlighted it in red
#!/usr/bin/perl
#use DBD::mysql;
use DBI;
use DBD::mysql;
use Asterisk::AGI;
############################
#To read asterisk variable values.
$AGI = new Asterisk::AGI;
my %input = $AGI->ReadParse();
2010 Nov 11
3
Limit Call Duration with L-option of Dial : announcement
Hello,
Limiting the call duration with the L-option of the Dial()-command is
working fine, however the announcement is not played.
Dialplan :
exten => _367,n,Set(LIMIT_PLAYAUDIO_CALLER=yes)
exten => _367,n,Dial(SIP/test6,,L(11000,5000,5000))
The call lasts for 11 seconds, but 5 minutes before time runs out an
announcement should come. I hear no announcement, not on caller-side nor
on