core: core pvars added for $?/$retcode/$rc
authorAndrei Pelinescu-Onciul <andrei@iptel.org>
Wed, 7 Oct 2009 21:57:45 +0000 (23:57 +0200)
committerAndrei Pelinescu-Onciul <andrei@iptel.org>
Wed, 7 Oct 2009 22:18:12 +0000 (00:18 +0200)
commit0c73dfed30960affda3a096f07f9679f18527585
tree128d6db2bb3835b2f06839e0adab9afa5a725b90
parente36890e2b6a8deb678c7b24f3701d63ba8c449c5
core: core pvars added for $?/$retcode/$rc

- added core pvars (registered before script parsing) for the
  return code ($?, $retcode, $rc). This solves script conflicts
  between the different return code handling (kamailio - pvars and
   ser built-in expr. elem).
- removed ser expr. elem for retcode (not needed anymore)
- added '?' as a valid pvar char (needed so that $? will be
  accepted)
cfg.lex
cfg.y
main.c
pv_core.c [new file with mode: 0644]
pv_core.h [new file with mode: 0644]
pvapi.c