mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
(closes issue #13425)
Reported by: mdu113 Tested by: mdu113 Similar to r143204, masquerade the channel in the case of Park being called from AGI. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@146129 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -118,7 +118,7 @@ static char *descrip = "ParkedCall(exten):"
|
||||
"into the dialplan, although you should include the 'parkedcalls'\n"
|
||||
"context.\n";
|
||||
|
||||
static char *parkcall = "Park";
|
||||
static char *parkcall = PARK_APP_NAME;
|
||||
|
||||
static char *synopsis2 = "Park yourself";
|
||||
|
||||
@@ -565,7 +565,7 @@ static void set_peers(struct ast_channel **caller, struct ast_channel **callee,
|
||||
static int builtin_parkcall(struct ast_channel *chan, struct ast_channel *peer, struct ast_bridge_config *config, char *code, int sense, void *data)
|
||||
{
|
||||
struct ast_channel *parker;
|
||||
struct ast_channel *parkee;
|
||||
struct ast_channel *parkee;
|
||||
int res = 0;
|
||||
struct ast_module_user *u;
|
||||
|
||||
|
Reference in New Issue
Block a user