[Asterisk-Users] ASTCC not making calls
jltaylor
jltaylor at metrotel.net
Thu Jun 23 10:36:15 MST 2005
Doesn't the ASTCC require 12 digit pins?
James Taylor
MetroTel
3505 Summerhill Road
Suite 11
Texarkana, Tx 75503
903-793-1956
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com]On Behalf Of Juan Luis
Moyano
Sent: Thursday, June 23, 2005 12:10 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] 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 | es | 6 | 4 | 4 | 0 | 30 | 0 |
+------+----------+------+--------------+------+--------+------+------+
trunks
+------+------+---------------------------------+
| name | tech | path |
+------+------+---------------------------------+
| FWD | IAX2 | 657XXX:XXXXXXXX at iax2.fwdnet.net |
+------+------+---------------------------------+
routes
+---------+-----------+--------+-------------+-----------------+------+
| pattern | comment | trunks | connectcost | includedseconds | cost |
+---------+-----------+--------+-------------+-----------------+------+
| ^4. | FWD | FWD | 0 | 0 | 150 |
+---------+-----------+--------+-------------+-----------------+------+
-Added a card with $25 credit, using 'FWD' brand.
extensions.conf
---------------
[outbound-fwd]
;
exten => _4.,1,DeadAGI(astcc.agi,${CALLERIDNUM},${EXTEN:1})
exten => _4.,2,Hangup()
iax.conf
--------
register => 657XXX:XXXXXXXX at iax2.fwdnet.net
The problem is that when, for example, I dial '4612' i get:
-- Executing DeadAGI("IAX2/test at test/3", "astcc.agi|21|612") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/astcc.agi
-- Playing 'digits/1' (language 'en')
-- AGI Script astcc.agi completed, returning 0
-- Executing Hangup("IAX2/coco at coco/3", "") in new stack
and i hear allison saying "I'm sorry that is not a recognized phone
number, goodbye".
Anyone knows what could be happening right here?
Many thanks in advance.
--
Juan Luis Moyano
juanmoyano at southecon.com.ar
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list