Make app_dial and app_queue use new macro and gosub calls.
authorRichard Mudgett <rmudgett@digium.com>
Mon, 23 Apr 2012 17:05:55 +0000 (17:05 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Mon, 23 Apr 2012 17:05:55 +0000 (17:05 +0000)
commitf663924517e9380f74c2e821ff29f973705e8654
treefb6c3977fe6cb9b9261f298bcfcf2bef9e4ef6c8
parentf03d56a84d252330dab075f51db44f4ebb440b48
Make app_dial and app_queue use new macro and gosub calls.

* Simplify some code in app_dial and app_queue by calling
ast_app_exec_macro() and ast_app_exec_sub().

* Fix minor locking issue in app_dial for post-answer macro/gosub
MACRO/GOSUB_RESULT=GOTO: handling.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@363269 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_dial.c
apps/app_queue.c