[Asterisk-cvs] asterisk/channels chan_agent.c,1.141,1.142
kpfleming at lists.digium.com
kpfleming at lists.digium.com
Wed Jul 6 10:38:36 CDT 2005
- Previous message: [Asterisk-cvs] asterisk-addons/asterisk-ooh323c/ooh323c/src
ooCapability.c, 1.3, 1.4 ooSocket.c, 1.4, 1.5 ooStackCmds.c,
1.4, 1.5 oochannels.c, 1.6, 1.7 ooq931.c, 1.7, 1.8 ootypes.h,
1.4, 1.5 printHandler.c, 1.1, 1.2
- Next message: [Asterisk-cvs] asterisk/contrib/scripts autosupport, 1.2.2.2,
1.2.2.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvsroot/asterisk/channels
In directory localhost.localdomain:/tmp/cvs-serv7631/channels
Modified Files:
chan_agent.c
Log Message:
ensure that AGENTBYCALLERID is set for agents being reloaded from persistent storage
Index: chan_agent.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_agent.c,v
retrieving revision 1.141
retrieving revision 1.142
diff -u -d -r1.141 -r1.142
--- chan_agent.c 6 Jul 2005 01:29:15 -0000 1.141
+++ chan_agent.c 6 Jul 2005 14:47:25 -0000 1.142
@@ -2122,9 +2122,10 @@
agent_chan = strsep(&parse, ";");
agent_callerid = strsep(&parse, ";");
ast_copy_string(cur_agent->loginchan, agent_chan, sizeof(cur_agent->loginchan));
- if (agent_callerid)
+ if (agent_callerid) {
ast_copy_string(cur_agent->logincallerid, agent_callerid, sizeof(cur_agent->logincallerid));
- else
+ set_agentbycallerid(cur_agent);
+ } else
cur_agent->logincallerid[0] = '\0';
if (cur_agent->loginstart == 0)
time(&cur_agent->loginstart);
- Previous message: [Asterisk-cvs] asterisk-addons/asterisk-ooh323c/ooh323c/src
ooCapability.c, 1.3, 1.4 ooSocket.c, 1.4, 1.5 ooStackCmds.c,
1.4, 1.5 oochannels.c, 1.6, 1.7 ooq931.c, 1.7, 1.8 ootypes.h,
1.4, 1.5 printHandler.c, 1.1, 1.2
- Next message: [Asterisk-cvs] asterisk/contrib/scripts autosupport, 1.2.2.2,
1.2.2.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list