diff options
Diffstat (limited to 'pbx/ael/ael.y')
-rw-r--r-- | pbx/ael/ael.y | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pbx/ael/ael.y b/pbx/ael/ael.y index e2ddda1ad..57f0e085c 100644 --- a/pbx/ael/ael.y +++ b/pbx/ael/ael.y @@ -384,6 +384,15 @@ hint_word : word { $$ = $1; } free($3); } } + | hint_word AT word { + if (asprintf(&($$), "%s@%s", $1, $3) < 0) { + ast_log(LOG_WARNING, "asprintf() failed\n"); + $$ = NULL; + } else { + free($1); + free($3); + } + } ; word3_list : word { $$ = $1;} |