< Previous by Date | Date Index | Next by Date > |
< Previous in Thread | Thread Index |
We use resiprocate on iOS/Android too.
Did not observe this issue yet. I suppose main reason is our apps are
coded to not run resip stack in airplane mode at all.
Did you try to replace this assert() with
if (family != AF_INET && family != AF_INET6)
return -1;
It should help.
> ______________________________
On Mon, Dec 26, 2016 at 7:22 AM, Karlsson <boost.regex@xxxxxxxxx> wrote:
> If turned on the airplan mode(windows 10 or iOS, Android), the ARES will be
> failed with assertion:
>
> Assertion failed: (family == 2 || family == 30), function open_udp_socket,
> file resiprocate/rutil/dns/ares/ares_process.c, line 779
> family value is '\0'
>
>
> static int open_udp_socket(ares_channel channel, struct server_state
> *server)
> {
> u_int8_t family;
> int s;
>
> #ifdef USE_IPV6
> family = server->family;
> resip_assert(family == AF_INET || family == AF_INET6); ======> this
> assertion will be tirggered.
> #else
> family = AF_INET;
> #endif
>
_________________
> resiprocate-users mailing list
> resiprocate-users@resiprocate.org
> List Archive: http://list.resiprocate.org/archive/resiprocate-users/