diff options
Diffstat (limited to 'channels/chan_skinny.c')
-rwxr-xr-x | channels/chan_skinny.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c index 3a37ea213..a77c4b18f 100755 --- a/channels/chan_skinny.c +++ b/channels/chan_skinny.c @@ -1407,10 +1407,10 @@ static void *skinny_ss(void *data) len = 0; } else if (!strcmp(exten, ast_parking_ext()) && sub->next->owner && - sub->next->owner->bridge) { + ast_bridged_channel(sub->next->owner)) { /* This is a three way call, the main call being a real channel, and we're parking the first call. */ - ast_masq_park_call(sub->next->owner->bridge, chan, 0, NULL); + ast_masq_park_call(ast_bridged_channel(sub->next->owner), chan, 0, NULL); if (option_verbose > 2) { ast_verbose(VERBOSE_PREFIX_3 "Parking call to '%s'\n", chan->name); } |