summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xchannels/chan_zap.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 76743b19a..905b21eab 100755
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -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) {