Skip to content

Commit

Permalink
perl: Allow perl_exec_simple() from any route
Browse files Browse the repository at this point in the history
This function is neither tied to a SIP message nor does it perform any
SIP signaling, so we can call it from any route!
  • Loading branch information
liviuchircu committed Nov 23, 2021
1 parent 36ba2af commit 4dbd2ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/perl/perl.c
Expand Up @@ -91,7 +91,7 @@ static cmd_export_t cmds[] = {
{"perl_exec_simple", (cmd_function)perl_exec_simple, {
{CMD_PARAM_STR,0,0},
{CMD_PARAM_STR|CMD_PARAM_OPT,0,0}, {0,0,0}},
REQUEST_ROUTE|FAILURE_ROUTE|ONREPLY_ROUTE|BRANCH_ROUTE},
ALL_ROUTES},
{"perl_exec", (cmd_function)perl_exec, {
{CMD_PARAM_STR,0,0},
{CMD_PARAM_STR|CMD_PARAM_OPT,0,0}, {0,0,0}},
Expand Down

0 comments on commit 4dbd2ce

Please sign in to comment.