set the 'number complete' bit properly (bug #4771)
authorKevin P. Fleming <kpfleming@digium.com>
Mon, 25 Jul 2005 22:16:35 +0000 (22:16 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Mon, 25 Jul 2005 22:16:35 +0000 (22:16 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6209 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index b8425eb..6d27188 100755 (executable)
@@ -1951,7 +1951,7 @@ static int zt_call(struct ast_channel *ast, char *rdest, int timeout)
                                pridialplan = PRI_LOCAL_ISDN;
                        }
                }
-               pri_sr_set_called(sr, c + p->stripmsd + dp_strip, pridialplan,  (s && *s) ? 1 : 0);
+               pri_sr_set_called(sr, c + p->stripmsd + dp_strip, pridialplan,  (s && *s) ? 0 : 1);
 
                ldp_strip = 0;
                prilocaldialplan = p->pri->localdialplan - 1;