]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix AGI exec Park to honor the Park application parameters.
authorRichard Mudgett <rmudgett@digium.com>
Thu, 20 Oct 2011 21:54:11 +0000 (21:54 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 20 Oct 2011 21:54:11 +0000 (21:54 +0000)
commitdbacd97e17e87257c5abb80f3861c7fd8611ba6c
tree20fd87b352c5b23c60597385c57b85ddd9472ce0
parentf9addb13d90d21ab3e9f4914f7080605178eb492
Fix AGI exec Park to honor the Park application parameters.

The fix for ASTERISK-12715 and ASTERISK-12685 added a check for the Park
application because the channel needed to be masqueraded to prevent a
crash.  Since the Park application now always masquerades the channel into
the parking lot, the special check is no longer needed.  The fix also
resulted in AGI exec Park attempting to double park the call and not honor
the Park application parameters.

* Removed no longer necessary call to ast_masq_park_call() by AGI exec for
the Park application.  (Reverts -r146923)

* Fix Park application to only return 0 or -1.  The AGI exec Park was
causing broken pipe error messages because the Park application returned 1
on successful park.

(closes issue ASTERISK-18737)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@341717 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/features.h
main/features.c
res/res_agi.c