Displaying 20 results from an estimated 3000 matches similar to: "astcc timestamps"
2005 Jul 23
2
ASTCC gives me only the time, but no cost
I try to track down an error that causes that Astcc just reports the time, but not the costs.
I could narrow the problem down into this sub routine:
sub calccost() {
my ($adjconn, $adjcost, $answeredtime, $increment) = @_;
eval { my $adjtime = int(($answeredtime + $increment - 1) / $increment) * $increment };
my $cost;
print STDERR "Adjusted time is $adjtime, cost is $adjcost with
2005 Jun 07
2
ASTCC what has been changed
What has been changed at the ASTCC from the previous head to the current
one?
How to use the PIN? Can I avoid it?
bye
Ronald
2005 Sep 28
3
ASTCC - INUSE Flag
I download and installed ASTCC over the weekend and I am having an issue where the INUSE flag will not get set back to 0 if the user drops a call while the balance is being played. All other times it seems to reset the flag correctly.
I have tried both AGI and DeadAGI with the same results.
Those of you using it for a while, how did you get around this?
Just for fun this is all I am doing in
2004 Dec 08
1
ASTCC MySQL CDR
I can?t see cdrs for calls completed with astcc app, this is the log
in asterisk console:
DBD::mysql::db do failed: Unknown column 'callstart' in 'field list'
at /var/lib/asterisk/agi-bin/astcc.agi line 90, <STDIN> line 31.
-- AGI Script astcc.agi completed, returning 0
cdrs table exist but I am not sure why is empty and why was not
created properly, any idea?
--
2005 Oct 07
1
ASTCC -- semantic note of 'callstart' in cdrs?
Looking at the code, it would appear that the 'callstart' column of the cdrs table should really be
called 'callend':
$dialstr = "IAX2/$res->{path}/$phone|30|HL(" . ($maxtime * 60 * 1000) .
":60000:30000)";
$res = $AGI->exec("DIAL $dialstr");
$answeredtime =
2005 Jul 20
1
where i put the astcc config? In the extensions.conf or in the astcc-exten.conf?
Hi,
alhtough i googled for details concerning ASTCC i did not found an aswer to
the following:
Should i put in my extensions.conf the configuration of the astcc? I ask
this because as i see it, in the end of the extensions.conf there is an
include statement :
#include /var/lib/astcc/astcc-exten.conf
Should the config been done in the astcc-exten.conf file or the initial
extensions.conf
2005 May 13
1
ASTCC Compilation Error
Hi,
When trying to compile ASTCC i am getting the following error:
root@asthome:/usr/src/astcc# make install
mkdir -p /var/www
mkdir -p /var/www/html/_astcc
mkdir -p /var/www/cgi-bin/astcc-admin
chmod 755 ./astcc.agi
chmod 755 ./astcc-admin.cgi
echo | ./astcc.agi >/dev/null
Can't locate Asterisk/AGI.pm in @INC (@INC
contains: /usr/lib/perl5/5.8.6/i486-linux /usr/lib/perl5/5.8.6
2005 Jul 09
2
Modifying astcc
Hi:
Astcc is working fine, except for one thing. It
doesn't give the called party enough time to answer
the phone. If nobody picks up in two rings, astcc
reports back no answer and hangs-up. The only instant
NOANSWER "value" was mentioned in astcc.agi script is:
elsif ($res eq "NOANSWER") {
$res =
&mystreamfile("astcc-noanswer");
2005 Jan 05
1
ASTCC Compiling Problem
I have this error compiling ASTCC:
[root@pbx astcc]# make install
mkdir -p /var/www
mkdir -p /var/www/html/_astcc
mkdir -p /var/www/cgi-bin/astcc-admin
chmod 755 ./astcc.agi
chmod 755 ./astcc-admin.cgi
echo | ./astcc.agi >/dev/null
Can't locate DBI.pm in @INC (@INC contains:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
2005 Jan 29
3
How to use ASTCC with SIP ??
Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 5870 bytes
Desc: image002.jpg
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050129/e53b0567/attachment.jpeg
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
2005 Jun 17
2
ASTCC Rate Calculation
Good Day
Has anybody here looked closely at the call cost calculation in ASTCC?
Can you duplicate the way the cost of a call is calculated? I believe
that there is an error in the code. I have fixed it, I think and
submitted a patch but we need user comments. I would appreciate if
anybody involved would slip over to chech out this link on the
bugtracker and provide feedback.
2005 Aug 16
3
ASTCC astcc-config.conf card length question
I currently have my astcc databases card lenghts at 7 digits long. I
would like to expand this to 10 digits now though. Will I screw things
up if I leave the old 7 digit long pins in there and start
using/generating 10 digit pins?
Thanks
2005 Sep 09
1
ASTCC speaks and cut RTP channel
Hi list.
I have a fine running Ser+Asterisk environment and have just installed
ASTCC. It?s working fine either, including its caller-id authentication
feature (the one we pass the card-number as CALLERID variable and
number-to-dial as EXTEN variable).
The issue, a great one, is that when the credit is about one minute to
end, the ASTCC prompt gets into the call, says that "you have one
2004 Dec 01
14
ASTCC configuration problem
hi
Today I?ve installed, apache 2.0.52, mysql-4.1.7, asterisk-perl-0.08
and ASTCC prepaid card aplication from CVS, so now I have access to
the astcc-admin.cgi from web server
http://asterisk/cgi-bin/astcc-admin/astcc-admin.cgi and I?ve been able
to create the database from "Configure" menu but I have some doubts to
continue:
- Do I have to reinstall asterisk with mysql support?
-
2004 Dec 28
1
ASTCC Expiration
How do you set the expiration date in ASTCC? DO you have to customize the CGI
script? A maintenance fee field would be nice as well. Anybody?
--
Kelly D Griffin
Network Engineer
Tantella Wireless
http://tantella.com
479.273.9992 Voice
479.464.8998 Fax
2005 Jan 11
2
ASTCC - error on call end
Hi
I get an error popping up when the call ends as follows:
DBD::mysql::db do failed: Unknown column 'callstart' in 'field list' at
/var/lib/asterisk/agi-bin/astcc.agi line 90, <STDIN> line 32.
Does anyone else get this same thing?
Looks as if my database table is wrong, or something else is
up...not sure
Thanks
Clive
2006 Apr 26
3
astcc: need partial pin code
I have not used astcc with pin codes so far, since I set-up the phone
number as card number.
Some of my users want now to dial in to the system and than use their
card, which is their phone number.
For that I would need a way of authentication, like a pin.
I want to use something like:
What is your card number: <user keys in the number>
Enter your pin: <user enter a long pin>
2006 Apr 02
1
ASTCC: How to reset "in-use" flag automatically ?
I have some troubles with ASTCC. TOOOOO often the "in-use" flag remains set.
I would like to find a solution, where astcc.agi checks automatically if
THIS user is in a call rather than to check the flag.
If that is not possible, I would like to have an extension to dial to,
and it will after hang up, reset the flag!
The in-use flag remains set, if the caller hang up before the
2006 Apr 17
1
astcc and inwards billing
I (cannot sleep and I) am thinking if there is a way to make inwards
billing easy possible.
To dial out we use something like:
exten =>
_9011N.,4,DeadAGI(astcc.agi,${CALLERID(num)},${EXTEN:${TRUNKMSD}},${TARIFF})
(I have an extra field TARIFF, what allows me to use different prices
for different users)
To dial to a phone we use something like:
exten => 888888888,1,Dial(SIP/6001,20,tr)