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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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:[EMAIL PROTECTED] | +------+------+---------------------------------+ 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:[EMAIL PROTECTED] The problem is that when, for example, I dial '4612' i get: -- Executing DeadAGI("IAX2/[EMAIL PROTECTED]/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/[EMAIL PROTECTED]/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 [EMAIL PROTECTED] _______________________________________________ Asterisk-Users mailing list Asterisk-Users@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 _______________________________________________ Asterisk-Users mailing list Asterisk-Users@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