[Freeswitch-dev] Question about fsctl hupall

Michael Collins msc at freeswitch.org
Fri May 7 22:44:41 PDT 2010


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?

Thanks,
MC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100507/e77c77da/attachment.html 


More information about the FreeSWITCH-dev mailing list