<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><361>:git grep -n SCSC_HUPALL</div><div>src/include/switch_types.h:1476: SCSC_HUPALL,</div><div>src/mod/applications/mod_commands/mod_commands.c:1480: switch_core_session_ctl(SCSC_HUPALL, &arg);</div><div>src/mod/languages/mod_managed/managed/swig.cs:26990: SCSC_HUPALL,</div><div>src/switch_core.c:1692: case SCSC_HUPALL:</div><div><br></div><div><div>On May 8, 2010, at 1:44 AM, Michael Collins wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Guys,<br><br>I was digging through mod_commands.c to learn more about <span style="font-family: courier new,monospace;">fsctl hupall <cause> <var> <val></span> syntax. However, I don't see how the proper function ever gets executed. Here's mod_commands.c, starting at line 1478, where "fsctl" arguments are parsed:<br>
<br><span style="font-family: courier new,monospace;"> if (!strcasecmp(argv[0], "hupall")) {</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> arg = 1;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> switch_core_session_ctl(SCSC_HUPALL, &arg);</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> stream->write_function(stream, "+OK\n");</span><br style="font-family: courier new,monospace;">
<br><br>I don't see where this:<br><br><span style="font-family: courier new,monospace;">switch_core_session_hupall_matching_var(var, val, cause); </span><br style="font-family: courier new,monospace;"><br>...ever gets called. (Same file, line 4086, inside <span style="font-family: courier new,monospace;">SWITCH_STANDARD_API(hupall_api_function)</span> defintion)<br>
<br>Did I perhaps miss something?<br></blockquote></div></body></html>