[asterisk-commits] alecdavis: trunk r241187 - /trunk/channels/sig_pri.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Jan 18 18:24:38 CST 2010
Author: alecdavis
Date: Mon Jan 18 18:24:35 2010
New Revision: 241187
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=241187
Log:
Update CDR variables before pbx starts (overlap dial)
Allows CDR variables added in cdr.c:set_one_cid to become visable during the call.
(issue #16638)
Reported by: alecdavis
Patches:
cdr_update.diff2.txt uploaded by alecdavis (license 585)
Tested by: alecdavis
Modified:
trunk/channels/sig_pri.c
Modified: trunk/channels/sig_pri.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/sig_pri.c?view=diff&rev=241187&r1=241186&r2=241187
==============================================================================
--- trunk/channels/sig_pri.c (original)
+++ trunk/channels/sig_pri.c Mon Jan 18 18:24:35 2010
@@ -2514,6 +2514,8 @@
sig_pri_handle_subcmds(pri, chanpos, e->e, e->ring.channel,
e->ring.subcmds, e->ring.call);
+
+ ast_cdr_update(c);
}
if (c && !ast_pthread_create_detached(&threadid, NULL, pri_ss_thread, pri->pvts[chanpos])) {
ast_verb(3, "Accepting overlap call from '%s' to '%s' on channel %d/%d, span %d\n",
More information about the asterisk-commits
mailing list