Hallo,
ich hab jetzt schon einige Zeit im Forum gesucht und auch diverse Konfigs getestet, aber ich bekomme einfach keine Registrierung bei Sipgate hin.
Ich bekomme immer die Meldung:
Wenn ich sip show peers mache ist dort NAT nicht aktiv? Hänge aber hinter einer IPCop Firewall und hab nat=yes in der sip.conf:
Wäre klasse wenn mir jemand helfen könnte.
Danke schonmal, Jochen
ich hab jetzt schon einige Zeit im Forum gesucht und auch diverse Konfigs getestet, aber ich bekomme einfach keine Registrierung bei Sipgate hin.
Ich bekomme immer die Meldung:
Unable to get our IP address, Skinny disabled
Read error on sound device: Resource temporarily unavailable
== Creating H.323 Endpoint
Autodial: Unable to open file
Peer 'sipgate' is now UNREACHABLE!
Maximum retries exceeded on call [email protected] for seqno 102 (Critical Request)
Dec 21 09:27:37 NOTICE[131080]: Registration for '[email protected]' timed out, trying again
Dec 21 09:27:37 DEBUG[131080]: Scheduled a timeout # 97
Dec 21 09:27:43 WARNING[131080]: Maximum retries exceeded on call [email protected] for seqno 116 (Critical Request)
Dec 21 09:27:57 NOTICE[131080]: Registration for '[email protected]' timed out, trying again
Dec 21 09:27:57 DEBUG[131080]: Scheduled a timeout # 105
Dec 21 09:28:03 WARNING[131080]: Maximum retries exceeded on call [email protected] for seqno 117 (Critical Request)
Dec 21 09:28:17 NOTICE[131080]: Registration for '[email protected]' timed out, trying again
Dec 21 09:28:17 DEBUG[131080]: Scheduled a timeout # 110
Dec 21 09:28:23 WARNING[131080]: Maximum retries exceeded on call [email protected] for seqno 118 (Critical Request)
Wenn ich sip show peers mache ist dort NAT nicht aktiv? Hänge aber hinter einer IPCop Firewall und hab nat=yes in der sip.conf:
Code:
;
; SIP Configuration for Asterisk
;
[general]
language=de
context=default ; Context to be used in extensions
port=5060 ; Port to bind to
bindaddr=0.0.0.0 ; Address to bind SIP channel to
nat=yes
;srvlookup=yes ; Enable DNS SRV lookups on outbound calls
;pedantic=yes ; Enable slow, pedantic checking for Pingtel
;tos=lowdelay ; IP QoS parameter, either keyword or value
;maxexpirey=3600 ; Max length of incoming registration we allow
;defaultexpirey=120 ; Dflt length of incoming/outoing registration
;defaultexpirey=160
;notifymimetype=text/plain ; Allow overriding of mime type in NOTIFY
;videosupport=yes ; Turn on support for SIP video
disallow=all ; Disallow all codecs
allow=ulaw
allow=alaw
allow=gsm
localnet = 10.30.1.0/255.255.255.0
externip = rechner.dyndns.org
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Accounts ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;sipgate
register => 12345678:[email protected]/12345678
[sipgate]
type=friend
username=12345678
secret=pass
host=sipgate.de
fromuser=12345678
fromdomain=sipgate.de
qualify=yes
nat=yes
canreinvite=no
insecure=very
[300]
type=friend
username=300
secret=pass
host=dynamic
nat=no
context=170 ; Inbound calls from this host go here
dtmfmode=rfc2833
canreinvite=no
mailbox=101
[301]
type=friend
username=301
secret=pass
host=dynamic
nat=no
context=171 ; Inbound calls from this host go here
dtmfmode=rfc2833
canreinvite=no
mailbox=101
[302]
language=de
type=friend
username=302
secret=pass
host=dynamic
nat=no
context=172 ; Inbound calls from this host go here
dtmfmode=rfc2833
canreinvite=no
mailbox=102
intranet-ng*CLI> sip show peers
Name/username Host Dyn Nat ACL Mask Port Status
302/302 10.40.1.23 D 255.255.255.255 5060 Unmonitored
301/301 10.40.1.22 D 255.255.255.255 5060 Unmonitored
300/300 (Unspecified) D 255.255.255.255 0 Unmonitored
sipgate/12345678 217.10.79.9 N 255.255.255.255 5060 UNREACHABLE
Wäre klasse wenn mir jemand helfen könnte.
Danke schonmal, Jochen