Hi all!<div><br></div><div>I have installed a quite old Asterisk 1.6.2.0-rc2 with latest DAHDI on Ubuntu 9.10 from repository. It is working now but mysql logging is very strange. All calls have logged in mysql cdr table, which is fine, but disposition is 'NO ANSWER' even if I had talked on phone. Duration is correct but billsec is zero. Any idea why? Unfortunately I cannot upgrade to newer version because repository only have this one.</div>
<div><br></div><div><div>Console log with verbose 9:</div><div>[Jan 22 12:52:19] -- Attempting call on dahdi/g1/xxx for yyy@default:1 (Retry 1)</div><div>[Jan 22 12:52:19] -- Requested transfer capability: 0x00 - SPEECH</div>
<div>[Jan 22 12:52:23] WARNING[3285]: chan_dahdi.c:2682 dahdi_enable_ec: Unable to enable echo cancellation on channel 1 (No such device)</div><div>[Jan 22 12:52:24] WARNING[3285]: chan_dahdi.c:2682 dahdi_enable_ec: Unable to enable echo cancellation on channel 1 (No such device)</div>
<div>[Jan 22 12:52:24] WARNING[3285]: chan_dahdi.c:2682 dahdi_enable_ec: Unable to enable echo cancellation on channel 1 (No such device)</div><div>[Jan 22 12:52:24] > Channel DAHDI/1-1 was answered.</div><div>[Jan 22 12:52:24] == Starting DAHDI/1-1 at default,yyy,1 failed so falling back to exten 's'</div>
<div>[Jan 22 12:52:24] -- Executing [s@default:1] Wait("DAHDI/1-1", "1") in new stack</div><div>[Jan 22 12:52:25] -- Executing [s@default:2] Answer("DAHDI/1-1", "") in new stack</div>
<div>[Jan 22 12:52:25] -- Executing [s@default:3] Set("DAHDI/1-1", "TIMEOUT(digit)=5") in new stack</div><div>[Jan 22 12:52:25] -- Digit timeout set to 5.000</div><div>[Jan 22 12:52:25] -- Executing [s@default:4] Set("DAHDI/1-1", "TIMEOUT(response)=10") in new stack</div>
<div>[Jan 22 12:52:25] -- Response timeout set to 10.000</div><div>[Jan 22 12:52:25] -- Executing [s@default:5] BackGround("DAHDI/1-1", "demo-congrats") in new stack</div><div>[Jan 22 12:52:25] -- <DAHDI/1-1> Playing 'demo-congrats.gsm' (language 'hu')</div>
<div>[Jan 22 12:52:33] WARNING[3285]: chan_dahdi.c:2682 dahdi_enable_ec: Unable to enable echo cancellation on channel 1 (No such device)</div><div>[Jan 22 12:52:35] -- Channel 0/1, span 1 got hangup request, cause 31</div>
<div>[Jan 22 12:52:35] -- Hungup 'DAHDI/1-1'</div><div>[Jan 22 12:52:35] NOTICE[3311]: pbx_spool.c:349 attempt_thread: Call completed to dahdi/g1/xxx</div><div><br></div></div><div>I saw that new mysql addon have the possibility to aliasing columns. What kind of fields, internal variables Asterisk have for that columns? For example is there any variable that tells what *original* extension I had called? Not the last but the initial. Some variables are at the end of the cdr_mysql.conf but is there any other?</div>
<div><br></div><div>Bye,</div><div>a</div>