[Asterisk-Users] Multiple SIP Accounts Between Asterisk Boxes (Unreachable)

Steve Totaro stotaro at asteriskhelpdesk.com
Mon Jun 5 15:36:47 MST 2006


Name/username              Host            Dyn Nat ACL Port     Status
2011/2011                  10.1.1.10                   5071     UNREACHABLE
2010/2010                  10.1.1.10                   5070     UNREACHABLE
2009/2009                  10.1.1.10                   5069     UNREACHABLE
2008/2008                  10.1.1.10                   5068     UNREACHABLE
2007/2007                  10.1.1.10                   5067     UNREACHABLE
2006/2006                  10.1.1.10                   5066     UNREACHABLE
2005/2005                  10.1.1.10                   5065     UNREACHABLE
2004/2004                  10.1.1.10                   5064     UNREACHABLE
2003/2003                  10.1.1.10                   5063     UNREACHABLE
2002/2002                  10.1.1.10                   5062     UNREACHABLE
2001/2001                  10.1.1.10                   5061     UNREACHABLE
Sangoma02/Sangoma02        10.1.1.10                   5060     OK (1 ms)
12 sip peers [1 online , 11 offline]


Here are my configs.  Seems it should work but doesn't.  The Accounts 
are unreachable.  Any Ideas?

Main PBX:
[general]

;port = 5060           ; Port to bind to (SIP is 5060)
;bindaddr = 0.0.0.0    ; Address to bind to (all addresses on machine)
disallow=all
allow=ulaw
[2001]
username=2001
type=peer
secret=2001
record_out=Adhoc
record_in=Adhoc
qualify=yes
nat=no
host=10.1.1.3
dtmfmode=rfc2833
disallow=all
context=from-internal
canreinvite=no
callerid=device <2001>
allow=ulaw
port=5061

[2002]
username=2002
type=friend
secret=2002
record_out=Adhoc
record_in=Adhoc
qualify=yes
nat=never
host=10.1.1.3
dtmfmode=rfc2833
disallow=all
context=from-internal
canreinvite=no
callerid=device <2002>
allow=ulaw
port=5062

[2003]
username=2003
type=friend
secret=2003
record_out=Adhoc
record_in=Adhoc
qualify=yes
nat=never
host=10.1.1.3
dtmfmode=rfc2833
disallow=all
context=from-internal
canreinvite=no
callerid=device <2003>
allow=ulaw
port=5063

PBX with TDM Card:
[general]

;port = 5060           ; Port to bind to (SIP is 5060)
bindaddr = 0.0.0.0    ; Address to bind to (all addresses on machine)
disallow=all
allow=ulaw
;allow=alaw

[2001]
username=2001
type=peer
secret=2001
record_out=Adhoc
record_in=Adhoc
qualify=yes
nat=no
host=10.1.1.10
dtmfmode=rfc2833
disallow=all
context=ttcoverflow
canreinvite=no
callerid=device <2001>
allow=ulaw
port=5061

[2002]
username=2002
type=friend
secret=2002
record_out=Adhoc
record_in=Adhoc
qualify=yes
nat=never
host=10.1.1.10
dtmfmode=rfc2833
disallow=all
context=ttcoverflow
canreinvite=no
callerid=device <2002>
allow=ulaw
port=5062

[2003]
username=2003
type=friend
secret=2003
record_out=Adhoc
record_in=Adhoc
qualify=yes
nat=never
host=10.1.1.10





More information about the asterisk-users mailing list