[Asterisk-Users] SIP Registration Errors
Larry Keyes
lkeyes at mxdesign.net
Sun Apr 4 12:29:16 MST 2004
Hi...I've got two Grandstream phones attached to my Asterisk on the same
subnet. The phones have fixed IP addresses. Asterisk is generated an error
for one of them only, even though both appear to be registered correctly.
The current state of the sip.conf is included below. Anyone know what is
going on here? Both appear to be working fine between each other and between
themselves in and outbound to an X100p card.
Any ideas regarding the config file would be appreciated. -- Larry
NOTICE[1125350192]: File chan_sip.c, Line 5297 (handle_request):
Registration from '<sip:1001 at 192.168.0.8>' failed for '192.168.0.162'
NOTICE[1125350192]: File chan_sip.c, Line 3557 (register_verify): Peer
'1001' isn't dynamic
NOTICE[1125350192]: File chan_sip.c, Line 5297 (handle_request):
Registration from '<sip:1001 at 192.168.0.8>' failed for '192.168.0.162'
NOTICE[1125350192]: File chan_sip.c, Line 3557 (register_verify): Peer
'1001' isn't dynamic
NOTICE[1125350192]: File chan_sip.c, Line 5297 (handle_request):
Registration from '<sip:1001 at 192.168.0.8>' failed for '192.168.0.162'
>sip show peers
Name/username Host Mask Port Status
1001/1001 192.168.0.162 255.255.255.255 5060 OK (3 ms)
1000/1000 192.168.0.160 255.255.255.255 5060 OK (3 ms)
*CLI>
; SIP Configuration for Asterisk
; LK 12/22/03 Modified
; LK 4/4/04 01 Comment out modifications additions for FWD
; LK 4/4/04 02 Remove the commented lines out for FWD
; LK 4/4/05 03 Remove Cisco, Snom, etc commented lines
; LK 4/4/05 04 Change dynamic to fixed IP addresses
[general]
port = 5060 ; Port to bind to
bindaddr = 192.168.0.8 ; Address to bind to
;externip = 99.99.99.99 ; Public Address (required when behind a NAT)
context = default ; changed 1/18/04 LK to 'default' per manual
;context = from-sip ; Default for incoming calls
;srvlookup = yes ; Enable SRV lookups on outbound calls
;pedantic = yes ; Enable slow, pedantic checking for Pingtel
tos=reliability
tos=184
maxexpirey=180 ; Max length of incoming registration we allow
defaultexpirey=160 ; Default length ofincoming/outoing registration
;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 codecs in order of preference
;allow=ilbc
;allow=gsm
;grandstream at desk
[1000]
type=friend
username=1000
;host=dynamic
host=192.168.0.160
reinvite=no
canreinvite=no
qualify=300
callerid="Larry's Desk" <1000>
mailbox=1000
nat=no
dtmfmode=info
disallow=all
allow=ulaw
allow=alaw
;grandstream in upstairs study
[1001]
type=friend
username=1001
;host=dynamic
host=192.168.0.162
reinvite=no
canreinvite=no
qualify=300
callerid="Martha's Desk" <1001>
mailbox=1001
nat=no
dtmfmode=info
disallow=all
allow=ulaw
allow=alaw
More information about the asterisk-users
mailing list