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 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@241187 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
93d7808948
commit
4c5831b3e5
|
@ -2514,6 +2514,8 @@ static void *pri_dchannel(void *vpri)
|
|||
|
||||
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",
|
||||
|
|
Reference in New Issue