Make sure that auto created "pseudo" isn't a member of any groups (bugs #1776, #1777)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3140 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-06-03 22:40:13 +00:00
parent 8cc1ffe2ab
commit ca0c646539

View File

@@ -8042,6 +8042,13 @@ static int setup_zap(void)
v = v->next;
}
if (!found_pseudo) {
/* Make sure pseudo isn't a member of any groups if
we're automatically making it. */
cur_group = 0;
cur_callergroup = 0;
cur_pickupgroup = 0;
tmp = mkintf(CHAN_PSEUDO, cur_signalling, cur_radio);
if (tmp) {