Displaying 20 results from an estimated 1000 matches similar to: "astcc: need partial pin code"
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 =>
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
2008 Apr 23
2
prepaid on the trunks
if i have this setup:
[sip users] -- [asterisk] --- [as5300] --- [pstn]
asterisk will talk to as5300 using sip. i will use as5300 as a trunk on the asterisk so sip users can call out to pstn.
what i would like to is do prepaid on those trunks, not on the sip users. sip users can call any other sip users . i want to do it that way coz i'm trying to build a multi-tenant pbx, and i will use
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 Feb 22
2
mysql phone number pattern match query
Does anyone have a mysql query that will compare a number from the
asterisk cdr to a table of international country+city codes to determine
the closest match?
The two fields are;
1. Asterisk mysql cdr 'dst' field - sample record value
'011441316551212'
2. rate table data like this
DialPattern
011447977
011447979
011447980
011447981
011447984
011447985
011447986
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 14
2
Re: Asterisk-Users Digest, Vol 5, Issue 192
Nicolas,
Thank you for your response. I had tried that before and it didn't work. I
am trying to look up the route for a dialed number, so its a full E.164
number. Please see my query below when I try to look up the route for a USA
number;
mysql> SELECT * FROM routes WHERE "^13237309880" RLIKE pattern ORDER BY
LENGTH(pattern) DESC;
2006 Mar 20
4
simple perl-agi - where's the error?
Hello!
I'm trying to setup a perl-deadagi, but my perl skills lack. can
someone tell me why the following code doesn't work:
#!/usr/bin/perl
use Asterisk::AGI;
$AGI = new Asterisk::AGI;
$dialstring = $AGI->get_variable("DIALSTRING");
$res = $AGI->exec("DIAL $dialstring");
the asterisk output says:
AGI Rx << GET VARIABLE DIALSTRING
AGI Tx >> 200
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 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 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 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 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 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 Jan 28
1
error while trying to install astcc
Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 5870 bytes
Desc: image001.jpg
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050128/198114e6/attachment.jpeg
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
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
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
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