nat pmp causes segfault on solaris, so we won't support upnp or nat pmp on solaris (FSCORE-410)
--- freeswitch/trunk/src/switch.c 2009-08-01 05:35:22 UTC (rev 14448)
+++ freeswitch/trunk/src/switch.c 2009-08-01 05:53:28 UTC (rev 14449)
@@ -278,7 +278,11 @@
int alt_dirs = 0;
int known_opt;
int high_prio = 0;
+#ifdef __sun
+ switch_core_flag_t flags = SCF_USE_SQL;
+#else
switch_core_flag_t flags = SCF_USE_SQL | SCF_USE_AUTO_NAT;
+#endif
int ret = 0;
switch_status_t destroy_status;
switch_file_t *fd;