[Asterisk-cvs] asterisk/channels chan_zap.c,1.504,1.505

mattf mattf
Fri Sep 9 12:06:59 CDT 2005


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv14914/channels

Modified Files:
	chan_zap.c 
Log Message:
Fix 'w' to correctly send sending complete on PRI


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.504
retrieving revision 1.505
diff -u -d -r1.504 -r1.505
--- chan_zap.c	8 Sep 2005 17:29:49 -0000	1.504
+++ chan_zap.c	9 Sep 2005 16:07:06 -0000	1.505
@@ -1962,7 +1962,6 @@
 				else
 					p->dop.dialstr[0] = '\0';
 				*s = '\0';
-				s++;
 			} else {
 				p->dop.dialstr[0] = '\0';
 			}
@@ -2025,7 +2024,7 @@
 				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;




More information about the svn-commits mailing list