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@iax2.fwdnet.net | +------+------+---------------------------------+ routes +---------+-----------+--------+-------------+-----------------+------+ | pattern | comment | trunks | connectcost | includedseconds | cost | +---------+-----------+--------+-------------+-----------------+------+ | 4. | FWD | FWD | 0 | 0 | 150 | +---------+-----------+--------+-------------+-----------------+------+ -Added a card with $1 credit and using 'FWD' brand. extensions.conf --------------- [outbound-fwd] ; exten => _4.,1,DeadAGI(astcc.agi,${CALLERIDNUM},${EXTEN:1}) exten => _4.,2,Hangup() iax.conf -------- register => 657050:01alexia@iax2.fwdnet.net The problem is that when, for example, I dial '4612' i get: -- Executing DeadAGI("IAX2/test@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@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@southecon.com.ar
Sorry 4 a.m. I'm kind of tired and I slipped a password. :S Already changed it. Sorry! Juan Luis Moyano wrote:> 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@iax2.fwdnet.net | > +------+------+---------------------------------+ > > routes > +---------+-----------+--------+-------------+-----------------+------+ > | pattern | comment | trunks | connectcost | includedseconds | cost | > +---------+-----------+--------+-------------+-----------------+------+ > | 4. | FWD | FWD | 0 | 0 | 150 | > +---------+-----------+--------+-------------+-----------------+------+ > > -Added a card with $1 credit and using 'FWD' brand. > > extensions.conf > --------------- > [outbound-fwd] > ; > exten => _4.,1,DeadAGI(astcc.agi,${CALLERIDNUM},${EXTEN:1}) > exten => _4.,2,Hangup() > > iax.conf > -------- > register => 657050:01alexia@iax2.fwdnet.net > > > The problem is that when, for example, I dial '4612' i get: > > -- Executing DeadAGI("IAX2/test@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@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@southecon.com.ar
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@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@iax2.fwdnet.net The problem is that when, for example, I dial '4612' i get: -- Executing DeadAGI("IAX2/test@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@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@southecon.com.ar