<!-- <param name="vad" value="out"/> -->
<!-- <param name="vad" value="both"/> -->
<!--<param name="alias" value="sip:10.0.1.251:5555"/>-->
+ <!--
+ These are enabled to make the default config work better out of the box.
+ If you need more than ONE domain you'll need to not use these options.
+
+ -->
<!--all inbound reg will look in this domain for the users -->
- <!--<param name="force-register-domain" value="$${domain}"/>-->
+ <param name="force-register-domain" value="$${domain}"/>
<!--all inbound reg will stored in the db using this domain -->
- <!--<param name="force-register-db-domain" value="$${domain}"/>-->
+ <param name="force-register-db-domain" value="$${domain}"/>
<!-- disable register and transfer which may be undesirable in a public switch -->
<!--<param name="disable-transfer" value="true"/>-->
<!--<param name="disable-register" value="true"/>-->
/* set the globals so we can use the global paths. */
switch_core_set_globals();
-
+ printf("WTF");
/* get the full path of the pid file. */
switch_snprintf(path, sizeof(path), "%s%s%s", SWITCH_GLOBAL_dirs.log_dir, SWITCH_PATH_SEPARATOR, pfile);