mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
like in chan_sip's sip_new skinny should copy the configured parkinglot from a line to the newly created channel.
This makes callparking honor the configured parkinglot for skinny lines as well. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@215479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -4414,6 +4414,8 @@ static struct ast_channel *skinny_new(struct skinny_line *l, int state, const ch
|
||||
ast_string_field_set(tmp, language, l->language);
|
||||
if (!ast_strlen_zero(l->accountcode))
|
||||
ast_string_field_set(tmp, accountcode, l->accountcode);
|
||||
if (!ast_strlen_zero(l->parkinglot))
|
||||
ast_string_field_set(tmp, parkinglot, l->parkinglot);
|
||||
if (l->amaflags)
|
||||
tmp->amaflags = l->amaflags;
|
||||
|
||||
|
Reference in New Issue
Block a user