summaryrefslogtreecommitdiffstats
path: root/route.c
diff options
context:
space:
mode:
authorSuper User2007-06-03 12:11:09 +0200
committerSuper User2007-06-03 12:11:09 +0200
commit7dc10dcae129d2ef7f40a455aba45179eb68d1d8 (patch)
treec3cc35063897827f6f7f285f3810b34c5b3aaa78 /route.c
parentbackup (diff)
downloadlcr-7dc10dcae129d2ef7f40a455aba45179eb68d1d8.tar.gz
lcr-7dc10dcae129d2ef7f40a455aba45179eb68d1d8.tar.xz
lcr-7dc10dcae129d2ef7f40a455aba45179eb68d1d8.zip
backup
Diffstat (limited to 'route.c')
-rw-r--r--route.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/route.c b/route.c
index 7bbae0c..c950587 100644
--- a/route.c
+++ b/route.c
@@ -222,6 +222,9 @@ struct param_defs param_defs[] = {
{ PARAM_NOPASSWORD,
"nopassword", PARAM_TYPE_NULL,
"nopassword", "Don't ask for password. Be sure to authenticate right via real caller ID."},
+ { PARAM_STRIP,
+ "strip", PARAM_TYPE_NULL,
+ "strip", "Remove digits that were required to match this rule."},
{ 0, NULL, 0, NULL, NULL}
};
@@ -309,7 +312,7 @@ struct action_defs action_defs[] = {
// "Caller calls the timer."},
{ ACTION_GOTO,
"goto", NULL, &EndpointAppPBX::action_dialing_goto, NULL,
- PARAM_CONNECT | PARAM_RULESET | PARAM_SAMPLE,
+ PARAM_CONNECT | PARAM_RULESET | PARAM_STRIP | PARAM_SAMPLE,
"Jump to given ruleset and optionally play sample. Dialed digits are not flushed."},
{ ACTION_MENU,
"menu", NULL, &EndpointAppPBX::action_dialing_menu, NULL,