[asterisk-users] Asterisk 1.8 IAX Registration

Nic Colledge nic at njcolledge.net
Sat Oct 23 09:36:00 CDT 2010


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



More information about the asterisk-users mailing list