Fix the grammar that Kevin broke
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19858 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
2b4725d531
commit
0a88661a99
|
@ -128,18 +128,17 @@ just do a Goto based on the result text.
|
||||||
|
|
||||||
- Grammar: company-directory.gram
|
- Grammar: company-directory.gram
|
||||||
|
|
||||||
#ABNF 1.0;
|
#ABNF 1.0;
|
||||||
language en-US;
|
language en-US;
|
||||||
mode voice;
|
mode voice;
|
||||||
tag-format <lumenvox/1.0>;
|
tag-format <lumenvox/1.0>;
|
||||||
|
root $company_directory;
|
||||||
|
|
||||||
root $company_directory;
|
$josh = ((Joshua | Josh) [Colp]):"6066";
|
||||||
|
$mark = (Mark [Spencer] | Markster):"4569";
|
||||||
|
$kevin = (Kevin [Fleming]):"2567";
|
||||||
|
|
||||||
$josh = (Joshua | Josh) [Colp]:"6066";
|
$company_directory = ($josh | $mark | $kevin) { $ = $$ };
|
||||||
$mark = Mark [Spencer] | Markster:"4569";
|
|
||||||
$kevin = Kevin [Fleming]:"2567";
|
|
||||||
|
|
||||||
$company_directory = ($josh | $mark | $kevin) { $ = parseInt($$) };
|
|
||||||
|
|
||||||
- Dialplan logic
|
- Dialplan logic
|
||||||
|
|
||||||
|
|
Reference in New Issue