]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 215479 via svnmerge from
authorMichiel van Baak <michiel@vanbaak.info>
Wed, 2 Sep 2009 16:33:54 +0000 (16:33 +0000)
committerMichiel van Baak <michiel@vanbaak.info>
Wed, 2 Sep 2009 16:33:54 +0000 (16:33 +0000)
https://origsvn.digium.com/svn/asterisk/trunk

........
  r215479 | mvanbaak | 2009-09-02 18:20:23 +0200 (Wed, 02 Sep 2009) | 3 lines

  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/branches/1.6.1@215511 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_skinny.c

index 2c828f85faa39e26dfaab4688e17b407343fe7b5..634ce5413048a5715b987237aac796a5f4636abe 100644 (file)
@@ -3982,6 +3982,8 @@ static struct ast_channel *skinny_new(struct skinny_line *l, int state)
                        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;