Hi all, This is probably a really stupid question so I apologise in advance; I've been looking at this all day and after 12hours I've got nowhere fast. The situation is: I've got a couple of 7960's on wireless adapters, the wireless network can be, shall we say, a little flakey. The phones that are wired into the network directly via ethernet are always registered and work hunky-dorey the phones on the wireless adapters "go missing" from time to time. When I check their status using "sip show peers" the IP addresses are (Unspecified) on the wireless phones. So I got it into my head that it might be an idea to set the IP's on those phones as static (that way * will always know where to send the call right??) Well that seemed to work but now I'm getting this message: NOTICE[-1147675728]: Peer '004' is trying to register, but not configured as host=dynamic from all the phones I've set as host=xxx.xxx.xxx.xxx I'm now at the point of having no hair left - that which hasn't fallen out due to the stress of the confusion has been pulled out in frustration. I'm sure I've missed something really blindingly obvious but if some kind soul could shed the light on this I would really appriciate it. Thanks Matt
Philipp von Klitzing
2004-Jun-24 14:20 UTC
[Asterisk-Users] host=dynamic vs host=xxx.xxx.xxx.xxx
Hi!> NOTICE[-1147675728]: Peer '004' is trying to register, but not > configured as host=dynamic > > from all the phones I've set as host=xxx.xxx.xxx.xxxThe explanation is simply: "Registration" only makes sense for host=dynamic settings. The only purpose of registering is to tell the server at which IP the phone can be found. So just stop the phone from registering (or look at defaultip=xxx.xxx.xxx.xxx instead of host=xxx.xxx.xxx.xxx). Cheers, Philipp
Jeremy McNamara
2004-Jun-24 14:23 UTC
[Asterisk-Users] host=dynamic vs host=xxx.xxx.xxx.xxx
Matt wrote:> NOTICE[-1147675728]: Peer '004' is trying to register, but not > configured as host=dynamicHow much clearer do you need to be? Asterisk is telling you exactly what the problem is. Have you tried simply doing host=dynamic into your iax.conf? If you still want IP based access control you can use permit and deny directives. Jeremy McNamara
On Thu, 24 Jun 2004, Matt wrote:> NOTICE[-1147675728]: Peer '004' is trying to register, but not > configured as host=dynamic > > from all the phones I've set as host=xxx.xxx.xxx.xxxIt sounds like * is letting you know that it got a registration attempt where none was expected.. Have you tried to configure the phone to not register to *? I'm not familiar with your phone, and that may or may not even be possible. Failing that, maybe you could set the phone to register more frequently and set * to use a longer expiration time on that peer. If the expiration time were 2-3 times longer than the re-register time, then multiple register attempts could be lost without losing connectivity. Greg
Jeremy It seems you misunderstood my question. I was talking about SIP not IAX. It wasn't about access control - it was about having a problem with phones on a poor connection that is prone to occasional packet loss or disconnection.>>>How much clearer do you need to be? Asterisk is telling you exactly what >>> the problem is.Interpreting an error message is easy finding, as you so rightly point out "asterisk is telling you exactly what the problem is". The solution however wasn't clear hence my reason for posting. Finding a solution on software you're not particularly familiar with and in a configuration you don't have 100% confidence in isn't as simple as reading an error message; hence my posting. Matt> Matt wrote: > > NOTICE[-1147675728]: Peer '004' is trying to register, but not > > configured as host=dynamic > > > How much clearer do you need to be? Asterisk is telling you exactly what > the problem is. Have you tried simply doing host=dynamic into your iax.conf? > > If you still want IP based access control you can use permit and deny > directives. > > > > Jeremy McNamara > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Reasonably Related Threads
- Possible for Asterisk to output CLID to invoke 3rd party app?
- Possible for Asterisk to output CLID to invo ke 3rd party app?
- smb.conf and adding users
- Possible for Asterisk to output CLID to invoke 3rdparty app?
- Possible for Asterisk to output CLID to invoke3rdparty app?