This patch allows null args in ast_expr2 func calls, and fixes commas being converted...
authorSteve Murphy <murf@digium.com>
Thu, 15 Jan 2009 20:54:59 +0000 (20:54 +0000)
committerSteve Murphy <murf@digium.com>
Thu, 15 Jan 2009 20:54:59 +0000 (20:54 +0000)
commit2fb28891a306a7f5dda26ede7bf9567b6ed14ce6
treed2b4dff132bd165c4f9a169faecdb0ad75d9ce42
parent9a7efae8fdfb623faa62f06c700cf5682917e3d0
This patch allows null args in ast_expr2 func calls, and fixes commas being converted to pipes, which was 1.4 type stuff.

If the user says count=ENUMLOOKUP(${EXTEN},ALL,c,,enum.mydomain.tld);

then it won't complain about the empty arg (c,,...) and fabled's patch
won't let it swap the commas for pipes.

Ran it thru my dialplan and no complaints.

(closes issue #14169)
Reported by: fabled
Patches:
      function-argument-separator-fix.diff uploaded by fabled (license 448)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@168737 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/ast_expr2.c
main/ast_expr2.h
main/ast_expr2.y