Artifex Maximus
2010-Jan-22 12:14 UTC
[asterisk-users] Asterisk 1.6 mysql 'NO ANSWER' disposition problem
Hi all! 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. Console log with verbose 9: [Jan 22 12:52:19] -- Attempting call on dahdi/g1/xxx for yyy at default:1 (Retry 1) [Jan 22 12:52:19] -- Requested transfer capability: 0x00 - SPEECH [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) [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) [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) [Jan 22 12:52:24] > Channel DAHDI/1-1 was answered. [Jan 22 12:52:24] == Starting DAHDI/1-1 at default,yyy,1 failed so falling back to exten 's' [Jan 22 12:52:24] -- Executing [s at default:1] Wait("DAHDI/1-1", "1") in new stack [Jan 22 12:52:25] -- Executing [s at default:2] Answer("DAHDI/1-1", "") in new stack [Jan 22 12:52:25] -- Executing [s at default:3] Set("DAHDI/1-1", "TIMEOUT(digit)=5") in new stack [Jan 22 12:52:25] -- Digit timeout set to 5.000 [Jan 22 12:52:25] -- Executing [s at default:4] Set("DAHDI/1-1", "TIMEOUT(response)=10") in new stack [Jan 22 12:52:25] -- Response timeout set to 10.000 [Jan 22 12:52:25] -- Executing [s at default:5] BackGround("DAHDI/1-1", "demo-congrats") in new stack [Jan 22 12:52:25] -- <DAHDI/1-1> Playing 'demo-congrats.gsm' (language 'hu') [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) [Jan 22 12:52:35] -- Channel 0/1, span 1 got hangup request, cause 31 [Jan 22 12:52:35] -- Hungup 'DAHDI/1-1' [Jan 22 12:52:35] NOTICE[3311]: pbx_spool.c:349 attempt_thread: Call completed to dahdi/g1/xxx 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? Bye, a -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100122/43356b54/attachment.htm