Commit 32b42a59 authored by Simon Morlat's avatar Simon Morlat
Browse files

fix for exosip update

parent 3fa5c26c
...@@ -380,9 +380,11 @@ int sal_listen_port(Sal *ctx, const char *addr, int port, SalTransport tr, int i ...@@ -380,9 +380,11 @@ int sal_listen_port(Sal *ctx, const char *addr, int port, SalTransport tr, int i
default: default:
ms_warning("unexpected proto, using datagram"); ms_warning("unexpected proto, using datagram");
} }
#if 0
/* it does not work, exosip does not implement this option correctly*/
err=0; err=0;
eXosip_set_option(EXOSIP_OPT_DNS_CAPABILITIES,&err); /*0=no NAPTR */ eXosip_set_option(EXOSIP_OPT_DNS_CAPABILITIES,&err); /*0=no NAPTR */
#endif
/*see if it looks like an IPv6 address*/ /*see if it looks like an IPv6 address*/
int use_rports = ctx->use_rports; // Copy char to int to avoid bad alignment int use_rports = ctx->use_rports; // Copy char to int to avoid bad alignment
eXosip_set_option(EXOSIP_OPT_USE_RPORT,&use_rports); eXosip_set_option(EXOSIP_OPT_USE_RPORT,&use_rports);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment