Hi, Have just been testing asterisk 1.8.0, 1.8.0-rc5 and a trunk version from about half an hour ago. IAX Friends (Zoiper Softphones) don't stay registered for more than a few seconds they start out with status unknown and quickly become unreachable, I am using realtime with postgresql, with tables and configuration that have worked fine for IAX in 1.6 and a trunk release from a few months ago. I have not tested any other IAX clients other than Zoiper Softphones. Operating system is Ubuntu 9.10, with the default kernel recompiled for AMD CPUs and a couple of other small changes. I get the following errors on the console after a registration followed by unregistration of the zoiper client: [Oct 23 15:22:50] ERROR[695]: chan_iax2.c:11917 iax2_poke_peer: Bad address cast to IPv4 [Oct 23 15:22:50] ERROR[695]: chan_iax2.c:1742 iax2_getpeername: Bad address cast to IPv4 [Oct 23 15:22:50] ERROR[695]: chan_iax2.c:8770 update_registry: Bad address cast to IPv4 [Oct 23 15:22:53] ERROR[702]: chan_iax2.c:1742 iax2_getpeername: Bad address cast to IPv4 [Oct 23 15:22:53] ERROR[703]: chan_iax2.c:1742 iax2_getpeername: Bad address cast to IPv4 [Oct 23 15:22:53] ERROR[694]: chan_iax2.c:1742 iax2_getpeername: Bad address cast to IPv4 [Oct 23 15:22:53] NOTICE[702]: chan_iax2.c:8618 reg_source_db: IAX/Registry astdb host:port invalid - '192.168.1.111:4569' [Oct 23 15:22:53] ERROR[693]: netsock2.c:94 ast_sockaddr_stringify_fmt: getnameinfo(): ai_family not supported [Oct 23 15:22:53] NOTICE[703]: chan_iax2.c:8618 reg_source_db: IAX/Registry astdb host:port invalid - '192.168.1.111:4569' [Oct 23 15:22:53] NOTICE[694]: chan_iax2.c:8618 reg_source_db: IAX/Registry astdb host:port invalid - '192.168.1.111:4569' [Oct 23 15:22:53] ERROR[695]: netsock2.c:94 ast_sockaddr_stringify_fmt: getnameinfo(): ai_family not supported [Oct 23 15:22:53] ERROR[695]: chan_iax2.c:2305 peercnt_modify: Bad address cast to IPv4 Is this a configuration issue or something in asterisk? Thanks in advnace. Nic Colledge
What happens without using Realtime ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101023/4a1a3018/attachment.htm
Sorry forgot to add this into my initial email. The same happens with phones configured in iax.conf and the Realtime database table. [Oct 23 16:49:52] ERROR[1220]: chan_iax2.c:8770 update_registry: Bad address cast to IPv4 etc. Nic. From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Olivier Sent: 23 October 2010 16:07 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk 1.8 IAX Registration What happens without using Realtime ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101023/91c2347c/attachment.htm
On Sat, Oct 23, 2010 at 11:53 AM, Nic Colledge <nic at njcolledge.net> wrote:> Sorry forgot to add this into my initial email. > The same happens with phones configured in iax.conf and the Realtime > database table. >https://issues.asterisk.org/view.php?id=18183 I was able to reproduce a problem with realtime IAX2 yesterday, do you mind trying the branch listed on the issue tracker. Also, please post a copy of your iax2.conf file that will reproduce the issue (mask any passwords). -- Paul Belanger | dCAP Polybeacon | Consultant Jabber: paul.belanger at polybeacon.com | IRC: pabelanger (Freenode) | Blog: http://blog.polybeacon.com | Twitter: http://twitter.com/pabelanger
Paul, I made a debug log of the register and unregister process for a single Zoiper client using IAX and have emailed it direct to you. The error shows in the file as: [Oct 24 19:07:32] ERROR[1403] netsock2.c: getnameinfo(): ai_family not supported Thanks, Nic. -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Paul Belanger Sent: 24 October 2010 18:40 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk 1.8 IAX Registration On Sun, Oct 24, 2010 at 10:06 AM, Nic Colledge <nic at njcolledge.net> wrote:> Further to my last, I think I found another small related issue with IAX which is generating the following error: >Do you mind collecting a debug log [1]? Having some issues reproducing this. [1] http://svn.asterisk.org/svn/asterisk/trunk/doc/HOWTO_collect_debug_information.txt -- Paul Belanger | dCAP Polybeacon | Consultant Jabber: paul.belanger at polybeacon.com | IRC: pabelanger (Freenode) | Blog: http://blog.polybeacon.com | Twitter: http://twitter.com/pabelanger -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users