[Freeswitch-dev] Question about fsctl hupall

Michael Jerris mike at jerris.com
Fri May 7 23:18:12 PDT 2010


<361>:git grep -n SCSC_HUPALL
src/include/switch_types.h:1476:        SCSC_HUPALL,
src/mod/applications/mod_commands/mod_commands.c:1480:                  switch_core_session_ctl(SCSC_HUPALL, &arg);
src/mod/languages/mod_managed/managed/swig.cs:26990:  SCSC_HUPALL,
src/switch_core.c:1692: case SCSC_HUPALL:

On May 8, 2010, at 1:44 AM, Michael Collins wrote:

> Guys,
> 
> I was digging through mod_commands.c to learn more about fsctl hupall <cause> <var> <val> 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:
> 
>         if (!strcasecmp(argv[0], "hupall")) {
>             arg = 1;
>             switch_core_session_ctl(SCSC_HUPALL, &arg);
>             stream->write_function(stream, "+OK\n");
> 
> 
> I don't see where this:
> 
> switch_core_session_hupall_matching_var(var, val, cause); 
> 
> ...ever gets called. (Same file, line 4086, inside SWITCH_STANDARD_API(hupall_api_function) defintion)
> 
> Did I perhaps miss something?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100508/567414a6/attachment.html 


More information about the FreeSWITCH-dev mailing list