How to setup VoipBuster TRUNK/OUTBOUND ROUTE

apnea.syntaxa
Posts: 2
Member Since:
2008-04-23

Hi,

From the scratch please, because I am very new to Trixbox/Asterisk/SIP.
What pattern to use if I wanna call inside Croatia?
I.E. +385 (0)1 1234 567 and +385 (0)91 1234 567

Only setup I did was VoipBuster settings:
_______________________________
allow=alaw&ulaw&gsm
context=from-pstn
disallow=all
dtmfmode=inband
fromdomain=sip1.voipbuster.com
fromuser=
host=sip1.voipbuster.com
insecure=very
nat=yes (necessary in some cases)
qualify=yes
secret=
srvlookup=yes
type=friend
username=

Thank you very very much



apple01
Posts: 136
Member Since:
2007-05-17
read this how to

http://www.freepbx.org/support/documentation/howtos/howto-route-d...

This is excellent explanation of dial patterns



apnea.syntaxa
Posts: 2
Member Since:
2008-04-23
Hmm....So would this be right then for Croatia

Country code is 385 and area code is 1
Dialling RULE and PATTERN:

*+3851+NXXXXXX

*for international
+for 00
385 Country code
1 Area code
NXXXXXX as in 7 digits local number?

Even though I'm reading that RULE and PATTERN shouldn't be the same ;-(

Thank you very much

Chris



apple01
Posts: 136
Member Since:
2007-05-17
Your Dial Pattern in

Your Dial Pattern in Outbound Route will be: NXXXXXX
Your Dial Rules in Trunk Settings: 3851+NXXXXXX

Which means: if you dial 2345678 it will use outbound route with pattern NXXXXXX and will pass it to the trunk as is.
When trunk will receive 2345678 (it will match NXXXXXX) it will add 3851 in front of the number, which results in 38512345678.
Is this what you need?

Note that "N" is any digit 2-9 and "X" is any digit 0-9. Can your local number start with 0 or 1?



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.