Dear List members- I am trying to configure ASTCC (Asterisk calling card application) but having a hard time to configure it properly. My project deadline is approaching and couldn't figure out how to make ASTCC functional. Here are some details what I have done so far. 1) I have installed ASTCC successfully. 2) I can access astcc-admin.cgi script without any problem. 3) I have created config and user databases. 4) I can create both bulk and custom cards. Cards can authenticate by pin numbers or by CallerID. Any time I tried to initiate call through calling card system, the system generates and automated voice message " you have X dollars left - I am sorry that is not a recognized number - good bye". I have tried so many Trunks and routes combination but nothing worked. I need help to configure ASTCC Trunks and routes parameters. I need following info. 1) Trunk: * Trunk Name --> (Can I use any name or it should be Context dependent. * Peer/Trunk --> (What parameters should I use here). 2) Routes: * Pattern --> (What values should I use here). I would really appreciate if some one can share his or her experience to help me configure ASTCC Trunks and routes parameters (STEP BY STEP Procedure). Thanks, Syed.
Hi , I'm fairly new user but as far as I understood Asterisk architecture, and to have something working with your ASTCC installation, you should do as follow: Scenario - You have a pstn provider, say for example voipjet (i have no interest with them, but it's straight forward to setup a trunk with voipjet) - with protocol IAX 1. in your iax.conf add : [voipjet] type=peer host= voipjet_ip_address secret= your_md5_password auth=md5 notransfer=yes context=default 2. in extension.conf here what i have: [outbound-international] ignorepat => ${DIAL_OUT} exten => _011.,1,SetGroup(${CALLERIDNUM}) exten => _011.,2,Dial,IAX2/your_id@voipjet/${EXTEN} ; VoipJet.com WORLD exten => _011.,3,Congestion exten => _011.,103,Macro(outisbusy) exten => _${DIAL_OUT}011.,1,SetGroup(${CALLERIDNUM}) exten => _${DIAL_OUT}011.,2,Dial(${OUT}/${EXTEN:1},,) exten => _${DIAL_OUT}011.,3,Congestion exten => _${DIAL_OUT}011.,103,Macro(outisbusy) (Optional) ; Outgoing channel(s) are busy ... inform the client [macro-outisbusy] exten => s,1,Playback(allison7/all-circuits-busy-now) exten => s,2,Playback(allison7/pls-try-call-later) exten => s,3,Macro(hangupcall) Now in ASTCC administration : add a new trunk such as : trunk name : VoIPJet technology : IAX2 peer/trunk: your_id@voipjet save In Routes, add a new route such as : pattern : 01133. (don't forget the '.' : the pattern field simply apply regex) comment : France trunks : VoIPJet conn fee : 0 inc sec : 0 cost :150 (for 0.015) 2. add more routes in bulk by using any excel2mysql converter tool for example 3. generate cards, enjoy calling worldwide ... AB. At 15:42 09/01/2005 -0500, you wrote:> I need following info. > >1) Trunk: > * Trunk Name --> (Can I use any name or it should be Context > dependent. > * Peer/Trunk --> (What parameters should I use here). > >2) Routes: > * Pattern --> (What values should I use here). > >I would really appreciate if some one can share his or her experience >to help me configure ASTCC Trunks and routes parameters (STEP BY STEP >Procedure). > >Thanks, > >Syed.________________________ a b d o u l aba at gcomnetworks.com SIP: (131) 229-1002 at sip.freeipcall.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050109/6a1441cb/attachment.htm
Nabeel Jafferali
2005-Jan-10 14:36 UTC
[Asterisk-Users] ASTCC Trunk and Routes Configuration
> ignorepat => ${DIAL_OUT} > exten => _011.,1,SetGroup(${CALLERIDNUM}) > exten => _011.,2,Dial,IAX2/your_id@voipjet/${EXTEN} ; VoipJet.com > WORLD exten => _011.,3,Congestion > exten => _011.,103,Macro(outisbusy) > exten => _${DIAL_OUT}011.,1,SetGroup(${CALLERIDNUM}) > exten => _${DIAL_OUT}011.,2,Dial(${OUT}/${EXTEN:1},,) > exten => _${DIAL_OUT}011.,3,Congestion > exten => _${DIAL_OUT}011.,103,Macro(outisbusy)I don't see you calling the astcc.agi anywhere. -- Nabeel Jafferali tel: 416.628.9342 (toronto) 646.225.7426 (new york) fwd: 46990 email/msn : nabeel<at>jafferali.net