{ 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}
};
// "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,
switch(cond->match)
{
case MATCH_EXTERN:
- if (!e_terminal[0])
+ if (!e_ext.number[0])
istrue = 1;
break;
case MATCH_INTERN:
- if (e_terminal[0])
+ if (e_ext.number[0])
istrue = 1;
break;