[Asterisk-Users] could set up only messagenet.it

Andres Baravalle andres.baravalle at gmail.com
Mon Oct 24 06:33:09 MST 2005


Hi,
I'm trying to configure a few service providers in asterisk. I could
configure correctly one only, messagenet.it.

I'm trying to register to sipgate and sipphone, with no success
(cannot register). I could configure in iax.conf voipbuster and
sipdiscount, it registers but it does not allow me to make calls.

I'm inside a (departmental) firewall, not sure of the ports that are
closed, but I can configure the voip providers in eyebeam without
problems.

Any suggestions?

Here are my configurations files:

sip.conf

[general]
context=default			
realm=rosario.dcs.shef.ac.uk	
srvlookup=yes			
defaultexpirey=480
allow=all

;passwords are changed
register => 1234567:aaaaaaa at sip.messagenet.it:5061/1234567
register => 2234567:aaaaaaa at proxy01.sipphone.com/2234567
register => 3234567:aaaaaaa at sipgate.co.uk:5060/3234567

[messagenet]
type=peer
host=sip.messagenet.it
dtmfmode=info
username=1234567
secret=aaaaaaa
fromuser=1234567
fromdomain=sip.messagenet.it
nat=yes
authuser=1234567
insecure=very
canreinvite=no
disallow=all
allow=ulaw
allow=alaw
port=5061

[1001]
type=friend
username=1001
fromuser=1001
host=dynamic
dtmfmode=rfc2833
secret=aaaaaa
disallow=all
allow=ulaw
allow=alaw
canreinvite=no

iax.conf:

[general]
allow=all			
jitterbuffer=no
tos=lowdelay

register => 1234567:aaaaaaa at iax.voipbuster.com
register => 2234567:aaaaaaa at sip.sipdiscount.com

[voipbuster]
type=peer
host=iax.voipbuster.com
username= 1234567
secret= aaaaaaa
notransfer=yes
qualify=no
context=internal

[sipdiscount]
type=peer
host=sip.sipdiscount.com
username= 2234567
secret= aaaaaaa
notransfer=yes
qualify=no
context=internal

extensions.conf:

[general]
static=yes
writeprotect=no

[globals]
CONSOLE=Console/dsp
IAXINFO=guest					
TRUNKMSD=1					

[default]
include => incoming
include => messagenet-outgoing
include => voipbuster-outgoing
include => sipdiscount-outgoing

[incoming]
exten => 1234567,1,Dial(SIP/1001,30,rt)
exten => 1234567,2,Dial(SIP/00447723320149 at messagenet,30,rt)
exten => 1234567,3,Hangup

[messagenet-outgoing]
exten => _9.,1,Dial(SIP/${EXTEN:1}@messagenet,30,tr)
exten => _9.,2,Congestion
exten => _9.,3,Busy

[voipbuster-outgoing]
exten => _8.,1,Dial(IAX2/${EXTEN:1}@voipbuster,30,tr)
exten => _8.,2,Congestion
exten => _8.,3,Busy

[sipdiscount-outgoing]
exten => _7.,1,Dial(IAX2/${EXTEN:1}@sipdiscount,30,tr)
exten => _7.,2,Congestion
exten => _7.,3,Busy



More information about the asterisk-users mailing list