I have a problem to register at the Asterisk-Server.
3 Phones configured :
123 a Softphone, Dynamic. IP
456 a Siems Gigaset, Fixed Ip 192.168.0.5
these phones can do a registration, but my NOKIA N95 cannot !?
NOKIA N95, Fixed IP 192.168.0.10
NOKIA N95 Asterisk Trace ---->>>>>
[Feb 10 16:33:03] NOTICE[4677]: chan_sip.c:14530 handle_request_register: Registration from ‘sip:789@192.168.0.10’ failedfor ‘192.168.0.10’ - No matching peer found
Scheduling destruction of SIP dialog ‘HJQ1Xh_ioIfk-MirTv0CWBwgNmIsde’ in 32000 ms (Method: REGISTER)
Reliably Transmitting (no NAT) to 192.168.0.10:5060:
OPTIONS sip:192.168.0.10 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK53812a58;rport
From: “asterisk” sip:asterisk@192.168.0.2;tag=as3539738f
To: sip:192.168.0.10
Contact: sip:asterisk@192.168.0.2
Call-ID: 258471dc5ede3bfc1a1843275342bbf8@192.168.0.2
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Sun, 10 Feb 2008 15:33:04 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Length: 0
My sip.conf -->>>>>>
;
[general]
context=default ; Default context for incoming calls
srvlookup=no
; Tip ???
disallow=all
allow=alaw; Allow codecs i order of preference
;
[123]
type=friend
;secret=welcome
qualify=yes
nat=no
host=dynamic
canreinvite=no
context=from-sip
;
qualify=30000
;
[456]
type=friend
;secret=welcome
qualify=yes
nat=no
;host=dynamic
host=192.168.0.5
canreinvite=no
context=from-sip
;
qualify=30000
;
[789]
type=friend
;secret=welcome
qualify=yes
nat=no
;host=dynamic
host=192.168.0.10
canreinvite=no
context=from-sip
;
qualify=30000
;
;
;allowguest=no ; Allow or reject guest calls (default is yes)
allowoverlap=no ; Disable overlap dialing support. (Default is yes)
;allowtransfer=no ; Disable all transfers (unless enabled in peers or users)
; Default is enabled
;realm=mydomain.tld ; Realm for digest authentication
; defaults to “asterisk”. If you set a system name in
; asterisk.conf, it defaults to that system name
; Realms MUST be globally unique according to RFC 3261
; Set this to your host name or domain name
bindport=5060 ; UDP Port to bind to (SIP standard port is 5060)
; bindport is the local UDP port that Asterisk will listen on
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