[Asterisk-Users] Registration from <xxx> failed for 'xxx'
Olle E. Johansson
oej at edvina.net
Sat Mar 20 02:12:58 MST 2004
Thomas Gallaway wrote:
>>> Here is my problem. I have 2 phones (Grandstream Budge Tone-100)
>>> loosing the sip registration
>>> every 4 hours. I can not find out why.
>>>
>>> It seems like the registration fails, then a few minutes after
>>> registers sucessfull.
>>>
>>> Mar 19 14:06:14 NOTICE[147466]: Registration from
>>> '<sip:114 at 192.168.1.3;user=phone>' failed for '192.168.1.114'
>>> -- Executing NoOp("SIP/114-5d35", "") in new stack
>>> -- Registered SIP '114' at 192.168.1.114 port 5060 expires 180
>>>
>>> sip show peers show's me this:
>>> 116/116 192.168.1.116 (D) 255.255.255.255 5060
>>> Unmonitored
>>> 114/114 (Unspecified) (D) 255.255.255.255 0
>>> Unmonitored
>>> 113/113 192.168.1.113 (D) 255.255.255.255 5060
>>> Unmonitored
>>>
>>> Thanks for any input on this.
I guess the SIP show peer changed shortly after this.
The first message "Registration failed" means that your UA tried to register but couldn't
authenticate. This is how SIP works, first you send a REGISTER without auth, to get an
authentication challenge from the server. The next line "Registred SIP '114' indicates
that the UA took the challenge and sent another REGISTER, this time *with* authentication
and successfully registred.
A SIP ua that registers need to do this from time to time. You set interval in the phone
or in the sip.conf file. The sip.conf file takes precedence.
/Olle
More information about the asterisk-users
mailing list