aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_zap.c
diff options
context:
space:
mode:
authormattf <mattf@f38db490-d61c-443f-a65b-d21fe96a405b>2005-09-09 16:07:06 +0000
committermattf <mattf@f38db490-d61c-443f-a65b-d21fe96a405b>2005-09-09 16:07:06 +0000
commit2a6ca6347b3cdd54fb20527e204c16975aa99003 (patch)
tree784f0c6c1856c8bca2ae1bd0e87aab41f18fdb81 /channels/chan_zap.c
parenta7f6f0c199b4bde8188a57f76e8a656d92673780 (diff)
Fix 'w' to correctly send sending complete on PRI
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6556 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_zap.c')
-rwxr-xr-xchannels/chan_zap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index ad600ca31..ff8d09c5f 100755
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -1962,7 +1962,6 @@ static int zt_call(struct ast_channel *ast, char *rdest, int timeout)
else
p->dop.dialstr[0] = '\0';
*s = '\0';
- s++;
} else {
p->dop.dialstr[0] = '\0';
}
@@ -2025,7 +2024,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 ? 1 : 0);
ldp_strip = 0;
prilocaldialplan = p->pri->localdialplan - 1;