-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 18 August 2003 18:55, Tilghman Lesher wrote: > > There's nothing cdr_mysql related debug output. > > $ asterisk -vvvvvgcdf > Turn on debugging in /etc/asterisk/logger.conf
Yes. Forgot debug was put into a different file. Sorry. Aug 18 19:13:39 DEBUG[16384]: File cdr_mysql.c, Line 284 (load_module): cdr_mysql: got hostname of localhost Aug 18 19:13:39 DEBUG[16384]: File cdr_mysql.c, Line 285 (load_module): cdr_mysql: got port of 3306 Aug 18 19:13:39 DEBUG[16384]: File cdr_mysql.c, Line 287 (load_module): cdr_mysql: got sock file of /var/run/mysql/mysql.sock Aug 18 19:13:39 DEBUG[16384]: File cdr_mysql.c, Line 288 (load_module): cdr_mysql: got user of asteriskcdr Aug 18 19:13:39 DEBUG[16384]: File cdr_mysql.c, Line 289 (load_module): cdr_mysql: got dbname of asterisk Aug 18 19:13:39 DEBUG[16384]: File cdr_mysql.c, Line 290 (load_module): cdr_mysql: got password of j501MNGfRUQo8sLg Aug 18 19:13:39 DEBUG[16384]: File cdr_mysql.c, Line 298 (load_module): Successfully connected to MySQL database. That's what I found. I've attached a log of a call from init to hangup. Note that I removed pri dchannel debug and hid phone and ipnumbers. - -- Regards, Tais M. Hansen ComX Networks Tel: +45-70257474 Fax: +45-70257374 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/QQ3e2TEAILET3McRAgpKAJ90VNuxjtCZOVugUXqjG9PCOXaTygCfTWw3 tpp9PQJdJDRk6Vm9ZdagzAw= =obWn -----END PGP SIGNATURE-----
Aug 18 19:25:23 DEBUG[360460]: File chan_oh323.c, Line 2176 (init_h323_connection): In init_h323_connection... Aug 18 19:25:23 DEBUG[360460]: File chan_oh323.c, Line 2215 (init_h323_connection): Created new call structure 0 (2436 bytes). Aug 18 19:25:23 DEBUG[360460]: File chan_oh323.c, Line 1560 (copy_call_details): --- CALL DETAILS --- Aug 18 19:25:23 DEBUG[360460]: File chan_oh323.c, Line 1561 (copy_call_details): call_token = ip$x.x.x.x:1178/7454 Aug 18 19:25:23 DEBUG[360460]: File chan_oh323.c, Line 1562 (copy_call_details): call_source_alias = xxxxxxxx, xxxxxxxx [x.x.x.x] Aug 18 19:25:23 DEBUG[360460]: File chan_oh323.c, Line 1563 (copy_call_details): call_dest_alias = yyyyyyyy ip$y.y.y.y:1720 Aug 18 19:25:23 DEBUG[360460]: File chan_oh323.c, Line 1564 (copy_call_details): call_source_e164 = xxxxxxxx Aug 18 19:25:23 DEBUG[360460]: File chan_oh323.c, Line 1565 (copy_call_details): call_dest_e164 = yyyyyyyy Aug 18 19:25:23 DEBUG[360460]: File chan_oh323.c, Line 1391 (ast_oh323_new): Context is cxnet-in, extension is yyyyyyyy. Aug 18 19:25:23 DEBUG[360460]: File chan_oh323.c, Line 1394 (ast_oh323_new): Caller ID is xxxxxxxx. Aug 18 19:25:23 DEBUG[393230]: File pbx.c, Line 1128 (pbx_extension_helper): Launching 'SetVar' Aug 18 19:25:23 DEBUG[393230]: File pbx.c, Line 1128 (pbx_extension_helper): Launching 'SetVar' Aug 18 19:25:23 DEBUG[393230]: File pbx.c, Line 1128 (pbx_extension_helper): Launching 'Goto' Aug 18 19:25:23 DEBUG[393230]: File pbx.c, Line 1128 (pbx_extension_helper): Launching 'Goto' Aug 18 19:25:23 DEBUG[393230]: File pbx.c, Line 1128 (pbx_extension_helper): Launching 'Goto' Aug 18 19:25:23 DEBUG[393230]: File pbx.c, Line 1128 (pbx_extension_helper): Launching 'Macro' Aug 18 19:25:23 DEBUG[393230]: File pbx.c, Line 1128 (pbx_extension_helper): Launching 'Dial' Aug 18 19:25:23 DEBUG[393230]: File app_dial.c, Line 381 (dial_exec): SIMPLE DIAL (NO URL) Aug 18 19:25:23 DEBUG[393230]: File chan_zap.c, Line 5229 (zt_request): Using channel 1 Aug 18 19:25:23 DEBUG[147466]: File asterisk.c, Line 328 (urg_handler): Urgent handler Aug 18 19:25:23 DEBUG[393230]: File chan_oh323.c, Line 566 (oh323_indicate): H323:7454: Indicating condition 3. Aug 18 19:25:23 DEBUG[360460]: File chan_oh323.c, Line 2231 (init_h323_connection): Channel created and attached. Aug 18 19:25:23 DEBUG[376845]: File chan_oh323.c, Line 1899 (setup_h323_connection): In setup_h323_connection... Aug 18 19:25:23 DEBUG[376845]: File chan_oh323.c, Line 1905 (setup_h323_connection): PLAYER. Aug 18 19:25:23 DEBUG[376845]: File chan_oh323.c, Line 1946 (setup_h323_connection): Request to open an existing channel 0 with no established direction. Aug 18 19:25:23 DEBUG[376845]: File chan_oh323.c, Line 1560 (copy_call_details): --- CALL DETAILS --- Aug 18 19:25:23 DEBUG[376845]: File chan_oh323.c, Line 1561 (copy_call_details): call_token = ip$x.x.x.x:1178/7454 Aug 18 19:25:23 DEBUG[376845]: File chan_oh323.c, Line 1562 (copy_call_details): call_source_alias = xxxxxxxx, xxxxxxxx [x.x.x.x] Aug 18 19:25:23 DEBUG[376845]: File chan_oh323.c, Line 1563 (copy_call_details): call_dest_alias = yyyyyyyy ip$y.y.y.y:1720 Aug 18 19:25:23 DEBUG[376845]: File chan_oh323.c, Line 1564 (copy_call_details): call_source_e164 = xxxxxxxx Aug 18 19:25:23 DEBUG[376845]: File chan_oh323.c, Line 1565 (copy_call_details): call_dest_e164 = yyyyyyyy Aug 18 19:25:24 DEBUG[81926]: File chan_zap.c, Line 937 (zt_enable_ec): No echocancellation requested Aug 18 19:25:24 DEBUG[393230]: File chan_oh323.c, Line 566 (oh323_indicate): H323:7454: Indicating condition 3. Aug 18 19:25:26 DEBUG[81926]: File chan_zap.c, Line 937 (zt_enable_ec): No echocancellation requested Aug 18 19:25:26 DEBUG[393230]: File chan_oh323.c, Line 566 (oh323_indicate): H323:7454: Indicating condition -1. Aug 18 19:25:26 DEBUG[393230]: File chan_zap.c, Line 1866 (zt_setoption): Set option TONE VERIFY, mode: MUTECONF/MAX(2) on Zap/1-1 Aug 18 19:25:26 DEBUG[393230]: File channel.c, Line 1451 (ast_set_read_format): Set channel H323:7454 to read format ALAW Aug 18 19:25:26 DEBUG[393230]: File channel.c, Line 1421 (ast_set_write_format): Set channel Zap/1-1 to write format ALAW Aug 18 19:25:26 DEBUG[393230]: File channel.c, Line 1421 (ast_set_write_format): Set channel H323:7454 to write format ALAW Aug 18 19:25:26 DEBUG[393230]: File channel.c, Line 1451 (ast_set_read_format): Set channel Zap/1-1 to read format ALAW Aug 18 19:25:26 DEBUG[393230]: File chan_oh323.c, Line 1146 (oh323_answer): In oh323_answer (H323:7454). Aug 18 19:25:26 DEBUG[393230]: File chan_oh323.c, Line 1899 (setup_h323_connection): In setup_h323_connection... Aug 18 19:25:26 DEBUG[393230]: File chan_oh323.c, Line 1902 (setup_h323_connection): RECORDER. Aug 18 19:25:26 DEBUG[393230]: File chan_oh323.c, Line 1975 (setup_h323_connection): Call reference match found for 7454 in 0. Aug 18 19:25:26 DEBUG[393230]: File chan_oh323.c, Line 2012 (setup_h323_connection): Call established (remote). Aug 18 19:25:26 DEBUG[393230]: File chan_oh323.c, Line 1198 (oh323_answer): H323:7454: Call answered. Aug 18 19:25:26 DEBUG[393230]: File chan_oh323.c, Line 1079 (oh323_write): H323:7454: Created smoother (size=160). Aug 18 19:25:26 DEBUG[393230]: File chan_zap.c, Line 3379 (my_zt_write): Write returned -1 (Resource temporarily unavailable) on channel 1 Aug 18 19:25:40 DEBUG[393230]: File channel.c, Line 2176 (ast_channel_bridge): Didn't get a frame from channel: H323:7454 Aug 18 19:25:40 DEBUG[393230]: File channel.c, Line 2244 (ast_channel_bridge): Bridge stops bridging channels H323:7454 and Zap/1-1 Aug 18 19:25:40 DEBUG[393230]: File channel.c, Line 656 (ast_hangup): Hanging up channel 'Zap/1-1' Aug 18 19:25:40 DEBUG[393230]: File chan_zap.c, Line 1487 (zt_hangup): zt_hangup(Zap/1-1) Aug 18 19:25:40 DEBUG[393230]: File chan_zap.c, Line 1967 (zt_setoption): Set option AUDIO MODE, value: ON(1) on Zap/1-1 Aug 18 19:25:40 DEBUG[393230]: File chan_zap.c, Line 1510 (zt_hangup): Hangup: channel: 1 index = 0, normal = 19, callwait = -1, thirdcall = -1 Aug 18 19:25:40 DEBUG[393230]: File chan_zap.c, Line 1877 (zt_setoption): Set option TDD MODE, value: OFF(0) on Zap/1-1 Aug 18 19:25:40 DEBUG[393230]: File chan_zap.c, Line 909 (update_conf): Updated conferencing on 1, with 0 conference users Aug 18 19:25:40 DEBUG[393230]: File chan_zap.c, Line 1961 (zt_setoption): Set option AUDIO MODE, value: OFF(0) on Zap/1-1 Aug 18 19:25:40 DEBUG[393230]: File app_macro.c, Line 157 (macro_exec): Spawn extension (macro-dialzap,s,1) exited non-zero on 'H323:7454' in macro 'dialzap' Aug 18 19:25:40 DEBUG[393230]: File pbx.c, Line 1701 (ast_pbx_run): Spawn extension (provider-out,s,1) exited non-zero on 'H323:7454' Aug 18 19:25:40 DEBUG[393230]: File channel.c, Line 656 (ast_hangup): Hanging up channel 'H323:7454' Aug 18 19:25:40 DEBUG[393230]: File chan_oh323.c, Line 749 (oh323_hangup): In oh323_hangup (H323:7454). Aug 18 19:25:40 DEBUG[393230]: File chan_oh323.c, Line 780 (oh323_hangup): H323:7454: Call reference match found for 7454 in 0 (2436 bytes). Aug 18 19:25:40 DEBUG[393230]: File chan_oh323.c, Line 1298 (oh323_destroy): Releasing allocated resources (index=0). Aug 18 19:25:40 DEBUG[81926]: File asterisk.c, Line 328 (urg_handler): Urgent handler Aug 18 19:25:40 DEBUG[147466]: File asterisk.c, Line 328 (urg_handler): Urgent handler Aug 18 19:25:40 DEBUG[49156]: File chan_oh323.c, Line 2052 (cleanup_h323_connection): In cleanup_h323_connection...