[Asterisk-cvs] asterisk/channels chan_sip.c,1.510.2.12,1.510.2.13

russell at lists.digium.com russell at lists.digium.com
Sun Nov 7 18:21:05 CST 2004


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

Modified Files:
      Tag: v1-0
	chan_sip.c 
Log Message:
Setup fromuser properly (bug #2802)


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.510.2.12
retrieving revision 1.510.2.13
diff -u -d -r1.510.2.12 -r1.510.2.13
--- chan_sip.c	2 Nov 2004 12:56:15 -0000	1.510.2.12
+++ chan_sip.c	7 Nov 2004 23:22:48 -0000	1.510.2.13
@@ -4125,6 +4125,7 @@
 			if (!ast_strlen_zero(r->username)) {
 				strncpy(p->peername, r->username, sizeof(p->peername)-1);
 				strncpy(p->authname, r->username, sizeof(p->authname)-1);
+				strncpy(p->fromuser, r->username, sizeof(p->fromuser)-1);
 			}
 		}
 		if (!ast_strlen_zero(r->username))




More information about the svn-commits mailing list