I am the begginer as far as astersisk is concerned.I have received three voip test numbers. I have managed to configure them with asterisk. It is possible now to call me from the outside, I can answer that calls. The problem is that I cannot call from one test number to another. Below there is a file sip.conf as well as what I have added to file extensions.conf. Could you please help.
sip.conf
[general]
context=default
allowoverlap=no
bindport=5060
bindaddr=0.0.0.0
srvlookup=yes
disallow=all
allow=ulaw
allow=alaw
useragent=office
register => number1:pass1@sip.provider/101
register => number2:pass2@sip.provider/102
register => number3:pass3@sip.provider/103
externip = x.x.x.x
localnet=192.168.1.0/255.255.0.0
nat=yes
[authentication]
[out01]
type=peer
secret=pass1
user=number1
username=number1
fromuser=number1
authname=number1
callerpage=number1
fromdomain=sip.provider
host=sip.provider
insecure=very
nat=yes
dtmfmode=inband
[tel01]
type=friend
context=default
nat=yes
canreinvite=no
username=tel01
secret=secret01
host=dynamic
regexten=101
callerpage=number1
[out02]
type=peer
secret=pass2
user=number2
username=number2
fromuser=number2
authname=number2
callerpage=number2
fromdomain=sip.provider
host=sip.provider
insecure=very
nat=yes
dtmfmode=inband
[tel02]
type=friend
context=default
nat=yes
canreinvite=no
username=tel02
secret=secret02
host=dynamic
regexten=102
callerpage=number2
[out03]
type=peer
secret=pass3
user=number3
username=number3
fromuser=number3
authname=number3
callerpage=number3
fromdomain=sip.provider
host=sip.provider
insecure=very
nat=yes
dtmfmode=inband
[tel03]
type=friend
context=default
nat=yes
canreinvite=no
username=tel03
secret=secret03
host=dynamic
regexten=103
callerpage=number3
extensions.conf
exten => 101,1,Dial(SIP/tel01)
exten => _0X.,1,Dial(SIP/${EXTEN}@out01)
exten => 102,1,Dial(SIP/tel02)
exten => _0X.,1,Dial(SIP/${EXTEN}@out02)
exten => 103,1,Dial(SIP/tel03)
exten => _0X.,1,Dial(SIP/${EXTEN}@out03)