[Asterisk-cvs] asterisk/apps app_dial.c,1.124,1.125
anthm at lists.digium.com
anthm at lists.digium.com
Wed Jan 12 12:10:45 CST 2005
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv14046/apps
Modified Files:
app_dial.c
Log Message:
fix bug 3329 (monitor flags)
Index: app_dial.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_dial.c,v
retrieving revision 1.124
retrieving revision 1.125
diff -u -d -r1.124 -r1.125
--- app_dial.c 10 Jan 2005 14:46:59 -0000 1.124
+++ app_dial.c 12 Jan 2005 18:14:47 -0000 1.125
@@ -790,8 +790,8 @@
ast_set2_flag(tmp, strchr(transfer, 'h'), DIAL_ALLOWDISCONNECT_IN);
ast_set2_flag(&peerflags, strchr(transfer, 'h'), DIAL_ALLOWDISCONNECT_IN);
ast_set2_flag(tmp, strchr(transfer, 'f'), DIAL_FORCECALLERID);
- ast_set2_flag(tmp, strchr(transfer, 'w'), DIAL_MONITOR_IN);
- ast_set2_flag(tmp, strchr(transfer, 'W'), DIAL_MONITOR_OUT);
+ ast_set2_flag(&peerflags, strchr(transfer, 'w'), DIAL_MONITOR_IN);
+ ast_set2_flag(&peerflags, strchr(transfer, 'W'), DIAL_MONITOR_OUT);
ast_set2_flag(tmp, strchr(transfer, 'g'), DIAL_GO_ON);
}
strncpy(numsubst, number, sizeof(numsubst)-1);
More information about the svn-commits
mailing list