[Asterisk-Users] ASTCC Trunk and Routes Configuration

abdoul aba at gcomnetworks.com
Sun Jan 9 17:18:32 MST 2005


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 at 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 at 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


More information about the asterisk-users mailing list