Displaying 20 results from an estimated 1000 matches similar to: "ASTCC: How to reset "in-use" flag automatically ?"
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
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>
2005 Mar 21
1
ASTCC: perl / mysql or me???
I try to change something in ASTCC, but I am now totally blind, ....
I hang on one line now. I changed:
vpbx:/var/lib/asterisk/agi-bin # diff astcc-original.agi astcc.agi
22c22
< # exten => _00XXXXXXXXX,1,DeadAGI(astcc.agi,${CALLERIDNUM},${EXTEN})
---
> # exten =>
_00XXXXXXXXX,1,DeadAGI(astcc.agi,${CALLERIDNUM},${TARIFF},${EXTEN})
35c35
< # exten =>
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
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)
2006 Jun 24
5
ASTCC: How to reset periodically all "card in use" flag back?
If a user calls and hangs up before the destination party rings, than
the in-use flag remains set! This is one case, but maybe there are many
other cases.
I have created a number the user can dial to reset this flag. However,
that is written in the manual!!! Who reads a manual anyway!!!!
I want to make to reset all in use flag with a program. Has anybody done
it, or has a better idea?
My idea
2005 Oct 06
1
Fwd: ASTCC - INUSE Flag
Hi all. Just to update list and increase the "souls-save" database.
The patch solved the problem. Now I have an asterisk-1.2.0-beta1 with
asterisk-perl-0.08 and mysql-server-3.23.58-16.FC2.1 machine working
fine with ASTCC and "inuse" flag.
The link of the patch is: http://bugs.digium.com/view.php?id=5400
Best regards to all you in the list.
Ricardo Poppi.
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
2006 Jan 12
3
Asterisk Prepaid Solution
Hi All,
Any solution on how I can implement prepaid billing on asterisk?
But not the calling card type, just a simple Custome rwill buy credit,
consume then buy again.
Also, is there a solution for that when you combine asterisk with ser?
Regards,
Ronald
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 Jun 22
2
ASTCC not making calls
Hi, im trying to setup ASTCC but I'm getting it difficult. I've
correctly set up the mysql database astcc and added a brand, trunk,
route and a card as follows:
brands
+------+----------+------+--------------+------+--------+------+------+
| name | language | inc | publishednum | did | markup | days | fee |
+------+----------+------+--------------+------+--------+------+------+
| FWD
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 26
2
ASTCC Trunks
Hi all
I have asked this question before but have not got any helping input.
I'm really new to this and need some explanation about ASTCC.
So here is the question again.
In the ASTCC web admin there are Trunks, Routes, IAXFriends, SIPFriends,
Brands, Cards.
As I understand Brands is not used, Cards just makes the cards. Routed
in the dialplan and pricelist, Trunks is for ASTCC to
2005 Jul 17
1
* CVS-HEAD and ASTCC Intermittent issue
Hie!
I've installed Asterisk CVS-HEAD with ASTCC.
The problem i'm facing is that the astcc.agi script completes when the
recipient picks up the call.
When the astcc.agi completes is returns 0 bill time but both end still
able to talk.
It occurs intermittently, any one facing the same issue?
Asterisk Console
-----------------
== Spawn extension (sip, 7777771111, 2) exited non-zero on
2008 Mar 01
7
ASTCC installation error install: invalid user `apache'
I am attempting a fresh install of ASTCC on Ubuntu. Getting install
invalid user as bellow. Has any one seen this? Can some one help out?
/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
Detected dry run!
./astcc-admin.cgi >/dev/null
DBI
2005 Jan 13
1
problems with astcc
hello *'s,
Astcc not workin what is correct format for defining
1-database
2-brands
3-trunks
4-routes
i define all these things but not workin may be i define in wrong
format.I have FXO card installed.can anyone implement it and also my
sip phone generates very loud noise wat is that i tried several
settings but not hear any voice just noise.
sip.conf
[general]
context=from-sip
port=5060
2004 Jul 13
2
ASTCC: Asterisk Calling Card Solution
I am hereby announcing the immediate availablity of ASTCC for *alpha*
testing. ASTCC is an AGI script and CGI script which greatly simplifies
the task of creating a calling card application on Asterisk. Just check
it out of Asterisk CVS as module astcc:
export CVSROOT=:pserver:anoncvs@cvs.digium.com:/usr/cvsroot
cvs login (password is anoncvs)
cvs co astcc
ASTCC is, of course, distributed
2004 Sep 26
1
ASTCC Terms : Help
I have got my ASTCC up and working , but facing a hard time
understanding the terms in ASTCC what actually they are meant for.
1. What is Trunk in ASTCC and what are the meaning of the parameters
such as Technology & Peer/Trunk ?
2. In the routes if I use 0 connect fee that means the user won't be
charged for 0 sec calls right ?
Inc. Seconds refer to interval ? If I set 500 in cost per
2005 Jan 08
3
ASTCC questions
Hello.
I have set up ASTCC properly, calling it like this:
DeadAGI(${ACCOUNTCODE},${EXTEN})
It seems to be working correctly, but I have two questions:
- Although the cards' credit seems to be maintained correctly, I cannot
see the call details in astcc-admin. When I try to view information on
the card, it's just blank. Any ideas?
- When does the 2nd, 3rd and 4th trunk get used? I have