[Asterisk-cvs] asterisk/channels chan_sip.c,1.549,1.550
markster at lists.digium.com
markster at lists.digium.com
Sat Nov 6 19:17:53 CST 2004
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv24556/channels
Modified Files:
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.549
retrieving revision 1.550
diff -u -d -r1.549 -r1.550
--- chan_sip.c 6 Nov 2004 23:58:46 -0000 1.549
+++ chan_sip.c 7 Nov 2004 00:19:42 -0000 1.550
@@ -4055,6 +4055,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