Hy List,
i´m having a big problem, with my new Asterisk 1.2.1 Server i cannot
register with my SIP-Providers. With my "old" Asterisk Server i hadn´t
such problems.
Here is the relevant part of my "new" sip.conf:
[general]
context=default
bindport=5060
bindaddr=0.0.0.0
srvlookup=yes
language=de ; Default language setting for all users/peers
srvlookup=yes
tos=0x18
insecure=very
dtmfmode=rfc2833
canreinvite=yes
;localnet=172.22.20.195/255.255.0.0
register => 5550109:[EMAIL PROTECTED]/5550109
register => 08130884:[EMAIL PROTECTED]/08130884
register => 08130091:[EMAIL PROTECTED]/08130091
;SIPGATE incoming####################################
[sipgate_in]
type=peer
host=sipgate.de
disallow=all
allow=alaw
allow=ulaw
allow=gsm
nat=yes
;STANPHONE incoming#####################################
[stanaphone_in]
type=peer
fromdomain=sip.stanaphone.com
host=sip.stanaphone.com
disallow=all
allow=alaw
allow=ulaw
allow=gsm
nat=yes
And here is the relevant part of my "old" sip.conf:
[general]
context=default ; Default context for incoming calls
port=5060 ; UDP Port to bind to (SIP standard port is
5060)
bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all)
srvlookup=yes ; Enable DNS SRV lookups on outbound calls
disallow=all ; First disallow all codecs
allow=alaw
allow=ulaw
allow=gsm ; This may also be set for individual
users/peers
language=de ; Default language setting for all users/peers
srvlookup=yes
tos=0x18
insecure=very
dtmfmode=rfc2833
canreinvite=yes
localnet=172.22.20.194/255.255.0.0
;####################################
register => 08130884:[EMAIL PROTECTED]/08130884
register => 5550109:[EMAIL PROTECTED]/5550109
[stanaphone4];
type=friend
username=08130884
fromuser=08130884
secret=XXXXXXXXXX
nat=yes
canreinvite=no
qualify=yes
fromdomain=sip.stanaphone.com
host=sip.stanaphone.com
auth=md5,plaintext
[sipgate]
type=friend
nat=yes
username=5550109
fromuser=5550109
secret=XXXXXXXXXX
host=sipgate.de
qualify=yes
disallow=all
allow=alaw
allow=gsm
I´m sitting with my Asterisk boxes behind a nat (Checkpoint NG
Firewall), but i don´t think, the solution for my problem is somewhere
in my Asterisk Configuration, because with my old Asterisk box and the
Configuration above i had no problems behind this firewall.
--
Mit freundlichen Grüßen
With kind regards
Klaus Peras
begin:vcard
fn:Klaus Peras
n:Peras;Klaus
org:HOB;Netzwerk Support
adr;quoted-printable:;;Schwaderm=C3=BChlstrasse 3;Cadolzburg;Bayern;90556;Germany
email;internet:[EMAIL PROTECTED]
tel;work:09103 / 715 - 329
url:http://www.hob.de
version:2.1
end:vcard
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users