[asterisk-commits] mvanbaak: trunk r215479 - /trunk/channels/chan_skinny.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Sep 2 11:20:27 CDT 2009
Author: mvanbaak
Date: Wed Sep 2 11:20:23 2009
New Revision: 215479
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=215479
Log:
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.
Modified:
trunk/channels/chan_skinny.c
Modified: trunk/channels/chan_skinny.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/channels/chan_skinny.c?view=diff&rev=215479&r1=215478&r2=215479
==============================================================================
--- trunk/channels/chan_skinny.c (original)
+++ trunk/channels/chan_skinny.c Wed Sep 2 11:20:23 2009
@@ -4414,6 +4414,8 @@
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;
More information about the asterisk-commits
mailing list