[Asterisk-Users] ASTCC not making calls

Darren Wiebe darren at aleph-com.net
Thu Jun 23 10:21:29 MST 2005


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 at iax2.fwdnet.net |
>+------+------+---------------------------------+
>
>routes
>+---------+-----------+--------+-------------+-----------------+------+
>| pattern | comment   | trunks | connectcost | includedseconds | cost |
>+---------+-----------+--------+-------------+-----------------+------+
>| ^4.     | FWD       | FWD    |           0 |               0 |  150 |
>  
>
could you change this to ^4.*  and see if that helps?

>+---------+-----------+--------+-------------+-----------------+------+
>
>-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.
>  
>
Except for the 1 line I posted, everything looks fine.

Darren Wiebe
darren at aleph-com.net




More information about the asterisk-users mailing list