[Asterisk-Users] SIP Registration Errors
Olle E. Johansson
oej at edvina.net
Mon Apr 5 04:37:30 MST 2004
Larry Keyes wrote:
> 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
Read what it says. Peer '1001' is defined as a fixed IP address,
not dynamic. So it is not allowed to register.
The host= setting defines how we're going to contact the peer when
we want to deliver a call to the phone.
host=dynamic
-> Make the device register with asterisk so we know the current IP address
host=<ip address>
-> No registration, we already know the IP address and the address doesn't
change.
For mobile devices, like soft phones on a laptop, use registration.
/Olle
More information about the asterisk-users
mailing list