Nick Ustinov
2011-Aug-22 17:47 UTC
[asterisk-users] netsock error? some sip clients crashing!
Hello I have a weird behaviour with our local GSM (3G) provider -- several SIP clients crash on the android phone, when switching to 3G network, and in asterisks logs it looks like this - client registers on server successfull and then crashesh immediately. Here's suspicious part of asterisk log: [2011-08-22 19:38:12] ERROR[28605]: netsock2.c:263 ast_sockaddr_resolve: getaddrinfo("212.93.105.54:4798", "4798", ...): Name or service not known [2011-08-22 19:38:12] DEBUG[28605]: chan_sip.c:15343 check_via: Not an IPv4 nor IPv6 address, cannot get port. [2011-08-22 19:38:12] ERROR[28605]: netsock2.c:263 ast_sockaddr_resolve: getaddrinfo("212.93.105.54:4798", "4798", ...): Name or service not known [2011-08-22 19:38:12] DEBUG[28605]: chan_sip.c:15343 check_via: Not an IPv4 nor IPv6 address, cannot get port. [2011-08-22 19:38:12] DEBUG[28605]: chan_sip.c:13553 parse_register_contact: Store REGISTER's src-IP:port for call routing. Looks like port should not be there when calling getaddrinfo? Could this be the cause of SIp client crash? Nick