diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index ad600ca3136c8ad482db40f1764c3c3f9c503ff5..ff8d09c5fb87e705562d4cc063dd334a8c8e442d 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;