I constantly get the following error messages in /var/log/asterisk/messages: Dec 8 10:52:57 WARNING[1009521664]: File chan_iax.c, Line 3324 (iax_ack_registry): Received unsolicited registry ack from '192.168.0.1' Dec 8 10:52:57 WARNING[1009521664]: File chan_iax.c, Line 4181 (socket_read): Registration failure Where 192.168.0.1 is another asterisk server. Below are the local and remote IAX configurations. Local server: register => voip1p@voip2.test.net ; [voip2p] type=peer host=dynamic port=4569 trunk=no qualify=yes context=IAX Remote server: register => voip2p@voip1.test.net ; [voip1p] type=peer host=dynamic port=4569 trunk=no qualify=yes context=IAX
On Mon, Dec 08, 2003 at 11:05:17AM -0600, Steve Dolloff wrote:> > Local server: > > register => voip1p@voip2.test.net > ; > [voip2p] > type=peer > host=dynamic > port=4569 > trunk=no > qualify=yes > context=IAX > > Remote server: > > register => voip2p@voip1.test.net > ; > [voip1p] > type=peer > host=dynamic > port=4569 > trunk=no > qualify=yes > context=IAXthis is fine if you never want to place calls between the servers you'll need two statements -- one of type 'user' for inbound calls one of type 'peer' for outbound calls on each *. that may have something to do with the log messages as well... otherwise you might use type 'friend' but that doesn't scale very well. setting the port number is not necessary. cheers, -w -- /~\ The ASCII Ribbon Campaign \ / No HTML/RTF in email X No Word docs in email / \ Respect for open standards
I do have user statements as well for receiving calls. Calls work fine, I just get this error message every minute regardless of whether a call is being placed or not. Stephen> -----Original Message----- > From: William Waites [mailto:asterisk@lists.styx.org] > Sent: Monday, December 08, 2003 11:14 AM > To: Steve Dolloff > Cc: asterisk-users@lists.digium.com > Subject: Re: [Asterisk-Users] IAX error messages in log > > On Mon, Dec 08, 2003 at 11:05:17AM -0600, Steve Dolloff wrote: > > > > Local server: > > > > register => voip1p@voip2.test.net > > ; > > [voip2p] > > type=peer > > host=dynamic > > port=4569 > > trunk=no > > qualify=yes > > context=IAX > > > > Remote server: > > > > register => voip2p@voip1.test.net > > ; > > [voip1p] > > type=peer > > host=dynamic > > port=4569 > > trunk=no > > qualify=yes > > context=IAX > > this is fine if you never want to place calls between the servers > you'll need two statements -- one of type 'user' for inbound calls > one of type 'peer' for outbound calls on each *. that may have > something to do with the log messages as well... > > otherwise you might use type 'friend' but that doesn't scale very > well. > > setting the port number is not necessary. > > cheers, > -w > -- > /~\ The ASCII Ribbon Campaign > \ / No HTML/RTF in email > X No Word docs in email > / \ Respect for open standards
> I do have user statements as well for receiving calls. Calls work fine, > I just get this error message every minute regardless of whether a call > is being placed or not. > > StephenWas this problem ever resolved? I'm experiencing the same behavior. The exact logs are: Mar 15 13:23:08 WARNING[137314304]: chan_iax.c:3331 iax_ack_registry: Received unsolicited registry ack from '206.40.55.72' Mar 15 13:23:08 WARNING[137314304]: chan_iax.c:4188 socket_read: Registration failure However, an iax2 show peers on the box on which these messages are appearing reveals: Name/Username Host Mask Port Status devonsmp 206.40.55.73 (D) 255.255.255.255 4569 Unmonitored The remote box shows peers: Name/Username Host Mask Port Status devon 82.192.77.163 (D) 255.255.255.255 4569 Unmonitored I've attempted to set these up so that they will speak with each other (allow both incoming and outgoing calls via either box). One other question I have about this is: Is this overkill? I'm trying to achieve the following structure [Remote Callers] -> [Remote Asterisk ext 800] -> [Local Asterisk ext 800] -> [Me via SIP] [Me via sip] -> [Local Asterisk ext 801] -> [Remote Asterisk ext 801] -> [Remote Callers] Any tips would be appreciated as I'm very new to asterisk. The relevant local configuration files are available at http://freebsd0.sitetronics.com/~dodell/asterisk/. Please notify me should more information be needed. Kind regards, Devon H. O'Dell -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ .